Module Smaws_Client_ServiceDiscovery.CreatePrivateDnsNamespace

val request : Smaws_Lib.Context.t -> create_private_dns_namespace_request -> (create_private_dns_namespace_response, [> Smaws_Lib.Protocols.AwsJson.error | `DuplicateRequest of duplicate_request | `InvalidInput of invalid_input | `NamespaceAlreadyExists of namespace_already_exists | `ResourceLimitExceeded of resource_limit_exceeded | `TooManyTagsException of too_many_tags_exception ]) Stdlib.result

Creates a private namespace based on DNS, which is visible only inside a specified Amazon VPC. The namespace defines your service naming scheme. For example, if you name your namespace example.com and name your service backend, the resulting DNS name for the service is backend.example.com. Service instances that are registered using a private DNS namespace can be discovered using either a DiscoverInstances request or using DNS. For the current quota on the number of namespaces that you can create using the same Amazon Web Services account, see Cloud Map quotas in the Cloud Map Developer Guide.