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.
121 122 123 |
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 121 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#creator_request_id ⇒ String
131 132 133 |
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 131 def creator_request_id @data[:creator_request_id] end |
#message ⇒ String
126 127 128 |
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 126 def @message || @data[:message] end |
#namespace_id ⇒ String
136 137 138 |
# File 'lib/aws-sdk-servicediscovery/errors.rb', line 136 def namespace_id @data[:namespace_id] end |