List Bucket Metadata
The sample codes in the following section explain how to retrieve metadata for a bucket named my-bucket. The following is an example for IDrive Cloud’s Oregon (us-west-1) region.
You must follow the required configuration instructions before performing the following operations.
Use the following command to display bucket metadata.
aws s3api head-bucket --bucket my-bucket