Smaws_Client_ElasticLoadBalancingv2.CreateTargetGroupCreates a target group.
For more information, see the following:
This operation is idempotent, which means that it completes at most one time. If you attempt to create multiple target groups with the same settings, each call succeeds.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `DuplicateTargetGroupNameException of
Types.duplicate_target_group_name_exception
| `InvalidConfigurationRequestException of
Types.invalid_configuration_request_exception
| `TooManyTagsException of Types.too_many_tags_exception
| `TooManyTargetGroupsException of Types.too_many_target_groups_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_target_group_input ->
(Types.create_target_group_output,
[> Smaws_Lib.Protocols.AwsQuery.error
| `DuplicateTargetGroupNameException of
Types.duplicate_target_group_name_exception
| `InvalidConfigurationRequestException of
Types.invalid_configuration_request_exception
| `TooManyTagsException of Types.too_many_tags_exception
| `TooManyTargetGroupsException of Types.too_many_target_groups_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_target_group_input ->
(Types.create_target_group_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `DuplicateTargetGroupNameException of
Types.duplicate_target_group_name_exception
| `InvalidConfigurationRequestException of
Types.invalid_configuration_request_exception
| `TooManyTagsException of Types.too_many_tags_exception
| `TooManyTargetGroupsException of Types.too_many_target_groups_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result