WorkMail.Client.
put_mobile_device_access_override
(**kwargs)¶Creates or updates a mobile device access override for the given WorkMail organization, user, and device.
See also: AWS API Documentation
Request Syntax
response = client.put_mobile_device_access_override(
OrganizationId='string',
UserId='string',
DeviceId='string',
Effect='ALLOW'|'DENY',
Description='string'
)
[REQUIRED]
Identifies the WorkMail organization for which you create the override.
[REQUIRED]
The WorkMail user for which you create the override. Accepts the following types of user identities:
12345678-1234-1234-1234-123456789012
or S-1-1-12-1234567890-123456789-123456789-1234
user@domain.tld
user
[REQUIRED]
The mobile device for which you create the override. DeviceId
is case insensitive.
[REQUIRED]
The effect of the override, ALLOW
or DENY
.
dict
Response Syntax
{}
Response Structure
Exceptions
WorkMail.Client.exceptions.InvalidParameterException
WorkMail.Client.exceptions.OrganizationNotFoundException
WorkMail.Client.exceptions.OrganizationStateException
WorkMail.Client.exceptions.EntityNotFoundException
WorkMail.Client.exceptions.EntityStateException