Class: Aws::ServiceDiscovery::Errors::NamespaceAlreadyExists
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::ServiceDiscovery::Errors::NamespaceAlreadyExists
- Defined in:
- lib/aws-sdk-servicediscovery/errors.rb
Instance Method Summary collapse
- #creator_request_id ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NamespaceAlreadyExists
constructor
A new instance of NamespaceAlreadyExists.
- #message ⇒ String
- #namespace_id ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ NamespaceAlreadyExists
Returns a new instance of NamespaceAlreadyExists.
122 123 124 |
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 122 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#creator_request_id ⇒ String
132 133 134 |
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 132 def creator_request_id @data[:creator_request_id] end |
#message ⇒ String
127 128 129 |
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 127 def @message || @data[:message] end |
#namespace_id ⇒ String
137 138 139 |
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 137 def namespace_id @data[:namespace_id] end |