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)


4070
4071
4072
4073
4074
4075
4076
4077
# File 'lib/aws-sdk-cloudtrail/types.rb', line 4070

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:



4070
4071
4072
4073
4074
4075
4076
4077
# File 'lib/aws-sdk-cloudtrail/types.rb', line 4070

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)


4070
4071
4072
4073
4074
4075
4076
4077
# File 'lib/aws-sdk-cloudtrail/types.rb', line 4070

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)


4070
4071
4072
4073
4074
4075
4076
4077
# File 'lib/aws-sdk-cloudtrail/types.rb', line 4070

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