delete_virtual_cluster

delete_virtual_cluster(**kwargs)

Deletes a virtual cluster. Virtual cluster is a managed entity on Amazon EMR on EKS. You can create, describe, list and delete virtual clusters. They do not consume any additional resource in your system. A single virtual cluster maps to a single Kubernetes namespace. Given this relationship, you can model virtual clusters the same way you model Kubernetes namespaces to meet your requirements.

See also: AWS API Documentation

Request Syntax

response = client.delete_virtual_cluster(
    id='string'
)
Parameters
id (string) --

[REQUIRED]

The ID of the virtual cluster that will be deleted.

Return type
dict
Returns
Response Syntax
{
    'id': 'string'
}

Response Structure

  • (dict) --
    • id (string) --

      This output contains the ID of the virtual cluster that will be deleted.

Exceptions

  • EMRContainers.Client.exceptions.ValidationException
  • EMRContainers.Client.exceptions.InternalServerException