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

Mapped ThrottlingException to HandlerErrorCode.Throttling #61

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

Conversation

calebmech
Copy link

Description

Mapped ThrottlingException to HandlerErrorCode.Throttling so that it is (hopefully) automatically retried. Right now ThrottlingException is being mapped to HandlerErrorCode.GeneralServiceException, which is not retried.

I received this failure when creating a new Redshift Serverless Workgroup with CloudFormation, and from what I can see in CloudTrail, the CreateWorkgroup call was only attempted once.

Documentation

https://github.com/aws-cloudformation/cloudformation-cli-java-plugin/blob/3b91e1187d5d7b15d337a9403ec327edc4cbb1b3/src/main/java/software/amazon/cloudformation/proxy/HandlerErrorCode.java


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

@calebmech calebmech marked this pull request as ready for review October 17, 2024 22:52
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.

1 participant