Smaws_Client_ElasticLoadBalancingv2.DescribeTargetGroupsDescribes the specified target groups or all of your target groups. By default, all target groups are described. Alternatively, you can specify one of the following to filter the results: the ARN of the load balancer, the names of one or more target groups, or the ARNs of one or more target groups.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `LoadBalancerNotFoundException of Types.load_balancer_not_found_exception
| `TargetGroupNotFoundException of Types.target_group_not_found_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.describe_target_groups_input ->
(Types.describe_target_groups_output,
[> Smaws_Lib.Protocols.AwsQuery.error
| `LoadBalancerNotFoundException of Types.load_balancer_not_found_exception
| `TargetGroupNotFoundException of Types.target_group_not_found_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.describe_target_groups_input ->
(Types.describe_target_groups_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `LoadBalancerNotFoundException of Types.load_balancer_not_found_exception
| `TargetGroupNotFoundException of Types.target_group_not_found_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result