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

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

#event_data_storeString

The ARN (or ID suffix of the ARN) of the source event data store for which you want to change or add Insights selectors. To enable Insights on an event data store, you must provide both the ‘EventDataStore` and `InsightsDestination` parameters.

You cannot use this parameter with the ‘TrailName` parameter.

Returns:

  • (String)


3941
3942
3943
3944
3945
3946
3947
3948
# File 'lib/aws-sdk-cloudtrail/types.rb', line 3941

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

#insight_selectorsArray<Types::InsightSelector>

A JSON string that contains the Insights types you want to log on a trail or event data store. ‘ApiCallRateInsight` and `ApiErrorRateInsight` are valid Insight types.

The ‘ApiCallRateInsight` Insights type analyzes write-only management API calls that are aggregated per minute against a baseline API call volume.

The ‘ApiErrorRateInsight` Insights type analyzes management API calls that result in error codes. The error is shown if the API call is unsuccessful.

Returns:



3941
3942
3943
3944
3945
3946
3947
3948
# File 'lib/aws-sdk-cloudtrail/types.rb', line 3941

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

#insights_destinationString

The ARN (or ID suffix of the ARN) of the destination event data store that logs Insights events. To enable Insights on an event data store, you must provide both the ‘EventDataStore` and `InsightsDestination` parameters.

You cannot use this parameter with the ‘TrailName` parameter.

Returns:

  • (String)


3941
3942
3943
3944
3945
3946
3947
3948
# File 'lib/aws-sdk-cloudtrail/types.rb', line 3941

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

#trail_nameString

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

You cannot use this parameter with the ‘EventDataStore` and `InsightsDestination` parameters.

Returns:

  • (String)


3941
3942
3943
3944
3945
3946
3947
3948
# File 'lib/aws-sdk-cloudtrail/types.rb', line 3941

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