Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_registry

delete_registry(**kwargs)

Delete the entire registry including schema and all of its versions. To get the status of the delete operation, you can call the GetRegistry API after the asynchronous call. Deleting a registry will deactivate all online operations for the registry such as the UpdateRegistry , CreateSchema , UpdateSchema , and RegisterSchemaVersion APIs.

See also: AWS API Documentation

Request Syntax

response = client.delete_registry(
    RegistryId={
        'RegistryName': 'string',
        'RegistryArn': 'string'
    }
)
Parameters
RegistryId (dict) --

[REQUIRED]

This is a wrapper structure that may contain the registry name and Amazon Resource Name (ARN).

  • RegistryName (string) --

    Name of the registry. Used only for lookup. One of RegistryArn or RegistryName has to be provided.

  • RegistryArn (string) --

    Arn of the registry to be updated. One of RegistryArn or RegistryName has to be provided.

Return type
dict
Returns
Response Syntax
{
    'RegistryName': 'string',
    'RegistryArn': 'string',
    'Status': 'AVAILABLE'|'DELETING'
}

Response Structure

  • (dict) --
    • RegistryName (string) --

      The name of the registry being deleted.

    • RegistryArn (string) --

      The Amazon Resource Name (ARN) of the registry being deleted.

    • Status (string) --

      The status of the registry. A successful operation will return the Deleting status.

Exceptions

  • Glue.Client.exceptions.InvalidInputException
  • Glue.Client.exceptions.EntityNotFoundException
  • Glue.Client.exceptions.AccessDeniedException
  • Glue.Client.exceptions.ConcurrentModificationException