You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudTrail::Types::LookupEventsResponse

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb

Overview

Contains a response to a LookupEvents action.

Instance Attribute Summary collapse

Instance Attribute Details

#eventsArray<Types::Event>

A list of events returned based on the lookup attributes specified and the CloudTrail event. The events list is sorted by time. The most recent event is listed first.

Returns:



960
961
962
963
964
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 960

class LookupEventsResponse < Struct.new(
  :events,
  :next_token)
  include Aws::Structure
end

#next_tokenString

The token to use to get the next page of results after a previous API call. If the token does not appear, there are no more results to return. The token must be passed in with the same parameters as the previous 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.

Returns:

  • (String)


960
961
962
963
964
# File 'gems/aws-sdk-cloudtrail/lib/aws-sdk-cloudtrail/types.rb', line 960

class LookupEventsResponse < Struct.new(
  :events,
  :next_token)
  include Aws::Structure
end