Class: Aws::DirectoryService::Errors::DirectoryInDesiredStateException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::DirectoryService::Errors::DirectoryInDesiredStateException
- Defined in:
- lib/aws-sdk-directoryservice/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ DirectoryInDesiredStateException
constructor
A new instance of DirectoryInDesiredStateException.
- #message ⇒ String
- #request_id ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ DirectoryInDesiredStateException
Returns a new instance of DirectoryInDesiredStateException.
279 280 281 |
# File 'lib/aws-sdk-directoryservice/errors.rb', line 279 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
284 285 286 |
# File 'lib/aws-sdk-directoryservice/errors.rb', line 284 def @message || @data[:message] end |
#request_id ⇒ String
289 290 291 |
# File 'lib/aws-sdk-directoryservice/errors.rb', line 289 def request_id @data[:request_id] end |