예제 #1
0
        public void WAFUpdateXssMatchSet()
        {
            #region updatexssmatchset-1475534098881

            var client   = new AmazonWAFClient();
            var response = client.UpdateXssMatchSet(new UpdateXssMatchSetRequest
            {
                ChangeToken = "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
                Updates     = new List <XssMatchSetUpdate> {
                    new XssMatchSetUpdate {
                        Action        = "DELETE",
                        XssMatchTuple = new XssMatchTuple {
                            FieldToMatch = new FieldToMatch {
                                Type = "QUERY_STRING"
                            },
                            TextTransformation = "URL_DECODE"
                        }
                    }
                },
                XssMatchSetId = "example1ds3t-46da-4fdb-b8d5-abc321j569j5"
            });

            string changeToken = response.ChangeToken;

            #endregion
        }