S3Manager.

GetObjectMetaData(string, string, S3Settings, CancellationToken) Method

Summary

Retrieves object Metadata from Amazon S3.
Assembly
Cake.AWS.S3.dll
Namespace
Cake.AWS.S3
Containing Type
S3Manager

Syntax

public Task<MetadataCollection> GetObjectMetaData(string key, string version, S3Settings settings, CancellationToken cancellationToken = null)

Attributes

Type Description
AsyncStateMachineAttribute

Parameters

Name Type Description
key string The key under which the Amazon S3 object is stored.
version string The identifier for the specific version of the object to be deleted, if required.
settings S3Settings The S3Settings required to download from Amazon S3.
cancellationToken CancellationToken A cancellation token that can be used by other objects or threads to receive notice of cancellation.

Return Value

Type Description
Task<MetadataCollection>