Skip to content

Archive

Source code in docs_src/capo_eventbridge/types/archive.py
class Archive(TypedDict, closed=True):
    archive_name: NotRequired["capo_eventbridge.types.archive_name.ArchiveName"]
    """<p>The name of the archive.</p>"""
    event_source_arn: NotRequired["capo_eventbridge.types.event_bus_arn.EventBusArn"]
    """<p>The ARN of the event bus associated with the archive. Only events from this event bus are sent to the archive.</p>"""
    state: NotRequired["capo_eventbridge.types.archive_state.ArchiveState"]
    """<p>The current state of the archive.</p>"""
    state_reason: NotRequired[
        "capo_eventbridge.types.archive_state_reason.ArchiveStateReason"
    ]
    """<p>A description for the reason that the archive is in the current state.</p>"""
    retention_days: NotRequired["capo_eventbridge.types.retention_days.RetentionDays"]
    """<p>The number of days to retain events in the archive before they are deleted.</p>"""
    size_bytes: "capo_eventbridge.types.long.Long"
    """<p>The size of the archive, in bytes.</p>"""
    event_count: "capo_eventbridge.types.long.Long"
    """<p>The number of events in the archive.</p>"""
    creation_time: NotRequired["capo_eventbridge.types.timestamp.Timestamp"]
    """<p>The time stamp for the time that the archive was created.</p>"""

archive_name instance-attribute

archive_name: NotRequired[ArchiveName]

The name of the archive.

creation_time instance-attribute

creation_time: NotRequired[Timestamp]

The time stamp for the time that the archive was created.

event_count instance-attribute

event_count: Long

The number of events in the archive.

event_source_arn instance-attribute

event_source_arn: NotRequired[EventBusArn]

The ARN of the event bus associated with the archive. Only events from this event bus are sent to the archive.

retention_days instance-attribute

retention_days: NotRequired[RetentionDays]

The number of days to retain events in the archive before they are deleted.

size_bytes instance-attribute

size_bytes: Long

The size of the archive, in bytes.

state instance-attribute

state: NotRequired[ArchiveState]

The current state of the archive.

state_reason instance-attribute

state_reason: NotRequired[ArchiveStateReason]

A description for the reason that the archive is in the current state.