You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Customers often want/need to retry specific errors. They can do this now by re-using AwsDefaultRetryPolicy but because it's an object and not an open ended class to be extended from it limits how customers can implement custom policies (specifically they have to compose it into a new policy and delegate down to the default if needed).
Comments on closed issues are hard for our team to see.
If you need more assistance, please either tag a team member or open a new issue that references this one.
If you wish to keep having a conversation with other community members under this issue feel free to do so.
Describe the feature
Customers often want/need to retry specific errors. They can do this now by re-using
AwsDefaultRetryPolicy
but because it's anobject
and not an open ended class to be extended from it limits how customers can implement custom policies (specifically they have to compose it into a new policy and delegate down to the default if needed).e.g.
Is your Feature Request related to a problem?
See smithy-lang/smithy-kotlin#962 for one example.
Proposed Solution
refactor
AwsDefaultRetryPolicy
to look like theStandardRetryPolicy
.e.g.
Customer code becomes:
Describe alternative solutions or features you've considered
No response
Acknowledge
AWS Kotlin SDK version used
0.32.x+
Platform (JVM/JS/Native)
N/A
Operating System and version
N/A
The text was updated successfully, but these errors were encountered: