Smaws_Client_ElasticLoadBalancingv2.CreateLoadBalancerCreates an Application Load Balancer, Network Load Balancer, or Gateway Load Balancer.
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 load balancers with the same settings, each call succeeds.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `AllocationIdNotFoundException of Types.allocation_id_not_found_exception
| `AvailabilityZoneNotSupportedException of
Types.availability_zone_not_supported_exception
| `DuplicateLoadBalancerNameException of
Types.duplicate_load_balancer_name_exception
| `DuplicateTagKeysException of Types.duplicate_tag_keys_exception
| `InvalidConfigurationRequestException of
Types.invalid_configuration_request_exception
| `InvalidSchemeException of Types.invalid_scheme_exception
| `InvalidSecurityGroupException of Types.invalid_security_group_exception
| `InvalidSubnetException of Types.invalid_subnet_exception
| `OperationNotPermittedException of Types.operation_not_permitted_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `SubnetNotFoundException of Types.subnet_not_found_exception
| `TooManyLoadBalancersException of Types.too_many_load_balancers_exception
| `TooManyTagsException of Types.too_many_tags_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_load_balancer_input ->
(Types.create_load_balancer_output,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AllocationIdNotFoundException of Types.allocation_id_not_found_exception
| `AvailabilityZoneNotSupportedException of
Types.availability_zone_not_supported_exception
| `DuplicateLoadBalancerNameException of
Types.duplicate_load_balancer_name_exception
| `DuplicateTagKeysException of Types.duplicate_tag_keys_exception
| `InvalidConfigurationRequestException of
Types.invalid_configuration_request_exception
| `InvalidSchemeException of Types.invalid_scheme_exception
| `InvalidSecurityGroupException of Types.invalid_security_group_exception
| `InvalidSubnetException of Types.invalid_subnet_exception
| `OperationNotPermittedException of
Types.operation_not_permitted_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `SubnetNotFoundException of Types.subnet_not_found_exception
| `TooManyLoadBalancersException of Types.too_many_load_balancers_exception
| `TooManyTagsException of Types.too_many_tags_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_load_balancer_input ->
(Types.create_load_balancer_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AllocationIdNotFoundException of Types.allocation_id_not_found_exception
| `AvailabilityZoneNotSupportedException of
Types.availability_zone_not_supported_exception
| `DuplicateLoadBalancerNameException of
Types.duplicate_load_balancer_name_exception
| `DuplicateTagKeysException of Types.duplicate_tag_keys_exception
| `InvalidConfigurationRequestException of
Types.invalid_configuration_request_exception
| `InvalidSchemeException of Types.invalid_scheme_exception
| `InvalidSecurityGroupException of Types.invalid_security_group_exception
| `InvalidSubnetException of Types.invalid_subnet_exception
| `OperationNotPermittedException of
Types.operation_not_permitted_exception
| `ResourceInUseException of Types.resource_in_use_exception
| `SubnetNotFoundException of Types.subnet_not_found_exception
| `TooManyLoadBalancersException of Types.too_many_load_balancers_exception
| `TooManyTagsException of Types.too_many_tags_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result