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:



253
254
255
# File 'gems/aws-sdk-lambdamicrovms/lib/aws-sdk-lambdamicrovms/errors.rb', line 253

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

Instance Method Details

#messageString

Returns:

  • (String)


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

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

#quota_codeString

Returns:

  • (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_secondsString

Returns:

  • (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

Returns:

  • (Boolean)


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

def retryable?
  true
end

#service_codeString

Returns:

  • (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

Returns:

  • (Boolean)


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

def throttling?
  true
end