odb / Client / disassociate_iam_role_from_resource

disassociate_iam_role_from_resource

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

Request Syntax

response = client.disassociate_iam_role_from_resource(
    iamRoleArn='string',
    awsIntegration='KmsTde',
    resourceArn='string'
)
Parameters:
  • iamRoleArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the IAM service role to disassociate from the resource.

  • awsIntegration (string) –

    [REQUIRED]

    The Amazon Web Services integration configuration settings for the IAM service role disassociation.

  • resourceArn (string) –

    [REQUIRED]

    The Amazon Resource Name (ARN) of the target resource to disassociate from the IAM service role.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions

  • odb.Client.exceptions.ThrottlingException

  • odb.Client.exceptions.ValidationException

  • odb.Client.exceptions.ConflictException

  • odb.Client.exceptions.AccessDeniedException

  • odb.Client.exceptions.InternalServerException

  • odb.Client.exceptions.ResourceNotFoundException