GetObjectOutput
¶
Source code in docs_src/capo_s3/types/get_object_output.py
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 | |
accept_ranges
instance-attribute
¶
accept_ranges: NotRequired[AcceptRanges]
Indicates that a range of bytes was specified in the request.
bucket_key_enabled
instance-attribute
¶
bucket_key_enabled: NotRequired[BucketKeyEnabled]
Indicates whether the object uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS).
cache_control
instance-attribute
¶
cache_control: NotRequired[CacheControl]
Specifies caching behavior along the request/reply chain.
checksum_crc32
instance-attribute
¶
checksum_crc32: NotRequired[ChecksumCRC32]
The Base64 encoded, 32-bit CRC32 checksum of the object. This checksum is only present if the checksum was uploaded with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
checksum_crc32_c
instance-attribute
¶
checksum_crc32_c: NotRequired[ChecksumCRC32C]
The Base64 encoded, 32-bit CRC32C checksum of the object. This checksum is only present if the checksum was uploaded with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
checksum_crc64_nvme
instance-attribute
¶
checksum_crc64_nvme: NotRequired[ChecksumCRC64NVME]
The Base64 encoded, 64-bit CRC64NVME checksum of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
checksum_md5
instance-attribute
¶
checksum_md5: NotRequired[ChecksumMD5]
The Base64 encoded, 128-bit MD5 digest of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
checksum_sha1
instance-attribute
¶
checksum_sha1: NotRequired[ChecksumSHA1]
The Base64 encoded, 160-bit SHA1 digest of the object. This checksum is only present if the checksum was uploaded with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
checksum_sha256
instance-attribute
¶
checksum_sha256: NotRequired[ChecksumSHA256]
The Base64 encoded, 256-bit SHA256 digest of the object. This checksum is only present if the checksum was uploaded with the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
checksum_sha512
instance-attribute
¶
checksum_sha512: NotRequired[ChecksumSHA512]
The Base64 encoded, 512-bit SHA512 digest of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
checksum_type
instance-attribute
¶
checksum_type: NotRequired[ChecksumType]
The checksum type, which determines how part-level checksums are combined to create an object-level checksum for multipart objects. You can use this header response to verify that the checksum type that is received is the same checksum type that was specified in the CreateMultipartUpload request. For more information, see Checking object integrity in the Amazon S3 User Guide.
checksum_xxhash128
instance-attribute
¶
checksum_xxhash128: NotRequired[ChecksumXXHASH128]
The Base64 encoded, 128-bit XXHASH128 checksum of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
checksum_xxhash3
instance-attribute
¶
checksum_xxhash3: NotRequired[ChecksumXXHASH3]
The Base64 encoded, 64-bit XXHASH3 checksum of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
checksum_xxhash64
instance-attribute
¶
checksum_xxhash64: NotRequired[ChecksumXXHASH64]
The Base64 encoded, 64-bit XXHASH64 checksum of the object. For more information, see Checking object integrity in the Amazon S3 User Guide.
content_disposition
instance-attribute
¶
content_disposition: NotRequired[ContentDisposition]
Specifies presentational information for the object.
content_encoding
instance-attribute
¶
content_encoding: NotRequired[ContentEncoding]
Indicates what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.
content_language
instance-attribute
¶
content_language: NotRequired[ContentLanguage]
The language the content is in.
content_length
instance-attribute
¶
content_length: NotRequired[ContentLength]
Size of the body in bytes.
content_range
instance-attribute
¶
content_range: NotRequired[ContentRange]
The portion of the object returned in the response.
content_type
instance-attribute
¶
content_type: NotRequired[ContentType]
A standard MIME type describing the format of the object data.
delete_marker
instance-attribute
¶
delete_marker: NotRequired[DeleteMarker]
Indicates whether the object retrieved was (true) or was not (false) a Delete Marker. If false, this response header does not appear in the response.
-
If the current version of the object is a delete marker, Amazon S3 behaves as if the object was deleted and includes
x-amz-delete-marker: truein the response. -
If the specified version in the request is a delete marker, the response returns a
405 Method Not Allowederror and theLast-Modified: timestampresponse header.
e_tag
instance-attribute
¶
e_tag: NotRequired[ETag]
An entity tag (ETag) is an opaque identifier assigned by a web server to a specific version of a resource found at a URL.
expiration
instance-attribute
¶
expiration: NotRequired[Expiration]
If the object expiration is configured (see PutBucketLifecycleConfiguration ), the response includes this header. It includes the expiry-date and rule-id key-value pairs providing object expiration information. The value of the rule-id is URL-encoded.
Object expiration information is not returned in directory buckets and this header returns the value "NotImplemented" in all responses for directory buckets.
expires
instance-attribute
¶
expires: NotRequired[Expires]
The date and time at which the object is no longer cacheable.
last_modified
instance-attribute
¶
last_modified: NotRequired[LastModified]
Date and time when the object was last modified.
General purpose buckets - When you specify a versionId of the object in your request, if the specified version in the request is a delete marker, the response returns a 405 Method Not Allowed error and the Last-Modified: timestamp response header.
metadata
instance-attribute
¶
metadata: NotRequired[Metadata]
A map of metadata to store with the object in S3.
missing_meta
instance-attribute
¶
missing_meta: NotRequired[MissingMeta]
This is set to the number of metadata entries not returned in the headers that are prefixed with x-amz-meta-. This can happen if you create metadata using an API like SOAP that supports more flexible metadata than the REST API. For example, using SOAP, you can create metadata whose values are not legal HTTP headers.
This functionality is not supported for directory buckets.
object_lock_event_hold
instance-attribute
¶
object_lock_event_hold: NotRequired[ObjectLockEventHold]
The event hold status for this object. This header is only returned if the requester has the s3:GetObjectRetention permission.
This functionality is not supported for directory buckets.
object_lock_event_hold_duration_days
instance-attribute
¶
object_lock_event_hold_duration_days: NotRequired[ObjectLockEventHoldDurationDays]
The event hold duration in days for this object. Only returned when the event hold is enabled.
This functionality is not supported for directory buckets.
object_lock_event_hold_duration_years
instance-attribute
¶
object_lock_event_hold_duration_years: NotRequired[ObjectLockEventHoldDurationYears]
The event hold duration in years for this object. Only returned when the event hold is enabled.
This functionality is not supported for directory buckets.
object_lock_legal_hold_status
instance-attribute
¶
object_lock_legal_hold_status: NotRequired[ObjectLockLegalHoldStatus]
Indicates whether this object has an active legal hold. This field is only returned if you have permission to view an object's legal hold status.
This functionality is not supported for directory buckets.
object_lock_mode
instance-attribute
¶
object_lock_mode: NotRequired[ObjectLockMode]
The Object Lock mode that's currently in place for this object.
This functionality is not supported for directory buckets.
object_lock_retain_until_date
instance-attribute
¶
object_lock_retain_until_date: NotRequired[ObjectLockRetainUntilDate]
The date and time when this object's Object Lock will expire.
This functionality is not supported for directory buckets.
parts_count
instance-attribute
¶
parts_count: NotRequired[PartsCount]
The count of parts this object has. This value is only returned if you specify partNumber in your request and the object was uploaded as a multipart upload.
replication_status
instance-attribute
¶
replication_status: NotRequired[ReplicationStatus]
Amazon S3 can return this if your request involves a bucket that is either a source or destination in a replication rule.
This functionality is not supported for directory buckets.
restore
instance-attribute
¶
restore: NotRequired[Restore]
Provides information about object restoration action and expiration time of the restored object copy.
This functionality is not supported for directory buckets. Directory buckets only support EXPRESS_ONEZONE (the S3 Express One Zone storage class) in Availability Zones and ONEZONE_IA (the S3 One Zone-Infrequent Access storage class) in Dedicated Local Zones.
server_side_encryption
instance-attribute
¶
server_side_encryption: NotRequired[ServerSideEncryption]
The server-side encryption algorithm used when you store this object in Amazon S3 or Amazon FSx.
When accessing data stored in Amazon FSx file systems using S3 access points, the only valid server side encryption option is aws:fsx.
sse_customer_algorithm
instance-attribute
¶
sse_customer_algorithm: NotRequired[SSECustomerAlgorithm]
If server-side encryption with a customer-provided encryption key was requested, the response will include this header to confirm the encryption algorithm that's used.
This functionality is not supported for directory buckets.
sse_customer_key_md5
instance-attribute
¶
sse_customer_key_md5: NotRequired[SSECustomerKeyMD5]
If server-side encryption with a customer-provided encryption key was requested, the response will include this header to provide the round-trip message integrity verification of the customer-provided encryption key.
This functionality is not supported for directory buckets.
ssekms_key_id
instance-attribute
¶
ssekms_key_id: NotRequired[SSEKMSKeyId]
If present, indicates the ID of the KMS key that was used for object encryption.
storage_class
instance-attribute
¶
storage_class: NotRequired[StorageClass]
Provides storage class information of the object. Amazon S3 returns this header for all objects except for S3 Standard storage class objects.
Directory buckets - Directory buckets only support EXPRESS_ONEZONE (the S3 Express One Zone storage class) in Availability Zones and ONEZONE_IA (the S3 One Zone-Infrequent Access storage class) in Dedicated Local Zones.
tag_count
instance-attribute
¶
tag_count: NotRequired[TagCount]
The number of tags, if any, on the object, when you have the relevant permission to read object tags.
You can use GetObjectTagging to retrieve the tag set associated with an object.
This functionality is not supported for directory buckets.
version_id
instance-attribute
¶
version_id: NotRequired[ObjectVersionId]
Version ID of the object.
This functionality is not supported for directory buckets.
website_redirect_location
instance-attribute
¶
website_redirect_location: NotRequired[WebsiteRedirectLocation]
If the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL. Amazon S3 stores the value of this header in the object metadata.
This functionality is not supported for directory buckets.