Module Smaws_Client_ServiceDiscovery.CreateHttpNamespace

Creates an HTTP namespace. Service instances registered using an HTTP namespace can be discovered using a DiscoverInstances request but can't be discovered 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.

val error_to_string : [ Smaws_Lib.Protocols.AwsJson.error | `DuplicateRequest of Types.duplicate_request | `InvalidInput of Types.invalid_input | `NamespaceAlreadyExists of Types.namespace_already_exists | `ResourceLimitExceeded of Types.resource_limit_exceeded | `TooManyTagsException of Types.too_many_tags_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_http_namespace_request -> (Types.create_http_namespace_response, [> Smaws_Lib.Protocols.AwsJson.error | `DuplicateRequest of Types.duplicate_request | `InvalidInput of Types.invalid_input | `NamespaceAlreadyExists of Types.namespace_already_exists | `ResourceLimitExceeded of Types.resource_limit_exceeded | `TooManyTagsException of Types.too_many_tags_exception ]) Stdlib.result