Module Values.TargetSummarySource

Summary information about a target.

Sourcetype nonrec t = {
  1. id : String_.t option;
    (*

    The ID of the target. If the target group type is INSTANCE, this is an instance ID. If the target group type is IP, this is an IP address. If the target group type is LAMBDA, this is the ARN of a Lambda function. If the target type is ALB, this is the ARN of an Application Load Balancer.

    *)
  2. port : Port.t option;
    (*

    The port on which the target is listening.

    *)
  3. status : TargetStatus.t option;
    (*

    The status of the target. DRAINING: The target is being deregistered. No new connections are sent to this target while current connections are being drained. The default draining time is 1 minute. UNAVAILABLE: Health checks are unavailable for the target group. HEALTHY: The target is healthy. UNHEALTHY: The target is unhealthy. INITIAL: Initial health checks on the target are being performed. UNUSED: Target group is not used in a service.

    *)
  4. reasonCode : String_.t option;
    (*

    The code for why the target status is what it is.

    *)
}
Sourceval make : ?id:??? -> ?port:??? -> ?status:??? -> ?reasonCode:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Integer of Port.t | `String of String_.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