CmdID

CmdID / aws / aws s3api

aws s3api get-bucket-location

Using the GetBucketLocation operation is no longer a best practice. AWS CLI reference

2 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

2 in the AWS CLI reference
--bucketThe name of the bucket for which to get the location.
--expected-bucket-ownerThe account ID of the expected bucket owner.