Amazon.CloudTrail.AmazonCloudTrailClient.GetEventSelectors C# (CSharp) Method

GetEventSelectors() public method

Describes the settings for the event selectors that you configured for your trail. The information returned for your event selectors includes the following:
  • The S3 objects that you are logging for data events.

  • If your event selector includes management events.

  • If your event selector includes read-only events, write-only events, or all.

For more information, see Configuring Event Selectors for Trails in the AWS CloudTrail User Guide.

/// This exception is thrown when the provided trail name is not valid. Trail names must /// meet the following requirements: /// ///
  • /// /// Contain only ASCII letters (a-z, A-Z), numbers (0-9), periods (.), underscores (_), /// or dashes (-) /// ///
  • /// /// Start with a letter or number, and end with a letter or number /// ///
  • /// /// Be between 3 and 128 characters /// ///
  • /// /// Have no adjacent periods, underscores or dashes. Names like my-_namespace /// and my--namespace are invalid. /// ///
  • /// /// Not be in IP address format (for example, 192.168.5.4) /// ///
/// /// This exception is thrown when the requested operation is not permitted. /// /// This exception is thrown when the trail with the given name is not found. /// /// This exception is thrown when the requested operation is not supported. ///
public GetEventSelectors ( GetEventSelectorsRequest request ) : GetEventSelectorsResponse
request Amazon.CloudTrail.Model.GetEventSelectorsRequest Container for the necessary parameters to execute the GetEventSelectors service method.
return Amazon.CloudTrail.Model.GetEventSelectorsResponse
        public GetEventSelectorsResponse GetEventSelectors(GetEventSelectorsRequest request)
        {
            var marshaller = new GetEventSelectorsRequestMarshaller();
            var unmarshaller = GetEventSelectorsResponseUnmarshaller.Instance;

            return Invoke<GetEventSelectorsRequest,GetEventSelectorsResponse>(request, marshaller, unmarshaller);
        }