Class: Aws::Lambda::Errors::ResourceNotReadyException

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) ⇒ ResourceNotReadyException

Returns a new instance of ResourceNotReadyException.

Parameters:



598
599
600
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 598

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

Instance Method Details

#messageString

Returns:

  • (String)


608
609
610
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 608

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

#typeString

Returns:

  • (String)


603
604
605
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 603

def type
  @data[:type]
end