S3Aliases.

S3DeleteAll(ICakeContext, string, 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, 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.
settings S3Settings The S3Settings required to delete from Amazon S3.

Return Value

Type Description
Task<IList<string>>