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

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PutInsightSelectorsRequest as input to an Aws::Client method, you can use a vanilla Hash:

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

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. In this release, only ApiCallRateInsight is supported as an insight type.

Returns:

  • (Array<Types::InsightSelector>)

    A JSON string that contains the insight types you want to log on a trail.

#trail_nameString

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

Returns:

  • (String)

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