delete_schema

delete_schema(**kwargs)

Deletes a given schema. Schemas in a development and published state can only be deleted.

See also: AWS API Documentation

Request Syntax

response = client.delete_schema(
    SchemaArn='string'
)
Parameters
SchemaArn (string) --

[REQUIRED]

The Amazon Resource Name (ARN) of the development schema. For more information, see arns.

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

Response Structure

  • (dict) --
    • SchemaArn (string) --

      The input ARN that is returned as part of the response. For more information, see arns.

Exceptions

  • CloudDirectory.Client.exceptions.InternalServiceException
  • CloudDirectory.Client.exceptions.InvalidArnException
  • CloudDirectory.Client.exceptions.RetryableConflictException
  • CloudDirectory.Client.exceptions.ValidationException
  • CloudDirectory.Client.exceptions.LimitExceededException
  • CloudDirectory.Client.exceptions.AccessDeniedException
  • CloudDirectory.Client.exceptions.ResourceNotFoundException
  • CloudDirectory.Client.exceptions.StillContainsLinksException