Class: Aws::DirectoryService::Errors::DirectoryNotSharedException

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

Returns a new instance of DirectoryNotSharedException.

Parameters:



319
320
321
# File 'lib/aws-sdk-directoryservice/errors.rb', line 319

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

Instance Method Details

#messageString

Returns:

  • (String)


324
325
326
# File 'lib/aws-sdk-directoryservice/errors.rb', line 324

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

#request_idString

Returns:

  • (String)


329
330
331
# File 'lib/aws-sdk-directoryservice/errors.rb', line 329

def request_id
  @data[:request_id]
end