# File lib/aws/core/client.rb, line 354 def throttled? response response.error and response.error.respond_to?(:code) and ( response.error.code.to_s.match(/throttl/i) or #response.error.code == 'Throttling' or # most query services #response.error.code == 'ThrottlingException' or # json services #response.error.code == 'RequestThrottled' or # sqs response.error.code == 'ProvisionedThroughputExceededException' or # ddb response.error.code == 'RequestLimitExceeded' or # ec2 response.error.code == 'BandwidthLimitExceeded' # cloud search ) end