« blib/lib/Paws/CloudSearch/ListDomainNames.pm
↑ Summary
blib/lib/Paws/CloudTrail/GetTrailStatus.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::CloudTrail::Event; | ||
| 3 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | has AccessKeyId => (is => 'ro', isa => 'Str'); | |
| 5 | 1 | has CloudTrailEvent => (is => 'ro', isa => 'Str'); | |
| 6 | 1 | has EventId => (is => 'ro', isa => 'Str'); | |
| 7 | 1 | has EventName => (is => 'ro', isa => 'Str'); | |
| 8 | 1 | has EventSource => (is => 'ro', isa => 'Str'); | |
| 9 | 1 | has EventTime => (is => 'ro', isa => 'Str'); | |
| 10 | 1 | has ReadOnly => (is => 'ro', isa => 'Str'); | |
| 11 | 1 | has Resources => (is => 'ro', isa => 'ArrayRef[Paws::CloudTrail::Resource]'); | |
| 12 | 1 | has Username => (is => 'ro', isa => 'Str'); | |
| 13 | |||
| 14 | 1 | 1; | |
| 15 | |||
| 16 | ### main pod documentation begin ### | ||
| 17 | |||
| 18 | =head1 NAME | ||
| 19 | |||
| 20 | Paws::CloudTrail::Event | ||
| 21 | |||
| 22 | =head1 USAGE | ||
| 23 | |||
| 24 | This class represents one of two things: | ||
| 25 | |||
| 26 | =head3 Arguments in a call to a service | ||
| 27 | |||
| 28 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 29 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 30 | |||
| 31 | As an example, if Att1 is expected to be a Paws::CloudTrail::Event object: | ||
| 32 | |||
| 33 | $service_obj->Method(Att1 => { AccessKeyId => $value, ..., Username => $value }); | ||
| 34 | |||
| 35 | =head3 Results returned from an API call | ||
| 36 | |||
| 37 | Use accessors for each attribute. If Att1 is expected to be an Paws::CloudTrail::Event object: | ||
| 38 | |||
| 39 | $result = $service_obj->Method(...); | ||
| 40 | $result->Att1->AccessKeyId | ||
| 41 | |||
| 42 | =head1 DESCRIPTION | ||
| 43 | |||
| 44 | Contains information about an event that was returned by a lookup | ||
| 45 | request. The result includes a representation of a CloudTrail event. | ||
| 46 | |||
| 47 | =head1 ATTRIBUTES | ||
| 48 | |||
| 49 | |||
| 50 | =head2 AccessKeyId => Str | ||
| 51 | |||
| 52 | The AWS access key ID that was used to sign the request. If the request | ||
| 53 | was made with temporary security credentials, this is the access key ID | ||
| 54 | of the temporary credentials. | ||
| 55 | |||
| 56 | |||
| 57 | =head2 CloudTrailEvent => Str | ||
| 58 | |||
| 59 | A JSON string that contains a representation of the event returned. | ||
| 60 | |||
| 61 | |||
| 62 | =head2 EventId => Str | ||
| 63 | |||
| 64 | The CloudTrail ID of the event returned. | ||
| 65 | |||
| 66 | |||
| 67 | =head2 EventName => Str | ||
| 68 | |||
| 69 | The name of the event returned. | ||
| 70 | |||
| 71 | |||
| 72 | =head2 EventSource => Str | ||
| 73 | |||
| 74 | The AWS service that the request was made to. | ||
| 75 | |||
| 76 | |||
| 77 | =head2 EventTime => Str | ||
| 78 | |||
| 79 | The date and time of the event returned. | ||
| 80 | |||
| 81 | |||
| 82 | =head2 ReadOnly => Str | ||
| 83 | |||
| 84 | Information about whether the event is a write event or a read event. | ||
| 85 | |||
| 86 | |||
| 87 | =head2 Resources => ArrayRef[L<Paws::CloudTrail::Resource>] | ||
| 88 | |||
| 89 | A list of resources referenced by the event returned. | ||
| 90 | |||
| 91 | |||
| 92 | =head2 Username => Str | ||
| 93 | |||
| 94 | A user name or role name of the requester that called the API in the | ||
| 95 | event returned. | ||
| 96 | |||
| 97 | |||
| 98 | |||
| 99 | =head1 SEE ALSO | ||
| 100 | |||
| 101 | This class forms part of L<Paws>, describing an object used in L<Paws::CloudTrail> | ||
| 102 | |||
| 103 | =head1 BUGS and CONTRIBUTIONS | ||
| 104 | |||
| 105 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 106 | |||
| 107 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 108 | |||
| 109 | =cut | ||
| 110 | |||