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.ThrottlingExceptionodb.Client.exceptions.ValidationExceptionodb.Client.exceptions.ConflictExceptionodb.Client.exceptions.AccessDeniedExceptionodb.Client.exceptions.InternalServerExceptionodb.Client.exceptions.ResourceNotFoundException