Class: Aws::DirectoryService::Errors::DirectoryInDesiredStateException

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

Returns a new instance of DirectoryInDesiredStateException.

Parameters:



279
280
281
# File 'lib/aws-sdk-directoryservice/errors.rb', line 279

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

Instance Method Details

#messageString

Returns:

  • (String)


284
285
286
# File 'lib/aws-sdk-directoryservice/errors.rb', line 284

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

#request_idString

Returns:

  • (String)


289
290
291
# File 'lib/aws-sdk-directoryservice/errors.rb', line 289

def request_id
  @data[:request_id]
end