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:



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

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

Instance Method Details

#creator_request_idString

Returns:

  • (String)


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

def creator_request_id
  @data[:creator_request_id]
end

#messageString

Returns:

  • (String)


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

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

#namespace_idString

Returns:

  • (String)


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

def namespace_id
  @data[:namespace_id]
end