File Coverage

blib/lib/Paws/IAM/UpdateAccountPasswordPolicy.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::IAM::UpdateAccountPasswordPolicy;
3 1     1   384 use Moose;
  1         2  
  1         7  
4             has AllowUsersToChangePassword => (is => 'ro', isa => 'Bool');
5             has HardExpiry => (is => 'ro', isa => 'Bool');
6             has MaxPasswordAge => (is => 'ro', isa => 'Int');
7             has MinimumPasswordLength => (is => 'ro', isa => 'Int');
8             has PasswordReusePrevention => (is => 'ro', isa => 'Int');
9             has RequireLowercaseCharacters => (is => 'ro', isa => 'Bool');
10             has RequireNumbers => (is => 'ro', isa => 'Bool');
11             has RequireSymbols => (is => 'ro', isa => 'Bool');
12             has RequireUppercaseCharacters => (is => 'ro', isa => 'Bool');
13              
14 1     1   5690 use MooseX::ClassAttribute;
  1         3  
  1         6  
15              
16             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateAccountPasswordPolicy');
17             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::API::Response');
18             class_has _result_key => (isa => 'Str', is => 'ro');
19             1;
20              
21             ### main pod documentation begin ###
22              
23             =head1 NAME
24              
25             Paws::IAM::UpdateAccountPasswordPolicy - Arguments for method UpdateAccountPasswordPolicy on Paws::IAM
26              
27             =head1 DESCRIPTION
28              
29             This class represents the parameters used for calling the method UpdateAccountPasswordPolicy on the
30             AWS Identity and Access Management service. Use the attributes of this class
31             as arguments to method UpdateAccountPasswordPolicy.
32              
33             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateAccountPasswordPolicy.
34              
35             As an example:
36              
37             $service_obj->UpdateAccountPasswordPolicy(Att1 => $value1, Att2 => $value2, ...);
38              
39             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.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 AllowUsersToChangePassword => Bool
45              
46             Allows all IAM users in your account to use the AWS Management Console
47             to change their own passwords. For more information, see Letting IAM
48             Users Change Their Own Passwords in the I<IAM User Guide>.
49              
50             Default value: false
51              
52              
53              
54             =head2 HardExpiry => Bool
55              
56             Prevents IAM users from setting a new password after their password has
57             expired.
58              
59             Default value: false
60              
61              
62              
63             =head2 MaxPasswordAge => Int
64              
65             The number of days that an IAM user password is valid. The default
66             value of 0 means IAM user passwords never expire.
67              
68             Default value: 0
69              
70              
71              
72             =head2 MinimumPasswordLength => Int
73              
74             The minimum number of characters allowed in an IAM user password.
75              
76             Default value: 6
77              
78              
79              
80             =head2 PasswordReusePrevention => Int
81              
82             Specifies the number of previous passwords that IAM users are prevented
83             from reusing. The default value of 0 means IAM users are not prevented
84             from reusing previous passwords.
85              
86             Default value: 0
87              
88              
89              
90             =head2 RequireLowercaseCharacters => Bool
91              
92             Specifies whether IAM user passwords must contain at least one
93             lowercase character from the ISO basic Latin alphabet (a to z).
94              
95             Default value: false
96              
97              
98              
99             =head2 RequireNumbers => Bool
100              
101             Specifies whether IAM user passwords must contain at least one numeric
102             character (0 to 9).
103              
104             Default value: false
105              
106              
107              
108             =head2 RequireSymbols => Bool
109              
110             Specifies whether IAM user passwords must contain at least one of the
111             following non-alphanumeric characters:
112              
113             ! @ # $ % ^ & * ( ) _ + - = [ ] { } | '
114              
115             Default value: false
116              
117              
118              
119             =head2 RequireUppercaseCharacters => Bool
120              
121             Specifies whether IAM user passwords must contain at least one
122             uppercase character from the ISO basic Latin alphabet (A to Z).
123              
124             Default value: false
125              
126              
127              
128              
129             =head1 SEE ALSO
130              
131             This class forms part of L<Paws>, documenting arguments for method UpdateAccountPasswordPolicy in L<Paws::IAM>
132              
133             =head1 BUGS and CONTRIBUTIONS
134              
135             The source code is located here: https://github.com/pplu/aws-sdk-perl
136              
137             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
138              
139             =cut
140