GetTrailStatusResponse
public struct GetTrailStatusResponse : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
Whether the CloudTrail is currently logging AWS API calls.
Declaration
Swift
public let isLogging: Bool?
-
Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to CloudWatch Logs.
Declaration
Swift
public let latestCloudWatchLogsDeliveryError: String?
-
Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.
Declaration
Swift
public let latestCloudWatchLogsDeliveryTime: TimeStamp?
-
This field is no longer in use.
Declaration
Swift
public let latestDeliveryAttemptSucceeded: String?
-
This field is no longer in use.
Declaration
Swift
public let latestDeliveryAttemptTime: String?
-
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.
Declaration
Swift
public let latestDeliveryError: String?
-
Specifies the date and time that CloudTrail last delivered log files to an account’s Amazon S3 bucket.
Declaration
Swift
public let latestDeliveryTime: TimeStamp?
-
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.
Declaration
Swift
public let latestDigestDeliveryError: String?
-
Specifies the date and time that CloudTrail last delivered a digest file to an account’s Amazon S3 bucket.
Declaration
Swift
public let latestDigestDeliveryTime: TimeStamp?
-
This field is no longer in use.
Declaration
Swift
public let latestNotificationAttemptSucceeded: String?
-
This field is no longer in use.
Declaration
Swift
public let latestNotificationAttemptTime: String?
-
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.
Declaration
Swift
public let latestNotificationError: String?
-
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.
Declaration
Swift
public let latestNotificationTime: TimeStamp?
-
Specifies the most recent date and time when CloudTrail started recording API calls for an AWS account.
Declaration
Swift
public let startLoggingTime: TimeStamp?
-
Specifies the most recent date and time when CloudTrail stopped recording API calls for an AWS account.
Declaration
Swift
public let stopLoggingTime: TimeStamp?
-
This field is no longer in use.
Declaration
Swift
public let timeLoggingStarted: String?
-
This field is no longer in use.
Declaration
Swift
public let timeLoggingStopped: String?
-
init(isLogging:latestCloudWatchLogsDeliveryError:latestCloudWatchLogsDeliveryTime:latestDeliveryAttemptSucceeded:latestDeliveryAttemptTime:latestDeliveryError:latestDeliveryTime:latestDigestDeliveryError:latestDigestDeliveryTime:latestNotificationAttemptSucceeded:latestNotificationAttemptTime:latestNotificationError:latestNotificationTime:startLoggingTime:stopLoggingTime:timeLoggingStarted:timeLoggingStopped:)
Undocumented
Declaration
Swift
public init(isLogging: Bool? = nil, latestCloudWatchLogsDeliveryError: String? = nil, latestCloudWatchLogsDeliveryTime: TimeStamp? = nil, latestDeliveryAttemptSucceeded: String? = nil, latestDeliveryAttemptTime: String? = nil, latestDeliveryError: String? = nil, latestDeliveryTime: TimeStamp? = nil, latestDigestDeliveryError: String? = nil, latestDigestDeliveryTime: TimeStamp? = nil, latestNotificationAttemptSucceeded: String? = nil, latestNotificationAttemptTime: String? = nil, latestNotificationError: String? = nil, latestNotificationTime: TimeStamp? = nil, startLoggingTime: TimeStamp? = nil, stopLoggingTime: TimeStamp? = nil, timeLoggingStarted: String? = nil, timeLoggingStopped: String? = nil)