Class: Aws::Lambda::Errors::EC2ThrottledException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of EC2ThrottledException.

Parameters:



160
161
162
# File 'lib/aws-sdk-lambda/errors.rb', line 160

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

Instance Method Details

#messageString

Returns:

  • (String)


170
171
172
# File 'lib/aws-sdk-lambda/errors.rb', line 170

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

#typeString

Returns:

  • (String)


165
166
167
# File 'lib/aws-sdk-lambda/errors.rb', line 165

def type
  @data[:type]
end