public void WAFGetRule() { #region getrule-1474659238790 var client = new AmazonWAFClient(); var response = client.GetRule(new GetRuleRequest { RuleId = "example1ds3t-46da-4fdb-b8d5-abc321j569j5" }); Rule rule = response.Rule; #endregion }