Class: Aws::LambdaMicrovms::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::LambdaMicrovms::Errors::ThrottlingException
- Defined in:
- gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
constructor
A new instance of ThrottlingException.
-
#message ⇒ String
-
#quota_code ⇒ String
-
#retry_after_seconds ⇒ String
-
#retryable? ⇒ Boolean
-
#service_code ⇒ String
-
#throttling? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
Returns a new instance of ThrottlingException.
253 254 255 |
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/errors.rb', line 253 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
258 259 260 |
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/errors.rb', line 258 def @message || @data[:message] end |
#quota_code ⇒ String
268 269 270 |
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/errors.rb', line 268 def quota_code @data[:quota_code] end |
#retry_after_seconds ⇒ String
273 274 275 |
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/errors.rb', line 273 def retry_after_seconds @data[:retry_after_seconds] end |
#retryable? ⇒ Boolean
277 278 279 |
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/errors.rb', line 277 def retryable? true end |
#service_code ⇒ String
263 264 265 |
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/errors.rb', line 263 def service_code @data[:service_code] end |
#throttling? ⇒ Boolean
281 282 283 |
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/errors.rb', line 281 def throttling? true end |