Module Values.RegisterTargetsOutputSource

Registers the specified targets with the specified target group. If the target is an EC2 instance, it must be in the running state when you register it. By default, the load balancer routes requests to registered targets using the protocol and port for the target group. Alternatively, you can override the port for a target when you register it. You can register each EC2 instance or IP address with the same target group multiple times using different ports. For more information, see the following: Register targets for your Application Load Balancer Register targets for your Network Load Balancer Register targets for your Gateway Load Balancer

Sourcetype registerTargetsResult = unit
Sourceand responseMetaData = unit
Sourceand t = {
  1. registerTargetsResult : registerTargetsResult;
  2. responseMetaData : responseMetaData;
}
Sourcetype error = [
  1. | `InvalidTargetException of InvalidTargetException.t
  2. | `TargetGroupNotFoundException of TargetGroupNotFoundException.t
  3. | `TooManyRegistrationsForTargetIdException of TooManyRegistrationsForTargetIdException.t
  4. | `TooManyTargetsException of TooManyTargetsException.t
  5. | `Unknown_operation_error of string * string option
]
Sourceval make : unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `InvalidTargetException of unit | `TargetGroupNotFoundException of unit | `TooManyRegistrationsForTargetIdException of unit | `TooManyTargetsException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `InvalidTargetException of unit | `TargetGroupNotFoundException of unit | `TooManyRegistrationsForTargetIdException of unit | `TooManyTargetsException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval of_header_and_body : ('a * 'b) -> t
Sourceval to_value : 'a -> [> `Structure of 'b list ]
Sourceval to_query : 'a -> Awso.Client.Query.t
Sourceval of_xml : 'a -> t
Sourceval of_string : string -> t
Sourceval of_json : 'a -> t
Sourceval to_json : 'a -> Yojson.Safe.t