aws cloudtrail
This is the CloudTrail API Reference. AWS CLI reference
62 commands Its page in the AWS CLI reference
Commands
add-tagsAdds one or more tags to a trail, event data store, dashboard, or channel, up to a limit of 50.cancel-queryCloudTrail Lake will no longer be open to new customers starting May 31, 2026.create-channelCloudTrail Lake will no longer be open to new customers starting May 31, 2026.create-dashboardCloudTrail Lake will no longer be open to new customers starting May 31, 2026.create-event-data-storeCloudTrail Lake will no longer be open to new customers starting May 31, 2026.create-trailCreates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket.delete-channelCloudTrail Lake will no longer be open to new customers starting May 31, 2026.delete-dashboardCloudTrail Lake will no longer be open to new customers starting May 31, 2026.delete-event-data-storeCloudTrail Lake will no longer be open to new customers starting May 31, 2026.delete-resource-policyDeletes the resource-based policy attached to the CloudTrail event data store, dashboard, or channel.delete-trailDeletes a trail.deregister-organization-delegated-adminRemoves CloudTrail delegated administrator permissions from a member account in an organization.describe-queryCloudTrail Lake will no longer be open to new customers starting May 31, 2026.describe-trailsRetrieves settings for one or more trails associated with the current Region for your account.disable-federationCloudTrail Lake will no longer be open to new customers starting May 31, 2026.enable-federationCloudTrail Lake will no longer be open to new customers starting May 31, 2026.generate-queryCloudTrail Lake will no longer be open to new customers starting May 31, 2026.get-channelCloudTrail Lake will no longer be open to new customers starting May 31, 2026.get-dashboardCloudTrail Lake will no longer be open to new customers starting May 31, 2026.get-event-configurationRetrieves the current event configuration settings for the specified event data store or trail.get-event-data-storeCloudTrail Lake will no longer be open to new customers starting May 31, 2026.get-event-selectorsDescribes the settings for the event selectors that you configured for your trail.get-importCloudTrail Lake will no longer be open to new customers starting May 31, 2026.get-insight-selectorsDescribes the settings for the Insights event selectors that you configured for your trail or event data store.get-query-resultsCloudTrail Lake will no longer be open to new customers starting May 31, 2026.get-resource-policyRetrieves the JSON text of the resource-based policy document attached to the CloudTrail event data store, dashboard, or channel.get-trailReturns settings information for a specified trail.get-trail-statusReturns a JSON-formatted list of information about the specified trail.list-channelsCloudTrail Lake will no longer be open to new customers starting May 31, 2026.list-dashboardsCloudTrail Lake will no longer be open to new customers starting May 31, 2026.list-event-data-storesCloudTrail Lake will no longer be open to new customers starting May 31, 2026.list-import-failuresCloudTrail Lake will no longer be open to new customers starting May 31, 2026.list-importsCloudTrail Lake will no longer be open to new customers starting May 31, 2026.list-insights-dataReturns Insights events generated on a trail that logs data events.list-insights-metric-dataReturns Insights metrics data for trails that have enabled Insights.list-public-keysReturns all public keys whose private keys were used to sign the digest files within the specified time range.list-queriesCloudTrail Lake will no longer be open to new customers starting May 31, 2026.list-tagsLists the tags for the specified trails, event data stores, dashboards, or channels in the current Region.list-trailsLists trails that are in the current account.lookup-eventsLooks up management events or CloudTrail Insights events that are captured by CloudTrail.put-event-configurationUpdates the event configuration settings for the specified event data store or trail.put-event-selectorsConfigures event selectors (also referred to as basic event selectors) or advanced event selectors for your trail.put-insight-selectorsLets 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.put-resource-policyAttaches a resource-based permission policy to a CloudTrail event data store, dashboard, or channel.register-organization-delegated-adminRegisters an organization’s member account as the CloudTrail delegated administrator.remove-tagsRemoves the specified tags from a trail, event data store, dashboard, or channel.restore-event-data-storeCloudTrail Lake will no longer be open to new customers starting May 31, 2026.search-sample-queriesCloudTrail Lake will no longer be open to new customers starting May 31, 2026.start-dashboard-refreshCloudTrail Lake will no longer be open to new customers starting May 31, 2026.start-event-data-store-ingestionCloudTrail Lake will no longer be open to new customers starting May 31, 2026.start-importCloudTrail Lake will no longer be open to new customers starting May 31, 2026.start-loggingStarts the recording of Amazon Web Services API calls and log file delivery for a trail.start-queryCloudTrail Lake will no longer be open to new customers starting May 31, 2026.stop-event-data-store-ingestionCloudTrail Lake will no longer be open to new customers starting May 31, 2026.stop-importCloudTrail Lake will no longer be open to new customers starting May 31, 2026.stop-loggingSuspends the recording of Amazon Web Services API calls and log file delivery for the specified trail.update-channelCloudTrail Lake will no longer be open to new customers starting May 31, 2026.update-dashboardCloudTrail Lake will no longer be open to new customers starting May 31, 2026.update-event-data-storeCloudTrail Lake will no longer be open to new customers starting May 31, 2026.update-trailUpdates trail settings that control what events you are logging, and how to handle log files.validate-logsValidates CloudTrail logs for a given period of time.verify-query-resultsValidates CloudTrail Lake query's export files.