AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Returns information about the HeadObject response and response metadata.
Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z
public class GetObjectMetadataResponse : AmazonWebServiceResponse
The GetObjectMetadataResponse type exposes the following members
Name | Description | |
---|---|---|
GetObjectMetadataResponse() |
Name | Type | Description | |
---|---|---|---|
AcceptRanges | System.String |
Gets and sets the AcceptRanges. |
|
ArchiveStatus | Amazon.S3.ArchiveStatus |
Gets and sets the property ArchiveStatus. The archive state of the head object. This functionality is not supported for directory buckets. |
|
BucketKeyEnabled | System.Boolean |
Gets and sets the property BucketKeyEnabled. Indicates whether the object uses an S3 Bucket Key for server-side encryption with Key Management Service (KMS) keys (SSE-KMS). |
|
ChecksumCRC32 | System.String |
Gets and sets the property ChecksumCRC32. The base64-encoded, 32-bit CRC-32 checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide. |
|
ChecksumCRC32C | System.String |
Gets and sets the property ChecksumCRC32C. The base64-encoded, 32-bit CRC-32C checksum of the object. This will only be present if it was uploaded with the object. When you use an API operation on an object that was uploaded using multipart uploads, this value may not be a direct checksum value of the full object. Instead, it's a calculation based on the checksum values of each individual part. For more information about how checksums are calculated with multipart uploads, see Checking object integrity in the Amazon S3 User Guide. |
|
ChecksumSHA1 | System.String |
Gets and sets the property ChecksumSHA1. The base64-encoded, 160-bit SHA-1 digest of the object. |
|
ChecksumSHA256 | System.String |
Gets and sets the property ChecksumSHA256. The base64-encoded, 256-bit SHA-256 digest of the object. |
|
ContentLength | System.Int64 | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
ContentRange | System.String |
Gets and sets the ContentRange. |
|
DeleteMarker | System.String |
Gets and sets the property DeleteMarker. Specifies whether the object retrieved was (true) or was not (false) a Delete Marker. If false, this response header does not appear in the response. This functionality is not supported for directory buckets. |
|
ETag | System.String |
An ETag is an opaque identifier assigned by a web server to a specific version of a resource found at a URL |
|
Expiration | Amazon.S3.Model.Expiration |
Gets and sets the Expiration property.
Specifies the expiration date for the object and the
rule governing the expiration.
Is null if expiration is not applicable.
This functionality is not supported for directory buckets.
|
|
Expires | System.DateTime |
The date and time at which the object is no longer cacheable. |
|
ExpiresString | System.String |
The date and time at which the object is no longer cacheable. |
|
Headers | Amazon.S3.Model.HeadersCollection |
The collection of headers for the request. |
|
HttpStatusCode | System.Net.HttpStatusCode | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
LastModified | System.DateTime |
Gets and sets the property LastModified. Date and time when the object was last modified. |
|
Metadata | Amazon.S3.Model.MetadataCollection |
The collection of meta data for the request. |
|
MissingMeta | System.Int32 |
Gets and sets the property MissingMeta.
This is set to the number of metadata entries not returned in This functionality is not supported for directory buckets. |
|
ObjectLockLegalHoldStatus | Amazon.S3.ObjectLockLegalHoldStatus |
Gets and sets the property ObjectLockLegalHoldStatus.
Specifies whether a legal hold is in effect for this object. This header is only returned
if the requester has the This functionality is not supported for directory buckets. |
|
ObjectLockMode | Amazon.S3.ObjectLockMode |
Gets and sets the property ObjectLockMode.
The Object Lock mode, if any, that's in effect for this object. This header is only
returned if the requester has the This functionality is not supported for directory buckets. |
|
ObjectLockRetainUntilDate | System.DateTime |
Gets and sets the property ObjectLockRetainUntilDate.
The date and time when the Object Lock retention period expires. This header is only
returned if the requester has the This functionality is not supported for directory buckets. |
|
PartsCount | System.Nullable<System.Int32> |
The count of parts this object has. |
|
ReplicationStatus | Amazon.S3.ReplicationStatus |
Amazon S3 can return this header if your request involves a bucket that is either a source or a destination in a replication rule. In replication,
you have a source bucket on which you configure replication and destination bucket or buckets
where Amazon S3 stores object replicas. When you request an object (
For more information, see Replication. |
|
RequestCharged | Amazon.S3.RequestCharged |
If present, indicates that the requester was successfully charged for the request. |
|
ResponseMetadata | Amazon.Runtime.ResponseMetadata | Inherited from Amazon.Runtime.AmazonWebServiceResponse. | |
RestoreExpiration | System.Nullable<System.DateTime> |
Gets and sets the RestoreExpiration property. RestoreExpiration will be set for objects that have been restored from Amazon Glacier. It indiciates for those objects how long the restored object will exist. |
|
RestoreInProgress | System.Boolean |
Gets and sets the RestoreInProgress Will be true when the object is in the process of being restored from Amazon Glacier. |
|
ServerSideEncryptionCustomerMethod | Amazon.S3.ServerSideEncryptionCustomerMethod |
The Server-side encryption algorithm to be used with the customer provided key.
For directory buckets, only server-side encryption with Amazon S3 managed keys (SSE-S3)
( |
|
ServerSideEncryptionKeyManagementServiceKeyId | System.String |
If present, indicates the ID of the KMS key that was used for object encryption. |
|
ServerSideEncryptionMethod | Amazon.S3.ServerSideEncryptionMethod |
The Server-side encryption algorithm used when storing this object in S3.
The server-side encryption algorithm used when you store this object in Amazon S3 (for example, |
|
StorageClass | Amazon.S3.S3StorageClass |
Gets and sets the property StorageClass. Provides storage class information of the object. Amazon S3 returns this header for all objects except for S3 Standard storage class objects. For more information, see Storage Classes. Directory buckets - Only the S3 Express One Zone storage class is supported by directory buckets to store objects. |
|
VersionId | System.String |
Gets and sets the property VersionId. Version ID of the object. This functionality is not supported for directory buckets. |
|
WebsiteRedirectLocation | System.String |
Gets and sets the property 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. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5