I want to get the endpoint of a given region. Here is the link of the S3 regions and thier correspondiong endpoint.
Ex.
- for us-east-1, the endpoint is s3.amazonaws.com,
- for us-east-2, the endpoint is s3.us-east-2.amazonaws.com,
- for us-east-2, the endpoint is s3.us-west-1.amazonaws.com, and so on...
Is there any way to get the endpoints via AWS cli? Thanks :)