list_mailbox_permissions
¶
list_mailbox_permissions(
organization_id: OrganizationId,
entity_id: EntityIdentifier,
*,
config_overrides: Optional[WorkMailClientConfig] = None,
next_token: Optional[NextToken] = None,
max_results: Optional[MaxResults] = None,
) -> ListMailboxPermissionsResponse
Lists the mailbox permissions associated with a user, group, or resource mailbox.
Parameters:
-
organization_id(OrganizationId) –The identifier of the organization under which the user, group, or resource exists.
-
entity_id(EntityIdentifier) –The identifier of the user, or resource for which to list mailbox permissions.
The entity ID can accept UserId or ResourceId, Username or Resourcename, or email.
-
Entity ID: 12345678-1234-1234-1234-123456789012, or r-0123456789a0123456789b0123456789
-
Email address: [email protected]
-
Entity name: entity
-
-
next_token(Optional[NextToken], default:None) –The token to use to retrieve the next page of results. The first call does not contain any tokens.
-
max_results(Optional[MaxResults], default:None) –The maximum number of results to return in a single call.
Raises:
-
EntityNotFoundException–The identifier supplied for the user, group, or resource does not exist in your organization.
-
InvalidParameterException–One or more of the input parameters don't match the service's restrictions.
-
OrganizationNotFoundException–An operation received a valid organization identifier that either doesn't belong or exist in the system.
-
OrganizationStateException–The organization must have a valid state to perform certain operations on the organization or its members.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workmail/_services/work_mail.py
|