Class: Aws::Lambda::Errors::RequestTooLargeException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of RequestTooLargeException.

Parameters:



518
519
520
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 518

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

Instance Method Details

#messageString

Returns:

  • (String)


528
529
530
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 528

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

#typeString

Returns:

  • (String)


523
524
525
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 523

def type
  @data[:type]
end