You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CloudTrail::Types::GetTrailStatusResponse

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

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

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#is_loggingBoolean

Whether the CloudTrail is currently logging AWS API calls.

Returns:

  • (Boolean)

    Whether the CloudTrail is currently logging AWS API calls.

#latest_cloud_watch_logs_delivery_errorString

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

Returns:

  • (String)

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

#latest_cloud_watch_logs_delivery_timeTime

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

Returns:

  • (Time)

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

#latest_delivery_attempt_succeededString

This field is deprecated.

Returns:

  • (String)

    This field is deprecated.

#latest_delivery_attempt_timeString

This field is deprecated.

Returns:

  • (String)

    This field is deprecated.

#latest_delivery_errorString

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.

Returns:

  • (String)

    Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver log files to the designated bucket.

#latest_delivery_timeTime

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

Returns:

  • (Time)

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

#latest_digest_delivery_errorString

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.

Returns:

  • (String)

    Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver a digest file to the designated bucket.

#latest_digest_delivery_timeTime

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

Returns:

  • (Time)

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

#latest_notification_attempt_succeededString

This field is deprecated.

Returns:

  • (String)

    This field is deprecated.

#latest_notification_attempt_timeString

This field is deprecated.

Returns:

  • (String)

    This field is deprecated.

#latest_notification_errorString

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.

Returns:

  • (String)

    Displays any Amazon SNS error that CloudTrail encountered when attempting to send a notification.

#latest_notification_timeTime

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.

Returns:

  • (Time)

    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.

#start_logging_timeTime

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

Returns:

  • (Time)

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

#stop_logging_timeTime

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

Returns:

  • (Time)

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

#time_logging_startedString

This field is deprecated.

Returns:

  • (String)

    This field is deprecated.

#time_logging_stoppedString

This field is deprecated.

Returns:

  • (String)

    This field is deprecated.