WorkMail.Client.
update_mobile_device_access_rule
(**kwargs)¶Updates a mobile device access rule for the specified WorkMail organization.
See also: AWS API Documentation
Request Syntax
response = client.update_mobile_device_access_rule(
OrganizationId='string',
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',
]
)
[REQUIRED]
The WorkMail organization under which the rule will be updated.
[REQUIRED]
The identifier of the rule to be updated.
[REQUIRED]
The updated rule name.
[REQUIRED]
The effect of the rule when it matches. Allowed values are ALLOW
or DENY
.
Device types that the updated rule will match.
Device types that the updated rule will not match. All other device types will match.
Device models that the updated rule will match.
Device models that the updated rule will not match. All other device models will match.
Device operating systems that the updated rule will match.
Device operating systems that the updated rule will not match. All other device operating systems will match.
User agents that the updated rule will match.
User agents that the updated rule will not match. All other user agents will match.
dict
Response Syntax
{}
Response Structure
Exceptions
WorkMail.Client.exceptions.InvalidParameterException
WorkMail.Client.exceptions.EntityNotFoundException
WorkMail.Client.exceptions.OrganizationNotFoundException
WorkMail.Client.exceptions.OrganizationStateException