BedrockAgentCoreControl / Client / delete_registry

delete_registry

BedrockAgentCoreControl.Client.delete_registry(**kwargs)

Deletes a registry. The registry must contain zero records before it can be deleted. This operation initiates the deletion process asynchronously.

See also: AWS API Documentation

Request Syntax

response = client.delete_registry(
    registryId='string'
)
Parameters:

registryId (string) –

[REQUIRED]

The identifier of the registry to delete. You can specify either the Amazon Resource Name (ARN) or the ID of the registry.

Return type:

dict

Returns:

Response Syntax

{
    'status': 'CREATING'|'READY'|'UPDATING'|'CREATE_FAILED'|'UPDATE_FAILED'|'DELETING'|'DELETE_FAILED'
}

Response Structure

  • (dict) –

    • status (string) –

      The current status of the registry, set to DELETING when deletion is initiated. For a list of all possible registry statuses, see the RegistryStatus data type.

Exceptions

  • BedrockAgentCoreControl.Client.exceptions.AccessDeniedException

  • BedrockAgentCoreControl.Client.exceptions.ConflictException

  • BedrockAgentCoreControl.Client.exceptions.ValidationException

  • BedrockAgentCoreControl.Client.exceptions.ResourceNotFoundException

  • BedrockAgentCoreControl.Client.exceptions.ThrottlingException

  • BedrockAgentCoreControl.Client.exceptions.InternalServerException