deleteRecursive

abstract fun deleteRecursive()

Recursively deletes this bucket and all its contents.

This operation happens in 3 phases which can be configured independently using the RecursiveBucketDeleteParams class. The 3 phases are:

  1. Fetch a list of all the objects in the bucket.

  2. Delete all the objects from the bucket.

  3. Delete the bucket itself.

See also

Throws

If an implementation specific exception is thrown. The implementation specific exception will be set to the thrown exception's 'cause' value.


Recursively deletes this bucket and all its contents with the operation configured by the given action.

This operation happens in 3 phases which can be configured independently using the RecursiveBucketDeleteParams class. The 3 phases are:

  1. Fetch a list of all the objects in the bucket.

  2. Delete all the objects from the bucket.

  3. Delete the bucket itself.

See also

Parameters

action

Action used to configure the S3 operation.

Throws

If an implementation specific exception is thrown. The implementation specific exception will be set to the thrown exception's 'cause' value.


Recursively deletes this bucket and all its contents with the operation configured by the given params.

This operation happens in 3 phases which can be configured independently using the RecursiveBucketDeleteParams class. The 3 phases are:

  1. Fetch a list of all the objects in the bucket.

  2. Delete all the objects from the bucket.

  3. Delete the bucket itself.

See also

Parameters

params

S3 operation parameters.

Throws

If an implementation specific exception is thrown. The implementation specific exception will be set to the thrown exception's 'cause' value.