Class Configuration
- Aws\Retry\Configuration implements Aws\Retry\ConfigurationInterface
- Namespace: Aws\Retry
- Located at Retry/Configuration.php
Provides access to retry configuration
Methods Summary
- __construct ( $mode = 'legacy', $maxAttempts = 3 )
-
getMode ( )
Returns the retry mode. Available modes include 'legacy', 'standard', and 'adapative'.
-
getMaxAttempts ( )
Returns the maximum number of attempts that will be used for a request
-
toArray ( )
Returns the configuration as an associative array
Methods Details
__construct ( $mode = 'legacy', $maxAttempts = 3 )
string getMode ( )
Returns the retry mode. Available modes include 'legacy', 'standard', and 'adapative'.
Returns
string |
Implementation of
string getMaxAttempts ( )
Returns the maximum number of attempts that will be used for a request
Returns
string |
Implementation of
array toArray ( )
Returns the configuration as an associative array
Returns
array |