GetObjectMetadataRequest Class

.NET Framework 4.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Container for the parameters to the HeadObject operation.

The HEAD operation retrieves metadata from an object without returning the object itself. This operation is useful if you''re only interested in an object''s metadata. To use HEAD, you must have READ access to the object.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.S3.Model.GetObjectMetadataRequest

Namespace: Amazon.S3.Model
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class GetObjectMetadataRequest : AmazonWebServiceRequest
         IRequestEvents

The GetObjectMetadataRequest type exposes the following members

Constructors

  Name Description
Public Method GetObjectMetadataRequest()

Properties

  Name Description
Public Property BucketName The name of the bucket that contains the object.
Public Property EtagToMatch ETag to be matched as a pre-condition for returning the object, otherwise a PreconditionFailed signal is returned.
Public Property EtagToNotMatch ETag that should not be matched as a pre-condition for returning the object, otherwise a PreconditionFailed signal is returned.
Public Property Key The key of the object.
Public Property ModifiedSinceDate Returns the object only if it has been modified since the specified time, otherwise returns a PreconditionFailed.
Public Property UnmodifiedSinceDate Returns the object only if it has not been modified since the specified time, otherwise returns a PreconditionFailed.
Public Property VersionId VersionId used to reference a specific version of the object.

Version Information

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

.NET for Windows Store apps:
Supported in: Windows 8

.NET for Windows Phone:
Supported in: Window Phone 8