S3Aliases.

S3DeleteAll(ICakeContext, string, DateTimeOffset, S3Settings) Method

Summary

Removes all objects from the bucket
Assembly
Cake.AWS.S3.dll
Namespace
Cake.AWS.S3
Containing Type
S3Aliases

Syntax

public static Task<IList<string>> S3DeleteAll(this ICakeContext context, string prefix, DateTimeOffset lastModified, S3Settings settings)

Attributes

Type Description
AsyncStateMachineAttribute
CakeMethodAliasAttribute
CakeAliasCategoryAttribute

Parameters

Name Type Description
context ICakeContext The cake context.
prefix string Only delete objects that begin with the specified prefix.
lastModified DateTimeOffset Only delete objects that where modified prior to this date
settings S3Settings The S3Settings required to delete from Amazon S3.

Return Value

Type Description
Task<IList<string>>