Skip to content

LoggingStatus

Source code in docs_src/capo_redshift/types/logging_status.py
class LoggingStatus(TypedDict, closed=True):
    logging_enabled: NotRequired["capo_redshift.types.boolean.Boolean"]
    """<p> <code>true</code> if logging is on, <code>false</code> if logging is off.</p>"""
    bucket_name: NotRequired["capo_redshift.types.string.String"]
    """<p>The name of the S3 bucket where the log files are stored.</p>"""
    s3_key_prefix: NotRequired[
        "capo_redshift.types.s3_key_prefix_value.S3KeyPrefixValue"
    ]
    """<p>The prefix applied to the log file names.</p>"""
    last_successful_delivery_time: NotRequired["capo_redshift.types.t_stamp.TStamp"]
    """<p>The last time that logs were delivered.</p>"""
    last_failure_time: NotRequired["capo_redshift.types.t_stamp.TStamp"]
    """<p>The last time when logs failed to be delivered.</p>"""
    last_failure_message: NotRequired["capo_redshift.types.string.String"]
    """<p>The message indicating that logs failed to be delivered.</p>"""
    log_destination_type: NotRequired[
        "capo_redshift.types.log_destination_type.LogDestinationType"
    ]
    """<p>The log destination type. An enum with possible values of <code>s3</code>, <code>cloudwatch</code>, and <code>s3table</code>.</p>"""
    log_exports: NotRequired["capo_redshift.types.log_type_list.LogTypeList"]
    """<p>The collection of exported log types. When <code>LogDestinationType</code> is <code>s3</code> or <code>cloudwatch</code>, possible values are <code>connectionlog</code>, <code>useractivitylog</code>, and <code>userlog</code>. When <code>LogDestinationType</code> is <code>s3table</code>, the values are the names of the system tables being published.</p>"""
    s3_tables: NotRequired[
        "capo_redshift.types.s3_table_publish_status.S3TablePublishStatus"
    ]
    """<p>The status of system table publishing to S3 Tables. This field is populated only when system table publishing is active.</p>"""

bucket_name instance-attribute

bucket_name: NotRequired[String]

The name of the S3 bucket where the log files are stored.

last_failure_message instance-attribute

last_failure_message: NotRequired[String]

The message indicating that logs failed to be delivered.

last_failure_time instance-attribute

last_failure_time: NotRequired[TStamp]

The last time when logs failed to be delivered.

last_successful_delivery_time instance-attribute

last_successful_delivery_time: NotRequired[TStamp]

The last time that logs were delivered.

log_destination_type instance-attribute

log_destination_type: NotRequired[LogDestinationType]

The log destination type. An enum with possible values of s3, cloudwatch, and s3table.

log_exports instance-attribute

log_exports: NotRequired[LogTypeList]

The collection of exported log types. When LogDestinationType is s3 or cloudwatch, possible values are connectionlog, useractivitylog, and userlog. When LogDestinationType is s3table, the values are the names of the system tables being published.

logging_enabled instance-attribute

logging_enabled: NotRequired[Boolean]

true if logging is on, false if logging is off.

s3_key_prefix instance-attribute

s3_key_prefix: NotRequired[S3KeyPrefixValue]

The prefix applied to the log file names.

s3_tables instance-attribute

s3_tables: NotRequired[S3TablePublishStatus]

The status of system table publishing to S3 Tables. This field is populated only when system table publishing is active.