Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

cloudtrail_put_insight_selectors

Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing trail


Description

Lets you enable Insights event logging by specifying the Insights selectors that you want to enable on an existing trail. You also use put_insight_selectors to turn off Insights event logging, by passing an empty list of insight types. In this release, only ApiCallRateInsight is supported as an Insights selector.

Usage

cloudtrail_put_insight_selectors(TrailName, InsightSelectors)

Arguments

TrailName

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

InsightSelectors

[required] 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.

Value

A list with the following syntax:

list(
  TrailARN = "string",
  InsightSelectors = list(
    list(
      InsightType = "ApiCallRateInsight"
    )
  )
)

Request syntax

svc$put_insight_selectors(
  TrailName = "string",
  InsightSelectors = list(
    list(
      InsightType = "ApiCallRateInsight"
    )
  )
)

paws.management

Amazon Web Services Management & Governance Services

v0.1.11
Apache License (>= 2.0)
Authors
David Kretch [aut, cre], Adam Banker [aut], Amazon.com, Inc. [cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.