QBusiness / Client / disassociate_permission
disassociate_permission#
- QBusiness.Client.disassociate_permission(**kwargs)#
Removes a permission policy from a Q Business application, revoking the cross-account access that was previously granted to an ISV. This operation deletes the specified policy statement from the application’s permission policy.
See also: AWS API Documentation
Request Syntax
response = client.disassociate_permission( applicationId='string', statementId='string' )
- Parameters:
applicationId (string) –
[REQUIRED]
The unique identifier of the Q Business application.
statementId (string) –
[REQUIRED]
The statement ID of the permission to remove.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
QBusiness.Client.exceptions.ResourceNotFoundException
QBusiness.Client.exceptions.InternalServerException
QBusiness.Client.exceptions.ConflictException
QBusiness.Client.exceptions.ThrottlingException
QBusiness.Client.exceptions.ValidationException
QBusiness.Client.exceptions.AccessDeniedException