get

abstract operator fun get(name: BucketName): S3Bucket?

Creates a new S3Bucket instance wrapping the target S3 bucket.

Return

A new S3Bucket instance wrapping the target bucket.

Parameters

name

Name of the bucket to wrap.

Throws

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


abstract fun get(name: BucketName, action: BucketGetParams.() -> Unit): S3Bucket?

Creates a new S3Bucket instance wrapping the target S3 bucket.

Return

A new S3Bucket instance wrapping the target bucket.

Parameters

action

Action used to configure the 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.


abstract fun get(name: BucketName, params: BucketGetParams): S3Bucket?

Creates a new S3Bucket instance wrapping the target S3 bucket.

Return

A new S3Bucket instance wrapping the target bucket.

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.