Module Values.TargetFailureSource

Describes a target failure.

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 group 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. This parameter doesn't apply if the target is a Lambda function.

    *)
  3. failureCode : String_.t option;
    (*

    The failure code.

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

    The failure message.

    *)
}
Sourceval make : ?id:??? -> ?port:??? -> ?failureCode:??? -> ?failureMessage:??? -> unit -> t
Sourceval to_value : t -> [> `Structure 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