awslabs / awslabs/aws-sdk-rust

Provide a way to get partition from region

Open
#811 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

feature-request p3
Dominant language
Rust
Stars
3.3k
Forks
290
Avg merge
1d 12h
Merged PRs (30d)
3

Description

Describe the feature

Other SDK languages provide rich information about their regions, and specifically what partition they are in (ie. "aws", "aws-cn", etc).

Use Case

Knowing the partition is necessary to generate correct arns and for some business logic which may differ between partitions.

Proposed Solution

No response

Other Information

No response

Acknowledgements
  • I may be able to implement this feature request
  • This feature might incur a breaking change
A note for the community
Community Note
  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue, please leave a comment

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No file, test, or entry point is named in the issue. Start by locating the SDK's region metadata representation and its handling of AWS partitions, then review how other SDK languages expose this information. Done means a Rust API can identify the correct partition, such as aws or aws-cn, for a region and has coverage for supported partitions.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, rust
Domain
api, cloud
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.