-
Notifications
You must be signed in to change notification settings - Fork 584
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(region-config-provider): Add region-config-provider package #5156
Conversation
12fb746
to
ce7fd35
Compare
* Resolved value for input {@link RegionInputConfig.useFipsEndpoint} | ||
*/ | ||
useFipsEndpoint: Provider<boolean>; | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the input and resolved config are duplicates to types in smithy/config-resolver, what's the plan for these, co-existence or deprecation of one?
Can you just import the types from there?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No because the concept of region is AWS specific and should belong to aws-js-sdk-v3. "region" related files in @smithy/config-resolver
should be deprecated.
/** | ||
* @internal | ||
*/ | ||
export const getRealRegion = (region: string) => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Out of curiosity, where did the name for this function come from?
I'm wondering if there is a more descriptive name for this.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A lot of files from this PR are copied directly from @smithy/config-resolver
. The names should be kept the same for now.
ce7fd35
to
eedf48f
Compare
eedf48f
to
229c3b2
Compare
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. |
Description
config-resolver
package to aws-sdk-js-v3'sregion-config-provider
packageTesting
Additional context
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.