Skip to content

Transition

Source code in docs_src/capo_s3/types/transition.py
class Transition(TypedDict, closed=True):
    date: NotRequired["capo_s3.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: NotRequired["capo_s3.types.days.Days"]
    """<p>Indicates the number of days after creation when objects are transitioned to the specified storage class. The value can be <code>0</code> or any positive integer. Be aware that some storage classes have a minimum storage duration and that you're charged for transitioning objects before their minimum storage duration. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/lifecycle-transition-general-considerations.html#lifecycle-configuration-constraints"> Constraints and considerations for transitions</a> in the <i>Amazon S3 User Guide</i>.</p>"""
    storage_class: NotRequired[
        "capo_s3.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: NotRequired[Days]

Indicates the number of days after creation when objects are transitioned to the specified storage class. The value can be 0 or any positive integer. Be aware that some storage classes have a minimum storage duration and that you're charged for transitioning objects before their minimum storage duration. For more information, see Constraints and considerations for transitions in the Amazon S3 User Guide.

storage_class instance-attribute

storage_class: NotRequired[TransitionStorageClass]

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