Skip to content

ObjectVersion

Source code in docs_src/capo_s3/types/object_version.py
class ObjectVersion(TypedDict, closed=True):
    e_tag: NotRequired["capo_s3.types.e_tag.ETag"]
    """<p>The entity tag is an MD5 hash of that version of the object.</p>"""
    checksum_algorithm: NotRequired[
        "capo_s3.types.checksum_algorithm_list.ChecksumAlgorithmList"
    ]
    """<p>The algorithm that was used to create a checksum of the object.</p>"""
    checksum_type: NotRequired["capo_s3.types.checksum_type.ChecksumType"]
    """<p>The checksum type that is used to calculate the object’s checksum value. For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/checking-object-integrity.html">Checking object integrity</a> in the <i>Amazon S3 User Guide</i>.</p>"""
    size: NotRequired["capo_s3.types.size.Size"]
    """<p>Size in bytes of the object.</p>"""
    storage_class: NotRequired[
        "capo_s3.types.object_version_storage_class.ObjectVersionStorageClass"
    ]
    """<p>The class of storage used to store the object.</p>"""
    key: NotRequired["capo_s3.types.object_key.ObjectKey"]
    """<p>The object key.</p>"""
    version_id: NotRequired["capo_s3.types.object_version_id.ObjectVersionId"]
    """<p>Version ID of an object.</p>"""
    is_latest: NotRequired["capo_s3.types.is_latest.IsLatest"]
    """<p>Specifies whether the object is (true) or is not (false) the latest version of an object.</p>"""
    last_modified: NotRequired["capo_s3.types.last_modified.LastModified"]
    """<p>Date and time when the object was last modified.</p>"""
    owner: NotRequired["capo_s3.types.owner.Owner"]
    """<p>Specifies the owner of the object.</p>"""
    restore_status: NotRequired["capo_s3.types.restore_status.RestoreStatus"]
    """<p>Specifies the restoration status of an object. Objects in certain storage classes must be restored before they can be retrieved. For more information about these storage classes and how to work with archived objects, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/archived-objects.html"> Working with archived objects</a> in the <i>Amazon S3 User Guide</i>.</p>"""

checksum_algorithm instance-attribute

checksum_algorithm: NotRequired[ChecksumAlgorithmList]

The algorithm that was used to create a checksum of the object.

checksum_type instance-attribute

checksum_type: NotRequired[ChecksumType]

The checksum type that is used to calculate the object’s checksum value. For more information, see Checking object integrity in the Amazon S3 User Guide.

e_tag instance-attribute

e_tag: NotRequired[ETag]

The entity tag is an MD5 hash of that version of the object.

is_latest instance-attribute

is_latest: NotRequired[IsLatest]

Specifies whether the object is (true) or is not (false) the latest version of an object.

key instance-attribute

key: NotRequired[ObjectKey]

The object key.

last_modified instance-attribute

last_modified: NotRequired[LastModified]

Date and time when the object was last modified.

owner instance-attribute

owner: NotRequired[Owner]

Specifies the owner of the object.

restore_status instance-attribute

restore_status: NotRequired[RestoreStatus]

Specifies the restoration status of an object. Objects in certain storage classes must be restored before they can be retrieved. For more information about these storage classes and how to work with archived objects, see Working with archived objects in the Amazon S3 User Guide.

size instance-attribute

size: NotRequired[Size]

Size in bytes of the object.

storage_class instance-attribute

storage_class: NotRequired[ObjectVersionStorageClass]

The class of storage used to store the object.

version_id instance-attribute

version_id: NotRequired[ObjectVersionId]

Version ID of an object.