Skip to content

PutObjectRequest

rboto-s3==0.4.0 · Service index · Types

Public import: from rboto_s3.types import PutObjectRequest.

Used in: not referenced by operation signatures. Typed dictionary. Presence and nullability are separate: NotRequired permits omission; | None permits a null value.

PutObjectRequest = TypedDict(
    "PutObjectRequest",
    {
        "acl": NotRequired['ObjectCannedACL'],
        "body": NotRequired['bytes'],
        "bucket": Required['str'],
        "cache_control": NotRequired['str'],
        "content_disposition": NotRequired['str'],
        "content_encoding": NotRequired['str'],
        "content_language": NotRequired['str'],
        "content_length": NotRequired['int'],
        "content_md5": NotRequired['str'],
        "content_type": NotRequired['str'],
        "checksum_algorithm": NotRequired['ChecksumAlgorithm'],
        "checksum_crc32": NotRequired['str'],
        "checksum_crc32_c": NotRequired['str'],
        "checksum_crc64_nvme": NotRequired['str'],
        "checksum_sha1": NotRequired['str'],
        "checksum_sha256": NotRequired['str'],
        "checksum_sha512": NotRequired['str'],
        "checksum_md5": NotRequired['str'],
        "checksum_xxhash64": NotRequired['str'],
        "checksum_xxhash3": NotRequired['str'],
        "checksum_xxhash128": NotRequired['str'],
        "expires": NotRequired['str'],
        "if_match": NotRequired['str'],
        "if_none_match": NotRequired['str'],
        "grant_full_control": NotRequired['str'],
        "grant_read": NotRequired['str'],
        "grant_read_acp": NotRequired['str'],
        "grant_write_acp": NotRequired['str'],
        "key": Required['str'],
        "write_offset_bytes": NotRequired['int'],
        "metadata": NotRequired['dict[str, str]'],
        "server_side_encryption": NotRequired['ServerSideEncryption'],
        "storage_class": NotRequired['StorageClass'],
        "website_redirect_location": NotRequired['str'],
        "sse_customer_algorithm": NotRequired['str'],
        "sse_customer_key": NotRequired['str'],
        "sse_customer_key_md5": NotRequired['str'],
        "ssekms_key_id": NotRequired['str'],
        "ssekms_encryption_context": NotRequired['str'],
        "bucket_key_enabled": NotRequired['bool'],
        "request_payer": NotRequired['RequestPayer'],
        "tagging": NotRequired['str'],
        "object_lock_mode": NotRequired['ObjectLockMode'],
        "object_lock_retain_until_date": NotRequired['str'],
        "object_lock_legal_hold_status": NotRequired['ObjectLockLegalHoldStatus'],
        "object_lock_event_hold": NotRequired['ObjectLockEventHold'],
        "object_lock_event_hold_duration_days": NotRequired['int'],
        "object_lock_event_hold_duration_years": NotRequired['int'],
        "expected_bucket_owner": NotRequired['str'],
    },
)

ChecksumAlgorithm, ObjectCannedACL, ObjectLockEventHold, ObjectLockLegalHoldStatus, ObjectLockMode, RequestPayer, ServerSideEncryption, StorageClass