-
Notifications
You must be signed in to change notification settings - Fork 610
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(experimentalIdentityAndAuth): release phase for services with signing customizations #5286
Conversation
817d829
to
7c69bad
Compare
7c69bad
to
50b2bbb
Compare
new DefaultIdentityProviderConfig({ | ||
"aws.auth#sigv4": config.credentials, | ||
}); | ||
} |
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.
private methods should be at the bottom of a class
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.
Got it. I think this will require intercepting a different code section in smithy-typescript.
Currently it intercepts ClientPropertiesCodeSection
, but I'm thinking for the private methods, it should intercept ClientBodyExtraCodeSection
: https://github.com/smithy-lang/smithy-typescript/blob/9972041f7d31886e035ec68bffc5f0af12512dd3/smithy-typescript-codegen/src/main/java/software/amazon/smithy/typescript/codegen/ServiceBareBonesClientGenerator.java#L335C34-L335C60
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.
{ | ||
schemeId: "aws.auth#sigv4", | ||
identityProvider: (ipc: IdentityProviderConfig) => ipc.getIdentityProvider("aws.auth#sigv4"), | ||
signer: new AWSSDKSigV4Signer(), |
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 bit late to address this, but this class should be called AwsSdkSigV4Signer
. We don't capitalize other abbreviations like in HttpHandler
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.
/**
* @deprecated renamed.
*/
export const AWSSDKSigV4Signer = AwsSdkSigV4Signer;
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.
See: #5667
…gning customizations Services: - RDS - EC2 - Polly
559882b
to
27821e7
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. |
Issue
Issue number, if available, prefixed with "#"
N/A.
Description
What does this implement/fix? Explain your changes.
Release
experimentalIdentityAndAuth
support for services with signing customizations inaws-sdk-js-v3
.Services:
TODO:
Testing
How was this change tested?
CI passes.
Additional context
Add any other context about the PR here.
Revert release PR: #5287
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.