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'
}
)
[REQUIRED]
This is a wrapper structure that may contain the registry name and Amazon Resource Name (ARN).
Name of the registry. Used only for lookup. One of RegistryArn
or RegistryName
has to be provided.
Arn of the registry to be updated. One of RegistryArn
or RegistryName
has to be provided.
{
'RegistryName': 'string',
'RegistryArn': 'string',
'Status': 'AVAILABLE'|'DELETING'
}
Response Structure
The name of the registry being deleted.
The Amazon Resource Name (ARN) of the registry being deleted.
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