Class: Aws::DirectoryService::Errors::DirectoryAlreadySharedException

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

Returns a new instance of DirectoryAlreadySharedException.

Parameters:



239
240
241
# File 'lib/aws-sdk-directoryservice/errors.rb', line 239

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

Instance Method Details

#messageString

Returns:

  • (String)


244
245
246
# File 'lib/aws-sdk-directoryservice/errors.rb', line 244

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

#request_idString

Returns:

  • (String)


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

def request_id
  @data[:request_id]
end