Module Smaws_Client_ElasticLoadBalancingv2.CreateTargetGroup

Creates 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 ] -> string
val 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.result
val 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