Returns information about a specified object.
![](../icons/collapse_all.gif)
C# |
public GetObjectMetadataResponse GetObjectMetadata( GetObjectMetadataRequest request )
![](../icons/collapse_all.gif)
- request (GetObjectMetadataRequest)
- The GetObjectMetadataRequest that defines the parameters of the operation.
![](../icons/collapse_all.gif)
Returns a GetObjectMetadataResponse from S3.
![](../icons/collapse_all.gif)
Retrieves information about a specific object or object size, without actually fetching the object itself.
This is useful if you're only interested in the object metadata, and don't want to waste bandwidth on the object data.
The response is identical to the GetObject response, except that there is no response body.
![](../icons/collapse_all.gif)
Exception | Condition |
---|---|
ArgumentNullException | |
WebException | |
AmazonS3Exception |