Class: Aws::LambdaMicrovms::Errors::ThrottlingException

Inherits:
ServiceError
  • Object
show all
Defined in:
gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException

Returns a new instance of ThrottlingException.

Parameters:



257
258
259
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/errors.rb', line 257

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#message ⇒ String

Returns:

  • (String)


262
263
264
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/errors.rb', line 262

def message
  @message || @data[:message]
end

#quota_code ⇒ String

Returns:

  • (String)


272
273
274
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/errors.rb', line 272

def quota_code
  @data[:quota_code]
end

#retry_after_seconds ⇒ String

Returns:

  • (String)


277
278
279
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/errors.rb', line 277

def retry_after_seconds
  @data[:retry_after_seconds]
end

#retryable? ⇒ Boolean

Returns:

  • (Boolean)


281
282
283
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/errors.rb', line 281

def retryable?
  true
end

#service_code ⇒ String

Returns:

  • (String)


267
268
269
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/errors.rb', line 267

def service_code
  @data[:service_code]
end

#throttling? ⇒ Boolean

Returns:

  • (Boolean)


285
286
287
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/errors.rb', line 285

def throttling?
  true
end