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( identifier='string', clientToken='string', skipDeletionCheck=True|False, cascadeDelete=True|False )
- Parameters:
identifier (string) –
[REQUIRED]
The identifier of the Amazon Web Services domain that is to be deleted.
clientToken (string) –
A unique, case-sensitive identifier that is provided to ensure the idempotency of the request.
This field is autopopulated if not provided.
skipDeletionCheck (boolean) – Specifies whether to skip the check that prevents deletion of a domain that still contains resources. When you use this parameter, Amazon DataZone deletes the domain but might not remove its associated resources, which can leave orphaned resources behind. To delete a domain and fully clean up its associated resources, use
cascadeDeleteinstead. You can’t use this parameter together withcascadeDelete.cascadeDelete (boolean) – Specifies whether to delete the domain along with all of its associated resources. When you use this parameter, Amazon DataZone deletes the domain and cleanly removes its associated resources without leaving orphaned resources behind. Amazon DataZone reports deletion progress in the
deleteProgressfield. Amazon DataZone reports any resources that it can’t delete in thefailureReasonsfield of theGetDomainresponse. You can’t use this parameter together withskipDeletionCheck. If you don’t specify a value, the default isfalse.
- 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