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:



945
946
947
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 945

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

Instance Method Details

#message ⇒ String

Returns:

  • (String)


955
956
957
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 955

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

#type ⇒ String

Returns:

  • (String)


950
951
952
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 950

def type
  @data[:type]
end