Class: Aws::ServiceDiscovery::Errors::ServiceAlreadyExists
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::ServiceDiscovery::Errors::ServiceAlreadyExists
- Defined in:
- lib/aws-sdk-servicediscovery/errors.rb
Instance Method Summary collapse
- #creator_request_id ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceAlreadyExists
constructor
A new instance of ServiceAlreadyExists.
- #message ⇒ String
- #service_id ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ServiceAlreadyExists
Returns a new instance of ServiceAlreadyExists.
236 237 238 |
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 236 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#creator_request_id ⇒ String
246 247 248 |
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 246 def creator_request_id @data[:creator_request_id] end |
#message ⇒ String
241 242 243 |
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 241 def @message || @data[:message] end |
#service_id ⇒ String
251 252 253 |
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 251 def service_id @data[:service_id] end |