Class: Aws::DirectoryService::Errors::EntityAlreadyExistsException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::DirectoryService::Errors::EntityAlreadyExistsException
- Defined in:
- lib/aws-sdk-directoryservice/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ EntityAlreadyExistsException
constructor
A new instance of EntityAlreadyExistsException.
- #message ⇒ String
- #request_id ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ EntityAlreadyExistsException
Returns a new instance of EntityAlreadyExistsException.
379 380 381 |
# File 'lib/aws-sdk-directoryservice/errors.rb', line 379 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
384 385 386 |
# File 'lib/aws-sdk-directoryservice/errors.rb', line 384 def @message || @data[:message] end |
#request_id ⇒ String
389 390 391 |
# File 'lib/aws-sdk-directoryservice/errors.rb', line 389 def request_id @data[:request_id] end |