:doc:`odb <../../odb>` / Client / disassociate_iam_role_from_resource

***********************************
disassociate_iam_role_from_resource
***********************************



.. py:method:: odb.Client.disassociate_iam_role_from_resource(**kwargs)

  

  Disassociates an Amazon Web Services Identity and Access Management (IAM) service role from a specified resource to disable Amazon Web Services service integration.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/odb-2024-08-20/DisassociateIamRoleFromResource>`_  


  **Request Syntax**
  ::

    response = client.disassociate_iam_role_from_resource(
        iamRoleArn='string',
        awsIntegration='KmsTde',
        resourceArn='string'
    )
    
  :type iamRoleArn: string
  :param iamRoleArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the Amazon Web Services Identity and Access Management (IAM) service role to disassociate from the resource.

    

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

    The Amazon Web Services integration configuration settings for the Amazon Web Services Identity and Access Management (IAM) service role disassociation.

    

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

    The Amazon Resource Name (ARN) of the target resource to disassociate from the Amazon Web Services Identity and Access Management (IAM) service role.

    

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

    
    ::

      {}
      
    **Response Structure**

    

    - *(dict) --* 
  
  **Exceptions**
  
  *   :py:class:`odb.Client.exceptions.ThrottlingException`

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

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

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

  
  *   :py:class:`odb.Client.exceptions.InternalServerException`

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

  