Class: Aws::SageMakerInferenceRouterRuntime::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::SageMakerInferenceRouterRuntime::Errors::ThrottlingException
- Defined in:
- gems/aws-sdk-sagemakerinferencerouterruntime/lib/aws-sdk-sagemakerinferencerouterruntime/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
constructor
A new instance of ThrottlingException.
-
#message ⇒ String
-
#retryable? ⇒ Boolean
-
#throttling? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
Returns a new instance of ThrottlingException.
183 184 185 |
# File 'gems/aws-sdk-sagemakerinferencerouterruntime/lib/aws-sdk-sagemakerinferencerouterruntime/errors.rb', line 183 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
188 189 190 |
# File 'gems/aws-sdk-sagemakerinferencerouterruntime/lib/aws-sdk-sagemakerinferencerouterruntime/errors.rb', line 188 def @message || @data[:message] end |
#retryable? ⇒ Boolean
192 193 194 |
# File 'gems/aws-sdk-sagemakerinferencerouterruntime/lib/aws-sdk-sagemakerinferencerouterruntime/errors.rb', line 192 def retryable? true end |
#throttling? ⇒ Boolean
196 197 198 |
# File 'gems/aws-sdk-sagemakerinferencerouterruntime/lib/aws-sdk-sagemakerinferencerouterruntime/errors.rb', line 196 def throttling? true end |