Class: Aws::CloudTrail::Types::PutInsightSelectorsRequest

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

Overview

Note:

When making an API call, you may pass PutInsightSelectorsRequest data as a hash:

{
  trail_name: "String", # required
  insight_selectors: [ # required
    {
      insight_type: "ApiCallRateInsight", # accepts ApiCallRateInsight, ApiErrorRateInsight
    },
  ],
}

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#insight_selectorsArray<Types::InsightSelector>

A JSON string that contains the insight types you want to log on a trail. `ApiCallRateInsight` and `ApiErrorRateInsight` are valid insight types.

Returns:


3322
3323
3324
3325
3326
3327
# File 'lib/aws-sdk-cloudtrail/types.rb', line 3322

class PutInsightSelectorsRequest < Struct.new(
  :trail_name,
  :insight_selectors)
  SENSITIVE = []
  include Aws::Structure
end

#trail_nameString

The name of the CloudTrail trail for which you want to change or add Insights selectors.

Returns:

  • (String)

3322
3323
3324
3325
3326
3327
# File 'lib/aws-sdk-cloudtrail/types.rb', line 3322

class PutInsightSelectorsRequest < Struct.new(
  :trail_name,
  :insight_selectors)
  SENSITIVE = []
  include Aws::Structure
end