Updates a mobile device access rule for the specified WorkMail organization¶
Description¶
Updates a mobile device access rule for the specified WorkMail organization.
Usage¶
workmail_update_mobile_device_access_rule(OrganizationId,
MobileDeviceAccessRuleId, Name, Description, Effect, DeviceTypes,
NotDeviceTypes, DeviceModels, NotDeviceModels, DeviceOperatingSystems,
NotDeviceOperatingSystems, DeviceUserAgents, NotDeviceUserAgents)
Arguments¶
-
OrganizationId[required] The WorkMail organization under which the rule will be updated.
-
MobileDeviceAccessRuleId[required] The identifier of the rule to be updated.
-
Name[required] The updated rule name.
-
DescriptionThe updated rule description.
-
Effect[required] The effect of the rule when it matches. Allowed values are
ALLOWorDENY. -
DeviceTypesDevice types that the updated rule will match.
-
NotDeviceTypesDevice types that the updated rule will not match. All other device types will match.
-
DeviceModelsDevice models that the updated rule will match.
-
NotDeviceModelsDevice models that the updated rule will not match. All other device models will match.
-
DeviceOperatingSystemsDevice operating systems that the updated rule will match.
-
NotDeviceOperatingSystemsDevice operating systems that the updated rule will not match. All other device operating systems will match.
-
DeviceUserAgentsUser agents that the updated rule will match.
-
NotDeviceUserAgentsUser agents that the updated rule will not match. All other user agents will match.
Value¶
An empty list.
Request syntax¶
svc$update_mobile_device_access_rule(
OrganizationId = "string",
MobileDeviceAccessRuleId = "string",
Name = "string",
Description = "string",
Effect = "ALLOW"|"DENY",
DeviceTypes = list(
"string"
),
NotDeviceTypes = list(
"string"
),
DeviceModels = list(
"string"
),
NotDeviceModels = list(
"string"
),
DeviceOperatingSystems = list(
"string"
),
NotDeviceOperatingSystems = list(
"string"
),
DeviceUserAgents = list(
"string"
),
NotDeviceUserAgents = list(
"string"
)
)