Returns true if a failed request should be retried.

C# |
public static bool ShouldRetry( HttpStatusCode statusCode, ClientConfig config, AmazonServiceException errorResponseException, int retries )

- statusCode (HttpStatusCode)
- The HTTP status code from the failed request
- config (ClientConfig)
- The client config
- errorResponseException (AmazonServiceException)
- The exception from the failed request
- retries (Int32)
- The number of times the current request has been attempted

True if the failed request should be retried.