NAME

Paws::CloudTrail::LookupEvents - Arguments for method LookupEvents on Paws::CloudTrail

DESCRIPTION

This class represents the parameters used for calling the method LookupEvents on the AWS CloudTrail service. Use the attributes of this class as arguments to method LookupEvents.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to LookupEvents.

SYNOPSIS

    my $cloudtrail = Paws->service('CloudTrail');
    my $LookupEventsResponse = $cloudtrail->LookupEvents(
      EndTime          => '1970-01-01T01:00:00',    # OPTIONAL
      LookupAttributes => [
        {
          AttributeKey => 'EventId'
          , # values: EventId, EventName, ReadOnly, Username, ResourceType, ResourceName, EventSource, AccessKeyId
          AttributeValue => 'MyString',

        },
        ...
      ],    # OPTIONAL
      MaxResults => 1,                        # OPTIONAL
      NextToken  => 'MyNextToken',            # OPTIONAL
      StartTime  => '1970-01-01T01:00:00',    # OPTIONAL
    );

    # Results:
    my $Events    = $LookupEventsResponse->Events;
    my $NextToken = $LookupEventsResponse->NextToken;

    # Returns a L<Paws::CloudTrail::LookupEventsResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/cloudtrail/LookupEvents

ATTRIBUTES

EndTime => Str

Specifies that only events that occur before or at the specified time are returned. If the specified end time is before the specified start time, an error is returned.

LookupAttributes => ArrayRef[Paws::CloudTrail::LookupAttribute]

Contains a list of lookup attributes. Currently the list can contain only one item.

MaxResults => Int

The number of events to return. Possible values are 1 through 50. The default is 50.

NextToken => Str

The token to use to get the next page of results after a previous API call. This token must be passed in with the same parameters that were specified in the the original call. For example, if the original call specified an AttributeKey of 'Username' with a value of 'root', the call with NextToken should include those same parameters.

StartTime => Str

Specifies that only events that occur after or at the specified time are returned. If the specified start time is after the specified end time, an error is returned.

SEE ALSO

This class forms part of Paws, documenting arguments for method LookupEvents in Paws::CloudTrail

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues