Class RightAws::RightAwsBase
In: lib/awsbase/right_awsbase.rb
Parent: Object
RuntimeError AwsError AwsNoChange RightAWSParser RightErrorResponseParser RightHttp2xxParser AcfInterface SqsInterface SqsGen2Interface S3Interface Ec2 SdbInterface RightAwsBase ActiveSdbConnect ActiveSdb SqsGen2 S3 S3Generator Sqs RightDummyParser AWSErrorHandler AwsBenchmarkingBlock AwsUtils RightSaxParserCallback lib/sqs/right_sqs_interface.rb lib/sqs/right_sqs_gen2.rb lib/s3/right_s3.rb lib/acf/right_acf_interface.rb lib/sqs/right_sqs_gen2_interface.rb lib/sqs/right_sqs.rb lib/sdb/right_sdb_interface.rb lib/sdb/active_sdb.rb lib/ec2/right_ec2.rb lib/s3/right_s3_interface.rb lib/awsbase/right_awsbase.rb RightAwsBaseInterface VERSION RightAws dot/m_13_0.png

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.

[Source]

     # File lib/awsbase/right_awsbase.rb, line 161
161:     def self.amazon_problems
162:       @@amazon_problems
163:     end

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

[Source]

     # File lib/awsbase/right_awsbase.rb, line 167
167:     def self.amazon_problems=(problems_list)
168:       @@amazon_problems = problems_list
169:     end

[Validate]