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
DELETINGwhen deletion is initiated. For a list of all possible registry statuses, see theRegistryStatusdata type.
Exceptions
BedrockAgentCoreControl.Client.exceptions.AccessDeniedExceptionBedrockAgentCoreControl.Client.exceptions.ConflictExceptionBedrockAgentCoreControl.Client.exceptions.ValidationExceptionBedrockAgentCoreControl.Client.exceptions.ResourceNotFoundExceptionBedrockAgentCoreControl.Client.exceptions.ThrottlingExceptionBedrockAgentCoreControl.Client.exceptions.InternalServerException