AWS SDK for .NET Documentation
Amazon.CloudTrail.Model Namespace
AmazonAmazon.CloudTrail.Model Did this page help you?   Yes   No    Tell us about it...
 
Declaration Syntax
C#
namespace Amazon.CloudTrail.Model
Types
All TypesClasses
IconTypeDescription
CreateTrailRequest
Container for the parameters to the CreateTrail operation.

From the command line, use create-subscription.

Creates a trail that specifies the settings for delivery of log data to an Amazon S3 bucket. The request includes a Trail structure that specifies the following:

  • Trail name.
  • The name of an existing Amazon S3 bucket to which CloudTrail delivers your log files.
  • The name of the Amazon S3 key prefix that precedes each log file.
  • The name of an existing Amazon SNS topic that notifies you that a new file is available in your bucket.
  • Whether the log file should include AWS API calls from global services. Currently, the only global AWS API calls included in CloudTrail log files are from IAM and AWS STS.

CreateTrailResponse
Returns information about the CreateTrailResult response and response metadata.

CreateTrailResult

A JSON-formatted Trail object that represents the settings for the requested trail.


DeleteTrailRequest
Container for the parameters to the DeleteTrail operation.

Deletes a trail.


DeleteTrailResponse
Returns information about the DeleteTrailResult response and response metadata.

DeleteTrailResult

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


DescribeTrailsRequest
Container for the parameters to the DescribeTrails operation.

Retrieves the settings for some or all trails associated with an account. Returns a list of Trail structures in JSON format.


DescribeTrailsResponse
Returns information about the DescribeTrailsResult response and response metadata.

DescribeTrailsResult

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


GetTrailStatusRequest
Container for the parameters to the GetTrailStatus operation.

Returns a JSON-formatted list of information about the specified trail. Fields include information such as delivery errors, Amazon SNS and Amazon S3 errors, and times that logging started and stopped for each trail.


GetTrailStatusResponse
Returns information about the GetTrailStatusResult response and response metadata.

GetTrailStatusResult

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


InsufficientS3BucketPolicyException
AmazonCloudTrail exception

InsufficientSnsTopicPolicyException
AmazonCloudTrail exception

InternalErrorException
AmazonCloudTrail exception

InvalidS3BucketNameException
AmazonCloudTrail exception

InvalidS3PrefixException
AmazonCloudTrail exception

InvalidSnsTopicNameException
AmazonCloudTrail exception

InvalidTrailNameException
AmazonCloudTrail exception

MaximumNumberOfTrailsExceededException
AmazonCloudTrail exception

S3BucketDoesNotExistException
AmazonCloudTrail exception

StartLoggingRequest
Container for the parameters to the StartLogging operation.

Starts the recording of AWS API calls and log file delivery for a trail.


StartLoggingResponse
Returns information about the StartLoggingResult response and response metadata.

StartLoggingResult

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


StopLoggingRequest
Container for the parameters to the StopLogging operation.

Suspends the recording of AWS API calls and log file delivery for the specified trail. Under most circumstances, there is no need to use this action. You can update a trail without stopping it first. This action is the only way to stop recording.


StopLoggingResponse
Returns information about the StopLoggingResult response and response metadata.

StopLoggingResult

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


Trail

The settings for a trail.


TrailAlreadyExistsException
AmazonCloudTrail exception

TrailNotFoundException
AmazonCloudTrail exception

TrailNotProvidedException
AmazonCloudTrail exception

UpdateTrailRequest
Container for the parameters to the UpdateTrail operation.

From the command line, use update-subscription.

Updates the settings that specify delivery of log files. Changes to a trail do not require stopping the CloudTrail service. You use this action to designate an existing bucket for log delivery. If the existing bucket has previously been a target for CloudTrail log files, an IAM policy exists for the bucket. Use a Trail data type to pass updated bucket or topic names.


UpdateTrailResponse
Returns information about the UpdateTrailResult response and response metadata.

UpdateTrailResult

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