class Aws::WorkMail::Types::CreateMobileDeviceAccessRuleRequest
@note When making an API call, you may pass CreateMobileDeviceAccessRuleRequest
data as a hash: { organization_id: "OrganizationId", # required client_token: "IdempotencyClientToken", name: "MobileDeviceAccessRuleName", # required description: "MobileDeviceAccessRuleDescription", effect: "ALLOW", # required, accepts ALLOW, DENY device_types: ["DeviceType"], not_device_types: ["DeviceType"], device_models: ["DeviceModel"], not_device_models: ["DeviceModel"], device_operating_systems: ["DeviceOperatingSystem"], not_device_operating_systems: ["DeviceOperatingSystem"], device_user_agents: ["DeviceUserAgent"], not_device_user_agents: ["DeviceUserAgent"], }
@!attribute [rw] organization_id
The Amazon WorkMail organization under which the rule will be created. @return [String]
@!attribute [rw] client_token
The idempotency token for the client request. **A suitable default value is auto-generated.** You should normally not need to pass this option. @return [String]
@!attribute [rw] name
The rule name. @return [String]
@!attribute [rw] description
The rule description. @return [String]
@!attribute [rw] effect
The effect of the rule when it matches. Allowed values are `ALLOW` or `DENY`. @return [String]
@!attribute [rw] device_types
Device types that the rule will match. @return [Array<String>]
@!attribute [rw] not_device_types
Device types that the rule **will not** match. All other device types will match. @return [Array<String>]
@!attribute [rw] device_models
Device models that the rule will match. @return [Array<String>]
@!attribute [rw] not_device_models
Device models that the rule **will not** match. All other device models will match. @return [Array<String>]
@!attribute [rw] device_operating_systems
Device operating systems that the rule will match. @return [Array<String>]
@!attribute [rw] not_device_operating_systems
Device operating systems that the rule **will not** match. All other device operating systems will match. @return [Array<String>]
@!attribute [rw] device_user_agents
Device user agents that the rule will match. @return [Array<String>]
@!attribute [rw] not_device_user_agents
Device user agents that the rule **will not** match. All other device user agents will match. @return [Array<String>]
@see docs.aws.amazon.com/goto/WebAPI/workmail-2017-10-01/CreateMobileDeviceAccessRuleRequest AWS API Documentation
Constants
- SENSITIVE