Aws-sdk-php: Retry on TooManyRequestsException

Created on 20 Jun 2019  路  1Comment  路  Source: aws/aws-sdk-php

Is this related to a problem?

Some actions in Cognito return the TooManyRequestsException error.

Feature description

RetryMiddleware should handle the TooManyRequestsException error.

Describe alternatives you've considered

  • It's impossible to pass custom $additionalRetryConfig through the AwsClient constructor $args.
  • It's impossible to modify the $additionalRetryConfig on the registered RetryMiddleware ("retry").
  • It's impossible to retrieve the registered "retry" middleware.
  • It's impossible to replace the registered "retry" middleware by the same name.
  • It's impossible to access the AwsClient constructor $args in order to correctly configure a replacement RetryMiddleware.

Additional context

feature-request

Most helpful comment

Thanks for bringing this up. TooManyRequestsException is being added in #1827.

>All comments

Thanks for bringing this up. TooManyRequestsException is being added in #1827.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

chrisguitarguy picture chrisguitarguy  路  3Comments

sm2017 picture sm2017  路  4Comments

gwilym picture gwilym  路  4Comments

GeekLad picture GeekLad  路  5Comments

LCamel picture LCamel  路  4Comments