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.
72 73 74 |
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 72 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#duplicate_operation_id ⇒ String
82 83 84 |
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 82 def duplicate_operation_id @data[:duplicate_operation_id] end |
#message ⇒ String
77 78 79 |
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 77 def @message || @data[:message] end |