Class: Aws::DirectoryService::Errors::InvalidParameterException

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

Instance Method Summary collapse

Constructor Details

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

Returns a new instance of InvalidParameterException.

Parameters:



539
540
541
# File 'lib/aws-sdk-directoryservice/errors.rb', line 539

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

Instance Method Details

#messageString

Returns:

  • (String)


544
545
546
# File 'lib/aws-sdk-directoryservice/errors.rb', line 544

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

#request_idString

Returns:

  • (String)


549
550
551
# File 'lib/aws-sdk-directoryservice/errors.rb', line 549

def request_id
  @data[:request_id]
end