Class Aws::AwsBase
In: lib/awsbase/awsbase.rb
Parent: Object

Methods

Constants

AMAZON_PROBLEMS = ['internal service error', 'is currently unavailable', 'no response from', 'Please try again', 'InternalError', 'ServiceUnavailable', #from SQS docs 'Unavailable', 'This application is not currently available', 'InsufficientInstanceCapacity'   Text, if found in an error message returned by AWS, indicates that this may be a transient error. Transient errors are automatically retried with exponential back-off.

Public Class methods

Returns a list of Amazon service responses which are known to be transient problems. We have to re-request if we get any of them, because the problem will probably disappear. By default this method returns the same value as the AMAZON_PROBLEMS const.

Sets the list of Amazon side problems. Use in conjunction with the getter to append problems.

[Validate]