public void WAFRegionalCreateWebACL()
        {
            #region createwebacl-1472061481310

            var response = client.CreateWebACL(new CreateWebACLRequest
            {
                ChangeToken   = "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
                DefaultAction = new WafAction {
                    Type = "ALLOW"
                },
                MetricName = "CreateExample",
                Name       = "CreateExample"
            });

            string changeToken = response.ChangeToken;
            WebACL webACL      = response.WebACL;

            #endregion
        }
 private Amazon.WAFRegional.Model.CreateWebACLResponse CallAWSServiceOperation(IAmazonWAFRegional client, Amazon.WAFRegional.Model.CreateWebACLRequest request)
 {
     Utils.Common.WriteVerboseEndpointMessage(this, client.Config, "AWS WAF Regional", "CreateWebACL");
     try
     {
         #if DESKTOP
         return(client.CreateWebACL(request));
         #elif CORECLR
         return(client.CreateWebACLAsync(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;
     }
 }