Awso_cloudtrail_lwtSourceval add_tags :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.AddTagsRequest.t ->
(Awso_cloudtrail.Values.AddTagsResponse.t,
Awso_cloudtrail.Values.AddTagsResponse.error)
Result.t
Lwt.tval cancel_query :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.CancelQueryRequest.t ->
(Awso_cloudtrail.Values.CancelQueryResponse.t,
Awso_cloudtrail.Values.CancelQueryResponse.error)
Result.t
Lwt.tval create_channel :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.CreateChannelRequest.t ->
(Awso_cloudtrail.Values.CreateChannelResponse.t,
Awso_cloudtrail.Values.CreateChannelResponse.error)
Result.t
Lwt.tval create_dashboard :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.CreateDashboardRequest.t ->
(Awso_cloudtrail.Values.CreateDashboardResponse.t,
Awso_cloudtrail.Values.CreateDashboardResponse.error)
Result.t
Lwt.tval create_event_data_store :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.CreateEventDataStoreRequest.t ->
(Awso_cloudtrail.Values.CreateEventDataStoreResponse.t,
Awso_cloudtrail.Values.CreateEventDataStoreResponse.error)
Result.t
Lwt.tval create_trail :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.CreateTrailRequest.t ->
(Awso_cloudtrail.Values.CreateTrailResponse.t,
Awso_cloudtrail.Values.CreateTrailResponse.error)
Result.t
Lwt.tval delete_channel :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.DeleteChannelRequest.t ->
(Awso_cloudtrail.Values.DeleteChannelResponse.t,
Awso_cloudtrail.Values.DeleteChannelResponse.error)
Result.t
Lwt.tval delete_dashboard :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.DeleteDashboardRequest.t ->
(Awso_cloudtrail.Values.DeleteDashboardResponse.t,
Awso_cloudtrail.Values.DeleteDashboardResponse.error)
Result.t
Lwt.tval delete_event_data_store :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.DeleteEventDataStoreRequest.t ->
(Awso_cloudtrail.Values.DeleteEventDataStoreResponse.t,
Awso_cloudtrail.Values.DeleteEventDataStoreResponse.error)
Result.t
Lwt.tval delete_resource_policy :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.DeleteResourcePolicyRequest.t ->
(Awso_cloudtrail.Values.DeleteResourcePolicyResponse.t,
Awso_cloudtrail.Values.DeleteResourcePolicyResponse.error)
Result.t
Lwt.tval delete_trail :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.DeleteTrailRequest.t ->
(Awso_cloudtrail.Values.DeleteTrailResponse.t,
Awso_cloudtrail.Values.DeleteTrailResponse.error)
Result.t
Lwt.tval deregister_organization_delegated_admin :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.DeregisterOrganizationDelegatedAdminRequest.t ->
(Awso_cloudtrail.Values.DeregisterOrganizationDelegatedAdminResponse.t,
Awso_cloudtrail.Values.DeregisterOrganizationDelegatedAdminResponse.error)
Result.t
Lwt.tval describe_query :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.DescribeQueryRequest.t ->
(Awso_cloudtrail.Values.DescribeQueryResponse.t,
Awso_cloudtrail.Values.DescribeQueryResponse.error)
Result.t
Lwt.tval describe_trails :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.DescribeTrailsRequest.t ->
(Awso_cloudtrail.Values.DescribeTrailsResponse.t,
Awso_cloudtrail.Values.DescribeTrailsResponse.error)
Result.t
Lwt.tval disable_federation :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.DisableFederationRequest.t ->
(Awso_cloudtrail.Values.DisableFederationResponse.t,
Awso_cloudtrail.Values.DisableFederationResponse.error)
Result.t
Lwt.tval enable_federation :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.EnableFederationRequest.t ->
(Awso_cloudtrail.Values.EnableFederationResponse.t,
Awso_cloudtrail.Values.EnableFederationResponse.error)
Result.t
Lwt.tval generate_query :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.GenerateQueryRequest.t ->
(Awso_cloudtrail.Values.GenerateQueryResponse.t,
Awso_cloudtrail.Values.GenerateQueryResponse.error)
Result.t
Lwt.tval get_channel :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.GetChannelRequest.t ->
(Awso_cloudtrail.Values.GetChannelResponse.t,
Awso_cloudtrail.Values.GetChannelResponse.error)
Result.t
Lwt.tval get_dashboard :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.GetDashboardRequest.t ->
(Awso_cloudtrail.Values.GetDashboardResponse.t,
Awso_cloudtrail.Values.GetDashboardResponse.error)
Result.t
Lwt.tval get_event_configuration :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.GetEventConfigurationRequest.t ->
(Awso_cloudtrail.Values.GetEventConfigurationResponse.t,
Awso_cloudtrail.Values.GetEventConfigurationResponse.error)
Result.t
Lwt.tval get_event_data_store :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.GetEventDataStoreRequest.t ->
(Awso_cloudtrail.Values.GetEventDataStoreResponse.t,
Awso_cloudtrail.Values.GetEventDataStoreResponse.error)
Result.t
Lwt.tval get_event_selectors :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.GetEventSelectorsRequest.t ->
(Awso_cloudtrail.Values.GetEventSelectorsResponse.t,
Awso_cloudtrail.Values.GetEventSelectorsResponse.error)
Result.t
Lwt.tval get_import :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.GetImportRequest.t ->
(Awso_cloudtrail.Values.GetImportResponse.t,
Awso_cloudtrail.Values.GetImportResponse.error)
Result.t
Lwt.tval get_insight_selectors :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.GetInsightSelectorsRequest.t ->
(Awso_cloudtrail.Values.GetInsightSelectorsResponse.t,
Awso_cloudtrail.Values.GetInsightSelectorsResponse.error)
Result.t
Lwt.tval get_query_results :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.GetQueryResultsRequest.t ->
(Awso_cloudtrail.Values.GetQueryResultsResponse.t,
Awso_cloudtrail.Values.GetQueryResultsResponse.error)
Result.t
Lwt.tval get_resource_policy :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.GetResourcePolicyRequest.t ->
(Awso_cloudtrail.Values.GetResourcePolicyResponse.t,
Awso_cloudtrail.Values.GetResourcePolicyResponse.error)
Result.t
Lwt.tval get_trail :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.GetTrailRequest.t ->
(Awso_cloudtrail.Values.GetTrailResponse.t,
Awso_cloudtrail.Values.GetTrailResponse.error)
Result.t
Lwt.tval get_trail_status :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.GetTrailStatusRequest.t ->
(Awso_cloudtrail.Values.GetTrailStatusResponse.t,
Awso_cloudtrail.Values.GetTrailStatusResponse.error)
Result.t
Lwt.tval list_channels :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.ListChannelsRequest.t ->
(Awso_cloudtrail.Values.ListChannelsResponse.t,
Awso_cloudtrail.Values.ListChannelsResponse.error)
Result.t
Lwt.tval list_dashboards :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.ListDashboardsRequest.t ->
(Awso_cloudtrail.Values.ListDashboardsResponse.t,
Awso_cloudtrail.Values.ListDashboardsResponse.error)
Result.t
Lwt.tval list_event_data_stores :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.ListEventDataStoresRequest.t ->
(Awso_cloudtrail.Values.ListEventDataStoresResponse.t,
Awso_cloudtrail.Values.ListEventDataStoresResponse.error)
Result.t
Lwt.tval list_import_failures :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.ListImportFailuresRequest.t ->
(Awso_cloudtrail.Values.ListImportFailuresResponse.t,
Awso_cloudtrail.Values.ListImportFailuresResponse.error)
Result.t
Lwt.tval list_imports :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.ListImportsRequest.t ->
(Awso_cloudtrail.Values.ListImportsResponse.t,
Awso_cloudtrail.Values.ListImportsResponse.error)
Result.t
Lwt.tval list_insights_data :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.ListInsightsDataRequest.t ->
(Awso_cloudtrail.Values.ListInsightsDataResponse.t,
Awso_cloudtrail.Values.ListInsightsDataResponse.error)
Result.t
Lwt.tval list_insights_metric_data :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.ListInsightsMetricDataRequest.t ->
(Awso_cloudtrail.Values.ListInsightsMetricDataResponse.t,
Awso_cloudtrail.Values.ListInsightsMetricDataResponse.error)
Result.t
Lwt.tval list_public_keys :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.ListPublicKeysRequest.t ->
(Awso_cloudtrail.Values.ListPublicKeysResponse.t,
Awso_cloudtrail.Values.ListPublicKeysResponse.error)
Result.t
Lwt.tval list_queries :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.ListQueriesRequest.t ->
(Awso_cloudtrail.Values.ListQueriesResponse.t,
Awso_cloudtrail.Values.ListQueriesResponse.error)
Result.t
Lwt.tval list_tags :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.ListTagsRequest.t ->
(Awso_cloudtrail.Values.ListTagsResponse.t,
Awso_cloudtrail.Values.ListTagsResponse.error)
Result.t
Lwt.tval list_trails :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.ListTrailsRequest.t ->
(Awso_cloudtrail.Values.ListTrailsResponse.t,
Awso_cloudtrail.Values.ListTrailsResponse.error)
Result.t
Lwt.tval lookup_events :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.LookupEventsRequest.t ->
(Awso_cloudtrail.Values.LookupEventsResponse.t,
Awso_cloudtrail.Values.LookupEventsResponse.error)
Result.t
Lwt.tval put_event_configuration :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.PutEventConfigurationRequest.t ->
(Awso_cloudtrail.Values.PutEventConfigurationResponse.t,
Awso_cloudtrail.Values.PutEventConfigurationResponse.error)
Result.t
Lwt.tval put_event_selectors :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.PutEventSelectorsRequest.t ->
(Awso_cloudtrail.Values.PutEventSelectorsResponse.t,
Awso_cloudtrail.Values.PutEventSelectorsResponse.error)
Result.t
Lwt.tval put_insight_selectors :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.PutInsightSelectorsRequest.t ->
(Awso_cloudtrail.Values.PutInsightSelectorsResponse.t,
Awso_cloudtrail.Values.PutInsightSelectorsResponse.error)
Result.t
Lwt.tval put_resource_policy :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.PutResourcePolicyRequest.t ->
(Awso_cloudtrail.Values.PutResourcePolicyResponse.t,
Awso_cloudtrail.Values.PutResourcePolicyResponse.error)
Result.t
Lwt.tval register_organization_delegated_admin :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.RegisterOrganizationDelegatedAdminRequest.t ->
(Awso_cloudtrail.Values.RegisterOrganizationDelegatedAdminResponse.t,
Awso_cloudtrail.Values.RegisterOrganizationDelegatedAdminResponse.error)
Result.t
Lwt.tval remove_tags :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.RemoveTagsRequest.t ->
(Awso_cloudtrail.Values.RemoveTagsResponse.t,
Awso_cloudtrail.Values.RemoveTagsResponse.error)
Result.t
Lwt.tval restore_event_data_store :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.RestoreEventDataStoreRequest.t ->
(Awso_cloudtrail.Values.RestoreEventDataStoreResponse.t,
Awso_cloudtrail.Values.RestoreEventDataStoreResponse.error)
Result.t
Lwt.tval search_sample_queries :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.SearchSampleQueriesRequest.t ->
(Awso_cloudtrail.Values.SearchSampleQueriesResponse.t,
Awso_cloudtrail.Values.SearchSampleQueriesResponse.error)
Result.t
Lwt.tval start_dashboard_refresh :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.StartDashboardRefreshRequest.t ->
(Awso_cloudtrail.Values.StartDashboardRefreshResponse.t,
Awso_cloudtrail.Values.StartDashboardRefreshResponse.error)
Result.t
Lwt.tval start_event_data_store_ingestion :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.StartEventDataStoreIngestionRequest.t ->
(Awso_cloudtrail.Values.StartEventDataStoreIngestionResponse.t,
Awso_cloudtrail.Values.StartEventDataStoreIngestionResponse.error)
Result.t
Lwt.tval start_import :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.StartImportRequest.t ->
(Awso_cloudtrail.Values.StartImportResponse.t,
Awso_cloudtrail.Values.StartImportResponse.error)
Result.t
Lwt.tval start_logging :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.StartLoggingRequest.t ->
(Awso_cloudtrail.Values.StartLoggingResponse.t,
Awso_cloudtrail.Values.StartLoggingResponse.error)
Result.t
Lwt.tval start_query :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.StartQueryRequest.t ->
(Awso_cloudtrail.Values.StartQueryResponse.t,
Awso_cloudtrail.Values.StartQueryResponse.error)
Result.t
Lwt.tval stop_event_data_store_ingestion :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.StopEventDataStoreIngestionRequest.t ->
(Awso_cloudtrail.Values.StopEventDataStoreIngestionResponse.t,
Awso_cloudtrail.Values.StopEventDataStoreIngestionResponse.error)
Result.t
Lwt.tval stop_import :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.StopImportRequest.t ->
(Awso_cloudtrail.Values.StopImportResponse.t,
Awso_cloudtrail.Values.StopImportResponse.error)
Result.t
Lwt.tval stop_logging :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.StopLoggingRequest.t ->
(Awso_cloudtrail.Values.StopLoggingResponse.t,
Awso_cloudtrail.Values.StopLoggingResponse.error)
Result.t
Lwt.tval update_channel :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.UpdateChannelRequest.t ->
(Awso_cloudtrail.Values.UpdateChannelResponse.t,
Awso_cloudtrail.Values.UpdateChannelResponse.error)
Result.t
Lwt.tval update_dashboard :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.UpdateDashboardRequest.t ->
(Awso_cloudtrail.Values.UpdateDashboardResponse.t,
Awso_cloudtrail.Values.UpdateDashboardResponse.error)
Result.t
Lwt.tval update_event_data_store :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.UpdateEventDataStoreRequest.t ->
(Awso_cloudtrail.Values.UpdateEventDataStoreResponse.t,
Awso_cloudtrail.Values.UpdateEventDataStoreResponse.error)
Result.t
Lwt.tval update_trail :
?endpoint_url:string ->
?cfg:Awso.Cfg.t ->
Awso_cloudtrail.Values.UpdateTrailRequest.t ->
(Awso_cloudtrail.Values.UpdateTrailResponse.t,
Awso_cloudtrail.Values.UpdateTrailResponse.error)
Result.t
Lwt.tinclude module type of struct include Awso_cloudtrail.Values endval structure_to_value_aux :
('a * 'b option) list ->
f:(('a * 'b) list -> 'c) ->
[> `Structure of 'c ]val structure_to_wrapped_value :
wrapper:'a ->
response:'a ->
('b * 'c option) list ->
[> `Structure of ('a * [> `Structure of ('b * 'c) list ]) list ]A single selector statement in an advanced event selector.
You can configure the DataResource in an EventSelector to log data events for the following three resource types: AWS::DynamoDB::Table AWS::Lambda::Function AWS::S3::Object To log data events for all other resource types including objects stored in directory buckets, you must use AdvancedEventSelectors. You must also use AdvancedEventSelectors if you want to filter on the eventName field. Configure the DataResource to specify the resource type and resource ARNs for which you want to log data events. The total number of allowed data resources is 250. This number can be distributed between 1 and 5 event selectors, but the total cannot exceed 250 across all selectors for the trail. The following example demonstrates how logging works when you configure logging of all data events for a general purpose bucket named amzn-s3-demo-bucket1. In this example, the CloudTrail user specified an empty prefix, and the option to log both Read and Write data events. A user uploads an image file to amzn-s3-demo-bucket1. The PutObject API operation is an Amazon S3 object-level API. It is recorded as a data event in CloudTrail. Because the CloudTrail user specified an S3 bucket with an empty prefix, events that occur on any object in that bucket are logged. The trail processes and logs the event. A user uploads an object to an Amazon S3 bucket named arn:aws:s3:::amzn-s3-demo-bucket1. The PutObject API operation occurred for an object in an S3 bucket that the CloudTrail user didn't specify for the trail. The trail doesn’t log the event. The following example demonstrates how logging works when you configure logging of Lambda data events for a Lambda function named MyLambdaFunction, but not for all Lambda functions. A user runs a script that includes a call to the MyLambdaFunction function and the MyOtherLambdaFunction function. The Invoke API operation on MyLambdaFunction is an Lambda API. It is recorded as a data event in CloudTrail. Because the CloudTrail user specified logging data events for MyLambdaFunction, any invocations of that function are logged. The trail processes and logs the event. The Invoke API operation on MyOtherLambdaFunction is an Lambda API. Because the CloudTrail user did not specify logging data events for all Lambda functions, the Invoke operation for MyOtherLambdaFunction does not match the function specified for the trail. The trail doesn’t log the event.
Specifies the type and name of a resource referenced by an event.
A custom key-value pair associated with a resource such as a CloudTrail trail, event data store, dashboard, or channel.
Advanced event selectors let you create fine-grained selectors for CloudTrail management, data, and network activity events. They help you control costs by logging only those events that are important to you. For more information about configuring advanced event selectors, see the Logging data events, Logging network activity events, and Logging management events topics in the CloudTrail User Guide. You cannot apply both event selectors and advanced event selectors to a trail. For information about configurable advanced event selector fields, see AdvancedEventSelector in the CloudTrail API Reference.
Specifies the frequency for a dashboard refresh schedule. For a custom dashboard, you can schedule a refresh for every 1, 6, 12, or 24 hours, or every day.
A widget on a CloudTrail Lake dashboard.
Contains information about a widget on a CloudTrail Lake dashboard.
Contains information about the destination receiving events.
The settings for the source S3 bucket.
module SearchSampleQueriesSearchResult =
Awso_cloudtrail.Values.SearchSampleQueriesSearchResultA search result returned by the SearchSampleQueries operation.
A JSON string that contains a list of Insights types that are logged on a trail or event data store.
Use event selectors to further specify the management and data event settings for your trail. By default, trails created without specific event selectors will be configured to log all read and write management events, and no data events. When an event occurs in your account, CloudTrail evaluates the event selector for all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event. You can configure up to five event selectors for a trail. You cannot apply both event selectors and advanced event selectors to a trail.
An object that contains configuration settings for aggregating events.
An object that contains information types to be included in CloudTrail enriched events.
Contains information about an event that was returned by a lookup request. The result includes a representation of a CloudTrail event.
Specifies an attribute and value that filter the events returned.
Information about a CloudTrail trail, including the trail's name, home Region, and Amazon Resource Name (ARN).
A resource tag.
A SQL string of criteria about events that you want to collect in an event data store.
Contains information about a returned public key.
Contains information about an import that was returned by a lookup request.
Provides information about an import failure.
A storage lake of event data against which you can run complex SQL-based queries. An event data store can include events that you have logged on your account. To select events for an event data store, use advanced event selectors.
Provides information about a CloudTrail Lake dashboard.
Contains information about a returned CloudTrail channel.
Contains information about a partition key for an event data store.
The settings for a trail.
This exception is thrown when an operation is called with an ARN that is not valid. The following is the format of a trail ARN: arn:aws:cloudtrail:us-east-2:123456789012:trail/MyTrail The following is the format of an event data store ARN: arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE The following is the format of a dashboard ARN: arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash The following is the format of a channel ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
module CloudTrailAccessNotEnabledException =
Awso_cloudtrail.Values.CloudTrailAccessNotEnabledExceptionThis exception is thrown when trusted access has not been enabled between CloudTrail and Organizations. For more information, see How to enable or disable trusted access in the Organizations User Guide and Prepare For Creating a Trail For Your Organization in the CloudTrail User Guide.
module CloudTrailInvalidClientTokenIdException =
Awso_cloudtrail.Values.CloudTrailInvalidClientTokenIdExceptionThis exception is thrown when a call results in the InvalidClientTokenId error code. This can occur when you are creating or updating a trail to send notifications to an Amazon SNS topic that is in a suspended Amazon Web Services account.
Cannot set a CloudWatch Logs delivery for this Region.
This exception is thrown when the specified resource is not ready for an operation. This can occur when you try to run an operation on a resource before CloudTrail has time to fully load the resource, or because another operation is modifying the resource. If this exception occurs, wait a few minutes, and then try the operation again.
module InsufficientDependencyServiceAccessPermissionException =
Awso_cloudtrail.Values.InsufficientDependencyServiceAccessPermissionExceptionThis exception is thrown when the IAM identity that is used to create the organization resource lacks one or more required permissions for creating an organization resource in a required service.
module InsufficientEncryptionPolicyException =
Awso_cloudtrail.Values.InsufficientEncryptionPolicyExceptionFor the CreateTrail PutInsightSelectors, UpdateTrail, StartQuery, and StartImport operations, this exception is thrown when the policy on the S3 bucket or KMS key does not have sufficient permissions for the operation. For all other operations, this exception is thrown when the policy for the KMS key does not have sufficient permissions for the operation.
module InsufficientS3BucketPolicyException =
Awso_cloudtrail.Values.InsufficientS3BucketPolicyExceptionThis exception is thrown when the policy on the S3 bucket is not sufficient.
module InsufficientSnsTopicPolicyException =
Awso_cloudtrail.Values.InsufficientSnsTopicPolicyExceptionThis exception is thrown when the policy on the Amazon SNS topic is not sufficient.
module InvalidCloudWatchLogsLogGroupArnException =
Awso_cloudtrail.Values.InvalidCloudWatchLogsLogGroupArnExceptionThis exception is thrown when the provided CloudWatch Logs log group is not valid.
module InvalidCloudWatchLogsRoleArnException =
Awso_cloudtrail.Values.InvalidCloudWatchLogsRoleArnExceptionThis exception is thrown when the provided role is not valid.
This exception is thrown when the PutEventSelectors operation is called with a number of event selectors, advanced event selectors, or data resources that is not valid. The combination of event selectors or advanced event selectors and data resources is not valid. A trail can have up to 5 event selectors. If a trail uses advanced event selectors, a maximum of 500 total values for all conditions in all advanced event selectors is allowed. A trail is limited to 250 data resources. These data resources can be distributed across event selectors, but the overall total cannot exceed 250. You can: Specify a valid number of event selectors (1 to 5) for a trail. Specify a valid number of data resources (1 to 250) for an event selector. The limit of number of resources on an individual event selector is configurable up to 250. However, this upper limit is allowed only if the total number of data resources does not exceed 250 across all event selectors for a trail. Specify up to 500 values for all conditions in all advanced event selectors for a trail. Specify a valid value for a parameter. For example, specifying the ReadWriteType parameter with a value of read-only is not valid.
This exception is thrown when an operation is called on a trail from a Region other than the Region in which the trail was created.
This exception is thrown when the KMS key ARN is not valid.
module InvalidParameterCombinationException =
Awso_cloudtrail.Values.InvalidParameterCombinationExceptionThis exception is thrown when the combination of parameters provided is not valid.
The request includes a parameter that is not valid.
This exception is thrown when the provided S3 bucket name is not valid.
This exception is thrown when the provided S3 prefix is not valid.
This exception is thrown when the provided SNS topic name is not valid.
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 not valid. Not be in IP address format (for example, 192.168.5.4)
This exception is thrown when there is an issue with the specified KMS key and the trail or event data store can't be updated.
This exception is no longer in use.
This exception is thrown when the KMS key does not exist, when the S3 bucket and the KMS key are not in the same Region, or when the KMS key associated with the Amazon SNS topic either does not exist or is not in the same Region.
module NoManagementAccountSLRExistsException =
Awso_cloudtrail.Values.NoManagementAccountSLRExistsExceptionThis exception is thrown when the management account does not have a service-linked role.
module NotOrganizationMasterAccountException =
Awso_cloudtrail.Values.NotOrganizationMasterAccountExceptionThis exception is thrown when the Amazon Web Services account making the request to create or update an organization trail or event data store is not the management account for an organization in Organizations. For more information, see Prepare For Creating a Trail For Your Organization or Organization event data stores.
This exception is thrown when the requested operation is not permitted.
module OrganizationNotInAllFeaturesModeException =
Awso_cloudtrail.Values.OrganizationNotInAllFeaturesModeExceptionThis exception is thrown when Organizations is not configured to support all features. All features must be enabled in Organizations to support creating an organization trail or event data store.
This exception is thrown when the request is made from an Amazon Web Services account that is not a member of an organization. To make this request, sign in using the credentials of an account that belongs to an organization.
This exception is thrown when the specified S3 bucket does not exist.
This exception is thrown when the request rate exceeds the limit.
This exception is thrown when the trail with the given name is not found.
This exception is no longer in use.
This exception is thrown when the requested operation is not supported.
module EventDataStoreARNInvalidException =
Awso_cloudtrail.Values.EventDataStoreARNInvalidExceptionThe specified event data store ARN is not valid or does not map to an event data store in your account.
module EventDataStoreAlreadyExistsException =
Awso_cloudtrail.Values.EventDataStoreAlreadyExistsExceptionAn event data store with that name already exists.
module EventDataStoreHasOngoingImportException =
Awso_cloudtrail.Values.EventDataStoreHasOngoingImportExceptionThis exception is thrown when you try to update or delete an event data store that currently has an import in progress.
module EventDataStoreNotFoundException =
Awso_cloudtrail.Values.EventDataStoreNotFoundExceptionThe specified event data store was not found.
module InactiveEventDataStoreException =
Awso_cloudtrail.Values.InactiveEventDataStoreExceptionThe event data store is inactive.
module InvalidInsightSelectorsException =
Awso_cloudtrail.Values.InvalidInsightSelectorsExceptionFor PutInsightSelectors, this exception is thrown when the formatting or syntax of the InsightSelectors JSON statement is not valid, or the specified InsightType in the InsightSelectors statement is not valid. Valid values for InsightType are ApiCallRateInsight and ApiErrorRateInsight. To enable Insights on an event data store, the destination event data store specified by the InsightsDestination parameter must log Insights events and the source event data store specified by the EventDataStore parameter must log management events. For UpdateEventDataStore, this exception is thrown if Insights are enabled on the event data store and the updated advanced event selectors are not compatible with the configured InsightSelectors. If the InsightSelectors includes an InsightType of ApiCallRateInsight, the source event data store must log write management events. If the InsightSelectors includes an InsightType of ApiErrorRateInsight, the source event data store must log management events.
The query that was submitted has validation errors, or uses incorrect syntax or unsupported keywords. For more information about writing a query, see Create or edit a query in the CloudTrail User Guide.
The schedule for a dashboard refresh.
This exception is thrown when the specified resource is not found.
This exception is thrown when the quota is exceeded. For information about CloudTrail quotas, see Service quotas in the Amazon Web Services General Reference.
This exception is thrown when the specified value of ChannelARN is not valid.
This exception is thrown when the provided channel already exists.
This exception is thrown when CloudTrail cannot find the specified channel.
module InvalidEventDataStoreCategoryException =
Awso_cloudtrail.Values.InvalidEventDataStoreCategoryExceptionThis exception is thrown when event categories of specified event data stores are not valid.
The specified import was not found.
The import source.
Provides statistics for the specified ImportID. CloudTrail does not update import statistics in real-time. Returned values for parameters such as EventsCompleted may be lower than the actual value, because CloudTrail updates statistics incrementally over the course of the import.
module InvalidEventDataStoreStatusException =
Awso_cloudtrail.Values.InvalidEventDataStoreStatusExceptionThe event data store is not in a status that supports the operation.
You are already running the maximum number of concurrent queries. The maximum number of concurrent queries is 10. Wait a minute for some queries to finish, and then run the query again.
module AccountHasOngoingImportException =
Awso_cloudtrail.Values.AccountHasOngoingImportExceptionThis exception is thrown when you start a new import and a previous import is still in progress.
This exception is thrown when the provided source S3 bucket is not valid for import.
module SearchSampleQueriesSearchResults =
Awso_cloudtrail.Values.SearchSampleQueriesSearchResultsmodule SearchSampleQueriesSearchPhrase =
Awso_cloudtrail.Values.SearchSampleQueriesSearchPhrasemodule EventDataStoreMaxLimitExceededException =
Awso_cloudtrail.Values.EventDataStoreMaxLimitExceededExceptionYour account has used the maximum number of event data stores.
This exception is thrown when the specified tag key or values are not valid. It can also occur if there are duplicate tags or too many tags on the resource.
module ResourceTypeNotSupportedException =
Awso_cloudtrail.Values.ResourceTypeNotSupportedExceptionThis exception is thrown when the specified resource type is not supported by CloudTrail.
This exception is thrown when the specified account is not found or not part of an organization.
This exception is thrown when the account is already registered as the CloudTrail delegated administrator.
module CannotDelegateManagementAccountException =
Awso_cloudtrail.Values.CannotDelegateManagementAccountExceptionThis exception is thrown when the management account of an organization is registered as the CloudTrail delegated administrator.
module DelegatedAdminAccountLimitExceededException =
Awso_cloudtrail.Values.DelegatedAdminAccountLimitExceededExceptionThis exception is thrown when the maximum number of CloudTrail delegated administrators is reached.
module InsufficientIAMAccessPermissionException =
Awso_cloudtrail.Values.InsufficientIAMAccessPermissionExceptionThe task can't be completed because you are signed in with an account that lacks permissions to view or create a service-linked role. Sign in with an account that has the required permissions and then try again.
module NotOrganizationManagementAccountException =
Awso_cloudtrail.Values.NotOrganizationManagementAccountExceptionThis exception is thrown when the account making the request is not the organization's management account.
This exception is thrown when the provided resource does not exist, or the ARN format of the resource is not valid. The following is the format of an event data store ARN: arn:aws:cloudtrail:us-east-2:123456789012:eventdatastore/EXAMPLE-f852-4e8f-8bd1-bcf6cEXAMPLE The following is the format of a dashboard ARN: arn:aws:cloudtrail:us-east-1:123456789012:dashboard/exampleDash The following is the format of a channel ARN: arn:aws:cloudtrail:us-east-2:123456789012:channel/01234567890
module ResourcePolicyNotValidException =
Awso_cloudtrail.Values.ResourcePolicyNotValidExceptionThis exception is thrown when the resouce-based policy has syntax errors, or contains a principal that is not valid.
Occurs if an event category that is not valid is specified as a value of EventCategory.
module InvalidLookupAttributesException =
Awso_cloudtrail.Values.InvalidLookupAttributesExceptionOccurs when a lookup attribute is specified that is not valid.
This exception is thrown if the limit specified is not valid.
A token that is not valid, or a token that was previously used in a request with different parameters. This exception is thrown if the token is not valid.
Occurs if the timestamp values are not valid. Either the start time occurs after the end time, or the time range is outside the range of possible values.
Reserved for future use.
A date range for the query was specified that is not valid. Be sure that the start time is chronologically before the end time. For more information about writing a query, see Create or edit a query in the CloudTrail User Guide.
The query status is not valid for the operation.
module ListInsightsDataMaxResultsCount =
Awso_cloudtrail.Values.ListInsightsDataMaxResultsCountmodule ListImportFailuresMaxResultsCount =
Awso_cloudtrail.Values.ListImportFailuresMaxResultsCountmodule ListEventDataStoresMaxResultsCount =
Awso_cloudtrail.Values.ListEventDataStoresMaxResultsCountmodule ResourcePolicyNotFoundException =
Awso_cloudtrail.Values.ResourcePolicyNotFoundExceptionThis exception is thrown when the specified resource policy is not found.
The query ID does not exist or does not map to a query.
Metadata about a query, such as the number of results.
If you run GetInsightSelectors on a trail or event data store that does not have Insights events enabled, the operation throws the exception InsightNotEnabledException.
A table showing information about the most recent successful and failed attempts to ingest events.
Contains configuration information about the channel.
This exception is thrown when a valid query could not be generated for the provided prompt.
You do not have sufficient access to perform this action.
module ConcurrentModificationException =
Awso_cloudtrail.Values.ConcurrentModificationExceptionYou are trying to update a resource when another request is in progress. Allow sufficient wait time for the previous request to complete, then retry your request.
module EventDataStoreFederationEnabledException =
Awso_cloudtrail.Values.EventDataStoreFederationEnabledExceptionYou cannot delete the event data store because Lake query federation is enabled. To delete the event data store, run the DisableFederation operation to disable Lake query federation on the event data store.
module QueryStatisticsForDescribeQuery =
Awso_cloudtrail.Values.QueryStatisticsForDescribeQueryGets metadata about a query, including the number of events that were matched, the total number of events scanned, the query run time in milliseconds, and the query's creation time.
This exception is thrown when the specified account is not registered as the CloudTrail delegated administrator.
This exception is thrown when the specified event data store cannot yet be deleted because it is in use by a channel.
module EventDataStoreTerminationProtectedException =
Awso_cloudtrail.Values.EventDataStoreTerminationProtectedExceptionThe event data store cannot be deleted because termination protection is enabled for it.
module MaximumNumberOfTrailsExceededException =
Awso_cloudtrail.Values.MaximumNumberOfTrailsExceededExceptionThis exception is thrown when the maximum number of trails is reached.
The number of tags per trail, event data store, dashboard, or channel has exceeded the permitted amount. Currently, the limit is 50.
This exception is thrown when the specified trail already exists.
module ChannelMaxLimitExceededException =
Awso_cloudtrail.Values.ChannelMaxLimitExceededExceptionThis exception is thrown when the maximum number of channels limit is exceeded.
This exception is thrown when the specified value of Source is not valid.
The specified query cannot be canceled because it is in the FINISHED, FAILED, TIMED_OUT, or CANCELLED state.
Returns the objects or data listed below if successful. Otherwise, returns an error.
Specifies settings to update for the trail.
Updates an event data store. The required EventDataStore value is an ARN or the ID portion of the ARN. Other parameters are optional, but at least one optional parameter must be specified, or CloudTrail throws an error. RetentionPeriod is in days, and valid values are integers between 7 and 3653 if the BillingMode is set to EXTENDABLE_RETENTION_PRICING, or between 7 and 2557 if BillingMode is set to FIXED_RETENTION_PRICING. By default, TerminationProtection is enabled. For event data stores for CloudTrail events, AdvancedEventSelectors includes or excludes management, data, or network activity events in your event data store. For more information about AdvancedEventSelectors, see AdvancedEventSelectors. For event data stores for CloudTrail Insights events, Config configuration items, Audit Manager evidence, or non-Amazon Web Services events, AdvancedEventSelectors includes events of that type in your event data store.
Updates an event data store. The required EventDataStore value is an ARN or the ID portion of the ARN. Other parameters are optional, but at least one optional parameter must be specified, or CloudTrail throws an error. RetentionPeriod is in days, and valid values are integers between 7 and 3653 if the BillingMode is set to EXTENDABLE_RETENTION_PRICING, or between 7 and 2557 if BillingMode is set to FIXED_RETENTION_PRICING. By default, TerminationProtection is enabled. For event data stores for CloudTrail events, AdvancedEventSelectors includes or excludes management, data, or network activity events in your event data store. For more information about AdvancedEventSelectors, see AdvancedEventSelectors. For event data stores for CloudTrail Insights events, Config configuration items, Audit Manager evidence, or non-Amazon Web Services events, AdvancedEventSelectors includes events of that type in your event data store.
Updates the specified dashboard. To set a refresh schedule, CloudTrail must be granted permissions to run the StartDashboardRefresh operation to refresh the dashboard on your behalf. To provide permissions, run the PutResourcePolicy operation to attach a resource-based policy to the dashboard. For more information, see Resource-based policy example for a dashboard in the CloudTrail User Guide. CloudTrail runs queries to populate the dashboard's widgets during a manual or scheduled refresh. CloudTrail must be granted permissions to run the StartQuery operation on your behalf. To provide permissions, run the PutResourcePolicy operation to attach a resource-based policy to each event data store. For more information, see Example: Allow CloudTrail to run queries to populate a dashboard in the CloudTrail User Guide.
Updates the specified dashboard. To set a refresh schedule, CloudTrail must be granted permissions to run the StartDashboardRefresh operation to refresh the dashboard on your behalf. To provide permissions, run the PutResourcePolicy operation to attach a resource-based policy to the dashboard. For more information, see Resource-based policy example for a dashboard in the CloudTrail User Guide. CloudTrail runs queries to populate the dashboard's widgets during a manual or scheduled refresh. CloudTrail must be granted permissions to run the StartQuery operation on your behalf. To provide permissions, run the PutResourcePolicy operation to attach a resource-based policy to each event data store. For more information, see Example: Allow CloudTrail to run queries to populate a dashboard in the CloudTrail User Guide.
Updates a channel specified by a required channel ARN or UUID.
Updates a channel specified by a required channel ARN or UUID.
Returns the objects or data listed below if successful. Otherwise, returns an error.
Passes the request to CloudTrail to stop logging Amazon Web Services API calls for the specified account.
Stops a specified import.
Stops a specified import.
module StopEventDataStoreIngestionResponse =
Awso_cloudtrail.Values.StopEventDataStoreIngestionResponseStops the ingestion of live events on an event data store specified as either an ARN or the ID portion of the ARN. To stop ingestion, the event data store Status must be ENABLED and the eventCategory must be Management, Data, NetworkActivity, or ConfigurationItem.
module StopEventDataStoreIngestionRequest =
Awso_cloudtrail.Values.StopEventDataStoreIngestionRequestStops the ingestion of live events on an event data store specified as either an ARN or the ID portion of the ARN. To stop ingestion, the event data store Status must be ENABLED and the eventCategory must be Management, Data, NetworkActivity, or ConfigurationItem.
Starts a CloudTrail Lake query. Use the QueryStatement parameter to provide your SQL query, enclosed in single quotation marks. Use the optional DeliveryS3Uri parameter to deliver the query results to an S3 bucket. StartQuery requires you specify either the QueryStatement parameter, or a QueryAlias and any QueryParameters. In the current release, the QueryAlias and QueryParameters parameters are used only for the queries that populate the CloudTrail Lake dashboards.
Starts a CloudTrail Lake query. Use the QueryStatement parameter to provide your SQL query, enclosed in single quotation marks. Use the optional DeliveryS3Uri parameter to deliver the query results to an S3 bucket. StartQuery requires you specify either the QueryStatement parameter, or a QueryAlias and any QueryParameters. In the current release, the QueryAlias and QueryParameters parameters are used only for the queries that populate the CloudTrail Lake dashboards.
Returns the objects or data listed below if successful. Otherwise, returns an error.
The request to CloudTrail to start logging Amazon Web Services API calls for an account.
Starts an import of logged trail events from a source S3 bucket to a destination event data store. By default, CloudTrail only imports events contained in the S3 bucket's CloudTrail prefix and the prefixes inside the CloudTrail prefix, and does not check prefixes for other Amazon Web Services services. If you want to import CloudTrail events contained in another prefix, you must include the prefix in the S3LocationUri. For more considerations about importing trail events, see Considerations for copying trail events in the CloudTrail User Guide. When you start a new import, the Destinations and ImportSource parameters are required. Before starting a new import, disable any access control lists (ACLs) attached to the source S3 bucket. For more information about disabling ACLs, see Controlling ownership of objects and disabling ACLs for your bucket. When you retry an import, the ImportID parameter is required. If the destination event data store is for an organization, you must use the management account to import trail events. You cannot use the delegated administrator account for the organization.
Starts an import of logged trail events from a source S3 bucket to a destination event data store. By default, CloudTrail only imports events contained in the S3 bucket's CloudTrail prefix and the prefixes inside the CloudTrail prefix, and does not check prefixes for other Amazon Web Services services. If you want to import CloudTrail events contained in another prefix, you must include the prefix in the S3LocationUri. For more considerations about importing trail events, see Considerations for copying trail events in the CloudTrail User Guide. When you start a new import, the Destinations and ImportSource parameters are required. Before starting a new import, disable any access control lists (ACLs) attached to the source S3 bucket. For more information about disabling ACLs, see Controlling ownership of objects and disabling ACLs for your bucket. When you retry an import, the ImportID parameter is required. If the destination event data store is for an organization, you must use the management account to import trail events. You cannot use the delegated administrator account for the organization.
module StartEventDataStoreIngestionResponse =
Awso_cloudtrail.Values.StartEventDataStoreIngestionResponseStarts the ingestion of live events on an event data store specified as either an ARN or the ID portion of the ARN. To start ingestion, the event data store Status must be STOPPED_INGESTION and the eventCategory must be Management, Data, NetworkActivity, or ConfigurationItem.
module StartEventDataStoreIngestionRequest =
Awso_cloudtrail.Values.StartEventDataStoreIngestionRequestStarts the ingestion of live events on an event data store specified as either an ARN or the ID portion of the ARN. To start ingestion, the event data store Status must be STOPPED_INGESTION and the eventCategory must be Management, Data, NetworkActivity, or ConfigurationItem.
Starts a refresh of the specified dashboard. Each time a dashboard is refreshed, CloudTrail runs queries to populate the dashboard's widgets. CloudTrail must be granted permissions to run the StartQuery operation on your behalf. To provide permissions, run the PutResourcePolicy operation to attach a resource-based policy to each event data store. For more information, see Example: Allow CloudTrail to run queries to populate a dashboard in the CloudTrail User Guide.
Starts a refresh of the specified dashboard. Each time a dashboard is refreshed, CloudTrail runs queries to populate the dashboard's widgets. CloudTrail must be granted permissions to run the StartQuery operation on your behalf. To provide permissions, run the PutResourcePolicy operation to attach a resource-based policy to each event data store. For more information, see Example: Allow CloudTrail to run queries to populate a dashboard in the CloudTrail User Guide.
Searches sample queries and returns a list of sample queries that are sorted by relevance. To search for sample queries, provide a natural language SearchPhrase in English.
Searches sample queries and returns a list of sample queries that are sorted by relevance. To search for sample queries, provide a natural language SearchPhrase in English.
Restores a deleted event data store specified by EventDataStore, which accepts an event data store ARN. You can only restore a deleted event data store within the seven-day wait period after deletion. Restoring an event data store can take several minutes, depending on the size of the event data store.
Restores a deleted event data store specified by EventDataStore, which accepts an event data store ARN. You can only restore a deleted event data store within the seven-day wait period after deletion. Restoring an event data store can take several minutes, depending on the size of the event data store.
Returns the objects or data listed below if successful. Otherwise, returns an error.
Specifies the tags to remove from a trail, event data store, dashboard, or channel.
module RegisterOrganizationDelegatedAdminResponse =
Awso_cloudtrail.Values.RegisterOrganizationDelegatedAdminResponseReturns the following response if successful. Otherwise, returns an error.
module RegisterOrganizationDelegatedAdminRequest =
Awso_cloudtrail.Values.RegisterOrganizationDelegatedAdminRequestSpecifies an organization member account ID as a CloudTrail delegated administrator.
Attaches a resource-based permission policy to a CloudTrail event data store, dashboard, or channel. For more information about resource-based policies, see CloudTrail resource-based policy examples in the CloudTrail User Guide.
Attaches a resource-based permission policy to a CloudTrail event data store, dashboard, or channel. For more information about resource-based policies, see CloudTrail resource-based policy examples in the CloudTrail User Guide.
Lets you enable Insights event logging on specific event categories by specifying the Insights selectors that you want to enable on an existing trail or event data store. You also use PutInsightSelectors to turn off Insights event logging, by passing an empty list of Insights types. The valid Insights event types are ApiErrorRateInsight and ApiCallRateInsight, and valid EventCategories are Management and Data. Insights on data events are not supported on event data stores. For event data stores, you can only enable Insights on management events. To enable Insights on an event data store, you must specify the ARNs (or ID suffix of the ARNs) for the source event data store (EventDataStore) and the destination event data store (InsightsDestination). The source event data store logs management events and enables Insights. The destination event data store logs Insights events based upon the management event activity of the source event data store. The source and destination event data stores must belong to the same Amazon Web Services account. To log Insights events for a trail, you must specify the name (TrailName) of the CloudTrail trail for which you want to change or add Insights selectors. For Management events Insights: To log CloudTrail Insights on the API call rate, the trail or event data store must log write management events. To log CloudTrail Insights on the API error rate, the trail or event data store must log read or write management events. For Data events Insights: To log CloudTrail Insights on the API call rate or API error rate, the trail must log read or write data events. Data events Insights are not supported on event data store. To log CloudTrail Insights events on API call volume, the trail or event data store must log write management events. To log CloudTrail Insights events on API error rate, the trail or event data store must log read or write management events. You can call GetEventSelectors on a trail to check whether the trail logs management events. You can call GetEventDataStore on an event data store to check whether the event data store logs management events. For more information, see Working with CloudTrail Insights in the CloudTrail User Guide.
Lets you enable Insights event logging on specific event categories by specifying the Insights selectors that you want to enable on an existing trail or event data store. You also use PutInsightSelectors to turn off Insights event logging, by passing an empty list of Insights types. The valid Insights event types are ApiErrorRateInsight and ApiCallRateInsight, and valid EventCategories are Management and Data. Insights on data events are not supported on event data stores. For event data stores, you can only enable Insights on management events. To enable Insights on an event data store, you must specify the ARNs (or ID suffix of the ARNs) for the source event data store (EventDataStore) and the destination event data store (InsightsDestination). The source event data store logs management events and enables Insights. The destination event data store logs Insights events based upon the management event activity of the source event data store. The source and destination event data stores must belong to the same Amazon Web Services account. To log Insights events for a trail, you must specify the name (TrailName) of the CloudTrail trail for which you want to change or add Insights selectors. For Management events Insights: To log CloudTrail Insights on the API call rate, the trail or event data store must log write management events. To log CloudTrail Insights on the API error rate, the trail or event data store must log read or write management events. For Data events Insights: To log CloudTrail Insights on the API call rate or API error rate, the trail must log read or write data events. Data events Insights are not supported on event data store. To log CloudTrail Insights events on API call volume, the trail or event data store must log write management events. To log CloudTrail Insights events on API error rate, the trail or event data store must log read or write management events. You can call GetEventSelectors on a trail to check whether the trail logs management events. You can call GetEventDataStore on an event data store to check whether the event data store logs management events. For more information, see Working with CloudTrail Insights in the CloudTrail User Guide.
Configures event selectors (also referred to as basic event selectors) or advanced event selectors for your trail. You can use either AdvancedEventSelectors or EventSelectors, but not both. If you apply AdvancedEventSelectors to a trail, any existing EventSelectors are overwritten. You can use AdvancedEventSelectors to log management events, data events for all resource types, and network activity events. You can use EventSelectors to log management events and data events for the following resource types: AWS::DynamoDB::Table AWS::Lambda::Function AWS::S3::Object You can't use EventSelectors to log network activity events. If you want your trail to log Insights events, be sure the event selector or advanced event selector enables logging of the Insights event types you want configured for your trail. For more information about logging Insights events, see Working with CloudTrail Insights in the CloudTrail User Guide. By default, trails created without specific event selectors are configured to log all read and write management events, and no data events or network activity events. When an event occurs in your account, CloudTrail evaluates the event selectors or advanced event selectors in all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event. Example You create an event selector for a trail and specify that you want to log write-only events. The EC2 GetConsoleOutput and RunInstances API operations occur in your account. CloudTrail evaluates whether the events match your event selectors. The RunInstances is a write-only event and it matches your event selector. The trail logs the event. The GetConsoleOutput is a read-only event that doesn't match your event selector. The trail doesn't log the event. The PutEventSelectors operation must be called from the Region in which the trail was created; otherwise, an InvalidHomeRegionException exception is thrown. You can configure up to five event selectors for each trail. You can add advanced event selectors, and conditions for your advanced event selectors, up to a maximum of 500 values for all conditions and selectors on a trail. For more information, see Logging management events, Logging data events, Logging network activity events, and Quotas in CloudTrail in the CloudTrail User Guide.
Configures event selectors (also referred to as basic event selectors) or advanced event selectors for your trail. You can use either AdvancedEventSelectors or EventSelectors, but not both. If you apply AdvancedEventSelectors to a trail, any existing EventSelectors are overwritten. You can use AdvancedEventSelectors to log management events, data events for all resource types, and network activity events. You can use EventSelectors to log management events and data events for the following resource types: AWS::DynamoDB::Table AWS::Lambda::Function AWS::S3::Object You can't use EventSelectors to log network activity events. If you want your trail to log Insights events, be sure the event selector or advanced event selector enables logging of the Insights event types you want configured for your trail. For more information about logging Insights events, see Working with CloudTrail Insights in the CloudTrail User Guide. By default, trails created without specific event selectors are configured to log all read and write management events, and no data events or network activity events. When an event occurs in your account, CloudTrail evaluates the event selectors or advanced event selectors in all trails. For each trail, if the event matches any event selector, the trail processes and logs the event. If the event doesn't match any event selector, the trail doesn't log the event. Example You create an event selector for a trail and specify that you want to log write-only events. The EC2 GetConsoleOutput and RunInstances API operations occur in your account. CloudTrail evaluates whether the events match your event selectors. The RunInstances is a write-only event and it matches your event selector. The trail logs the event. The GetConsoleOutput is a read-only event that doesn't match your event selector. The trail doesn't log the event. The PutEventSelectors operation must be called from the Region in which the trail was created; otherwise, an InvalidHomeRegionException exception is thrown. You can configure up to five event selectors for each trail. You can add advanced event selectors, and conditions for your advanced event selectors, up to a maximum of 500 values for all conditions and selectors on a trail. For more information, see Logging management events, Logging data events, Logging network activity events, and Quotas in CloudTrail in the CloudTrail User Guide.
Updates the event configuration settings for the specified event data store or trail. This operation supports updating the maximum event size, adding or modifying context key selectors for event data store, and configuring aggregation settings for the trail.
Updates the event configuration settings for the specified event data store or trail. This operation supports updating the maximum event size, adding or modifying context key selectors for event data store, and configuring aggregation settings for the trail.
Contains a response to a LookupEvents action.
Contains a request for LookupEvents.
Lists trails that are in the current account.
Lists trails that are in the current account.
Returns the objects or data listed below if successful. Otherwise, returns an error.
Specifies a list of tags to return.
Returns a list of queries and query statuses for the past seven days. You must specify an ARN value for EventDataStore. Optionally, to shorten the list of results, you can specify a time range, formatted as timestamps, by adding StartTime and EndTime parameters, and a QueryStatus value. Valid values for QueryStatus include QUEUED, RUNNING, FINISHED, FAILED, TIMED_OUT, or CANCELLED.
Returns a list of queries and query statuses for the past seven days. You must specify an ARN value for EventDataStore. Optionally, to shorten the list of results, you can specify a time range, formatted as timestamps, by adding StartTime and EndTime parameters, and a QueryStatus value. Valid values for QueryStatus include QUEUED, RUNNING, FINISHED, FAILED, TIMED_OUT, or CANCELLED.
Returns the objects or data listed below if successful. Otherwise, returns an error.
Requests the public keys for a specified time range.
Returns Insights metrics data for trails that have enabled Insights. The request must include the EventSource, EventName, and InsightType parameters. If the InsightType is set to ApiErrorRateInsight, the request must also include the ErrorCode parameter. The following are the available time periods for ListInsightsMetricData. Each cutoff is inclusive. Data points with a period of 60 seconds (1-minute) are available for 15 days. Data points with a period of 300 seconds (5-minute) are available for 63 days. Data points with a period of 3600 seconds (1 hour) are available for 90 days. To use ListInsightsMetricData operation, you must have the following permissions: If ListInsightsMetricData is invoked with TrailName parameter, access to the ListInsightsMetricData API operation is linked to the cloudtrail:LookupEvents action and cloudtrail:ListInsightsData. To use this operation, you must have permissions to perform the cloudtrail:LookupEvents and cloudtrail:ListInsightsData action on the specific trail. If ListInsightsMetricData is invoked without TrailName parameter, access to the ListInsightsMetricData API operation is linked to the cloudtrail:LookupEvents action only. To use this operation, you must have permissions to perform the cloudtrail:LookupEvents action.
Returns Insights metrics data for trails that have enabled Insights. The request must include the EventSource, EventName, and InsightType parameters. If the InsightType is set to ApiErrorRateInsight, the request must also include the ErrorCode parameter. The following are the available time periods for ListInsightsMetricData. Each cutoff is inclusive. Data points with a period of 60 seconds (1-minute) are available for 15 days. Data points with a period of 300 seconds (5-minute) are available for 63 days. Data points with a period of 3600 seconds (1 hour) are available for 90 days. To use ListInsightsMetricData operation, you must have the following permissions: If ListInsightsMetricData is invoked with TrailName parameter, access to the ListInsightsMetricData API operation is linked to the cloudtrail:LookupEvents action and cloudtrail:ListInsightsData. To use this operation, you must have permissions to perform the cloudtrail:LookupEvents and cloudtrail:ListInsightsData action on the specific trail. If ListInsightsMetricData is invoked without TrailName parameter, access to the ListInsightsMetricData API operation is linked to the cloudtrail:LookupEvents action only. To use this operation, you must have permissions to perform the cloudtrail:LookupEvents action.
Returns Insights events generated on a trail that logs data events. You can list Insights events that occurred in a Region within the last 90 days. ListInsightsData supports the following Dimensions for Insights events: Event ID Event name Event source All dimensions are optional. The default number of results returned is 50, with a maximum of 50 possible. The response includes a token that you can use to get the next page of results. The rate of ListInsightsData requests is limited to two per second, per account, per Region. If this limit is exceeded, a throttling error occurs.
Returns Insights events generated on a trail that logs data events. You can list Insights events that occurred in a Region within the last 90 days. ListInsightsData supports the following Dimensions for Insights events: Event ID Event name Event source All dimensions are optional. The default number of results returned is 50, with a maximum of 50 possible. The response includes a token that you can use to get the next page of results. The rate of ListInsightsData requests is limited to two per second, per account, per Region. If this limit is exceeded, a throttling error occurs.
Returns information on all imports, or a select set of imports by ImportStatus or Destination.
Returns information on all imports, or a select set of imports by ImportStatus or Destination.
Returns a list of failures for the specified import.
Returns a list of failures for the specified import.
Returns information about all event data stores in the account, in the current Region.
Returns information about all event data stores in the account, in the current Region.
Returns information about all dashboards in the account, in the current Region.
Returns information about all dashboards in the account, in the current Region.
Lists the channels in the current account, and their source names.
Lists the channels in the current account, and their source names.
Returns the objects or data listed below if successful. Otherwise, returns an error.
The name of a trail about which you want the current status.
Returns settings information for a specified trail.
Returns settings information for a specified trail.
Retrieves the JSON text of the resource-based policy document attached to the CloudTrail event data store, dashboard, or channel.
Retrieves the JSON text of the resource-based policy document attached to the CloudTrail event data store, dashboard, or channel.
Gets event data results of a query. You must specify the QueryID value returned by the StartQuery operation.
Gets event data results of a query. You must specify the QueryID value returned by the StartQuery operation.
Describes the settings for the Insights event selectors that you configured for your trail or event data store. GetInsightSelectors shows if CloudTrail Insights logging is enabled and which Insights types are configured with corresponding event categories. 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 Working with CloudTrail Insights in the CloudTrail User Guide.
Describes the settings for the Insights event selectors that you configured for your trail or event data store. GetInsightSelectors shows if CloudTrail Insights logging is enabled and which Insights types are configured with corresponding event categories. 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 Working with CloudTrail Insights in the CloudTrail User Guide.
Returns information about a specific import.
Returns information about a specific import.
Describes the settings for the event selectors that you configured for your trail. The information returned for your event selectors includes the following: If your event selector includes read-only events, write-only events, or all events. This applies to management events, data events, and network activity events. If your event selector includes management events. If your event selector includes network activity events, the event sources for which you are logging network activity events. If your event selector includes data events, the resources on which you are logging data events. For more information about logging management, data, and network activity events, see the following topics in the CloudTrail User Guide: Logging management events Logging data events Logging network activity events
Describes the settings for the event selectors that you configured for your trail. The information returned for your event selectors includes the following: If your event selector includes read-only events, write-only events, or all events. This applies to management events, data events, and network activity events. If your event selector includes management events. If your event selector includes network activity events, the event sources for which you are logging network activity events. If your event selector includes data events, the resources on which you are logging data events. For more information about logging management, data, and network activity events, see the following topics in the CloudTrail User Guide: Logging management events Logging data events Logging network activity events
Returns information about an event data store specified as either an ARN or the ID portion of the ARN.
Returns information about an event data store specified as either an ARN or the ID portion of the ARN.
Retrieves the current event configuration settings for the specified event data store or trail. The response includes maximum event size configuration, the context key selectors configured for the event data store, and any aggregation settings configured for the trail.
Retrieves the current event configuration settings for the specified event data store or trail. The response includes maximum event size configuration, the context key selectors configured for the event data store, and any aggregation settings configured for the trail.
Returns the specified dashboard.
Returns the specified dashboard.
Returns information about a specific channel.
Returns information about a specific channel.
Generates a query from a natural language prompt. This operation uses generative artificial intelligence (generative AI) to produce a ready-to-use SQL query from the prompt. The prompt can be a question or a statement about the event data in your event data store. For example, you can enter prompts like "What are my top errors in the past month?" and “Give me a list of users that used SNS.” The prompt must be in English. For information about limitations, permissions, and supported Regions, see Create CloudTrail Lake queries from natural language prompts in the CloudTrail user guide. Do not include any personally identifying, confidential, or sensitive information in your prompts. This feature uses generative AI large language models (LLMs); we recommend double-checking the LLM response.
Generates a query from a natural language prompt. This operation uses generative artificial intelligence (generative AI) to produce a ready-to-use SQL query from the prompt. The prompt can be a question or a statement about the event data in your event data store. For example, you can enter prompts like "What are my top errors in the past month?" and “Give me a list of users that used SNS.” The prompt must be in English. For information about limitations, permissions, and supported Regions, see Create CloudTrail Lake queries from natural language prompts in the CloudTrail user guide. Do not include any personally identifying, confidential, or sensitive information in your prompts. This feature uses generative AI large language models (LLMs); we recommend double-checking the LLM response.
Enables Lake query federation on the specified event data store. Federating an event data store lets you view the metadata associated with the event data store in the Glue Data Catalog and run SQL queries against your event data using Amazon Athena. The table metadata stored in the Glue Data Catalog lets the Athena query engine know how to find, read, and process the data that you want to query. When you enable Lake query federation, CloudTrail creates a managed database named aws:cloudtrail (if the database doesn't already exist) and a managed federated table in the Glue Data Catalog. The event data store ID is used for the table name. CloudTrail registers the role ARN and event data store in Lake Formation, the service responsible for allowing fine-grained access control of the federated resources in the Glue Data Catalog. For more information about Lake query federation, see Federate an event data store.
Enables Lake query federation on the specified event data store. Federating an event data store lets you view the metadata associated with the event data store in the Glue Data Catalog and run SQL queries against your event data using Amazon Athena. The table metadata stored in the Glue Data Catalog lets the Athena query engine know how to find, read, and process the data that you want to query. When you enable Lake query federation, CloudTrail creates a managed database named aws:cloudtrail (if the database doesn't already exist) and a managed federated table in the Glue Data Catalog. The event data store ID is used for the table name. CloudTrail registers the role ARN and event data store in Lake Formation, the service responsible for allowing fine-grained access control of the federated resources in the Glue Data Catalog. For more information about Lake query federation, see Federate an event data store.
Disables Lake query federation on the specified event data store. When you disable federation, CloudTrail disables the integration with Glue, Lake Formation, and Amazon Athena. After disabling Lake query federation, you can no longer query your event data in Amazon Athena. No CloudTrail Lake data is deleted when you disable federation and you can continue to run queries in CloudTrail Lake.
Disables Lake query federation on the specified event data store. When you disable federation, CloudTrail disables the integration with Glue, Lake Formation, and Amazon Athena. After disabling Lake query federation, you can no longer query your event data in Amazon Athena. No CloudTrail Lake data is deleted when you disable federation and you can continue to run queries in CloudTrail Lake.
Returns the objects or data listed below if successful. Otherwise, returns an error.
Returns information about the trail.
Returns metadata about a query, including query run time in milliseconds, number of events scanned and matched, and query status. If the query results were delivered to an S3 bucket, the response also provides the S3 URI and the delivery status. You must specify either QueryId or QueryAlias. Specifying the QueryAlias parameter returns information about the last query run for the alias. You can provide RefreshId along with QueryAlias to view the query results of a dashboard query for the specified RefreshId.
Returns metadata about a query, including query run time in milliseconds, number of events scanned and matched, and query status. If the query results were delivered to an S3 bucket, the response also provides the S3 URI and the delivery status. You must specify either QueryId or QueryAlias. Specifying the QueryAlias parameter returns information about the last query run for the alias. You can provide RefreshId along with QueryAlias to view the query results of a dashboard query for the specified RefreshId.
module DeregisterOrganizationDelegatedAdminResponse =
Awso_cloudtrail.Values.DeregisterOrganizationDelegatedAdminResponseReturns the following response if successful. Otherwise, returns an error.
module DeregisterOrganizationDelegatedAdminRequest =
Awso_cloudtrail.Values.DeregisterOrganizationDelegatedAdminRequestRemoves CloudTrail delegated administrator permissions from a specified member account in an organization that is currently designated as a delegated administrator.
Returns the objects or data listed below if successful. Otherwise, returns an error.
The request that specifies the name of a trail to delete.
Deletes the resource-based policy attached to the CloudTrail event data store, dashboard, or channel.
Deletes the resource-based policy attached to the CloudTrail event data store, dashboard, or channel.
Disables the event data store specified by EventDataStore, which accepts an event data store ARN. After you run DeleteEventDataStore, the event data store enters a PENDING_DELETION state, and is automatically deleted after a wait period of seven days. TerminationProtectionEnabled must be set to False on the event data store and the FederationStatus must be DISABLED. You cannot delete an event data store if TerminationProtectionEnabled is True or the FederationStatus is ENABLED. After you run DeleteEventDataStore on an event data store, you cannot run ListQueries, DescribeQuery, or GetQueryResults on queries that are using an event data store in a PENDING_DELETION state. An event data store in the PENDING_DELETION state does not incur costs.
Disables the event data store specified by EventDataStore, which accepts an event data store ARN. After you run DeleteEventDataStore, the event data store enters a PENDING_DELETION state, and is automatically deleted after a wait period of seven days. TerminationProtectionEnabled must be set to False on the event data store and the FederationStatus must be DISABLED. You cannot delete an event data store if TerminationProtectionEnabled is True or the FederationStatus is ENABLED. After you run DeleteEventDataStore on an event data store, you cannot run ListQueries, DescribeQuery, or GetQueryResults on queries that are using an event data store in a PENDING_DELETION state. An event data store in the PENDING_DELETION state does not incur costs.
Deletes the specified dashboard. You cannot delete a dashboard that has termination protection enabled.
Deletes the specified dashboard. You cannot delete a dashboard that has termination protection enabled.
Deletes a channel.
Deletes a channel.
Returns the objects or data listed below if successful. Otherwise, returns an error.
Specifies the settings for each trail.
Creates a new event data store.
Creates a new event data store.
Creates a custom dashboard or the Highlights dashboard. Custom dashboards - Custom dashboards allow you to query events in any event data store type. You can add up to 10 widgets to a custom dashboard. You can manually refresh a custom dashboard, or you can set a refresh schedule. Highlights dashboard - You can create the Highlights dashboard to see a summary of key user activities and API usage across all your event data stores. CloudTrail Lake manages the Highlights dashboard and refreshes the dashboard every 6 hours. To create the Highlights dashboard, you must set and enable a refresh schedule. CloudTrail runs queries to populate the dashboard's widgets during a manual or scheduled refresh. CloudTrail must be granted permissions to run the StartQuery operation on your behalf. To provide permissions, run the PutResourcePolicy operation to attach a resource-based policy to each event data store. For more information, see Example: Allow CloudTrail to run queries to populate a dashboard in the CloudTrail User Guide. To set a refresh schedule, CloudTrail must be granted permissions to run the StartDashboardRefresh operation to refresh the dashboard on your behalf. To provide permissions, run the PutResourcePolicy operation to attach a resource-based policy to the dashboard. For more information, see Resource-based policy example for a dashboard in the CloudTrail User Guide. For more information about dashboards, see CloudTrail Lake dashboards in the CloudTrail User Guide.
Creates a custom dashboard or the Highlights dashboard. Custom dashboards - Custom dashboards allow you to query events in any event data store type. You can add up to 10 widgets to a custom dashboard. You can manually refresh a custom dashboard, or you can set a refresh schedule. Highlights dashboard - You can create the Highlights dashboard to see a summary of key user activities and API usage across all your event data stores. CloudTrail Lake manages the Highlights dashboard and refreshes the dashboard every 6 hours. To create the Highlights dashboard, you must set and enable a refresh schedule. CloudTrail runs queries to populate the dashboard's widgets during a manual or scheduled refresh. CloudTrail must be granted permissions to run the StartQuery operation on your behalf. To provide permissions, run the PutResourcePolicy operation to attach a resource-based policy to each event data store. For more information, see Example: Allow CloudTrail to run queries to populate a dashboard in the CloudTrail User Guide. To set a refresh schedule, CloudTrail must be granted permissions to run the StartDashboardRefresh operation to refresh the dashboard on your behalf. To provide permissions, run the PutResourcePolicy operation to attach a resource-based policy to the dashboard. For more information, see Resource-based policy example for a dashboard in the CloudTrail User Guide. For more information about dashboards, see CloudTrail Lake dashboards in the CloudTrail User Guide.
Creates a channel for CloudTrail to ingest events from a partner or external source. After you create a channel, a CloudTrail Lake event data store can log events from the partner or source that you specify.
Creates a channel for CloudTrail to ingest events from a partner or external source. After you create a channel, a CloudTrail Lake event data store can log events from the partner or source that you specify.
Cancels a query if the query is not in a terminated state, such as CANCELLED, FAILED, TIMED_OUT, or FINISHED. You must specify an ARN value for EventDataStore. The ID of the query that you want to cancel is also required. When you run CancelQuery, the query status might show as CANCELLED even if the operation is not yet finished.
Cancels a query if the query is not in a terminated state, such as CANCELLED, FAILED, TIMED_OUT, or FINISHED. You must specify an ARN value for EventDataStore. The ID of the query that you want to cancel is also required. When you run CancelQuery, the query status might show as CANCELLED even if the operation is not yet finished.
Returns the objects or data if successful. Otherwise, returns an error.
Specifies the tags to add to a trail, event data store, dashboard, or channel.