Mapping for an Ozone volume in Amazon S3 API

The Amazon S3 REST API does not provide any entity that directly maps to an Ozone volume in the Ozone S3 Gateway. Instead, a bucket name defined in the S3 API maps to its corresponding Ozone volume/bucket location.

Consider the following example of a bucket b1 created using the S3 API:
aws s3api --endpoint-url http://localhost:9878 create-bucket --bucket=b1

You can view the bucket location using the following command:

ozone sh bucket path b1