blib/lib/Paws/IAM/User.pm

filter: Statementstmt 100% 12 / 12 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 13 / 13 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/IAM/Tag.pm ↑ Summary blib/lib/Paws/IAM/VirtualMFADevice.pm »
1 # Generated by default/object.tt
2 package Paws::IAM::User;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has Arn => (is => 'ro', isa => 'Str', required => 1);
5 1 has CreateDate => (is => 'ro', isa => 'Str', required => 1);
6 1 has PasswordLastUsed => (is => 'ro', isa => 'Str');
7 1 has Path => (is => 'ro', isa => 'Str', required => 1);
8 1 has PermissionsBoundary => (is => 'ro', isa => 'Paws::IAM::AttachedPermissionsBoundary');
9 1 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::IAM::Tag]');
10 1 has UserId => (is => 'ro', isa => 'Str', required => 1);
11 1 has UserName => (is => 'ro', isa => 'Str', required => 1);
12  
13 1 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::IAM::User
20  
21 =head1 USAGE
22  
23 This class represents one of two things:
24  
25 =head3 Arguments in a call to a service
26  
27 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28 Each attribute should be used as a named argument in the calls that expect this type of object.
29  
30 As an example, if Att1 is expected to be a Paws::IAM::User object:
31  
32 $service_obj->Method(Att1 => { Arn => $value, ..., UserName => $value });
33  
34 =head3 Results returned from an API call
35  
36 Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::User object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->Arn
40  
41 =head1 DESCRIPTION
42  
43 Contains information about an IAM user entity.
44  
45 This data type is used as a response element in the following
46 operations:
47  
48 =over
49  
50 =item *
51  
52 CreateUser
53  
54 =item *
55  
56 GetUser
57  
58 =item *
59  
60 ListUsers
61  
62 =back
63  
64  
65 =head1 ATTRIBUTES
66  
67  
68 =head2 B<REQUIRED> Arn => Str
69  
70 The Amazon Resource Name (ARN) that identifies the user. For more
71 information about ARNs and how to use ARNs in policies, see IAM
72 Identifiers
73 (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
74 in the I<IAM User Guide>.
75  
76  
77 =head2 B<REQUIRED> CreateDate => Str
78  
79 The date and time, in ISO 8601 date-time format
80 (http://www.iso.org/iso/iso8601), when the user was created.
81  
82  
83 =head2 PasswordLastUsed => Str
84  
85 The date and time, in ISO 8601 date-time format
86 (http://www.iso.org/iso/iso8601), when the user's password was last
87 used to sign in to an AWS website. For a list of AWS websites that
88 capture a user's last sign-in time, see the Credential reports
89 (https://docs.aws.amazon.com/IAM/latest/UserGuide/credential-reports.html)
90 topic in the I<IAM User Guide>. If a password is used more than once in
91 a five-minute span, only the first use is returned in this field. If
92 the field is null (no value), then it indicates that they never signed
93 in with a password. This can be because:
94  
95 =over
96  
97 =item *
98  
99 The user never had a password.
100  
101 =item *
102  
103 A password exists but has not been used since IAM started tracking this
104 information on October 20, 2014.
105  
106 =back
107  
108 A null value does not mean that the user I<never> had a password. Also,
109 if the user does not currently have a password but had one in the past,
110 then this field contains the date and time the most recent password was
111 used.
112  
113 This value is returned only in the GetUser and ListUsers operations.
114  
115  
116 =head2 B<REQUIRED> Path => Str
117  
118 The path to the user. For more information about paths, see IAM
119 identifiers
120 (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
121 in the I<IAM User Guide>.
122  
123 The ARN of the policy used to set the permissions boundary for the
124 user.
125  
126  
127 =head2 PermissionsBoundary => L<Paws::IAM::AttachedPermissionsBoundary>
128  
129 For more information about permissions boundaries, see Permissions
130 boundaries for IAM identities
131 (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_boundaries.html)
132 in the I<IAM User Guide>.
133  
134  
135 =head2 Tags => ArrayRef[L<Paws::IAM::Tag>]
136  
137 A list of tags that are associated with the user. For more information
138 about tagging, see Tagging IAM resources
139 (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_tags.html) in the
140 I<IAM User Guide>.
141  
142  
143 =head2 B<REQUIRED> UserId => Str
144  
145 The stable and unique string identifying the user. For more information
146 about IDs, see IAM identifiers
147 (https://docs.aws.amazon.com/IAM/latest/UserGuide/Using_Identifiers.html)
148 in the I<IAM User Guide>.
149  
150  
151 =head2 B<REQUIRED> UserName => Str
152  
153 The friendly name identifying the user.
154  
155  
156  
157 =head1 SEE ALSO
158  
159 This class forms part of L<Paws>, describing an object used in L<Paws::IAM>
160  
161 =head1 BUGS and CONTRIBUTIONS
162  
163 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
164  
165 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
166  
167 =cut
168  
« blib/lib/Paws/IAM/Tag.pm ↑ Summary blib/lib/Paws/IAM/VirtualMFADevice.pm »