Class: Aws::S3Vectors::Errors::TooManyRequestsException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::S3Vectors::Errors::TooManyRequestsException
- Defined in:
- gems/aws-sdk-s3vectors/lib/aws-sdk-s3vectors/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyRequestsException
constructor
A new instance of TooManyRequestsException.
-
#message ⇒ String
-
#retryable? ⇒ Boolean
-
#throttling? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ TooManyRequestsException
Returns a new instance of TooManyRequestsException.
232 233 234 |
# File 'gems/aws-sdk-s3vectors/lib/aws-sdk-s3vectors/errors.rb', line 232 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
237 238 239 |
# File 'gems/aws-sdk-s3vectors/lib/aws-sdk-s3vectors/errors.rb', line 237 def @message || @data[:message] end |
#retryable? ⇒ Boolean
241 242 243 |
# File 'gems/aws-sdk-s3vectors/lib/aws-sdk-s3vectors/errors.rb', line 241 def retryable? true end |
#throttling? ⇒ Boolean
245 246 247 |
# File 'gems/aws-sdk-s3vectors/lib/aws-sdk-s3vectors/errors.rb', line 245 def throttling? true end |