![]() |
![]()
| ![]() |
![]()
NAMEPaws::WorkMail::CreateMobileDeviceAccessRule - Arguments for method CreateMobileDeviceAccessRule on Paws::WorkMail DESCRIPTIONThis class represents the parameters used for calling the method CreateMobileDeviceAccessRule on the Amazon WorkMail service. Use the attributes of this class as arguments to method CreateMobileDeviceAccessRule. You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateMobileDeviceAccessRule. SYNOPSISmy $workmail = Paws->service('WorkMail'); my $CreateMobileDeviceAccessRuleResponse = $workmail->CreateMobileDeviceAccessRule( Effect => 'ALLOW', Name => 'MyMobileDeviceAccessRuleName', OrganizationId => 'MyOrganizationId', ClientToken => 'MyIdempotencyClientToken', # OPTIONAL Description => 'MyMobileDeviceAccessRuleDescription', # OPTIONAL DeviceModels => [ 'MyDeviceModel', ... # min: 1, max: 256 ], # OPTIONAL DeviceOperatingSystems => [ 'MyDeviceOperatingSystem', ... # min: 1, max: 256 ], # OPTIONAL DeviceTypes => [ 'MyDeviceType', ... # min: 1, max: 256 ], # OPTIONAL DeviceUserAgents => [ 'MyDeviceUserAgent', ... # min: 1, max: 256 ], # OPTIONAL NotDeviceModels => [ 'MyDeviceModel', ... # min: 1, max: 256 ], # OPTIONAL NotDeviceOperatingSystems => [ 'MyDeviceOperatingSystem', ... # min: 1, max: 256 ], # OPTIONAL NotDeviceTypes => [ 'MyDeviceType', ... # min: 1, max: 256 ], # OPTIONAL NotDeviceUserAgents => [ 'MyDeviceUserAgent', ... # min: 1, max: 256 ], # OPTIONAL ); # Results: my $MobileDeviceAccessRuleId = $CreateMobileDeviceAccessRuleResponse->MobileDeviceAccessRuleId; # Returns a L<Paws::WorkMail::CreateMobileDeviceAccessRuleResponse> object. Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see <https://docs.aws.amazon.com/goto/WebAPI/workmail/CreateMobileDeviceAccessRule> ATTRIBUTESClientToken => StrThe idempotency token for the client request. Description => StrThe rule description. DeviceModels => ArrayRef[Str|Undef]Device models that the rule will match. DeviceOperatingSystems => ArrayRef[Str|Undef]Device operating systems that the rule will match. DeviceTypes => ArrayRef[Str|Undef]Device types that the rule will match. DeviceUserAgents => ArrayRef[Str|Undef]Device user agents that the rule will match. REQUIRED Effect => StrThe effect of the rule when it matches. Allowed values are "ALLOW" or "DENY". Valid values are: "ALLOW", "DENY" REQUIRED Name => StrThe rule name. NotDeviceModels => ArrayRef[Str|Undef]Device models that the rule will not match. All other device models will match. NotDeviceOperatingSystems => ArrayRef[Str|Undef]Device operating systems that the rule will not match. All other device operating systems will match. NotDeviceTypes => ArrayRef[Str|Undef]Device types that the rule will not match. All other device types will match. NotDeviceUserAgents => ArrayRef[Str|Undef]Device user agents that the rule will not match. All other device user agents will match. REQUIRED OrganizationId => StrThe Amazon WorkMail organization under which the rule will be created. SEE ALSOThis class forms part of Paws, documenting arguments for method CreateMobileDeviceAccessRule in Paws::WorkMail BUGS and CONTRIBUTIONSThe source code is located here: <https://github.com/pplu/aws-sdk-perl> Please report bugs to: <https://github.com/pplu/aws-sdk-perl/issues>
|