WorkDocs.Client.remove_resource_permission(**kwargs)¶Removes the permission for the specified principal from the specified resource.
See also: AWS API Documentation
Request Syntax
response = client.remove_resource_permission(
AuthenticationToken='string',
ResourceId='string',
PrincipalId='string',
PrincipalType='USER'|'GROUP'|'INVITE'|'ANONYMOUS'|'ORGANIZATION'
)
[REQUIRED]
The ID of the resource.
[REQUIRED]
The principal ID of the resource.
None
Exceptions
WorkDocs.Client.exceptions.UnauthorizedOperationExceptionWorkDocs.Client.exceptions.UnauthorizedResourceAccessExceptionWorkDocs.Client.exceptions.FailedDependencyExceptionWorkDocs.Client.exceptions.ServiceUnavailableException