AWS SDK Version 3 for .NET
API Reference

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.

This is the response object from the GetObjectAttributes operation.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceResponse
    Amazon.S3.Model.GetObjectAttributesResponse

Namespace: Amazon.S3.Model
Assembly: AWSSDK.S3.dll
Version: 3.x.y.z

Syntax

C#
public class GetObjectAttributesResponse : AmazonWebServiceResponse

The GetObjectAttributesResponse type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Checksum Amazon.S3.Model.Checksum

Gets and sets the property Checksum.

The checksum or digest of the object.

Public Property ContentLength System.Int64 Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property DeleteMarker System.Boolean

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.

Public Property ETag System.String

Gets and sets the property ETag.

An ETag is an opaque identifier assigned by a web server to a specific version of a resource found at a URL.

Public Property HttpStatusCode System.Net.HttpStatusCode Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property LastModified System.DateTime

Gets and sets the property LastModified.

Creation date of the object.

Public Property ObjectParts Amazon.S3.Model.GetObjectAttributesParts

Gets and sets the property ObjectParts.

A collection of parts associated with a multipart upload.

Public Property ObjectSize System.Int64

Gets and sets the property ObjectSize.

The size of the object in bytes.

Public Property RequestCharged Amazon.S3.RequestCharged

Gets and sets the property RequestCharged.

Public Property ResponseMetadata Amazon.Runtime.ResponseMetadata Inherited from Amazon.Runtime.AmazonWebServiceResponse.
Public Property 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.

Public Property VersionId System.String

Gets and sets the property VersionId.

Version of the object.

This functionality is not supported for directory buckets.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5