list_mobile_device_access_rules
(**kwargs)¶Lists the mobile device access rules for the specified WorkMail organization.
See also: AWS API Documentation
Request Syntax
response = client.list_mobile_device_access_rules(
OrganizationId='string'
)
[REQUIRED]
The WorkMail organization for which to list the rules.
{
'Rules': [
{
'MobileDeviceAccessRuleId': 'string',
'Name': 'string',
'Description': 'string',
'Effect': 'ALLOW'|'DENY',
'DeviceTypes': [
'string',
],
'NotDeviceTypes': [
'string',
],
'DeviceModels': [
'string',
],
'NotDeviceModels': [
'string',
],
'DeviceOperatingSystems': [
'string',
],
'NotDeviceOperatingSystems': [
'string',
],
'DeviceUserAgents': [
'string',
],
'NotDeviceUserAgents': [
'string',
],
'DateCreated': datetime(2015, 1, 1),
'DateModified': datetime(2015, 1, 1)
},
]
}
Response Structure
The list of mobile device access rules that exist under the specified WorkMail organization.
A rule that controls access to mobile devices for an WorkMail group.
The ID assigned to a mobile access rule.
The name of a mobile access rule.
The description of a mobile access rule.
The effect of the rule when it matches. Allowed values are ALLOW
or DENY
.
Device types that a rule will match.
Device types that a rule will not match. All other device types will match.
Device models that a rule will match.
Device models that a rule will not match. All other device models will match.
Device operating systems that a rule will match.
Device operating systems that a rule will not match. All other device types will match.
Device user agents that a rule will match.
Device user agents that a rule will not match. All other device user agents will match.
The date and time at which an access rule was created.
The date and time at which an access rule was modified.
Exceptions
WorkMail.Client.exceptions.InvalidParameterException
WorkMail.Client.exceptions.OrganizationNotFoundException
WorkMail.Client.exceptions.OrganizationStateException