remove_all_resource_permissions

remove_all_resource_permissions(**kwargs)

Removes all the permissions from the specified resource.

See also: AWS API Documentation

Request Syntax

response = client.remove_all_resource_permissions(
    AuthenticationToken='string',
    ResourceId='string'
)
Parameters
  • AuthenticationToken (string) -- Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.
  • ResourceId (string) --

    [REQUIRED]

    The ID of the resource.

Returns

None

Exceptions

  • WorkDocs.Client.exceptions.UnauthorizedOperationException
  • WorkDocs.Client.exceptions.UnauthorizedResourceAccessException
  • WorkDocs.Client.exceptions.FailedDependencyException
  • WorkDocs.Client.exceptions.ServiceUnavailableException