blib/lib/Paws/IAM/AccessKeyLastUsed.pm untested

filter: Statementstmt 0.0% 0 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 7 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::IAM::AccessKeyLastUsed;
3 use Moose;
4 has LastUsedDate => (is => 'ro', isa => 'Str', required => 1);
5 has Region => (is => 'ro', isa => 'Str', required => 1);
6 has ServiceName => (is => 'ro', isa => 'Str', required => 1);
7  
8 1;
9  
10 ### main pod documentation begin ###
11  
12 =head1 NAME
13  
14 Paws::IAM::AccessKeyLastUsed
15  
16 =head1 USAGE
17  
18 This class represents one of two things:
19  
20 =head3 Arguments in a call to a service
21  
22 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23 Each attribute should be used as a named argument in the calls that expect this type of object.
24  
25 As an example, if Att1 is expected to be a Paws::IAM::AccessKeyLastUsed object:
26  
27 $service_obj->Method(Att1 => { LastUsedDate => $value, ..., ServiceName => $value });
28  
29 =head3 Results returned from an API call
30  
31 Use accessors for each attribute. If Att1 is expected to be an Paws::IAM::AccessKeyLastUsed object:
32  
33 $result = $service_obj->Method(...);
34 $result->Att1->LastUsedDate
35  
36 =head1 DESCRIPTION
37  
38 Contains information about the last time an AWS access key was used
39 since IAM began tracking this information on April 22, 2015.
40  
41 This data type is used as a response element in the
42 GetAccessKeyLastUsed operation.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 B<REQUIRED> LastUsedDate => Str
48  
49 The date and time, in ISO 8601 date-time format
50 (http://www.iso.org/iso/iso8601), when the access key was most recently
51 used. This field is null in the following situations:
52  
53 =over
54  
55 =item *
56  
57 The user does not have an access key.
58  
59 =item *
60  
61 An access key exists but has not been used since IAM began tracking
62 this information.
63  
64 =item *
65  
66 There is no sign-in data associated with the user.
67  
68 =back
69  
70  
71  
72 =head2 B<REQUIRED> Region => Str
73  
74 The AWS Region where this access key was most recently used. The value
75 for this field is "N/A" in the following situations:
76  
77 =over
78  
79 =item *
80  
81 The user does not have an access key.
82  
83 =item *
84  
85 An access key exists but has not been used since IAM began tracking
86 this information.
87  
88 =item *
89  
90 There is no sign-in data associated with the user.
91  
92 =back
93  
94 For more information about AWS Regions, see Regions and endpoints
95 (https://docs.aws.amazon.com/general/latest/gr/rande.html) in the
96 Amazon Web Services General Reference.
97  
98  
99 =head2 B<REQUIRED> ServiceName => Str
100  
101 The name of the AWS service with which this access key was most
102 recently used. The value of this field is "N/A" in the following
103 situations:
104  
105 =over
106  
107 =item *
108  
109 The user does not have an access key.
110  
111 =item *
112  
113 An access key exists but has not been used since IAM started tracking
114 this information.
115  
116 =item *
117  
118 There is no sign-in data associated with the user.
119  
120 =back
121  
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: L<https://github.com/pplu/aws-sdk-perl>
132  
133 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
134  
135 =cut
136