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

fix(maxAttempts): Add new configuration maxAttempts in RemoteProvider… #1346

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

andre-araujo
Copy link

Issue #, if available:

Replace unused maxRetries with maxAttempts #2709

Description of changes:

  • Add new configuration maxAttempts in RemoteProviderConfig, so that it reuses the value from retry while fetching credentials.
  • Instead of deleting existing maxRetries, call it deprecated in favor of maxAttempts.

If one or more of the packages in the /packages directory has been modified, be sure yarn changeset add has been run and its output has
been committed and included in this pull request. See CONTRIBUTING.md.

Changeset updated.


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

…Config

The configuration maxRetries was changed to maxAttempts in middleware-retry to be compliant with other SDKs and retry strategy smithy-lang#1244. This change adds new configuration maxAttempts in RemoteProviderConfig and deprecates maxRetries.
Copy link
Contributor

@trivikr trivikr left a comment

Choose a reason for hiding this comment

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

Thank you for your pull request!
The ask from the report was not clear.

I've provided latest description in issue aws/aws-sdk-js-v3#2709 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants