package cloudtrail
- Alphabetic
- By Inheritance
- cloudtrail
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
AddTagsRequest extends Object
Specifies the tags to add to a trail.
Specifies the tags to add to a trail.
- Annotations
- @RawJSType() @native()
-
trait
AddTagsResponse extends Object
Returns the objects or data listed below if successful.
Returns the objects or data listed below if successful. Otherwise, returns an error.
- Annotations
- @RawJSType() @native()
- type ByteBuffer = |[|[|[|[Buffer, Readable], TypedArray[_, _]], Array[Byte]], String]
-
class
CloudTrail extends Object
- Annotations
- @RawJSType() @native() @JSImport( "aws-sdk" , "CloudTrail" )
- implicit final class CloudTrailOps extends AnyVal
-
trait
CreateTrailRequest extends Object
Specifies the settings for each trail.
Specifies the settings for each trail.
- Annotations
- @RawJSType() @native()
-
trait
CreateTrailResponse extends Object
Returns the objects or data listed below if successful.
Returns the objects or data listed below if successful. Otherwise, returns an error.
- Annotations
- @RawJSType() @native()
-
trait
DataResource extends Object
The Amazon S3 buckets or AWS Lambda functions that you specify in your event selectors for your trail to log data events.
The Amazon S3 buckets or AWS Lambda functions that you specify in your event selectors for your trail to log data events. Data events provide insight into 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.
Note: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. The following example demonstrates how logging works when you configure logging of all data events for an S3 bucket named
bucket-1. In this example, the CloudTrail user spcified an empty prefix, and the option to log bothReadandWritedata events. * A user uploads an image file tobucket-1. * ThePutObjectAPI 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 namedarn:aws:s3:::bucket-2. * ThePutObjectAPI 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 AWS Lambda data events for a Lambda function named MyLambdaFunction, but not for all AWS Lambda functions. * A user runs a script that includes a call to the MyLambdaFunction function and the MyOtherLambdaFunction function. * TheInvokeAPI operation on MyLambdaFunction is an AWS 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. * TheInvokeAPI operation on MyOtherLambdaFunction is an AWS Lambda API. Because the CloudTrail user did not specify logging data events for all Lambda functions, theInvokeoperation for MyOtherLambdaFunction does not match the function specified for the trail. The trail doesn’t log the event.- Annotations
- @RawJSType() @native()
- type DataResourceValues = Array[String]
- type DataResources = Array[DataResource]
- type Date = scala.scalajs.js.Date
-
trait
DeleteTrailRequest extends Object
The request that specifies the name of a trail to delete.
The request that specifies the name of a trail to delete.
- Annotations
- @RawJSType() @native()
-
trait
DeleteTrailResponse extends Object
Returns the objects or data listed below if successful.
Returns the objects or data listed below if successful. Otherwise, returns an error.
- Annotations
- @RawJSType() @native()
-
trait
DescribeTrailsRequest extends Object
Returns information about the trail.
Returns information about the trail.
- Annotations
- @RawJSType() @native()
-
trait
DescribeTrailsResponse extends Object
Returns the objects or data listed below if successful.
Returns the objects or data listed below if successful. Otherwise, returns an error.
- Annotations
- @RawJSType() @native()
-
trait
Event extends Object
Contains information about an event that was returned by a lookup request.
Contains information about an event that was returned by a lookup request. The result includes a representation of a CloudTrail event.
- Annotations
- @RawJSType() @native()
-
trait
EventSelector extends Object
Use event selectors to further specify the management and data event settings for your trail.
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.
- Annotations
- @RawJSType() @native()
- type EventSelectors = Array[EventSelector]
- type EventsList = Array[Event]
-
trait
GetEventSelectorsRequest extends Object
- Annotations
- @RawJSType() @native()
-
trait
GetEventSelectorsResponse extends Object
- Annotations
- @RawJSType() @native()
-
trait
GetTrailStatusRequest extends Object
The name of a trail about which you want the current status.
The name of a trail about which you want the current status.
- Annotations
- @RawJSType() @native()
-
trait
GetTrailStatusResponse extends Object
Returns the objects or data listed below if successful.
Returns the objects or data listed below if successful. Otherwise, returns an error.
- Annotations
- @RawJSType() @native()
-
trait
ListPublicKeysRequest extends Object
Requests the public keys for a specified time range.
Requests the public keys for a specified time range.
- Annotations
- @RawJSType() @native()
-
trait
ListPublicKeysResponse extends Object
Returns the objects or data listed below if successful.
Returns the objects or data listed below if successful. Otherwise, returns an error.
- Annotations
- @RawJSType() @native()
-
trait
ListTagsRequest extends Object
Specifies a list of trail tags to return.
Specifies a list of trail tags to return.
- Annotations
- @RawJSType() @native()
-
trait
ListTagsResponse extends Object
Returns the objects or data listed below if successful.
Returns the objects or data listed below if successful. Otherwise, returns an error.
- Annotations
- @RawJSType() @native()
-
trait
LookupAttribute extends Object
Specifies an attribute and value that filter the events returned.
Specifies an attribute and value that filter the events returned.
- Annotations
- @RawJSType() @native()
- type LookupAttributeKey = String
- type LookupAttributesList = Array[LookupAttribute]
-
trait
LookupEventsRequest extends Object
Contains a request for LookupEvents.
Contains a request for LookupEvents.
- Annotations
- @RawJSType() @native()
-
trait
LookupEventsResponse extends Object
Contains a response to a LookupEvents action.
Contains a response to a LookupEvents action.
- Annotations
- @RawJSType() @native()
- type MaxResults = Int
- type NextToken = String
-
trait
PublicKey extends Object
Contains information about a returned public key.
Contains information about a returned public key.
- Annotations
- @RawJSType() @native()
- type PublicKeyList = Array[PublicKey]
-
trait
PutEventSelectorsRequest extends Object
- Annotations
- @RawJSType() @native()
-
trait
PutEventSelectorsResponse extends Object
- Annotations
- @RawJSType() @native()
- type ReadWriteType = String
-
trait
RemoveTagsRequest extends Object
Specifies the tags to remove from a trail.
Specifies the tags to remove from a trail.
- Annotations
- @RawJSType() @native()
-
trait
RemoveTagsResponse extends Object
Returns the objects or data listed below if successful.
Returns the objects or data listed below if successful. Otherwise, returns an error.
- Annotations
- @RawJSType() @native()
-
trait
Resource extends Object
Specifies the type and name of a resource referenced by an event.
Specifies the type and name of a resource referenced by an event.
- Annotations
- @RawJSType() @native()
- type ResourceIdList = Array[String]
- type ResourceList = Array[Resource]
-
trait
ResourceTag extends Object
A resource tag.
A resource tag.
- Annotations
- @RawJSType() @native()
- type ResourceTagList = Array[ResourceTag]
-
trait
StartLoggingRequest extends Object
The request to CloudTrail to start logging AWS API calls for an account.
The request to CloudTrail to start logging AWS API calls for an account.
- Annotations
- @RawJSType() @native()
-
trait
StartLoggingResponse extends Object
Returns the objects or data listed below if successful.
Returns the objects or data listed below if successful. Otherwise, returns an error.
- Annotations
- @RawJSType() @native()
-
trait
StopLoggingRequest extends Object
Passes the request to CloudTrail to stop logging AWS API calls for the specified account.
Passes the request to CloudTrail to stop logging AWS API calls for the specified account.
- Annotations
- @RawJSType() @native()
-
trait
StopLoggingResponse extends Object
Returns the objects or data listed below if successful.
Returns the objects or data listed below if successful. Otherwise, returns an error.
- Annotations
- @RawJSType() @native()
-
trait
Tag extends Object
A custom key-value pair associated with a resource such as a CloudTrail trail.
A custom key-value pair associated with a resource such as a CloudTrail trail.
- Annotations
- @RawJSType() @native()
- type TagsList = Array[Tag]
-
trait
Trail extends Object
The settings for a trail.
The settings for a trail.
- Annotations
- @RawJSType() @native()
- type TrailList = Array[Trail]
- type TrailNameList = Array[String]
-
trait
UpdateTrailRequest extends Object
Specifies settings to update for the trail.
Specifies settings to update for the trail.
- Annotations
- @RawJSType() @native()
-
trait
UpdateTrailResponse extends Object
Returns the objects or data listed below if successful.
Returns the objects or data listed below if successful. Otherwise, returns an error.
- Annotations
- @RawJSType() @native()
Value Members
- object AddTagsRequest
- object AddTagsResponse
- object CreateTrailRequest
- object CreateTrailResponse
- object DataResource
- object DeleteTrailRequest
- object DeleteTrailResponse
- object DescribeTrailsRequest
- object DescribeTrailsResponse
- object Event
- object EventSelector
- object GetEventSelectorsRequest
- object GetEventSelectorsResponse
- object GetTrailStatusRequest
- object GetTrailStatusResponse
- object ListPublicKeysRequest
- object ListPublicKeysResponse
- object ListTagsRequest
- object ListTagsResponse
- object LookupAttribute
- object LookupAttributeKeyEnum
- object LookupEventsRequest
- object LookupEventsResponse
- object PublicKey
- object PutEventSelectorsRequest
- object PutEventSelectorsResponse
- object ReadWriteTypeEnum
- object RemoveTagsRequest
- object RemoveTagsResponse
- object Resource
- object ResourceTag
- object StartLoggingRequest
- object StartLoggingResponse
- object StopLoggingRequest
- object StopLoggingResponse
- object Tag
- object Trail
- object UpdateTrailRequest
- object UpdateTrailResponse