Structs

A Bucket is a collection of Objects stored in R2.

Creates a bucket with the given name. A 400 is returned if the account already owns a bucket with this name. A bucket must be explicitly deleted to be replaced.

Deletes a bucket with the given name.

Lists all buckets within the account.

ListBucketsResult contains a list of buckets in an account.