File Coverage

blib/lib/Paws/CognitoIdp/PasswordPolicyType.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::CognitoIdp::PasswordPolicyType;
2 1     1   293 use Moose;
  1         2  
  1         6  
3             has MinimumLength => (is => 'ro', isa => 'Int');
4             has RequireLowercase => (is => 'ro', isa => 'Bool');
5             has RequireNumbers => (is => 'ro', isa => 'Bool');
6             has RequireSymbols => (is => 'ro', isa => 'Bool');
7             has RequireUppercase => (is => 'ro', isa => 'Bool');
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::CognitoIdp::PasswordPolicyType
15              
16             =head1 USAGE
17              
18             This class represents one of two things:
19              
20             =head3 Arguments in a call to a service
21              
22             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23             Each attribute should be used as a named argument in the calls that expect this type of object.
24              
25             As an example, if Att1 is expected to be a Paws::CognitoIdp::PasswordPolicyType object:
26              
27             $service_obj->Method(Att1 => { MinimumLength => $value, ..., RequireUppercase => $value });
28              
29             =head3 Results returned from an API call
30              
31             Use accessors for each attribute. If Att1 is expected to be an Paws::CognitoIdp::PasswordPolicyType object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->MinimumLength
35              
36             =head1 DESCRIPTION
37              
38             The password policy type.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 MinimumLength => Int
44              
45             The minimum length of the password policy that you have set. Cannot be
46             less than 6.
47              
48              
49             =head2 RequireLowercase => Bool
50              
51             In the password policy that you have set, refers to whether you have
52             required users to use at least one lowercase letter in their password.
53              
54              
55             =head2 RequireNumbers => Bool
56              
57             In the password policy that you have set, refers to whether you have
58             required users to use at least one number in their password.
59              
60              
61             =head2 RequireSymbols => Bool
62              
63             In the password policy that you have set, refers to whether you have
64             required users to use at least one symbol in their password.
65              
66              
67             =head2 RequireUppercase => Bool
68              
69             In the password policy that you have set, refers to whether you have
70             required users to use at least one uppercase letter in their password.
71              
72              
73              
74             =head1 SEE ALSO
75              
76             This class forms part of L<Paws>, describing an object used in L<Paws::CognitoIdp>
77              
78             =head1 BUGS and CONTRIBUTIONS
79              
80             The source code is located here: https://github.com/pplu/aws-sdk-perl
81              
82             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
83              
84             =cut
85