delete

abstract fun delete()

Deletes the current object.

Throws

If the bucket in which this object resided no longer exists.

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


abstract fun delete(action: DeleteParams.() -> Unit)

Deletes the current object.

Parameters

action

Action used to configure the backing S3 operation.

Throws

If the bucket in which this object resided no longer exists.

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


abstract fun delete(params: DeleteParams)

Deletes the current object.

Parameters

params

Parameters for the backing S3 operation.

Throws

If the bucket in which this object resided no longer exists.

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