WorkMail.Client.
list_mobile_device_access_overrides
(**kwargs)¶Lists all the mobile device access overrides for any given combination of WorkMail organization, user, or device.
See also: AWS API Documentation
Request Syntax
response = client.list_mobile_device_access_overrides(
OrganizationId='string',
UserId='string',
DeviceId='string',
NextToken='string',
MaxResults=123
)
[REQUIRED]
The WorkMail organization under which to list mobile device access overrides.
The WorkMail user under which you list the mobile device access overrides. 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
dict
Response Syntax
{
'Overrides': [
{
'UserId': 'string',
'DeviceId': 'string',
'Effect': 'ALLOW'|'DENY',
'Description': 'string',
'DateCreated': datetime(2015, 1, 1),
'DateModified': datetime(2015, 1, 1)
},
],
'NextToken': 'string'
}
Response Structure
(dict) --
Overrides (list) --
The list of mobile device access overrides that exist for the specified WorkMail organization and user.
(dict) --
The override object.
UserId (string) --
The WorkMail user to which the access override applies.
DeviceId (string) --
The device to which the override applies.
Effect (string) --
The effect of the override, ALLOW
or DENY
.
Description (string) --
A description of the override.
DateCreated (datetime) --
The date the override was first created.
DateModified (datetime) --
The date the override was last modified.
NextToken (string) --
The token to use to retrieve the next page of results. The value is “null” when there are no more results to return.
Exceptions
WorkMail.Client.exceptions.InvalidParameterException
WorkMail.Client.exceptions.OrganizationNotFoundException
WorkMail.Client.exceptions.OrganizationStateException
WorkMail.Client.exceptions.EntityNotFoundException