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.
Returns the objects or data listed below if successful. Otherwise, returns an error.
Namespace: Amazon.CloudTrail.Model
Assembly: AWSSDK.CloudTrail.dll
Version: 3.x.y.z
public class GetTrailStatusResponse : AmazonWebServiceResponse
The GetTrailStatusResponse type exposes the following members
Name | Description | |
---|---|---|
GetTrailStatusResponse() |
Name | Type | Description | |
---|---|---|---|
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
IsLogging | System.Boolean |
Gets and sets the property IsLogging. Whether the CloudTrail trail is currently logging Amazon Web Services API calls. |
|
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. |
|
LatestCloudWatchLogsDeliveryTime | System.DateTime |
Gets and sets the property LatestCloudWatchLogsDeliveryTime. Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs. |
|
LatestDeliveryAttemptSucceeded | System.String |
Gets and sets the property LatestDeliveryAttemptSucceeded. This field is no longer in use. |
|
LatestDeliveryAttemptTime | System.String |
Gets and sets the property LatestDeliveryAttemptTime. This field is no longer in use. |
|
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 Error Responses in the Amazon S3 API Reference.
This error occurs only when there is a problem with the destination S3 bucket, and
does not occur for requests that time out. To resolve the issue, create a new bucket,
and then call |
|
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. |
|
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 Error Responses in the Amazon S3 API Reference.
This error occurs only when there is a problem with the destination S3 bucket, and
does not occur for requests that time out. To resolve the issue, create a new bucket,
and then call |
|
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. |
|
LatestNotificationAttemptSucceeded | System.String |
Gets and sets the property LatestNotificationAttemptSucceeded. This field is no longer in use. |
|
LatestNotificationAttemptTime | System.String |
Gets and sets the property LatestNotificationAttemptTime. This field is no longer in use. |
|
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. |
|
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. |
|
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
StartLoggingTime | System.DateTime |
Gets and sets the property StartLoggingTime. Specifies the most recent date and time when CloudTrail started recording API calls for an Amazon Web Services account. |
|
StopLoggingTime | System.DateTime |
Gets and sets the property StopLoggingTime. Specifies the most recent date and time when CloudTrail stopped recording API calls for an Amazon Web Services account. |
|
TimeLoggingStarted | System.String |
Gets and sets the property TimeLoggingStarted. This field is no longer in use. |
|
TimeLoggingStopped | System.String |
Gets and sets the property TimeLoggingStopped. This field is no longer in use. |
.NET Core App:
Supported in: 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5, 4.0, 3.5