Module Values.CreatePublicDnsNamespaceRequestSource

Creates a public namespace based on DNS, which is visible on the internet. 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. You can discover instances that were registered with a public DNS namespace by 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. The CreatePublicDnsNamespace API operation is not supported in the Amazon Web Services GovCloud (US) Regions.

Sourcetype nonrec t = {
  1. name : NamespaceNamePublic.t;
    (*

    The name that you want to assign to this namespace. Do not include sensitive information in the name. The name is publicly available using DNS queries.

    *)
  2. creatorRequestId : ResourceId.t option;
    (*

    A unique string that identifies the request and that allows failed CreatePublicDnsNamespace requests to be retried without the risk of running the operation twice. CreatorRequestId can be any unique string (for example, a date/timestamp).

    *)
  3. description : ResourceDescription.t option;
    (*

    A description for the namespace.

    *)
  4. tags : TagList.t option;
    (*

    The tags to add to the namespace. Each tag consists of a key and an optional value that you define. Tags keys can be up to 128 characters in length, and tag values can be up to 256 characters in length.

    *)
  5. properties : PublicDnsNamespaceProperties.t option;
    (*

    Properties for the public DNS namespace.

    *)
}
Sourceval context_ : string
Sourceval make : ?creatorRequestId:??? -> ?description:??? -> ?tags:??? -> ?properties:??? -> name:NamespaceNamePublic.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of TagKey.t ]) list ] list | `String of NamespaceNamePublic.t | `Structure of (string * [> `Structure of (string * [> `Structure of (string * [> `Long of RecordTTL.t ]) list ]) list ]) list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t