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

[WIP] feat(client-s3): manually written s3 region info provider #2696

Closed
wants to merge 8 commits into from

Conversation

trivikr
Copy link
Member

@trivikr trivikr commented Aug 20, 2021

Issue

Internal JS-2773

Description

Manually written s3 region info provider for design discussion

Testing

Integration tests


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 20, 2021

Codecov Report

❗ No coverage uploaded for pull request base (main@c7350f8). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main    #2696   +/-   ##
=======================================
  Coverage        ?   60.81%           
=======================================
  Files           ?      531           
  Lines           ?    27890           
  Branches        ?     6863           
=======================================
  Hits            ?    16960           
  Misses          ?    10930           
  Partials        ?        0           

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 c7350f8...e7d8415. Read the comment docs.

@trivikr trivikr force-pushed the endpoints-destructuring-test branch from eb26863 to fc34447 Compare August 23, 2021 14:13
trivikr added a commit to trivikr/aws-sdk-js-v3 that referenced this pull request Aug 23, 2021
trivikr added a commit to trivikr/aws-sdk-js-v3 that referenced this pull request Aug 23, 2021
trivikr added a commit to trivikr/aws-sdk-js-v3 that referenced this pull request Aug 23, 2021
signingRegion: options.regionHash[region].signingRegion,
}),
...(options.regionHash[region]?.signingService && {
signingService: options.regionHash[region].signingService,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will this handle the signingService for partition like: /~https://github.com/aws/aws-models/blob/master/endpoints.json#L3240?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems like for now the signing service is same across the partitions for every services. So this should be fine.

Copy link
Member Author

@trivikr trivikr Aug 24, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The final PR which handles signing service for partition is posted on fork at trivikr#172

It will be posted upstream once getRegionInfo PR is merged.

@trivikr
Copy link
Member Author

trivikr commented Aug 24, 2021

Closing in favor of codegen trivikr#172 which would be posted upstream once #2701 is merged.

@trivikr trivikr closed this Aug 24, 2021
@trivikr trivikr deleted the endpoints-destructuring-test branch August 24, 2021 16:40
@github-actions
Copy link

github-actions bot commented Sep 8, 2021

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 Sep 8, 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.

3 participants