AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the GetInsightSelectors operation.
Describes the settings for the Insights event selectors that you configured for your
trail or event data store. GetInsightSelectors
shows if CloudTrail Insights
event logging is enabled on the trail or event data store, and if it is, which Insights
types are enabled. If you run GetInsightSelectors
on a trail or event data
store that does not have Insights events enabled, the operation throws the exception
InsightNotEnabledException
Specify either the EventDataStore
parameter to get Insights event selectors
for an event data store, or the TrailName
parameter to the get Insights event
selectors for a trail. You cannot specify these parameters together.
For more information, see Logging CloudTrail Insights events in the CloudTrail User Guide.
Namespace: Amazon.CloudTrail.Model
Assembly: AWSSDK.CloudTrail.dll
Version: 3.x.y.z
public class GetInsightSelectorsRequest : AmazonCloudTrailRequest IAmazonWebServiceRequest
The GetInsightSelectorsRequest type exposes the following members
Name | Description | |
---|---|---|
GetInsightSelectorsRequest() |
Name | Type | Description | |
---|---|---|---|
EventDataStore | System.String |
Gets and sets the property EventDataStore. Specifies the ARN (or ID suffix of the ARN) of the event data store for which you want to get Insights selectors.
You cannot use this parameter with the |
|
TrailName | System.String |
Gets and sets the property TrailName. Specifies the name of the trail or trail ARN. If you specify a trail name, the string must meet the following requirements:
If you specify a trail ARN, it must be in the format:
You cannot use this parameter with the |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5