Skip to content

RecordExpiration

Source code in docs_src/capo_s3/types/record_expiration.py
class RecordExpiration(TypedDict, closed=True):
    expiration: "capo_s3.types.expiration_state.ExpirationState"
    """<p> Specifies whether journal table record expiration is enabled or disabled. </p>"""
    days: NotRequired["capo_s3.types.record_expiration_days.RecordExpirationDays"]
    """<p> If you enable journal table record expiration, you can set the number of days to retain your journal table records. Journal table records must be retained for a minimum of 7 days. To set this value, specify any whole number from <code>7</code> to <code>2147483647</code>. For example, to retain your journal table records for one year, set this value to <code>365</code>. </p>"""

days instance-attribute

days: NotRequired[RecordExpirationDays]

If you enable journal table record expiration, you can set the number of days to retain your journal table records. Journal table records must be retained for a minimum of 7 days. To set this value, specify any whole number from 7 to 2147483647. For example, to retain your journal table records for one year, set this value to 365.

expiration instance-attribute

expiration: ExpirationState

Specifies whether journal table record expiration is enabled or disabled.