Module Smaws_Client_ElasticLoadBalancing.CreateLoadBalancer

Creates a Classic Load Balancer.

You can add listeners, security groups, subnets, and tags when you create your load balancer, or you can add them later using CreateLoadBalancerListeners, ApplySecurityGroupsToLoadBalancer, AttachLoadBalancerToSubnets, and AddTags.

To describe your current load balancers, see DescribeLoadBalancers. When you are finished with a load balancer, you can delete it using DeleteLoadBalancer.

You can create up to 20 load balancers per region per account. You can request an increase for the number of load balancers for your account. For more information, see Limits for Your Classic Load Balancer in the Classic Load Balancers Guide.

val error_to_string : [ Smaws_Lib.Protocols.AwsQuery.error | `CertificateNotFoundException of Types.certificate_not_found_exception | `DuplicateAccessPointNameException of Types.duplicate_access_point_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 | `SubnetNotFoundException of Types.subnet_not_found_exception | `TooManyAccessPointsException of Types.too_many_access_points_exception | `TooManyTagsException of Types.too_many_tags_exception | `UnsupportedProtocolException of Types.unsupported_protocol_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_access_point_input -> (Types.create_access_point_output, [> Smaws_Lib.Protocols.AwsQuery.error | `CertificateNotFoundException of Types.certificate_not_found_exception | `DuplicateAccessPointNameException of Types.duplicate_access_point_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 | `SubnetNotFoundException of Types.subnet_not_found_exception | `TooManyAccessPointsException of Types.too_many_access_points_exception | `TooManyTagsException of Types.too_many_tags_exception | `UnsupportedProtocolException of Types.unsupported_protocol_exception ]) Stdlib.result
val request_with_metadata : 'http_type Smaws_Lib.Context.t -> Types.create_access_point_input -> (Types.create_access_point_output Smaws_Lib.Response.t, [> Smaws_Lib.Protocols.AwsQuery.error | `CertificateNotFoundException of Types.certificate_not_found_exception | `DuplicateAccessPointNameException of Types.duplicate_access_point_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 | `SubnetNotFoundException of Types.subnet_not_found_exception | `TooManyAccessPointsException of Types.too_many_access_points_exception | `TooManyTagsException of Types.too_many_tags_exception | `UnsupportedProtocolException of Types.unsupported_protocol_exception ] * Smaws_Lib.Response.metadata) Stdlib.result