Module Values.GetInstancesHealthStatusRequestSource

Gets the current health status (Healthy, Unhealthy, or Unknown) of one or more instances that are associated with a specified service. There's a brief delay between when you register an instance and when the health status for the instance is available.

Sourcetype nonrec t = {
  1. serviceId : Arn.t;
    (*

    The ID or Amazon Resource Name (ARN) of the service that the instance is associated with. For services created in a shared namespace, specify the service ARN. For more information about shared namespaces, see Cross-account Cloud Map namespace sharing in the Cloud Map Developer Guide.

    *)
  2. instances : InstanceIdList.t option;
    (*

    An array that contains the IDs of all the instances that you want to get the health status for. If you omit Instances, Cloud Map returns the health status for all the instances that are associated with the specified service. To get the IDs for the instances that you've registered by using a specified service, submit a ListInstances request.

    *)
  3. maxResults : MaxResults.t option;
    (*

    The maximum number of instances that you want Cloud Map to return in the response to a GetInstancesHealthStatus request. If you don't specify a value for MaxResults, Cloud Map returns up to 100 instances.

    *)
  4. nextToken : NextToken.t option;
    (*

    For the first GetInstancesHealthStatus request, omit this value. If more than MaxResults instances match the specified criteria, you can submit another GetInstancesHealthStatus request to get the next group of results. Specify the value of NextToken from the previous response in the next request.

    *)
}
Sourceval context_ : string
Sourceval make : ?instances:??? -> ?maxResults:??? -> ?nextToken:??? -> serviceId:Arn.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of MaxResults.t | `List of [> `String of ResourceId.t ] list | `String of Arn.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