public void ElasticLoadBalancingCreateAppCookieStickinessPolicy()
        {
            #region elb-create-app-cookie-stickiness-policy-1

            var response = client.CreateAppCookieStickinessPolicy(new CreateAppCookieStickinessPolicyRequest
            {
                CookieName       = "my-app-cookie",
                LoadBalancerName = "my-load-balancer",
                PolicyName       = "my-app-cookie-policy"
            });


            #endregion
        }
 private Amazon.ElasticLoadBalancing.Model.CreateAppCookieStickinessPolicyResponse CallAWSServiceOperation(IAmazonElasticLoadBalancing client, Amazon.ElasticLoadBalancing.Model.CreateAppCookieStickinessPolicyRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "Elastic Load Balancing", "CreateAppCookieStickinessPolicy");
     try
     {
         #if DESKTOP
         return client.CreateAppCookieStickinessPolicy(request);
         #elif CORECLR
         return client.CreateAppCookieStickinessPolicyAsync(request).GetAwaiter().GetResult();
         #else
                 #error "Unknown build edition"
         #endif
     }
     catch (AmazonServiceException exc)
     {
         var webException = exc.InnerException as System.Net.WebException;
         if (webException != null)
         {
             throw new Exception(Utils.Common.FormatNameResolutionFailureMessage(client.Config, webException.Message), webException);
         }
         throw;
     }
 }