Class: Aws::CognitoIdentityProvider::Errors::InvalidLambdaResponseException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InvalidLambdaResponseException.

Parameters:



249
250
251
# File 'lib/aws-sdk-cognitoidentityprovider/errors.rb', line 249

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

Instance Method Details

#messageString

Returns:

  • (String)


254
255
256
# File 'lib/aws-sdk-cognitoidentityprovider/errors.rb', line 254

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