Class: Aws::LambdaMicrovms::Errors::ServiceQuotaExceededException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of ServiceQuotaExceededException.

Parameters:



202
203
204
# File 'lib/aws-sdk-lambdamicrovms/errors.rb', line 202

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

Instance Method Details

#messageString

Returns:

  • (String)


207
208
209
# File 'lib/aws-sdk-lambdamicrovms/errors.rb', line 207

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

#quota_codeString

Returns:

  • (String)


227
228
229
# File 'lib/aws-sdk-lambdamicrovms/errors.rb', line 227

def quota_code
  @data[:quota_code]
end

#resource_idString

Returns:

  • (String)


212
213
214
# File 'lib/aws-sdk-lambdamicrovms/errors.rb', line 212

def resource_id
  @data[:resource_id]
end

#resource_typeString

Returns:

  • (String)


217
218
219
# File 'lib/aws-sdk-lambdamicrovms/errors.rb', line 217

def resource_type
  @data[:resource_type]
end

#service_codeString

Returns:

  • (String)


222
223
224
# File 'lib/aws-sdk-lambdamicrovms/errors.rb', line 222

def service_code
  @data[:service_code]
end