S3Manager.

Delete(IList<string>, S3Settings, CancellationToken) Method

Summary

Deletes a collection of files to S3. For large uploads, the file will be divided and uploaded in parts using Amazon S3's multipart API. The parts will be reassembled as one object in Amazon S3.
Assembly
Cake.AWS.S3.dll
Namespace
Cake.AWS.S3
Containing Type
S3Manager

Syntax

public Task Delete(IList<string> keys, S3Settings settings, CancellationToken cancellationToken = null)

Attributes

Type Description
AsyncStateMachineAttribute

Parameters

Name Type Description
keys IList<string> The set of keys under which the Amazon S3 object is stored.
settings S3Settings The S3Settings required to upload to 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