Class: Aws::DirectoryService::Errors::InvalidTargetException

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) ⇒ InvalidTargetException

Returns a new instance of InvalidTargetException.

Parameters:



579
580
581
# File 'lib/aws-sdk-directoryservice/errors.rb', line 579

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

Instance Method Details

#messageString

Returns:

  • (String)


584
585
586
# File 'lib/aws-sdk-directoryservice/errors.rb', line 584

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

#request_idString

Returns:

  • (String)


589
590
591
# File 'lib/aws-sdk-directoryservice/errors.rb', line 589

def request_id
  @data[:request_id]
end