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

*****************************
disassociate_environment_role
*****************************



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

  

  Disassociates the environment role in Amazon DataZone.

  

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


  **Request Syntax**
  ::

    response = client.disassociate_environment_role(
        domainIdentifier='string',
        environmentIdentifier='string',
        environmentRoleArn='string'
    )
    
  :type domainIdentifier: string
  :param domainIdentifier: **[REQUIRED]** 

    The ID of the Amazon DataZone domain in which an environment role is disassociated.

    

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

    The ID of the environment.

    

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

    The ARN of the environment role.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **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`

  