Class: Aws::ServiceDiscovery::Errors::DuplicateRequest
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::ServiceDiscovery::Errors::DuplicateRequest
- Defined in:
- lib/aws-sdk-servicediscovery/errors.rb
Instance Method Summary collapse
- #duplicate_operation_id ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ DuplicateRequest
constructor
A new instance of DuplicateRequest.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ DuplicateRequest
Returns a new instance of DuplicateRequest.
71 72 73 |
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 71 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#duplicate_operation_id ⇒ String
81 82 83 |
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 81 def duplicate_operation_id @data[:duplicate_operation_id] end |
#message ⇒ String
76 77 78 |
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 76 def @message || @data[:message] end |