Class: Aws::ServiceDiscovery::Errors::NamespaceAlreadyExists

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

Returns a new instance of NamespaceAlreadyExists.

Parameters:



121
122
123
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 121

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

Instance Method Details

#creator_request_idString

Returns:

  • (String)


131
132
133
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 131

def creator_request_id
  @data[:creator_request_id]
end

#messageString

Returns:

  • (String)


126
127
128
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 126

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

#namespace_idString

Returns:

  • (String)


136
137
138
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 136

def namespace_id
  @data[:namespace_id]
end