示例#1
0
        public void WAFRegionalCreateWebACL()
        {
            #region createwebacl-1472061481310

            var client   = new AmazonWAFRegionalClient();
            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
        }