DataZone / Client / delete_domain

delete_domain#

DataZone.Client.delete_domain(**kwargs)#

Deletes a Amazon DataZone domain.

See also: AWS API Documentation

Request Syntax

response = client.delete_domain(
    clientToken='string',
    identifier='string',
    skipDeletionCheck=True|False
)
Parameters:
  • clientToken (string) –

    A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.

    This field is autopopulated if not provided.

  • identifier (string) –

    [REQUIRED]

    The identifier of the Amazon Web Services domain that is to be deleted.

  • skipDeletionCheck (boolean) – Optional flag to delete all child entities within the domain

Return type:

dict

Returns:

Response Syntax

{
    'status': 'CREATING'|'AVAILABLE'|'CREATION_FAILED'|'DELETING'|'DELETED'|'DELETION_FAILED'
}

Response Structure

  • (dict) –

    • status (string) –

      The status of the domain.

Exceptions

  • DataZone.Client.exceptions.InternalServerException

  • DataZone.Client.exceptions.ResourceNotFoundException

  • DataZone.Client.exceptions.AccessDeniedException

  • DataZone.Client.exceptions.ThrottlingException

  • DataZone.Client.exceptions.ConflictException

  • DataZone.Client.exceptions.ValidationException

  • DataZone.Client.exceptions.UnauthorizedException