Skip to content

S3ObjectMetadata

Source code in docs_src/capo_s3_control/types/s3_object_metadata.py
class S3ObjectMetadata(TypedDict, closed=True):
    cache_control: NotRequired[
        "capo_s3_control.types.non_empty_max_length1024_string.NonEmptyMaxLength1024String"
    ]
    """<p></p>"""
    content_disposition: NotRequired[
        "capo_s3_control.types.non_empty_max_length1024_string.NonEmptyMaxLength1024String"
    ]
    """<p></p>"""
    content_encoding: NotRequired[
        "capo_s3_control.types.non_empty_max_length1024_string.NonEmptyMaxLength1024String"
    ]
    """<p></p>"""
    content_language: NotRequired[
        "capo_s3_control.types.non_empty_max_length1024_string.NonEmptyMaxLength1024String"
    ]
    """<p></p>"""
    user_metadata: NotRequired["capo_s3_control.types.s3_user_metadata.S3UserMetadata"]
    """<p></p>"""
    content_length: NotRequired[
        "capo_s3_control.types.s3_content_length.S3ContentLength"
    ]
    """<p> <i>This member has been deprecated.</i> </p> <p></p>"""
    content_md5: NotRequired[
        "capo_s3_control.types.non_empty_max_length1024_string.NonEmptyMaxLength1024String"
    ]
    """<p> <i>This member has been deprecated.</i> </p> <p></p>"""
    content_type: NotRequired[
        "capo_s3_control.types.non_empty_max_length1024_string.NonEmptyMaxLength1024String"
    ]
    """<p></p>"""
    http_expires_date: NotRequired["capo_s3_control.types.time_stamp.TimeStamp"]
    """<p></p>"""
    requester_charged: "capo_s3_control.types.boolean.Boolean"
    """<p> <i>This member has been deprecated.</i> </p> <p></p>"""
    sse_algorithm: NotRequired["capo_s3_control.types.s3_sse_algorithm.S3SSEAlgorithm"]
    """<p>The server-side encryption algorithm used when storing objects in Amazon S3.</p> <p> <b>Directory buckets </b> - For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (<code>AES256</code>) and server-side encryption with KMS keys (SSE-KMS) (<code>KMS</code>). For more information, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/s3-express-serv-side-encryption.html">Protecting data with server-side encryption</a> in the <i>Amazon S3 User Guide</i>. For <a href="https://docs.aws.amazon.com/AmazonS3/latest/userguide/directory-buckets-objects-Batch-Ops">the Copy operation in Batch Operations</a>, see <a href="https://docs.aws.amazon.com/AmazonS3/latest/API/API_control_S3CopyObjectOperation.html">S3CopyObjectOperation</a>.</p>"""

cache_control instance-attribute

cache_control: NotRequired[NonEmptyMaxLength1024String]

content_disposition instance-attribute

content_disposition: NotRequired[NonEmptyMaxLength1024String]

content_encoding instance-attribute

content_encoding: NotRequired[NonEmptyMaxLength1024String]

content_language instance-attribute

content_language: NotRequired[NonEmptyMaxLength1024String]

content_length instance-attribute

content_length: NotRequired[S3ContentLength]

This member has been deprecated.

content_md5 instance-attribute

content_md5: NotRequired[NonEmptyMaxLength1024String]

This member has been deprecated.

content_type instance-attribute

content_type: NotRequired[NonEmptyMaxLength1024String]

http_expires_date instance-attribute

http_expires_date: NotRequired[TimeStamp]

requester_charged instance-attribute

requester_charged: Boolean

This member has been deprecated.

sse_algorithm instance-attribute

sse_algorithm: NotRequired[S3SSEAlgorithm]

The server-side encryption algorithm used when storing objects in Amazon S3.

Directory buckets - For directory buckets, there are only two supported options for server-side encryption: server-side encryption with Amazon S3 managed keys (SSE-S3) (AES256) and server-side encryption with KMS keys (SSE-KMS) (KMS). For more information, see Protecting data with server-side encryption in the Amazon S3 User Guide. For the Copy operation in Batch Operations, see S3CopyObjectOperation.

user_metadata instance-attribute

user_metadata: NotRequired[S3UserMetadata]