File Coverage

blib/lib/Paws/IAM/AccessKeyLastUsed.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::IAM::AccessKeyLastUsed;
2 1     1   551 use Moose;
  1         5  
  1         10  
3             has LastUsedDate => (is => 'ro', isa => 'Str', required => 1);
4             has Region => (is => 'ro', isa => 'Str', required => 1);
5             has ServiceName => (is => 'ro', isa => 'Str', required => 1);
6             1;
7              
8             ### main pod documentation begin ###
9              
10             =head1 NAME
11              
12             Paws::IAM::AccessKeyLastUsed
13              
14             =head1 USAGE
15              
16             This class represents one of two things:
17              
18             =head3 Arguments in a call to a service
19              
20             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
21             Each attribute should be used as a named argument in the calls that expect this type of object.
22              
23             As an example, if Att1 is expected to be a Paws::IAM::AccessKeyLastUsed object:
24              
25             $service_obj->Method(Att1 => { LastUsedDate => $value, ..., ServiceName => $value });
26              
27             =head3 Results returned from an API call
28              
29             Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::AccessKeyLastUsed object:
30              
31             $result = $service_obj->Method(...);
32             $result->Att1->LastUsedDate
33              
34             =head1 DESCRIPTION
35              
36             Contains information about the last time an AWS access key was used.
37              
38             This data type is used as a response element in the
39             GetAccessKeyLastUsed action.
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 B<REQUIRED> LastUsedDate => Str
45              
46             The date and time, in ISO 8601 date-time format, when the access key
47             was most recently used. This field is null when:
48              
49             =over
50              
51             =item *
52              
53             The user does not have an access key.
54              
55             =item *
56              
57             An access key exists but has never been used, at least not since IAM
58             started tracking this information on April 22nd, 2015.
59              
60             =item *
61              
62             There is no sign-in data associated with the user
63              
64             =back
65              
66              
67              
68             =head2 B<REQUIRED> Region => Str
69              
70             The AWS region where this access key was most recently used. This field
71             is displays "N/A" when:
72              
73             =over
74              
75             =item *
76              
77             The user does not have an access key.
78              
79             =item *
80              
81             An access key exists but has never been used, at least not since IAM
82             started tracking this information on April 22nd, 2015.
83              
84             =item *
85              
86             There is no sign-in data associated with the user
87              
88             =back
89              
90             For more information about AWS regions, see Regions and Endpoints in
91             the Amazon Web Services General Reference.
92              
93              
94             =head2 B<REQUIRED> ServiceName => Str
95              
96             The name of the AWS service with which this access key was most
97             recently used. This field displays "N/A" when:
98              
99             =over
100              
101             =item *
102              
103             The user does not have an access key.
104              
105             =item *
106              
107             An access key exists but has never been used, at least not since IAM
108             started tracking this information on April 22nd, 2015.
109              
110             =item *
111              
112             There is no sign-in data associated with the user
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::IAM>
122              
123             =head1 BUGS and CONTRIBUTIONS
124              
125             The source code is located here: https://github.com/pplu/aws-sdk-perl
126              
127             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
128              
129             =cut
130