Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Usage

import * as mod from "https://aws-api.deno.dev/v0.4/services/cloudtrail.ts?docs=full";

§Classes

CloudTrail

§Interfaces

AddTagsRequest

Specifies the tags to add to a trail, event data store, or channel.

AdvancedEventSelector

Advanced event selectors let you create fine-grained selectors for the following CloudTrail event record fields. They help you control costs by logging only those events that are important to you. For more information about advanced event selectors, see Logging data events for trails in the CloudTrail User Guide.

AdvancedFieldSelector

A single selector statement in an advanced event selector.

CancelQueryRequest
CancelQueryResponse
Channel

Contains information about a returned CloudTrail channel.

CreateChannelRequest
CreateChannelResponse
CreateEventDataStoreRequest
CreateEventDataStoreResponse
CreateTrailRequest

Specifies the settings for each trail.

CreateTrailResponse

Returns the objects or data listed below if successful. Otherwise, returns an error.

DataResource

The Amazon S3 buckets, Lambda functions, or Amazon DynamoDB tables that you specify in your event selectors for your trail to log data events. Data events provide information about the resource operations performed on or within a resource itself. These are also known as data plane operations. You can specify up to 250 data resources for a trail.

DeleteChannelRequest
DeleteEventDataStoreRequest
DeleteResourcePolicyRequest
DeleteTrailRequest

The request that specifies the name of a trail to delete.

DeregisterOrganizationDelegatedAdminRequest

Removes CloudTrail delegated administrator permissions from a specified member account in an organization that is currently designated as a delegated administrator.

DescribeQueryRequest
DescribeQueryResponse
DescribeTrailsRequest

Returns information about the trail.

DescribeTrailsResponse

Returns the objects or data listed below if successful. Otherwise, returns an error.

Destination

Contains information about the destination receiving events.

Event

Contains information about an event that was returned by a lookup request. The result includes a representation of a CloudTrail event.

EventDataStore

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 from the last 90 to 2557 days (about three months to up to seven years). To select events for an event data store, use advanced event selectors.

EventSelector

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.

GetChannelRequest
GetChannelResponse
GetEventDataStoreRequest
GetEventDataStoreResponse
GetEventSelectorsRequest
GetEventSelectorsResponse
GetImportRequest
GetImportResponse
GetInsightSelectorsRequest
GetInsightSelectorsResponse
GetQueryResultsRequest
GetQueryResultsResponse
GetResourcePolicyRequest
GetResourcePolicyResponse
GetTrailRequest
GetTrailResponse
GetTrailStatusRequest

The name of a trail about which you want the current status.

GetTrailStatusResponse

Returns the objects or data listed below if successful. Otherwise, returns an error.

ImportFailureListItem

Provides information about an import failure.

ImportsListItem

Contains information about an import that was returned by a lookup request.

ImportSource

The import source.

ImportStatistics

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.

IngestionStatus

A table showing information about the most recent successful and failed attempts to ingest events.

InsightSelector

A JSON string that contains a list of insight types that are logged on a trail.

ListChannelsRequest
ListChannelsResponse
ListEventDataStoresRequest
ListEventDataStoresResponse
ListImportFailuresRequest
ListImportFailuresResponse
ListImportsRequest
ListImportsResponse
ListPublicKeysRequest

Requests the public keys for a specified time range.

ListPublicKeysResponse

Returns the objects or data listed below if successful. Otherwise, returns an error.

ListQueriesRequest
ListQueriesResponse
ListTagsRequest

Specifies a list of tags to return.

ListTagsResponse

Returns the objects or data listed below if successful. Otherwise, returns an error.

ListTrailsRequest
ListTrailsResponse
LookupAttribute

Specifies an attribute and value that filter the events returned.

LookupEventsRequest

Contains a request for LookupEvents.

LookupEventsResponse

Contains a response to a LookupEvents action.

PublicKey

Contains information about a returned public key.

PutEventSelectorsRequest
PutEventSelectorsResponse
PutInsightSelectorsRequest
PutInsightSelectorsResponse
PutResourcePolicyRequest
PutResourcePolicyResponse
Query

A SQL string of criteria about events that you want to collect in an event data store.

QueryStatistics

Metadata about a query, such as the number of results.

QueryStatisticsForDescribeQuery

Gets 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.

RegisterOrganizationDelegatedAdminRequest

Specifies an organization member account ID as a CloudTrail delegated administrator.

RemoveTagsRequest

Specifies the tags to remove from a trail, event data store, or channel.

Resource

Specifies the type and name of a resource referenced by an event.

ResourceTag

A resource tag.

RestoreEventDataStoreRequest
RestoreEventDataStoreResponse
S3ImportSource

The settings for the source S3 bucket.

SourceConfig

Contains configuration information about the channel.

StartImportRequest
StartImportResponse
StartLoggingRequest

The request to CloudTrail to start logging Amazon Web Services API calls for an account.

StartQueryRequest
StartQueryResponse
StopImportRequest
StopImportResponse
StopLoggingRequest

Passes the request to CloudTrail to stop logging Amazon Web Services API calls for the specified account.

Tag

A custom key-value pair associated with a resource such as a CloudTrail trail, event data store, or channel.

Trail

The settings for a trail.

TrailInfo

Information about a CloudTrail trail, including the trail's name, home region, and Amazon Resource Name (ARN).

UpdateChannelRequest
UpdateChannelResponse
UpdateEventDataStoreRequest
UpdateEventDataStoreResponse
UpdateTrailRequest

Specifies settings to update for the trail.

UpdateTrailResponse

Returns the objects or data listed below if successful. Otherwise, returns an error.

§Type Aliases

DeliveryStatus
DestinationType
EventCategory
EventDataStoreStatus
ImportFailureStatus
ImportStatus
InsightType
LookupAttributeKey
QueryStatus
ReadWriteType