code: @Override
      public CreateAppCookieStickinessPolicyResult createAppCookieStickinessPolicy(CreateAppCookieStickinessPolicyRequest request) {
          request = beforeClientExecution(request);
          return executeCreateAppCookieStickinessPolicy(request);
      }
docs: <p>
  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.
  </p>
  <p>
  This policy is similar to the policy created by <a>CreateLBCookieStickinessPolicy</a>, except that the lifetime
  of the special Elastic Load Balancing cookie, <code>AWSELB</code>, 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.
  </p>
  <p>
  If the application cookie is explicitly removed or expires, the session stops being sticky until a new
  application cookie is issued.
  </p>
  <p>
  For more information, see <a href=
  "http://docs.aws.amazon.com/elasticloadbalancing/latest/classic/elb-sticky-sessions.html#enable-sticky-sessions-application"
  >Application-Controlled Session Stickiness</a> in the <i>Classic Load Balancers Guide</i>.
  </p>
  
  @param createAppCookieStickinessPolicyRequest
  Contains the parameters for CreateAppCookieStickinessPolicy.
  @return Result of the CreateAppCookieStickinessPolicy operation returned by the service.
  @throws LoadBalancerNotFoundException
  The specified load balancer does not exist.
  @throws DuplicatePolicyNameException
  A policy with the specified name already exists for this load balancer.
  @throws TooManyPoliciesException
  The quota for the number of policies for this load balancer has been reached.
  @throws InvalidConfigurationRequestException
  The requested configuration change is not valid.
  @sample AmazonElasticLoadBalancing.CreateAppCookieStickinessPolicy
  @see <a
  href="http://docs.aws.amazon.com/goto/WebAPI/elasticloadbalancing-2012-06-01/CreateAppCookieStickinessPolicy"
  target="_top">AWS API Documentation</a>