:doc:`DataZone <../../datazone>` / Client / delete_domain

*************
delete_domain
*************



.. py:method:: DataZone.Client.delete_domain(**kwargs)

  

  Deletes a Amazon DataZone domain.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/datazone-2018-05-10/DeleteDomain>`_  


  **Request Syntax**
  ::

    response = client.delete_domain(
        identifier='string',
        clientToken='string',
        skipDeletionCheck=True|False
    )
    
  :type identifier: string
  :param identifier: **[REQUIRED]** 

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

    

  
  :type clientToken: string
  :param clientToken: 

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

    This field is autopopulated if not provided.

  
  :type skipDeletionCheck: boolean
  :param skipDeletionCheck: 

    Specifies the optional flag to delete all child entities within the domain.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

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

    

    - *(dict) --* 
      

      - **status** *(string) --* 

        The status of the domain.

        
  
  **Exceptions**
  
  *   :py:class:`DataZone.Client.exceptions.InternalServerException`

  
  *   :py:class:`DataZone.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`DataZone.Client.exceptions.AccessDeniedException`

  
  *   :py:class:`DataZone.Client.exceptions.ThrottlingException`

  
  *   :py:class:`DataZone.Client.exceptions.ConflictException`

  
  *   :py:class:`DataZone.Client.exceptions.ValidationException`

  
  *   :py:class:`DataZone.Client.exceptions.UnauthorizedException`

  