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.2/services/cloudtrail.ts?docs=full";

§Classes

CloudTrail

§Interfaces

AddTagsRequest

Specifies the tags to add to a trail.

AdvancedEventSelector

Advanced event selectors let you create fine-grained selectors for the following AWS 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 AWS CloudTrail User Guide.

AdvancedFieldSelector

A single selector statement in an advanced event selector.

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, AWS 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.

DeleteTrailRequest

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

DescribeTrailsRequest

Returns information about the trail.

DescribeTrailsResponse

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

Event

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

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.

GetEventSelectorsRequest
GetEventSelectorsResponse
GetInsightSelectorsRequest
GetInsightSelectorsResponse
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.

InsightSelector

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

ListPublicKeysRequest

Requests the public keys for a specified time range.

ListPublicKeysResponse

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

ListTagsRequest

Specifies a list of trail 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
RemoveTagsRequest

Specifies the tags to remove from a trail.

Resource

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

ResourceTag

A resource tag.

StartLoggingRequest

The request to CloudTrail to start logging AWS API calls for an account.

StopLoggingRequest

Passes the request to CloudTrail to stop logging AWS API calls for the specified account.

Tag

A custom key-value pair associated with a resource such as a CloudTrail trail.

Trail

The settings for a trail.

TrailInfo

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

UpdateTrailRequest

Specifies settings to update for the trail.

UpdateTrailResponse

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

§Type Aliases

EventCategory
InsightType
LookupAttributeKey
ReadWriteType