IS3Manager.

GetObjects(string, S3Settings, CancellationToken) Method

Summary

Returns all the objects in a S3 bucket.
Assembly
Cake.AWS.S3.dll
Namespace
Cake.AWS.S3
Containing Type
IS3Manager

Syntax

Task<IList<S3Object>> GetObjects(string prefix, S3Settings settings, CancellationToken cancellationToken = null)

Parameters

Name Type Description
prefix string Limits the response to keys that begin with the specified prefix.
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<IList<S3Object>>