Class: Aws::ImportExport::Errors::MissingParameterException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of MissingParameterException.

Parameters:



287
288
289
# File 'lib/aws-sdk-importexport/errors.rb', line 287

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

Instance Method Details

#messageString

Returns:

  • (String)


292
293
294
# File 'lib/aws-sdk-importexport/errors.rb', line 292

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