awslabs / aws-sdk-kotlin

Multiplatform AWS SDK for Kotlin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Make region optional

ianbotsf opened this issue · comments

AWS service clients need to be configurable without region. 99% of the time region will be required and this will result in a runtime error if not configured/resolved. However, there are use cases where region is in fact optional:

  • global endpoints (e.g. STS - although STS has moved to favoring regional endpoints)
  • Multi region access points (MRAP) where region may be derived from the ARN

NOTE: This should probably be done as part of the effort to support MRAP for S3/Event Bridge

⚠️COMMENT VISIBILITY WARNING⚠️

Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.