AWS SDK Version 2 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.CloudTrail.Model.GetTrailStatusResult

Namespace: Amazon.CloudTrail.Model
Assembly: AWSSDK.dll
Version: (assembly version)

Syntax

C#
public class GetTrailStatusResult : AmazonWebServiceResponse

The GetTrailStatusResult type exposes the following members

Constructors

NameDescription
Public Method GetTrailStatusResult()

Properties

NameTypeDescription
Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property IsLogging System.Boolean Gets and sets the property IsLogging.

Whether the CloudTrail is currently logging AWS API calls.

Public Property LatestCloudWatchLogsDeliveryError System.String Gets and sets the property LatestCloudWatchLogsDeliveryError.

Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to CloudWatch Logs.

Public Property LatestCloudWatchLogsDeliveryTime System.DateTime Gets and sets the property LatestCloudWatchLogsDeliveryTime.

Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.

Public Property LatestDeliveryAttemptSucceeded System.String Gets and sets the property LatestDeliveryAttemptSucceeded.

This field is deprecated.

Public Property LatestDeliveryAttemptTime System.String Gets and sets the property LatestDeliveryAttemptTime.

This field is deprecated.

Public Property LatestDeliveryError System.String Gets and sets the property LatestDeliveryError.

Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver log files to the designated bucket. For more information see the topic Error Responses in the Amazon S3 API Reference.

This error occurs only when there is a problem with the destination S3 bucket and will not occur for timeouts. To resolve the issue, create a new bucket and call UpdateTrail to specify the new bucket, or fix the existing objects so that CloudTrail can again write to the bucket.
Public Property LatestDeliveryTime System.DateTime Gets and sets the property LatestDeliveryTime.

Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket.

Public Property LatestDigestDeliveryError System.String Gets and sets the property LatestDigestDeliveryError.

Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver a digest file to the designated bucket. For more information see the topic Error Responses in the Amazon S3 API Reference.

This error occurs only when there is a problem with the destination S3 bucket and will not occur for timeouts. To resolve the issue, create a new bucket and call UpdateTrail to specify the new bucket, or fix the existing objects so that CloudTrail can again write to the bucket.
Public Property LatestDigestDeliveryTime System.DateTime Gets and sets the property LatestDigestDeliveryTime.

Specifies the date and time that CloudTrail last delivered a digest file to an account's Amazon S3 bucket.

Public Property LatestNotificationAttemptSucceeded System.String Gets and sets the property LatestNotificationAttemptSucceeded.

This field is deprecated.

Public Property LatestNotificationAttemptTime System.String Gets and sets the property LatestNotificationAttemptTime.

This field is deprecated.

Public Property LatestNotificationError System.String Gets and sets the property LatestNotificationError.

Displays any Amazon SNS error that CloudTrail encountered when attempting to send a notification. For more information about Amazon SNS errors, see the Amazon SNS Developer Guide.

Public Property LatestNotificationTime System.DateTime Gets and sets the property LatestNotificationTime.

Specifies the date and time of the most recent Amazon SNS notification that CloudTrail has written a new log file to an account's Amazon S3 bucket.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property StartLoggingTime System.DateTime Gets and sets the property StartLoggingTime.

Specifies the most recent date and time when CloudTrail started recording API calls for an AWS account.

Public Property StopLoggingTime System.DateTime Gets and sets the property StopLoggingTime.

Specifies the most recent date and time when CloudTrail stopped recording API calls for an AWS account.

Public Property TimeLoggingStarted System.String Gets and sets the property TimeLoggingStarted.

This field is deprecated.

Public Property TimeLoggingStopped System.String Gets and sets the property TimeLoggingStopped.

This field is deprecated.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8