Module Smaws_Client_ElasticLoadBalancing.CreateAppCookieStickinessPolicy

Generates a stickiness policy with sticky session lifetimes that follow that of an application-generated cookie. This policy can be associated only with HTTP/HTTPS listeners.

This policy is similar to the policy created by CreateLBCookieStickinessPolicy, except that the lifetime of the special Elastic Load Balancing cookie, AWSELB, follows the lifetime of the application-generated cookie specified in the policy configuration. The load balancer only inserts a new stickiness cookie when the application response includes a new application cookie.

If the application cookie is explicitly removed or expires, the session stops being sticky until a new application cookie is issued.

For more information, see Application-Controlled Session Stickiness in the Classic Load Balancers Guide.

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 | `TooManyPoliciesException of Types.too_many_policies_exception ] -> string
val request : 'http_type Smaws_Lib.Context.t -> Types.create_app_cookie_stickiness_policy_input -> (Types.create_app_cookie_stickiness_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 | `TooManyPoliciesException of Types.too_many_policies_exception ]) Stdlib.result