Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: get partition of given region #1435

Merged
merged 3 commits into from Aug 14, 2020

Conversation

AllanZhengYP
Copy link
Contributor

@AllanZhengYP AllanZhengYP commented Aug 11, 2020

Description of changes:
This change generate a new partition to the return value of regionInfoProvider. Which this change, user can infer which partion does the supplied region belong to. This feature is useful when the SDK needs to validate whether the request is made to intended partition.

The last commit is the code generation. To see the actual changes, you can ignore the laster commit.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@codecov-commenter
Copy link

codecov-commenter commented Aug 11, 2020

Codecov Report

Merging #1435 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #1435   +/-   ##
=======================================
  Coverage   79.69%   79.69%           
=======================================
  Files         302      302           
  Lines       11402    11402           
  Branches     2438     2438           
=======================================
  Hits         9087     9087           
  Misses       2315     2315           
Impacted Files Coverage Δ
protocol_tests/aws-ec2/endpoints.ts 81.48% <ø> (ø)
protocol_tests/aws-json/endpoints.ts 81.48% <ø> (ø)
protocol_tests/aws-query/endpoints.ts 81.48% <ø> (ø)
protocol_tests/aws-restjson/endpoints.ts 81.48% <ø> (ø)
protocol_tests/aws-restxml/endpoints.ts 81.48% <ø> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 40e600e...dde913f. Read the comment docs.

packages/types/src/util.ts Outdated Show resolved Hide resolved
@AllanZhengYP AllanZhengYP merged commit c18bfe4 into aws:master Aug 14, 2020
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants