| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::IAM::TrackedActionLastAccessed; | ||
| 3 | use Moose; | ||
| 4 | has ActionName => (is => 'ro', isa => 'Str'); | ||
| 5 | has LastAccessedEntity => (is => 'ro', isa => 'Str'); | ||
| 6 | has LastAccessedRegion => (is => 'ro', isa => 'Str'); | ||
| 7 | has LastAccessedTime => (is => 'ro', isa => 'Str'); | ||
| 8 | |||
| 9 | 1; | ||
| 10 | |||
| 11 | ### main pod documentation begin ### | ||
| 12 | |||
| 13 | =head1 NAME | ||
| 14 | |||
| 15 | Paws::IAM::TrackedActionLastAccessed | ||
| 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::TrackedActionLastAccessed object: | ||
| 27 | |||
| 28 | $service_obj->Method(Att1 => { ActionName => $value, ..., LastAccessedTime => $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::TrackedActionLastAccessed object: | ||
| 33 | |||
| 34 | $result = $service_obj->Method(...); | ||
| 35 | $result->Att1->ActionName | ||
| 36 | |||
| 37 | =head1 DESCRIPTION | ||
| 38 | |||
| 39 | Contains details about the most recent attempt to access an action | ||
| 40 | within the service. | ||
| 41 | |||
| 42 | This data type is used as a response element in the | ||
| 43 | GetServiceLastAccessedDetails operation. | ||
| 44 | |||
| 45 | =head1 ATTRIBUTES | ||
| 46 | |||
| 47 | |||
| 48 | =head2 ActionName => Str | ||
| 49 | |||
| 50 | The name of the tracked action to which access was attempted. Tracked | ||
| 51 | actions are actions that report activity to IAM. | ||
| 52 | |||
| 53 | |||
| 54 | =head2 LastAccessedEntity => Str | ||
| 55 | |||
| 56 | |||
| 57 | |||
| 58 | |||
| 59 | =head2 LastAccessedRegion => Str | ||
| 60 | |||
| 61 | The Region from which the authenticated entity (user or role) last | ||
| 62 | attempted to access the tracked action. AWS does not report | ||
| 63 | unauthenticated requests. | ||
| 64 | |||
| 65 | This field is null if no IAM entities attempted to access the service | ||
| 66 | within the reporting period | ||
| 67 | (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period). | ||
| 68 | |||
| 69 | |||
| 70 | =head2 LastAccessedTime => Str | ||
| 71 | |||
| 72 | The date and time, in ISO 8601 date-time format | ||
| 73 | (http://www.iso.org/iso/iso8601), when an authenticated entity most | ||
| 74 | recently attempted to access the tracked service. AWS does not report | ||
| 75 | unauthenticated requests. | ||
| 76 | |||
| 77 | This field is null if no IAM entities attempted to access the service | ||
| 78 | within the reporting period | ||
| 79 | (https://docs.aws.amazon.com/IAM/latest/UserGuide/access_policies_access-advisor.html#service-last-accessed-reporting-period). | ||
| 80 | |||
| 81 | |||
| 82 | |||
| 83 | =head1 SEE ALSO | ||
| 84 | |||
| 85 | This class forms part of L<Paws>, describing an object used in L<Paws::IAM> | ||
| 86 | |||
| 87 | =head1 BUGS and CONTRIBUTIONS | ||
| 88 | |||
| 89 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 90 | |||
| 91 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 92 | |||
| 93 | =cut | ||
| 94 |