File Coverage

blib/lib/Paws/IAM/User.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             package Paws::IAM::User;
2 1     1   452 use Moose;
  1     1   5  
  1         14  
  1         286  
  1         3  
  1         5  
3             has Arn => (is => 'ro', isa => 'Str', required => 1);
4             has CreateDate => (is => 'ro', isa => 'Str', required => 1);
5             has PasswordLastUsed => (is => 'ro', isa => 'Str');
6             has Path => (is => 'ro', isa => 'Str', required => 1);
7             has UserId => (is => 'ro', isa => 'Str', required => 1);
8             has UserName => (is => 'ro', isa => 'Str', required => 1);
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::IAM::User
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::IAM::User object:
27              
28             $service_obj->Method(Att1 => { Arn => $value, ..., UserName => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::User object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->Arn
36              
37             =head1 DESCRIPTION
38              
39             Contains information about an IAM user entity.
40              
41             This data type is used as a response element in the following actions:
42              
43             =over
44              
45             =item *
46              
47             CreateUser
48              
49             =item *
50              
51             GetUser
52              
53             =item *
54              
55             ListUsers
56              
57             =back
58              
59              
60             =head1 ATTRIBUTES
61              
62              
63             =head2 B<REQUIRED> Arn => Str
64              
65             The Amazon Resource Name (ARN) that identifies the user. For more
66             information about ARNs and how to use ARNs in policies, see IAM
67             Identifiers in the I<Using IAM> guide.
68              
69              
70             =head2 B<REQUIRED> CreateDate => Str
71              
72             The date and time, in ISO 8601 date-time format, when the user was
73             created.
74              
75              
76             =head2 PasswordLastUsed => Str
77              
78             The date and time, in ISO 8601 date-time format, when the user's
79             password was last used to sign in to an AWS website. For a list of AWS
80             websites that capture a user's last sign-in time, see the Credential
81             Reports topic in the I<Using IAM> guide. If a password is used more
82             than once in a five-minute span, only the first use is returned in this
83             field. If the field is null (no value) then it indicates that they
84             never signed in with a password. This can be because:
85              
86             =over
87              
88             =item *
89              
90             The user never had a password.
91              
92             =item *
93              
94             A password exists but has not been used since IAM started tracking this
95             information on October 20th, 2014.
96              
97             =back
98              
99             A null does not mean that the user I<never> had a password. Also, if
100             the user does not currently have a password, but had one in the past,
101             then this field contains the date and time the most recent password was
102             used.
103              
104             This value is returned only in the GetUser and ListUsers actions.
105              
106              
107             =head2 B<REQUIRED> Path => Str
108              
109             The path to the user. For more information about paths, see IAM
110             Identifiers in the I<Using IAM> guide.
111              
112              
113             =head2 B<REQUIRED> UserId => Str
114              
115             The stable and unique string identifying the user. For more information
116             about IDs, see IAM Identifiers in the I<Using IAM> guide.
117              
118              
119             =head2 B<REQUIRED> UserName => Str
120              
121             The friendly name identifying the user.
122              
123              
124              
125             =head1 SEE ALSO
126              
127             This class forms part of L<Paws>, describing an object used in L<Paws::IAM>
128              
129             =head1 BUGS and CONTRIBUTIONS
130              
131             The source code is located here: https://github.com/pplu/aws-sdk-perl
132              
133             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
134              
135             =cut
136