blib/lib/Paws/CognitoIdp/UserType.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 11 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::CognitoIdp::UserType;
3 use Moose;
4 has Attributes => (is => 'ro', isa => 'ArrayRef[Paws::CognitoIdp::AttributeType]');
5 has Enabled => (is => 'ro', isa => 'Bool');
6 has MFAOptions => (is => 'ro', isa => 'ArrayRef[Paws::CognitoIdp::MFAOptionType]');
7 has UserCreateDate => (is => 'ro', isa => 'Str');
8 has UserLastModifiedDate => (is => 'ro', isa => 'Str');
9 has Username => (is => 'ro', isa => 'Str');
10 has UserStatus => (is => 'ro', isa => 'Str');
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::CognitoIdp::UserType
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::CognitoIdp::UserType object:
30  
31 $service_obj->Method(Att1 => { Attributes => $value, ..., UserStatus => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::CognitoIdp::UserType object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->Attributes
39  
40 =head1 DESCRIPTION
41  
42 The user type.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 Attributes => ArrayRef[L<Paws::CognitoIdp::AttributeType>]
48  
49 A container with information about the user type attributes.
50  
51  
52 =head2 Enabled => Bool
53  
54 Specifies whether the user is enabled.
55  
56  
57 =head2 MFAOptions => ArrayRef[L<Paws::CognitoIdp::MFAOptionType>]
58  
59 The MFA options for the user.
60  
61  
62 =head2 UserCreateDate => Str
63  
64 The creation date of the user.
65  
66  
67 =head2 UserLastModifiedDate => Str
68  
69 The last modified date of the user.
70  
71  
72 =head2 Username => Str
73  
74 The user name of the user you wish to describe.
75  
76  
77 =head2 UserStatus => Str
78  
79 The user status. Can be one of the following:
80  
81 =over
82  
83 =item *
84  
85 UNCONFIRMED - User has been created but not confirmed.
86  
87 =item *
88  
89 CONFIRMED - User has been confirmed.
90  
91 =item *
92  
93 ARCHIVED - User is no longer active.
94  
95 =item *
96  
97 COMPROMISED - User is disabled due to a potential security threat.
98  
99 =item *
100  
101 UNKNOWN - User status is not known.
102  
103 =item *
104  
105 RESET_REQUIRED - User is confirmed, but the user must request a code
106 and reset his or her password before he or she can sign in.
107  
108 =item *
109  
110 FORCE_CHANGE_PASSWORD - The user is confirmed and the user can sign in
111 using a temporary password, but on first sign-in, the user must change
112 his or her password to a new value before doing anything else.
113  
114 =back
115  
116  
117  
118  
119 =head1 SEE ALSO
120  
121 This class forms part of L<Paws>, describing an object used in L<Paws::CognitoIdp>
122  
123 =head1 BUGS and CONTRIBUTIONS
124  
125 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
126  
127 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
128  
129 =cut
130