Smaws_Client_ElasticLoadBalancing.CreateLoadBalancerPolicyCreates a policy with the specified attributes for the specified load balancer.
Policies are settings that are saved for your load balancer and that can be applied to the listener or the application server, depending on the policy type.
val error_to_string :
[ Smaws_Lib.Protocols.AwsQuery.error
| `AccessPointNotFoundException of Types.access_point_not_found_exception
| `DuplicatePolicyNameException of Types.duplicate_policy_name_exception
| `InvalidConfigurationRequestException of
Types.invalid_configuration_request_exception
| `PolicyTypeNotFoundException of Types.policy_type_not_found_exception
| `TooManyPoliciesException of Types.too_many_policies_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.create_load_balancer_policy_input ->
(Types.create_load_balancer_policy_output,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AccessPointNotFoundException of Types.access_point_not_found_exception
| `DuplicatePolicyNameException of Types.duplicate_policy_name_exception
| `InvalidConfigurationRequestException of
Types.invalid_configuration_request_exception
| `PolicyTypeNotFoundException of Types.policy_type_not_found_exception
| `TooManyPoliciesException of Types.too_many_policies_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.create_load_balancer_policy_input ->
(Types.create_load_balancer_policy_output Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsQuery.error
| `AccessPointNotFoundException of Types.access_point_not_found_exception
| `DuplicatePolicyNameException of Types.duplicate_policy_name_exception
| `InvalidConfigurationRequestException of
Types.invalid_configuration_request_exception
| `PolicyTypeNotFoundException of Types.policy_type_not_found_exception
| `TooManyPoliciesException of Types.too_many_policies_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result