get_mobile_device_access_override
async
¶
get_mobile_device_access_override(
organization_id: OrganizationId,
user_id: EntityIdentifier,
device_id: DeviceId,
*,
config_overrides: Optional[AsyncWorkMailClientConfig] = None,
) -> GetMobileDeviceAccessOverrideResponse
Gets the mobile device access override for the given WorkMail organization, user, and device.
Parameters:
-
organization_id(OrganizationId) –The WorkMail organization to which you want to apply the override.
-
user_id(EntityIdentifier) –Identifies the WorkMail user for the override. Accepts the following types of user identities:
-
User ID:
12345678-1234-1234-1234-123456789012orS-1-1-12-1234567890-123456789-123456789-1234 -
Email address:
[email protected] -
User name:
user
-
-
device_id(DeviceId) –The mobile device to which the override applies.
DeviceIdis case insensitive.
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.
-
ResourceNotFoundException–The resource cannot be found.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_workmail/_services/async_work_mail.py
|