Skip to content

Transition

Source code in docs_src/capo_s3_control/types/transition.py
class Transition(TypedDict, closed=True):
    date: NotRequired["capo_s3_control.types.date.Date"]
    """<p>Indicates when objects are transitioned to the specified storage class. The date value must be in ISO 8601 format. The time is always midnight UTC.</p>"""
    days: "capo_s3_control.types.days.Days"
    """<p>Indicates the number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer.</p>"""
    storage_class: NotRequired[
        "capo_s3_control.types.transition_storage_class.TransitionStorageClass"
    ]
    """<p>The storage class to which you want the object to transition.</p>"""

date instance-attribute

date: NotRequired[Date]

Indicates when objects are transitioned to the specified storage class. The date value must be in ISO 8601 format. The time is always midnight UTC.

days instance-attribute

days: Days

Indicates the number of days after creation when objects are transitioned to the specified storage class. The value must be a positive integer.

storage_class instance-attribute

storage_class: NotRequired[TransitionStorageClass]

The storage class to which you want the object to transition.