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

******************
delete_environment
******************



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

  

  Deletes an environment in Amazon DataZone.

  

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


  **Request Syntax**
  ::

    response = client.delete_environment(
        domainIdentifier='string',
        identifier='string'
    )
    
  :type domainIdentifier: string
  :param domainIdentifier: **[REQUIRED]** 

    The ID of the Amazon DataZone domain in which the environment is deleted.

    

  
  :type identifier: string
  :param identifier: **[REQUIRED]** 

    The identifier of the environment that is to be deleted.

    

  
  
  :returns: None
  **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.ValidationException`

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

  