Class: Aws::OpenSearchMemory::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::OpenSearchMemory::Errors::ThrottlingException
- Defined in:
- gems/aws-sdk-opensearchmemory/lib/aws-sdk-opensearchmemory/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
constructor
A new instance of ThrottlingException.
-
#message ⇒ String
-
#retry_after_seconds ⇒ String
-
#retryable? ⇒ Boolean
-
#throttling? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
Returns a new instance of ThrottlingException.
158 159 160 |
# File 'gems/aws-sdk-opensearchmemory/lib/aws-sdk-opensearchmemory/errors.rb', line 158 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
163 164 165 |
# File 'gems/aws-sdk-opensearchmemory/lib/aws-sdk-opensearchmemory/errors.rb', line 163 def @message || @data[:message] end |
#retry_after_seconds ⇒ String
168 169 170 |
# File 'gems/aws-sdk-opensearchmemory/lib/aws-sdk-opensearchmemory/errors.rb', line 168 def retry_after_seconds @data[:retry_after_seconds] end |
#retryable? ⇒ Boolean
172 173 174 |
# File 'gems/aws-sdk-opensearchmemory/lib/aws-sdk-opensearchmemory/errors.rb', line 172 def retryable? true end |
#throttling? ⇒ Boolean
176 177 178 |
# File 'gems/aws-sdk-opensearchmemory/lib/aws-sdk-opensearchmemory/errors.rb', line 176 def throttling? true end |