The Perl Toolchain Summit 2025 Needs You: You can help 🙏 Learn more

NAME

Paws::WorkMail::UpdateMobileDeviceAccessRule - Arguments for method UpdateMobileDeviceAccessRule on Paws::WorkMail

DESCRIPTION

This class represents the parameters used for calling the method UpdateMobileDeviceAccessRule on the Amazon WorkMail service. Use the attributes of this class as arguments to method UpdateMobileDeviceAccessRule.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateMobileDeviceAccessRule.

SYNOPSIS

my $workmail = Paws->service('WorkMail');
my $UpdateMobileDeviceAccessRuleResponse =
$workmail->UpdateMobileDeviceAccessRule(
Effect => 'ALLOW',
MobileDeviceAccessRuleId => 'MyMobileDeviceAccessRuleId',
Name => 'MyMobileDeviceAccessRuleName',
OrganizationId => 'MyOrganizationId',
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
);

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/UpdateMobileDeviceAccessRule

ATTRIBUTES

Description => Str

The updated rule description.

DeviceModels => ArrayRef[Str|Undef]

Device models that the updated rule will match.

DeviceOperatingSystems => ArrayRef[Str|Undef]

Device operating systems that the updated rule will match.

DeviceTypes => ArrayRef[Str|Undef]

Device types that the updated rule will match.

DeviceUserAgents => ArrayRef[Str|Undef]

User agents that the updated rule will match.

REQUIRED Effect => Str

The effect of the rule when it matches. Allowed values are ALLOW or DENY.

Valid values are: "ALLOW", "DENY"

REQUIRED MobileDeviceAccessRuleId => Str

The identifier of the rule to be updated.

REQUIRED Name => Str

The updated rule name.

NotDeviceModels => ArrayRef[Str|Undef]

Device models that the updated rule will not match. All other device models will match.

NotDeviceOperatingSystems => ArrayRef[Str|Undef]

Device operating systems that the updated rule will not match. All other device operating systems will match.

NotDeviceTypes => ArrayRef[Str|Undef]

Device types that the updated rule will not match. All other device types will match.

NotDeviceUserAgents => ArrayRef[Str|Undef]

User agents that the updated rule will not match. All other user agents will match.

REQUIRED OrganizationId => Str

The Amazon WorkMail organization under which the rule will be updated.

SEE ALSO

This class forms part of Paws, documenting arguments for method UpdateMobileDeviceAccessRule in Paws::WorkMail

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues