Module Values.CreateServiceResponseSource

Creates a service. This action defines the configuration for the following entities: For public and private DNS namespaces, one of the following combinations of DNS records in Amazon Route 53: A AAAA A and AAAA SRV CNAME Optionally, a health check After you create the service, you can submit a RegisterInstance request, and Cloud Map uses the values in the configuration to create the specified entities. For the current quota on the number of instances that you can register using the same namespace and using the same service, see Cloud Map quotas in the Cloud Map Developer Guide.

Sourcetype nonrec t = {
  1. service : Service.t option;
    (*

    A complex type that contains information about the new service.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidInput of InvalidInput.t
  2. | `NamespaceNotFound of NamespaceNotFound.t
  3. | `ResourceLimitExceeded of ResourceLimitExceeded.t
  4. | `ServiceAlreadyExists of ServiceAlreadyExists.t
  5. | `TooManyTagsException of TooManyTagsException.t
  6. | `Unknown_operation_error of string * string option
]
Sourceval make : ?service:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidInput of InvalidInput.t | `NamespaceNotFound of NamespaceNotFound.t | `ResourceLimitExceeded of ResourceLimitExceeded.t | `ServiceAlreadyExists of ServiceAlreadyExists.t | `TooManyTagsException of TooManyTagsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidInput of InvalidInput.t | `NamespaceNotFound of NamespaceNotFound.t | `ResourceLimitExceeded of ResourceLimitExceeded.t | `ServiceAlreadyExists of ServiceAlreadyExists.t | `TooManyTagsException of TooManyTagsException.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `Integer of ResourceCount.t | `String of ResourceId.t | `Structure of (string * [> `Enum of string | `Integer of FailureThreshold.t | `List of [> `Structure of (string * [> `Enum of string | `Long of RecordTTL.t ]) list ] list | `String of ResourceId.t ]) list | `Timestamp of Timestamp.t ]) 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