Module Values.DiscoverInstancesResponseSource

Discovers registered instances for a specified namespace and service. You can use DiscoverInstances to discover instances for any type of namespace. DiscoverInstances returns a randomized list of instances allowing customers to distribute traffic evenly across instances. For public and private DNS namespaces, you can also use DNS queries to discover instances.

Sourcetype nonrec t = {
  1. instances : HttpInstanceSummaryList.t option;
    (*

    A complex type that contains one HttpInstanceSummary for each registered instance.

    *)
  2. instancesRevision : Revision.t option;
    (*

    The increasing revision associated to the response Instances list. If a new instance is registered or deregistered, the InstancesRevision updates. The health status updates don't update InstancesRevision.

    *)
}
Sourcetype nonrec error = [
  1. | `InvalidInput of InvalidInput.t
  2. | `NamespaceNotFound of NamespaceNotFound.t
  3. | `RequestLimitExceeded of RequestLimitExceeded.t
  4. | `ServiceNotFound of ServiceNotFound.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : ?instances:??? -> ?instancesRevision:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidInput of InvalidInput.t | `NamespaceNotFound of NamespaceNotFound.t | `RequestLimitExceeded of RequestLimitExceeded.t | `ServiceNotFound of ServiceNotFound.t | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidInput of InvalidInput.t | `NamespaceNotFound of NamespaceNotFound.t | `RequestLimitExceeded of RequestLimitExceeded.t | `ServiceNotFound of ServiceNotFound.t | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `Map of ([> `String of AttrKey.t ] * [> `String of AttrValue.t ]) list | `String of ResourceId.t ]) list ] list | `Long of Revision.t ]) 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