WorkMail / Client / put_mobile_device_access_override
put_mobile_device_access_override#
- 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' )
- Parameters:
OrganizationId (string) –
[REQUIRED]
Identifies the WorkMail organization for which you create the override.
UserId (string) –
[REQUIRED]
The WorkMail user for which you create the override. Accepts the following types of user identities:
User ID:
12345678-1234-1234-1234-123456789012orS-1-1-12-1234567890-123456789-123456789-1234Email address:
user@domain.tldUser name:
user
DeviceId (string) –
[REQUIRED]
The mobile device for which you create the override.
DeviceIdis case insensitive.Effect (string) –
[REQUIRED]
The effect of the override,
ALLOWorDENY.Description (string) – A description of the override.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
WorkMail.Client.exceptions.InvalidParameterExceptionWorkMail.Client.exceptions.OrganizationNotFoundExceptionWorkMail.Client.exceptions.OrganizationStateExceptionWorkMail.Client.exceptions.EntityNotFoundExceptionWorkMail.Client.exceptions.EntityStateException