This content is part of a third party extension that is not supported by the Cake project.
For more information about this extension see
Cake.AWS.S3.
Summary
Removes all objects from the bucket
Syntax
public Task<IList<string>> DeleteAll(string prefix, DateTimeOffset lastModified, S3Settings settings, CancellationToken cancellationToken = null)
Attributes
Type |
Description |
AsyncStateMachineAttribute |
|
Parameters
Name |
Type |
Description |
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. |
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<string>> |
|