Class: Aws::ServiceDiscovery::Errors::ServiceAlreadyExists

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) ⇒ ServiceAlreadyExists

Returns a new instance of ServiceAlreadyExists.

Parameters:



236
237
238
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 236

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

Instance Method Details

#creator_request_idString

Returns:

  • (String)


246
247
248
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 246

def creator_request_id
  @data[:creator_request_id]
end

#messageString

Returns:

  • (String)


241
242
243
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 241

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

#service_idString

Returns:

  • (String)


251
252
253
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 251

def service_id
  @data[:service_id]
end