1 回答
- 最新
- 投票最多
- 评论最多
0
D'oh. This definitely falls into the category of user error. I'd completely forgot that the constant VPC_S3_ENDPOINT was one of my own creation, part of my original project from several months ago. It was set to
com.amazonaws.us-east-1.s3
and that of course is why I was getting the region error.
I'll change my constant definition to
VPC_S3_ENDPOINT = "com.amazonaws.{}.s3"
and inject the region into this constant before making the api call.
Edited by: pwsteele on Jan 4, 2019 1:13 PM
已回答 5 年前