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
- Struct
- Aws::CloudTrail::Types::PutInsightSelectorsRequest
- 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
-
#insight_selectors ⇒ Array<Types::InsightSelector>
A JSON string that contains the insight types you want to log on a trail.
-
#trail_name ⇒ String
The name of the CloudTrail trail for which you want to change or add Insights selectors.
Instance Attribute Details
#insight_selectors ⇒ Array<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.
#trail_name ⇒ String
The name of the CloudTrail trail for which you want to change or add Insights selectors.