Creates a new mobile device access rule for the specified WorkMail organization¶
Description¶
Creates a new mobile device access rule for the specified WorkMail organization.
Usage¶
workmail_create_mobile_device_access_rule(OrganizationId, ClientToken,
Name, Description, Effect, DeviceTypes, NotDeviceTypes, DeviceModels,
NotDeviceModels, DeviceOperatingSystems, NotDeviceOperatingSystems,
DeviceUserAgents, NotDeviceUserAgents)
Arguments¶
-
OrganizationId[required] The WorkMail organization under which the rule will be created.
-
ClientTokenThe idempotency token for the client request.
-
Name[required] The rule name.
-
DescriptionThe rule description.
-
Effect[required] The effect of the rule when it matches. Allowed values are
ALLOWorDENY. -
DeviceTypesDevice types that the rule will match.
-
NotDeviceTypesDevice types that the rule will not match. All other device types will match.
-
DeviceModelsDevice models that the rule will match.
-
NotDeviceModelsDevice models that the rule will not match. All other device models will match.
-
DeviceOperatingSystemsDevice operating systems that the rule will match.
-
NotDeviceOperatingSystemsDevice operating systems that the rule will not match. All other device operating systems will match.
-
DeviceUserAgentsDevice user agents that the rule will match.
-
NotDeviceUserAgentsDevice user agents that the rule will not match. All other device user agents will match.
Value¶
A list with the following syntax:
Request syntax¶
svc$create_mobile_device_access_rule(
OrganizationId = "string",
ClientToken = "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"
)
)