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:



661
662
663
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 661

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

Instance Method Details

#messageString

Returns:

  • (String)


671
672
673
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 671

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

#typeString

Returns:

  • (String)


666
667
668
# File 'gems/aws-sdk-lambda/lib/aws-sdk-lambda/errors.rb', line 666

def type
  @data[:type]
end