Class: Aws::ServiceDiscovery::Errors::DuplicateRequest

Inherits:
ServiceError
  • Object
show all
Defined in:
lib/aws-sdk-servicediscovery/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ DuplicateRequest

Returns a new instance of DuplicateRequest.

Parameters:



71
72
73
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 71

def initialize(context, message, data = Aws::EmptyStructure.new)
  super(context, message, data)
end

Instance Method Details

#duplicate_operation_idString

Returns:

  • (String)


81
82
83
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 81

def duplicate_operation_id
  @data[:duplicate_operation_id]
end

#messageString

Returns:

  • (String)


76
77
78
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 76

def message
  @message || @data[:message]
end