Class: Aws::CloudTrail::Types::ListInsightsDataRequest

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#data_typeString

Specifies the category of events returned. To fetch Insights events, specify ‘InsightsEvents` as the value of `DataType`

Returns:

  • (String)


3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
# File 'lib/aws-sdk-cloudtrail/types.rb', line 3545

class ListInsightsDataRequest < Struct.new(
  :insight_source,
  :data_type,
  :dimensions,
  :start_time,
  :end_time,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#dimensionsHash<String,String>

Contains a map of dimensions. Currently the map can contain only one item.

Returns:

  • (Hash<String,String>)


3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
# File 'lib/aws-sdk-cloudtrail/types.rb', line 3545

class ListInsightsDataRequest < Struct.new(
  :insight_source,
  :data_type,
  :dimensions,
  :start_time,
  :end_time,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#end_timeTime

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.

Returns:

  • (Time)


3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
# File 'lib/aws-sdk-cloudtrail/types.rb', line 3545

class ListInsightsDataRequest < Struct.new(
  :insight_source,
  :data_type,
  :dimensions,
  :start_time,
  :end_time,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#insight_sourceString

The Amazon Resource Name(ARN) of the trail for which you want to retrieve Insights events.

Returns:

  • (String)


3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
# File 'lib/aws-sdk-cloudtrail/types.rb', line 3545

class ListInsightsDataRequest < Struct.new(
  :insight_source,
  :data_type,
  :dimensions,
  :start_time,
  :end_time,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#max_resultsInteger

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

Returns:

  • (Integer)


3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
# File 'lib/aws-sdk-cloudtrail/types.rb', line 3545

class ListInsightsDataRequest < Struct.new(
  :insight_source,
  :data_type,
  :dimensions,
  :start_time,
  :end_time,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

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 original call. For example, if the original call specified a EventName as a dimension with ‘PutObject` as a value, the call with NextToken should include those same parameters.

Returns:

  • (String)


3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
# File 'lib/aws-sdk-cloudtrail/types.rb', line 3545

class ListInsightsDataRequest < Struct.new(
  :insight_source,
  :data_type,
  :dimensions,
  :start_time,
  :end_time,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end

#start_timeTime

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.

Returns:

  • (Time)


3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
# File 'lib/aws-sdk-cloudtrail/types.rb', line 3545

class ListInsightsDataRequest < Struct.new(
  :insight_source,
  :data_type,
  :dimensions,
  :start_time,
  :end_time,
  :max_results,
  :next_token)
  SENSITIVE = []
  include Aws::Structure
end