-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Add credentialProvider as an optional parameter of ConfigurationOptions #1339
Conversation
As discussed in #1338 the documentation for AWS.S3 and AWS.SES both state that they accept credentialProvider, which is an instance of AWS.CredentialProviderChain, as part of the configuration options. However, the declaration for ConfigurationOptions did not expose such a parameter. This patch resolves that issue. Fixes #1338
}; | ||
var s3 = new AWS.S3(options); | ||
var ses = new AWS.SES(options); |
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.
@chrisradek I am not exactly sure what the extent of the expected test should be. I feel like this covers the intent of what the change now provides. Obviously, if this is wrong I'll need a little bit more guidance on what to do next.
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.
@RLovelett
This should be fine. We really just want to make sure the code compiles correctly, and that we don't break it in the future. This captures the intent.
3 similar comments
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.
Can you also run npm run add-change
.
I think this could be classified as a bugfix
with TypeScript
as the category.
}; | ||
var s3 = new AWS.S3(options); | ||
var ses = new AWS.SES(options); |
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.
@RLovelett
This should be fine. We really just want to make sure the code compiles correctly, and that we don't break it in the future. This captures the intent.
@RLovelett |
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. |
As discussed in #1338, the documentation for
AWS.S3
andAWS.SES
both state that they acceptcredentialProvider
, which is an instance ofAWS.CredentialProviderChain
, as part of the configuration options.However, the declaration for
ConfigurationOptions
did not expose such a parameter. This patch resolves that issue.Fixes #1338