« blib/lib/Paws/WorkMail/UpdateMailboxQuotaResponse.pm
↑ Summary
blib/lib/Paws/WorkMail/UpdateMobileDeviceAccessRuleResponse.pm »
| 1 | |||
| 2 | package Paws::WorkMail::UpdateMobileDeviceAccessRule; | ||
| 3 | use Moose; | ||
| 4 | has Description => (is => 'ro', isa => 'Str'); | ||
| 5 | has DeviceModels => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 6 | has DeviceOperatingSystems => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 7 | has DeviceTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 8 | has DeviceUserAgents => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 9 | has Effect => (is => 'ro', isa => 'Str', required => 1); | ||
| 10 | has MobileDeviceAccessRuleId => (is => 'ro', isa => 'Str', required => 1); | ||
| 11 | has Name => (is => 'ro', isa => 'Str', required => 1); | ||
| 12 | has NotDeviceModels => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 13 | has NotDeviceOperatingSystems => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 14 | has NotDeviceTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 15 | has NotDeviceUserAgents => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | ||
| 16 | has OrganizationId => (is => 'ro', isa => 'Str', required => 1); | ||
| 17 | |||
| 18 | use MooseX::ClassAttribute; | ||
| 19 | |||
| 20 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateMobileDeviceAccessRule'); | ||
| 21 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::WorkMail::UpdateMobileDeviceAccessRuleResponse'); | ||
| 22 | class_has _result_key => (isa => 'Str', is => 'ro'); | ||
| 23 | 1; | ||
| 24 | |||
| 25 | ### main pod documentation begin ### | ||
| 26 | |||
| 27 | =head1 NAME | ||
| 28 | |||
| 29 | Paws::WorkMail::UpdateMobileDeviceAccessRule - Arguments for method UpdateMobileDeviceAccessRule on L<Paws::WorkMail> | ||
| 30 | |||
| 31 | =head1 DESCRIPTION | ||
| 32 | |||
| 33 | This class represents the parameters used for calling the method UpdateMobileDeviceAccessRule on the | ||
| 34 | L<Amazon WorkMail|Paws::WorkMail> service. Use the attributes of this class | ||
| 35 | as arguments to method UpdateMobileDeviceAccessRule. | ||
| 36 | |||
| 37 | You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateMobileDeviceAccessRule. | ||
| 38 | |||
| 39 | =head1 SYNOPSIS | ||
| 40 | |||
| 41 | my $workmail = Paws->service('WorkMail'); | ||
| 42 | my $UpdateMobileDeviceAccessRuleResponse = | ||
| 43 | $workmail->UpdateMobileDeviceAccessRule( | ||
| 44 | Effect => 'ALLOW', | ||
| 45 | MobileDeviceAccessRuleId => 'MyMobileDeviceAccessRuleId', | ||
| 46 | Name => 'MyMobileDeviceAccessRuleName', | ||
| 47 | OrganizationId => 'MyOrganizationId', | ||
| 48 | Description => 'MyMobileDeviceAccessRuleDescription', # OPTIONAL | ||
| 49 | DeviceModels => [ | ||
| 50 | 'MyDeviceModel', ... # min: 1, max: 256 | ||
| 51 | ], # OPTIONAL | ||
| 52 | DeviceOperatingSystems => [ | ||
| 53 | 'MyDeviceOperatingSystem', ... # min: 1, max: 256 | ||
| 54 | ], # OPTIONAL | ||
| 55 | DeviceTypes => [ | ||
| 56 | 'MyDeviceType', ... # min: 1, max: 256 | ||
| 57 | ], # OPTIONAL | ||
| 58 | DeviceUserAgents => [ | ||
| 59 | 'MyDeviceUserAgent', ... # min: 1, max: 256 | ||
| 60 | ], # OPTIONAL | ||
| 61 | NotDeviceModels => [ | ||
| 62 | 'MyDeviceModel', ... # min: 1, max: 256 | ||
| 63 | ], # OPTIONAL | ||
| 64 | NotDeviceOperatingSystems => [ | ||
| 65 | 'MyDeviceOperatingSystem', ... # min: 1, max: 256 | ||
| 66 | ], # OPTIONAL | ||
| 67 | NotDeviceTypes => [ | ||
| 68 | 'MyDeviceType', ... # min: 1, max: 256 | ||
| 69 | ], # OPTIONAL | ||
| 70 | NotDeviceUserAgents => [ | ||
| 71 | 'MyDeviceUserAgent', ... # min: 1, max: 256 | ||
| 72 | ], # OPTIONAL | ||
| 73 | ); | ||
| 74 | |||
| 75 | 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. | ||
| 76 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/workmail/UpdateMobileDeviceAccessRule> | ||
| 77 | |||
| 78 | =head1 ATTRIBUTES | ||
| 79 | |||
| 80 | |||
| 81 | =head2 Description => Str | ||
| 82 | |||
| 83 | The updated rule description. | ||
| 84 | |||
| 85 | |||
| 86 | |||
| 87 | =head2 DeviceModels => ArrayRef[Str|Undef] | ||
| 88 | |||
| 89 | Device models that the updated rule will match. | ||
| 90 | |||
| 91 | |||
| 92 | |||
| 93 | =head2 DeviceOperatingSystems => ArrayRef[Str|Undef] | ||
| 94 | |||
| 95 | Device operating systems that the updated rule will match. | ||
| 96 | |||
| 97 | |||
| 98 | |||
| 99 | =head2 DeviceTypes => ArrayRef[Str|Undef] | ||
| 100 | |||
| 101 | Device types that the updated rule will match. | ||
| 102 | |||
| 103 | |||
| 104 | |||
| 105 | =head2 DeviceUserAgents => ArrayRef[Str|Undef] | ||
| 106 | |||
| 107 | User agents that the updated rule will match. | ||
| 108 | |||
| 109 | |||
| 110 | |||
| 111 | =head2 B<REQUIRED> Effect => Str | ||
| 112 | |||
| 113 | The effect of the rule when it matches. Allowed values are C<ALLOW> or | ||
| 114 | C<DENY>. | ||
| 115 | |||
| 116 | Valid values are: C<"ALLOW">, C<"DENY"> | ||
| 117 | |||
| 118 | =head2 B<REQUIRED> MobileDeviceAccessRuleId => Str | ||
| 119 | |||
| 120 | The identifier of the rule to be updated. | ||
| 121 | |||
| 122 | |||
| 123 | |||
| 124 | =head2 B<REQUIRED> Name => Str | ||
| 125 | |||
| 126 | The updated rule name. | ||
| 127 | |||
| 128 | |||
| 129 | |||
| 130 | =head2 NotDeviceModels => ArrayRef[Str|Undef] | ||
| 131 | |||
| 132 | Device models that the updated rule B<will not> match. All other device | ||
| 133 | models will match. | ||
| 134 | |||
| 135 | |||
| 136 | |||
| 137 | =head2 NotDeviceOperatingSystems => ArrayRef[Str|Undef] | ||
| 138 | |||
| 139 | Device operating systems that the updated rule B<will not> match. All | ||
| 140 | other device operating systems will match. | ||
| 141 | |||
| 142 | |||
| 143 | |||
| 144 | =head2 NotDeviceTypes => ArrayRef[Str|Undef] | ||
| 145 | |||
| 146 | Device types that the updated rule B<will not> match. All other device | ||
| 147 | types will match. | ||
| 148 | |||
| 149 | |||
| 150 | |||
| 151 | =head2 NotDeviceUserAgents => ArrayRef[Str|Undef] | ||
| 152 | |||
| 153 | User agents that the updated rule B<will not> match. All other user | ||
| 154 | agents will match. | ||
| 155 | |||
| 156 | |||
| 157 | |||
| 158 | =head2 B<REQUIRED> OrganizationId => Str | ||
| 159 | |||
| 160 | The Amazon WorkMail organization under which the rule will be updated. | ||
| 161 | |||
| 162 | |||
| 163 | |||
| 164 | |||
| 165 | =head1 SEE ALSO | ||
| 166 | |||
| 167 | This class forms part of L<Paws>, documenting arguments for method UpdateMobileDeviceAccessRule in L<Paws::WorkMail> | ||
| 168 | |||
| 169 | =head1 BUGS and CONTRIBUTIONS | ||
| 170 | |||
| 171 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 172 | |||
| 173 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 174 | |||
| 175 | =cut | ||
| 176 |