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   599 use Moose;
  1     1   2  
  1         7  
  1         531  
  1         3  
  1         6  
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. This field is null (not present) when:
84              
85             =over
86              
87             =item *
88              
89             The user does not have a password
90              
91             =item *
92              
93             The password exists but has never been used (at least not since IAM
94             started tracking this information on October 20th, 2014
95              
96             =item *
97              
98             there is no sign-in data associated with the user
99              
100             =back
101              
102             This value is returned only in the GetUser and ListUsers actions.
103              
104              
105             =head2 B<REQUIRED> Path => Str
106              
107             The path to the user. For more information about paths, see IAM
108             Identifiers in the I<Using IAM> guide.
109              
110              
111             =head2 B<REQUIRED> UserId => Str
112              
113             The stable and unique string identifying the user. For more information
114             about IDs, see IAM Identifiers in the I<Using IAM> guide.
115              
116              
117             =head2 B<REQUIRED> UserName => Str
118              
119             The friendly name identifying the user.
120              
121              
122              
123             =head1 SEE ALSO
124              
125             This class forms part of L<Paws>, describing an object used in L<Paws::IAM>
126              
127             =head1 BUGS and CONTRIBUTIONS
128              
129             The source code is located here: https://github.com/pplu/aws-sdk-perl
130              
131             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
132              
133             =cut
134