Class: Aws::DirectoryService::Errors::InvalidTargetException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::DirectoryService::Errors::InvalidTargetException
- Defined in:
- lib/aws-sdk-directoryservice/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidTargetException
constructor
A new instance of InvalidTargetException.
- #message ⇒ String
- #request_id ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ InvalidTargetException
Returns a new instance of InvalidTargetException.
579 580 581 |
# File 'lib/aws-sdk-directoryservice/errors.rb', line 579 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
584 585 586 |
# File 'lib/aws-sdk-directoryservice/errors.rb', line 584 def @message || @data[:message] end |
#request_id ⇒ String
589 590 591 |
# File 'lib/aws-sdk-directoryservice/errors.rb', line 589 def request_id @data[:request_id] end |