Skip to content

GetTrailStatusResponse

Source code in docs_src/capo_cloudtrail/types/get_trail_status_response.py
class GetTrailStatusResponse(TypedDict, closed=True):
    is_logging: NotRequired["capo_cloudtrail.types.boolean.Boolean"]
    """<p>Whether the CloudTrail trail is currently logging Amazon Web Services API calls.</p>"""
    latest_delivery_error: NotRequired["capo_cloudtrail.types.string.String"]
    """<p>Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver log files to the designated bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html">Error Responses</a> in the Amazon S3 API Reference. </p> <note> <p>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, fix the <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/create-s3-bucket-policy-for-cloudtrail.html">bucket policy</a> so that CloudTrail can write to the bucket; or create a new bucket and call <code>UpdateTrail</code> to specify the new bucket.</p> </note>"""
    latest_notification_error: NotRequired["capo_cloudtrail.types.string.String"]
    """<p>Displays any Amazon SNS error that CloudTrail encountered when attempting to send a notification. For more information about Amazon SNS errors, see the <a href="https://docs.aws.amazon.com/sns/latest/dg/welcome.html">Amazon SNS Developer Guide</a>. </p>"""
    latest_delivery_time: NotRequired["capo_cloudtrail.types.date.Date"]
    """<p>Specifies the date and time that CloudTrail last delivered log files to an account's Amazon S3 bucket.</p>"""
    latest_notification_time: NotRequired["capo_cloudtrail.types.date.Date"]
    """<p>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.</p>"""
    start_logging_time: NotRequired["capo_cloudtrail.types.date.Date"]
    """<p>Specifies the most recent date and time when CloudTrail started recording API calls for an Amazon Web Services account.</p>"""
    stop_logging_time: NotRequired["capo_cloudtrail.types.date.Date"]
    """<p>Specifies the most recent date and time when CloudTrail stopped recording API calls for an Amazon Web Services account.</p>"""
    latest_cloud_watch_logs_delivery_error: NotRequired[
        "capo_cloudtrail.types.string.String"
    ]
    """<p>Displays any CloudWatch Logs error that CloudTrail encountered when attempting to deliver logs to CloudWatch Logs.</p>"""
    latest_cloud_watch_logs_delivery_time: NotRequired[
        "capo_cloudtrail.types.date.Date"
    ]
    """<p>Displays the most recent date and time when CloudTrail delivered logs to CloudWatch Logs.</p>"""
    latest_digest_delivery_time: NotRequired["capo_cloudtrail.types.date.Date"]
    """<p>Specifies the date and time that CloudTrail last delivered a digest file to an account's Amazon S3 bucket.</p>"""
    latest_digest_delivery_error: NotRequired["capo_cloudtrail.types.string.String"]
    """<p>Displays any Amazon S3 error that CloudTrail encountered when attempting to deliver a digest file to the designated bucket. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html">Error Responses</a> in the Amazon S3 API Reference. </p> <note> <p>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, fix the <a href="https://docs.aws.amazon.com/awscloudtrail/latest/userguide/create-s3-bucket-policy-for-cloudtrail.html">bucket policy</a> so that CloudTrail can write to the bucket; or create a new bucket and call <code>UpdateTrail</code> to specify the new bucket.</p> </note>"""
    latest_delivery_attempt_time: NotRequired["capo_cloudtrail.types.string.String"]
    """<p>This field is no longer in use.</p>"""
    latest_notification_attempt_time: NotRequired["capo_cloudtrail.types.string.String"]
    """<p>This field is no longer in use.</p>"""
    latest_notification_attempt_succeeded: NotRequired[
        "capo_cloudtrail.types.string.String"
    ]
    """<p>This field is no longer in use.</p>"""
    latest_delivery_attempt_succeeded: NotRequired[
        "capo_cloudtrail.types.string.String"
    ]
    """<p>This field is no longer in use.</p>"""
    time_logging_started: NotRequired["capo_cloudtrail.types.string.String"]
    """<p>This field is no longer in use.</p>"""
    time_logging_stopped: NotRequired["capo_cloudtrail.types.string.String"]
    """<p>This field is no longer in use.</p>"""

is_logging instance-attribute

is_logging: NotRequired[Boolean]

Whether the CloudTrail trail is currently logging Amazon Web Services API calls.

latest_cloud_watch_logs_delivery_error instance-attribute

latest_cloud_watch_logs_delivery_error: NotRequired[String]

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

latest_cloud_watch_logs_delivery_time instance-attribute

latest_cloud_watch_logs_delivery_time: NotRequired[Date]

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

latest_delivery_attempt_succeeded instance-attribute

latest_delivery_attempt_succeeded: NotRequired[String]

This field is no longer in use.

latest_delivery_attempt_time instance-attribute

latest_delivery_attempt_time: NotRequired[String]

This field is no longer in use.

latest_delivery_error instance-attribute

latest_delivery_error: NotRequired[String]

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, fix the bucket policy so that CloudTrail can write to the bucket; or create a new bucket and call UpdateTrail to specify the new bucket.

latest_delivery_time instance-attribute

latest_delivery_time: NotRequired[Date]

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

latest_digest_delivery_error instance-attribute

latest_digest_delivery_error: NotRequired[String]

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, fix the bucket policy so that CloudTrail can write to the bucket; or create a new bucket and call UpdateTrail to specify the new bucket.

latest_digest_delivery_time instance-attribute

latest_digest_delivery_time: NotRequired[Date]

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

latest_notification_attempt_succeeded instance-attribute

latest_notification_attempt_succeeded: NotRequired[String]

This field is no longer in use.

latest_notification_attempt_time instance-attribute

latest_notification_attempt_time: NotRequired[String]

This field is no longer in use.

latest_notification_error instance-attribute

latest_notification_error: NotRequired[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.

latest_notification_time instance-attribute

latest_notification_time: NotRequired[Date]

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_time instance-attribute

start_logging_time: NotRequired[Date]

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

stop_logging_time instance-attribute

stop_logging_time: NotRequired[Date]

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

time_logging_started instance-attribute

time_logging_started: NotRequired[String]

This field is no longer in use.

time_logging_stopped instance-attribute

time_logging_stopped: NotRequired[String]

This field is no longer in use.