@aws-sdk/client-waf 3.33.0 → 3.34.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (179) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist/cjs/package.json +38 -38
  3. package/dist/es/WAF.js +1 -14
  4. package/dist/es/WAF.js.map +1 -1
  5. package/dist/es/WAFClient.js +1 -19
  6. package/dist/es/WAFClient.js.map +1 -1
  7. package/dist/es/commands/CreateByteMatchSetCommand.js +2 -58
  8. package/dist/es/commands/CreateByteMatchSetCommand.js.map +1 -1
  9. package/dist/es/commands/CreateGeoMatchSetCommand.js +2 -55
  10. package/dist/es/commands/CreateGeoMatchSetCommand.js.map +1 -1
  11. package/dist/es/commands/CreateIPSetCommand.js +2 -60
  12. package/dist/es/commands/CreateIPSetCommand.js.map +1 -1
  13. package/dist/es/commands/CreateRateBasedRuleCommand.js +2 -120
  14. package/dist/es/commands/CreateRateBasedRuleCommand.js.map +1 -1
  15. package/dist/es/commands/CreateRegexMatchSetCommand.js +2 -58
  16. package/dist/es/commands/CreateRegexMatchSetCommand.js.map +1 -1
  17. package/dist/es/commands/CreateRegexPatternSetCommand.js +2 -54
  18. package/dist/es/commands/CreateRegexPatternSetCommand.js.map +1 -1
  19. package/dist/es/commands/CreateRuleCommand.js +2 -78
  20. package/dist/es/commands/CreateRuleCommand.js.map +1 -1
  21. package/dist/es/commands/CreateRuleGroupCommand.js +2 -49
  22. package/dist/es/commands/CreateRuleGroupCommand.js.map +1 -1
  23. package/dist/es/commands/CreateSizeConstraintSetCommand.js +2 -58
  24. package/dist/es/commands/CreateSizeConstraintSetCommand.js.map +1 -1
  25. package/dist/es/commands/CreateSqlInjectionMatchSetCommand.js +2 -56
  26. package/dist/es/commands/CreateSqlInjectionMatchSetCommand.js.map +1 -1
  27. package/dist/es/commands/CreateWebACLCommand.js +2 -66
  28. package/dist/es/commands/CreateWebACLCommand.js.map +1 -1
  29. package/dist/es/commands/CreateWebACLMigrationStackCommand.js +2 -34
  30. package/dist/es/commands/CreateWebACLMigrationStackCommand.js.map +1 -1
  31. package/dist/es/commands/CreateXssMatchSetCommand.js +2 -56
  32. package/dist/es/commands/CreateXssMatchSetCommand.js.map +1 -1
  33. package/dist/es/commands/DeleteByteMatchSetCommand.js +2 -50
  34. package/dist/es/commands/DeleteByteMatchSetCommand.js.map +1 -1
  35. package/dist/es/commands/DeleteGeoMatchSetCommand.js +2 -50
  36. package/dist/es/commands/DeleteGeoMatchSetCommand.js.map +1 -1
  37. package/dist/es/commands/DeleteIPSetCommand.js +2 -50
  38. package/dist/es/commands/DeleteIPSetCommand.js.map +1 -1
  39. package/dist/es/commands/DeleteLoggingConfigurationCommand.js +2 -36
  40. package/dist/es/commands/DeleteLoggingConfigurationCommand.js.map +1 -1
  41. package/dist/es/commands/DeletePermissionPolicyCommand.js +2 -36
  42. package/dist/es/commands/DeletePermissionPolicyCommand.js.map +1 -1
  43. package/dist/es/commands/DeleteRateBasedRuleCommand.js +2 -54
  44. package/dist/es/commands/DeleteRateBasedRuleCommand.js.map +1 -1
  45. package/dist/es/commands/DeleteRegexMatchSetCommand.js +2 -50
  46. package/dist/es/commands/DeleteRegexMatchSetCommand.js.map +1 -1
  47. package/dist/es/commands/DeleteRegexPatternSetCommand.js +2 -36
  48. package/dist/es/commands/DeleteRegexPatternSetCommand.js.map +1 -1
  49. package/dist/es/commands/DeleteRuleCommand.js +2 -50
  50. package/dist/es/commands/DeleteRuleCommand.js.map +1 -1
  51. package/dist/es/commands/DeleteRuleGroupCommand.js +2 -50
  52. package/dist/es/commands/DeleteRuleGroupCommand.js.map +1 -1
  53. package/dist/es/commands/DeleteSizeConstraintSetCommand.js +2 -50
  54. package/dist/es/commands/DeleteSizeConstraintSetCommand.js.map +1 -1
  55. package/dist/es/commands/DeleteSqlInjectionMatchSetCommand.js +2 -51
  56. package/dist/es/commands/DeleteSqlInjectionMatchSetCommand.js.map +1 -1
  57. package/dist/es/commands/DeleteWebACLCommand.js +2 -48
  58. package/dist/es/commands/DeleteWebACLCommand.js.map +1 -1
  59. package/dist/es/commands/DeleteXssMatchSetCommand.js +2 -51
  60. package/dist/es/commands/DeleteXssMatchSetCommand.js.map +1 -1
  61. package/dist/es/commands/GetByteMatchSetCommand.js +2 -35
  62. package/dist/es/commands/GetByteMatchSetCommand.js.map +1 -1
  63. package/dist/es/commands/GetChangeTokenCommand.js +2 -41
  64. package/dist/es/commands/GetChangeTokenCommand.js.map +1 -1
  65. package/dist/es/commands/GetChangeTokenStatusCommand.js +2 -51
  66. package/dist/es/commands/GetChangeTokenStatusCommand.js.map +1 -1
  67. package/dist/es/commands/GetGeoMatchSetCommand.js +2 -35
  68. package/dist/es/commands/GetGeoMatchSetCommand.js.map +1 -1
  69. package/dist/es/commands/GetIPSetCommand.js +2 -35
  70. package/dist/es/commands/GetIPSetCommand.js.map +1 -1
  71. package/dist/es/commands/GetLoggingConfigurationCommand.js +2 -35
  72. package/dist/es/commands/GetLoggingConfigurationCommand.js.map +1 -1
  73. package/dist/es/commands/GetPermissionPolicyCommand.js +2 -35
  74. package/dist/es/commands/GetPermissionPolicyCommand.js.map +1 -1
  75. package/dist/es/commands/GetRateBasedRuleCommand.js +2 -37
  76. package/dist/es/commands/GetRateBasedRuleCommand.js.map +1 -1
  77. package/dist/es/commands/GetRateBasedRuleManagedKeysCommand.js +2 -37
  78. package/dist/es/commands/GetRateBasedRuleManagedKeysCommand.js.map +1 -1
  79. package/dist/es/commands/GetRegexMatchSetCommand.js +2 -35
  80. package/dist/es/commands/GetRegexMatchSetCommand.js.map +1 -1
  81. package/dist/es/commands/GetRegexPatternSetCommand.js +2 -35
  82. package/dist/es/commands/GetRegexPatternSetCommand.js.map +1 -1
  83. package/dist/es/commands/GetRuleCommand.js +2 -35
  84. package/dist/es/commands/GetRuleCommand.js.map +1 -1
  85. package/dist/es/commands/GetRuleGroupCommand.js +2 -36
  86. package/dist/es/commands/GetRuleGroupCommand.js.map +1 -1
  87. package/dist/es/commands/GetSampledRequestsCommand.js +2 -39
  88. package/dist/es/commands/GetSampledRequestsCommand.js.map +1 -1
  89. package/dist/es/commands/GetSizeConstraintSetCommand.js +2 -35
  90. package/dist/es/commands/GetSizeConstraintSetCommand.js.map +1 -1
  91. package/dist/es/commands/GetSqlInjectionMatchSetCommand.js +2 -35
  92. package/dist/es/commands/GetSqlInjectionMatchSetCommand.js.map +1 -1
  93. package/dist/es/commands/GetWebACLCommand.js +2 -35
  94. package/dist/es/commands/GetWebACLCommand.js.map +1 -1
  95. package/dist/es/commands/GetXssMatchSetCommand.js +2 -35
  96. package/dist/es/commands/GetXssMatchSetCommand.js.map +1 -1
  97. package/dist/es/commands/ListActivatedRulesInRuleGroupCommand.js +2 -35
  98. package/dist/es/commands/ListActivatedRulesInRuleGroupCommand.js.map +1 -1
  99. package/dist/es/commands/ListByteMatchSetsCommand.js +2 -35
  100. package/dist/es/commands/ListByteMatchSetsCommand.js.map +1 -1
  101. package/dist/es/commands/ListGeoMatchSetsCommand.js +2 -35
  102. package/dist/es/commands/ListGeoMatchSetsCommand.js.map +1 -1
  103. package/dist/es/commands/ListIPSetsCommand.js +2 -35
  104. package/dist/es/commands/ListIPSetsCommand.js.map +1 -1
  105. package/dist/es/commands/ListLoggingConfigurationsCommand.js +2 -35
  106. package/dist/es/commands/ListLoggingConfigurationsCommand.js.map +1 -1
  107. package/dist/es/commands/ListRateBasedRulesCommand.js +2 -35
  108. package/dist/es/commands/ListRateBasedRulesCommand.js.map +1 -1
  109. package/dist/es/commands/ListRegexMatchSetsCommand.js +2 -35
  110. package/dist/es/commands/ListRegexMatchSetsCommand.js.map +1 -1
  111. package/dist/es/commands/ListRegexPatternSetsCommand.js +2 -35
  112. package/dist/es/commands/ListRegexPatternSetsCommand.js.map +1 -1
  113. package/dist/es/commands/ListRuleGroupsCommand.js +2 -35
  114. package/dist/es/commands/ListRuleGroupsCommand.js.map +1 -1
  115. package/dist/es/commands/ListRulesCommand.js +2 -35
  116. package/dist/es/commands/ListRulesCommand.js.map +1 -1
  117. package/dist/es/commands/ListSizeConstraintSetsCommand.js +2 -35
  118. package/dist/es/commands/ListSizeConstraintSetsCommand.js.map +1 -1
  119. package/dist/es/commands/ListSqlInjectionMatchSetsCommand.js +2 -35
  120. package/dist/es/commands/ListSqlInjectionMatchSetsCommand.js.map +1 -1
  121. package/dist/es/commands/ListSubscribedRuleGroupsCommand.js +2 -35
  122. package/dist/es/commands/ListSubscribedRuleGroupsCommand.js.map +1 -1
  123. package/dist/es/commands/ListTagsForResourceCommand.js +2 -36
  124. package/dist/es/commands/ListTagsForResourceCommand.js.map +1 -1
  125. package/dist/es/commands/ListWebACLsCommand.js +2 -35
  126. package/dist/es/commands/ListWebACLsCommand.js.map +1 -1
  127. package/dist/es/commands/ListXssMatchSetsCommand.js +2 -35
  128. package/dist/es/commands/ListXssMatchSetsCommand.js.map +1 -1
  129. package/dist/es/commands/PutLoggingConfigurationCommand.js +2 -52
  130. package/dist/es/commands/PutLoggingConfigurationCommand.js.map +1 -1
  131. package/dist/es/commands/PutPermissionPolicyCommand.js +2 -67
  132. package/dist/es/commands/PutPermissionPolicyCommand.js.map +1 -1
  133. package/dist/es/commands/TagResourceCommand.js +2 -36
  134. package/dist/es/commands/TagResourceCommand.js.map +1 -1
  135. package/dist/es/commands/UntagResourceCommand.js +2 -35
  136. package/dist/es/commands/UntagResourceCommand.js.map +1 -1
  137. package/dist/es/commands/UpdateByteMatchSetCommand.js +2 -73
  138. package/dist/es/commands/UpdateByteMatchSetCommand.js.map +1 -1
  139. package/dist/es/commands/UpdateGeoMatchSetCommand.js +2 -65
  140. package/dist/es/commands/UpdateGeoMatchSetCommand.js.map +1 -1
  141. package/dist/es/commands/UpdateIPSetCommand.js +2 -100
  142. package/dist/es/commands/UpdateIPSetCommand.js.map +1 -1
  143. package/dist/es/commands/UpdateRateBasedRuleCommand.js +2 -81
  144. package/dist/es/commands/UpdateRateBasedRuleCommand.js.map +1 -1
  145. package/dist/es/commands/UpdateRegexMatchSetCommand.js +2 -69
  146. package/dist/es/commands/UpdateRegexMatchSetCommand.js.map +1 -1
  147. package/dist/es/commands/UpdateRegexPatternSetCommand.js +2 -74
  148. package/dist/es/commands/UpdateRegexPatternSetCommand.js.map +1 -1
  149. package/dist/es/commands/UpdateRuleCommand.js +2 -76
  150. package/dist/es/commands/UpdateRuleCommand.js.map +1 -1
  151. package/dist/es/commands/UpdateRuleGroupCommand.js +2 -59
  152. package/dist/es/commands/UpdateRuleGroupCommand.js.map +1 -1
  153. package/dist/es/commands/UpdateSizeConstraintSetCommand.js +2 -77
  154. package/dist/es/commands/UpdateSizeConstraintSetCommand.js.map +1 -1
  155. package/dist/es/commands/UpdateSqlInjectionMatchSetCommand.js +2 -76
  156. package/dist/es/commands/UpdateSqlInjectionMatchSetCommand.js.map +1 -1
  157. package/dist/es/commands/UpdateWebACLCommand.js +2 -106
  158. package/dist/es/commands/UpdateWebACLCommand.js.map +1 -1
  159. package/dist/es/commands/UpdateXssMatchSetCommand.js +2 -78
  160. package/dist/es/commands/UpdateXssMatchSetCommand.js.map +1 -1
  161. package/dist/es/endpoints.js +1 -1
  162. package/dist/es/endpoints.js.map +1 -1
  163. package/dist/es/models/models_0.js +0 -684
  164. package/dist/es/models/models_0.js.map +1 -1
  165. package/dist/es/package.json +38 -38
  166. package/dist/es/protocols/Aws_json1_1.js +2118 -2123
  167. package/dist/es/protocols/Aws_json1_1.js.map +1 -1
  168. package/dist/es/runtimeConfig.browser.js +0 -3
  169. package/dist/es/runtimeConfig.browser.js.map +1 -1
  170. package/dist/es/runtimeConfig.js +0 -3
  171. package/dist/es/runtimeConfig.js.map +1 -1
  172. package/dist/es/runtimeConfig.native.js +0 -3
  173. package/dist/es/runtimeConfig.native.js.map +1 -1
  174. package/dist/es/runtimeConfig.shared.js +0 -3
  175. package/dist/es/runtimeConfig.shared.js.map +1 -1
  176. package/package.json +38 -38
  177. package/tsconfig.es.json +0 -2
  178. package/tsconfig.json +4 -5
  179. package/tsconfig.types.json +8 -0
@@ -3,67 +3,13 @@ import { CreateSqlInjectionMatchSetRequest, CreateSqlInjectionMatchSetResponse }
3
3
  import { deserializeAws_json1_1CreateSqlInjectionMatchSetCommand, serializeAws_json1_1CreateSqlInjectionMatchSetCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <note>
8
- * <p>This is <b>AWS WAF Classic</b> documentation. For
9
- * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
10
- * WAF Classic</a> in the developer guide.</p>
11
- * <p>
12
- * <b>For the latest version of AWS
13
- * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
14
- * </note>
15
- * <p>Creates a <a>SqlInjectionMatchSet</a>, which you use to allow, block, or count requests that contain snippets of SQL code in a
16
- * specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.</p>
17
- * <p>To create and configure a <code>SqlInjectionMatchSet</code>, perform the following steps:</p>
18
- * <ol>
19
- * <li>
20
- * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
21
- * <code>CreateSqlInjectionMatchSet</code> request.</p>
22
- * </li>
23
- * <li>
24
- * <p>Submit a <code>CreateSqlInjectionMatchSet</code> request.</p>
25
- * </li>
26
- * <li>
27
- * <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
28
- * <a>UpdateSqlInjectionMatchSet</a> request.</p>
29
- * </li>
30
- * <li>
31
- * <p>Submit an <a>UpdateSqlInjectionMatchSet</a> request to specify the parts of web requests in which you want to
32
- * allow, block, or count malicious SQL code.</p>
33
- * </li>
34
- * </ol>
35
- * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
36
- * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
37
- * @example
38
- * Use a bare-bones client and the command you need to make an API call.
39
- * ```javascript
40
- * import { WAFClient, CreateSqlInjectionMatchSetCommand } from "@aws-sdk/client-waf"; // ES Modules import
41
- * // const { WAFClient, CreateSqlInjectionMatchSetCommand } = require("@aws-sdk/client-waf"); // CommonJS import
42
- * const client = new WAFClient(config);
43
- * const command = new CreateSqlInjectionMatchSetCommand(input);
44
- * const response = await client.send(command);
45
- * ```
46
- *
47
- * @see {@link CreateSqlInjectionMatchSetCommandInput} for command's `input` shape.
48
- * @see {@link CreateSqlInjectionMatchSetCommandOutput} for command's `response` shape.
49
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
50
- *
51
- */
52
- var CreateSqlInjectionMatchSetCommand = /** @class */ (function (_super) {
6
+ var CreateSqlInjectionMatchSetCommand = (function (_super) {
53
7
  __extends(CreateSqlInjectionMatchSetCommand, _super);
54
- // Start section: command_properties
55
- // End section: command_properties
56
8
  function CreateSqlInjectionMatchSetCommand(input) {
57
- var _this =
58
- // Start section: command_constructor
59
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
60
10
  _this.input = input;
61
11
  return _this;
62
- // End section: command_constructor
63
12
  }
64
- /**
65
- * @internal
66
- */
67
13
  CreateSqlInjectionMatchSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
68
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
69
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"CreateSqlInjectionMatchSetCommand.js","sourceRoot":"","sources":["../../../commands/CreateSqlInjectionMatchSetCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iCAAiC,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AAC3G,OAAO,EACL,uDAAuD,EACvD,qDAAqD,GACtD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,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;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,qDAAS,GAAjB,UAAkB,KAA6C,EAAE,OAAuB;QACtF,OAAO,qDAAqD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAEO,uDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,uDAAuD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;IAIH,wCAAC;AAAD,CAAC,AAzDD,CAAuD,QAAQ,GAyD9D"}
@@ -3,77 +3,13 @@ import { CreateWebACLRequest, CreateWebACLResponse } from "../models/models_0";
3
3
  import { deserializeAws_json1_1CreateWebACLCommand, serializeAws_json1_1CreateWebACLCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <note>
8
- * <p>This is <b>AWS WAF Classic</b> documentation. For
9
- * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
10
- * WAF Classic</a> in the developer guide.</p>
11
- * <p>
12
- * <b>For the latest version of AWS
13
- * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
14
- * </note>
15
- * <p>Creates a <code>WebACL</code>, which contains the <code>Rules</code> that identify the CloudFront web requests that you want to allow, block, or count.
16
- * AWS WAF evaluates <code>Rules</code> in order based on the value of <code>Priority</code> for each <code>Rule</code>.</p>
17
- * <p>You also specify a default action, either <code>ALLOW</code> or <code>BLOCK</code>. If a web request doesn't match
18
- * any of the <code>Rules</code> in a <code>WebACL</code>, AWS WAF responds to the request with the default action. </p>
19
- * <p>To create and configure a <code>WebACL</code>, perform the following steps:</p>
20
- * <ol>
21
- * <li>
22
- * <p>Create and update the <code>ByteMatchSet</code> objects and other predicates that you want to include in <code>Rules</code>.
23
- * For more information, see <a>CreateByteMatchSet</a>, <a>UpdateByteMatchSet</a>, <a>CreateIPSet</a>, <a>UpdateIPSet</a>,
24
- * <a>CreateSqlInjectionMatchSet</a>, and <a>UpdateSqlInjectionMatchSet</a>.</p>
25
- * </li>
26
- * <li>
27
- * <p>Create and update the <code>Rules</code> that you want to include in the <code>WebACL</code>. For more information, see
28
- * <a>CreateRule</a> and <a>UpdateRule</a>.</p>
29
- * </li>
30
- * <li>
31
- * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
32
- * <code>CreateWebACL</code> request.</p>
33
- * </li>
34
- * <li>
35
- * <p>Submit a <code>CreateWebACL</code> request.</p>
36
- * </li>
37
- * <li>
38
- * <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
39
- * <a>UpdateWebACL</a> request.</p>
40
- * </li>
41
- * <li>
42
- * <p>Submit an <a>UpdateWebACL</a> request to specify the <code>Rules</code> that you want to include in the <code>WebACL</code>,
43
- * to specify the default action, and to associate the <code>WebACL</code> with a CloudFront distribution.</p>
44
- * </li>
45
- * </ol>
46
- * <p>For more information about how to use the AWS WAF API, see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
47
- * @example
48
- * Use a bare-bones client and the command you need to make an API call.
49
- * ```javascript
50
- * import { WAFClient, CreateWebACLCommand } from "@aws-sdk/client-waf"; // ES Modules import
51
- * // const { WAFClient, CreateWebACLCommand } = require("@aws-sdk/client-waf"); // CommonJS import
52
- * const client = new WAFClient(config);
53
- * const command = new CreateWebACLCommand(input);
54
- * const response = await client.send(command);
55
- * ```
56
- *
57
- * @see {@link CreateWebACLCommandInput} for command's `input` shape.
58
- * @see {@link CreateWebACLCommandOutput} for command's `response` shape.
59
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
60
- *
61
- */
62
- var CreateWebACLCommand = /** @class */ (function (_super) {
6
+ var CreateWebACLCommand = (function (_super) {
63
7
  __extends(CreateWebACLCommand, _super);
64
- // Start section: command_properties
65
- // End section: command_properties
66
8
  function CreateWebACLCommand(input) {
67
- var _this =
68
- // Start section: command_constructor
69
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
70
10
  _this.input = input;
71
11
  return _this;
72
- // End section: command_constructor
73
12
  }
74
- /**
75
- * @internal
76
- */
77
13
  CreateWebACLCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
78
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
79
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"CreateWebACLCommand.js","sourceRoot":"","sources":["../../../commands/CreateWebACLCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,mBAAmB,EAAE,oBAAoB,EAAE,MAAM,oBAAoB,CAAC;AAC/E,OAAO,EACL,yCAAyC,EACzC,uCAAuC,GACxC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH;IAAyC,uCAIxC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,6BAAqB,KAA+B;QAApD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA0B;;QAGlD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,+CAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,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,yCAAyC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;IAIH,0BAAC;AAAD,CAAC,AAtDD,CAAyC,QAAQ,GAsDhD"}
@@ -3,45 +3,13 @@ import { CreateWebACLMigrationStackRequest, CreateWebACLMigrationStackResponse }
3
3
  import { deserializeAws_json1_1CreateWebACLMigrationStackCommand, serializeAws_json1_1CreateWebACLMigrationStackCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <p>Creates an AWS CloudFormation WAFV2 template for the specified web ACL in the specified Amazon S3 bucket.
8
- * Then, in CloudFormation, you create a stack from the template, to create the web ACL and its resources in AWS WAFV2.
9
- * Use this to migrate your AWS WAF Classic web ACL to the latest version of AWS WAF.</p>
10
- * <p>This is part of a larger migration procedure for web ACLs from AWS WAF Classic to the latest version of AWS WAF.
11
- * For the full procedure, including caveats and manual steps to complete
12
- * the migration and switch over to the new web ACL, see
13
- * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-migrating-from-classic.html">Migrating your AWS WAF Classic resources to AWS WAF</a> in the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF
14
- * Developer Guide</a>. </p>
15
- * @example
16
- * Use a bare-bones client and the command you need to make an API call.
17
- * ```javascript
18
- * import { WAFClient, CreateWebACLMigrationStackCommand } from "@aws-sdk/client-waf"; // ES Modules import
19
- * // const { WAFClient, CreateWebACLMigrationStackCommand } = require("@aws-sdk/client-waf"); // CommonJS import
20
- * const client = new WAFClient(config);
21
- * const command = new CreateWebACLMigrationStackCommand(input);
22
- * const response = await client.send(command);
23
- * ```
24
- *
25
- * @see {@link CreateWebACLMigrationStackCommandInput} for command's `input` shape.
26
- * @see {@link CreateWebACLMigrationStackCommandOutput} for command's `response` shape.
27
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
28
- *
29
- */
30
- var CreateWebACLMigrationStackCommand = /** @class */ (function (_super) {
6
+ var CreateWebACLMigrationStackCommand = (function (_super) {
31
7
  __extends(CreateWebACLMigrationStackCommand, _super);
32
- // Start section: command_properties
33
- // End section: command_properties
34
8
  function CreateWebACLMigrationStackCommand(input) {
35
- var _this =
36
- // Start section: command_constructor
37
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
38
10
  _this.input = input;
39
11
  return _this;
40
- // End section: command_constructor
41
12
  }
42
- /**
43
- * @internal
44
- */
45
13
  CreateWebACLMigrationStackCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
46
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
47
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"CreateWebACLMigrationStackCommand.js","sourceRoot":"","sources":["../../../commands/CreateWebACLMigrationStackCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iCAAiC,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AAC3G,OAAO,EACL,uDAAuD,EACvD,qDAAqD,GACtD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH;IAAuD,qDAItD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,2CAAqB,KAA6C;QAAlE;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAwC;;QAGhE,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,6DAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,mCAAmC,CAAC;QACxD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,iCAAiC,CAAC,kBAAkB;YAC7E,wBAAwB,EAAE,kCAAkC,CAAC,kBAAkB;SAChF,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,qDAAS,GAAjB,UAAkB,KAA6C,EAAE,OAAuB;QACtF,OAAO,qDAAqD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAEO,uDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,uDAAuD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;IAIH,wCAAC;AAAD,CAAC,AAzDD,CAAuD,QAAQ,GAyD9D"}
1
+ {"version":3,"file":"CreateWebACLMigrationStackCommand.js","sourceRoot":"","sources":["../../../commands/CreateWebACLMigrationStackCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iCAAiC,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AAC3G,OAAO,EACL,uDAAuD,EACvD,qDAAqD,GACtD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAw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 import { CreateXssMatchSetRequest, CreateXssMatchSetResponse } from "../models/m
3
3
  import { deserializeAws_json1_1CreateXssMatchSetCommand, serializeAws_json1_1CreateXssMatchSetCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <note>
8
- * <p>This is <b>AWS WAF Classic</b> documentation. For
9
- * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
10
- * WAF Classic</a> in the developer guide.</p>
11
- * <p>
12
- * <b>For the latest version of AWS
13
- * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
14
- * </note>
15
- * <p>Creates an <a>XssMatchSet</a>, which you use to allow, block, or count requests that contain cross-site scripting attacks
16
- * in the specified part of web requests. AWS WAF searches for character sequences that are likely to be malicious strings.</p>
17
- * <p>To create and configure an <code>XssMatchSet</code>, perform the following steps:</p>
18
- * <ol>
19
- * <li>
20
- * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
21
- * <code>CreateXssMatchSet</code> request.</p>
22
- * </li>
23
- * <li>
24
- * <p>Submit a <code>CreateXssMatchSet</code> request.</p>
25
- * </li>
26
- * <li>
27
- * <p>Use <code>GetChangeToken</code> to get the change token that you provide in the <code>ChangeToken</code> parameter of an
28
- * <a>UpdateXssMatchSet</a> request.</p>
29
- * </li>
30
- * <li>
31
- * <p>Submit an <a>UpdateXssMatchSet</a> request to specify the parts of web requests in which you want to
32
- * allow, block, or count cross-site scripting attacks.</p>
33
- * </li>
34
- * </ol>
35
- * <p>For more information about how to use the AWS WAF API to allow or block HTTP requests, see the
36
- * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/">AWS WAF Developer Guide</a>.</p>
37
- * @example
38
- * Use a bare-bones client and the command you need to make an API call.
39
- * ```javascript
40
- * import { WAFClient, CreateXssMatchSetCommand } from "@aws-sdk/client-waf"; // ES Modules import
41
- * // const { WAFClient, CreateXssMatchSetCommand } = require("@aws-sdk/client-waf"); // CommonJS import
42
- * const client = new WAFClient(config);
43
- * const command = new CreateXssMatchSetCommand(input);
44
- * const response = await client.send(command);
45
- * ```
46
- *
47
- * @see {@link CreateXssMatchSetCommandInput} for command's `input` shape.
48
- * @see {@link CreateXssMatchSetCommandOutput} for command's `response` shape.
49
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
50
- *
51
- */
52
- var CreateXssMatchSetCommand = /** @class */ (function (_super) {
6
+ var CreateXssMatchSetCommand = (function (_super) {
53
7
  __extends(CreateXssMatchSetCommand, _super);
54
- // Start section: command_properties
55
- // End section: command_properties
56
8
  function CreateXssMatchSetCommand(input) {
57
- var _this =
58
- // Start section: command_constructor
59
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
60
10
  _this.input = input;
61
11
  return _this;
62
- // End section: command_constructor
63
12
  }
64
- /**
65
- * @internal
66
- */
67
13
  CreateXssMatchSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
68
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
69
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"CreateXssMatchSetCommand.js","sourceRoot":"","sources":["../../../commands/CreateXssMatchSetCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACzF,OAAO,EACL,8CAA8C,EAC9C,4CAA4C,GAC7C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,4CAAS,GAAjB,UAAkB,KAAoC,EAAE,OAAuB;QAC7E,OAAO,4CAA4C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAEO,8CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,8CAA8C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAIH,+BAAC;AAAD,CAAC,AAtDD,CAA8C,QAAQ,GAsDrD"}
@@ -3,61 +3,13 @@ import { DeleteByteMatchSetRequest, DeleteByteMatchSetResponse } from "../models
3
3
  import { deserializeAws_json1_1DeleteByteMatchSetCommand, serializeAws_json1_1DeleteByteMatchSetCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <note>
8
- * <p>This is <b>AWS WAF Classic</b> documentation. For
9
- * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
10
- * WAF Classic</a> in the developer guide.</p>
11
- * <p>
12
- * <b>For the latest version of AWS
13
- * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
14
- * </note>
15
- * <p>Permanently deletes a <a>ByteMatchSet</a>. You can't delete a <code>ByteMatchSet</code> if it's still used in any <code>Rules</code>
16
- * or if it still includes any <a>ByteMatchTuple</a> objects (any filters).</p>
17
- * <p>If you just want to remove a <code>ByteMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
18
- * <p>To permanently delete a <code>ByteMatchSet</code>, perform the following steps:</p>
19
- * <ol>
20
- * <li>
21
- * <p>Update the <code>ByteMatchSet</code> to remove filters, if any. For more information, see <a>UpdateByteMatchSet</a>.</p>
22
- * </li>
23
- * <li>
24
- * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
25
- * <code>DeleteByteMatchSet</code> request.</p>
26
- * </li>
27
- * <li>
28
- * <p>Submit a <code>DeleteByteMatchSet</code> request.</p>
29
- * </li>
30
- * </ol>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { WAFClient, DeleteByteMatchSetCommand } from "@aws-sdk/client-waf"; // ES Modules import
35
- * // const { WAFClient, DeleteByteMatchSetCommand } = require("@aws-sdk/client-waf"); // CommonJS import
36
- * const client = new WAFClient(config);
37
- * const command = new DeleteByteMatchSetCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link DeleteByteMatchSetCommandInput} for command's `input` shape.
42
- * @see {@link DeleteByteMatchSetCommandOutput} for command's `response` shape.
43
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
- var DeleteByteMatchSetCommand = /** @class */ (function (_super) {
6
+ var DeleteByteMatchSetCommand = (function (_super) {
47
7
  __extends(DeleteByteMatchSetCommand, _super);
48
- // Start section: command_properties
49
- // End section: command_properties
50
8
  function DeleteByteMatchSetCommand(input) {
51
- var _this =
52
- // Start section: command_constructor
53
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
54
10
  _this.input = input;
55
11
  return _this;
56
- // End section: command_constructor
57
12
  }
58
- /**
59
- * @internal
60
- */
61
13
  DeleteByteMatchSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
62
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"DeleteByteMatchSetCommand.js","sourceRoot":"","sources":["../../../commands/DeleteByteMatchSetCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,yBAAyB,EAAE,0BAA0B,EAAE,MAA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A;YACX,uBAAuB,EAAE,yBAAyB,CAAC,kBAAkB;YACrE,wBAAwB,EAAE,0BAA0B,CAAC,kBAAkB;SACxE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,6CAAS,GAAjB,UAAkB,KAAqC,EAAE,OAAuB;QAC9E,OAAO,6CAA6C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACvE,CAAC;IAEO,+CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,+CAA+C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAC1E,CAAC;IAIH,gCAAC;AAAD,CAAC,AAtDD,CAA+C,QAAQ,GAsDtD"}
@@ -3,61 +3,13 @@ import { DeleteGeoMatchSetRequest, DeleteGeoMatchSetResponse } from "../models/m
3
3
  import { deserializeAws_json1_1DeleteGeoMatchSetCommand, serializeAws_json1_1DeleteGeoMatchSetCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <note>
8
- * <p>This is <b>AWS WAF Classic</b> documentation. For
9
- * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
10
- * WAF Classic</a> in the developer guide.</p>
11
- * <p>
12
- * <b>For the latest version of AWS
13
- * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
14
- * </note>
15
- * <p>Permanently deletes a <a>GeoMatchSet</a>. You can't delete a <code>GeoMatchSet</code> if it's still used in any <code>Rules</code> or
16
- * if it still includes any countries.</p>
17
- * <p>If you just want to remove a <code>GeoMatchSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
18
- * <p>To permanently delete a <code>GeoMatchSet</code> from AWS WAF, perform the following steps:</p>
19
- * <ol>
20
- * <li>
21
- * <p>Update the <code>GeoMatchSet</code> to remove any countries. For more information, see <a>UpdateGeoMatchSet</a>.</p>
22
- * </li>
23
- * <li>
24
- * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
25
- * <code>DeleteGeoMatchSet</code> request.</p>
26
- * </li>
27
- * <li>
28
- * <p>Submit a <code>DeleteGeoMatchSet</code> request.</p>
29
- * </li>
30
- * </ol>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { WAFClient, DeleteGeoMatchSetCommand } from "@aws-sdk/client-waf"; // ES Modules import
35
- * // const { WAFClient, DeleteGeoMatchSetCommand } = require("@aws-sdk/client-waf"); // CommonJS import
36
- * const client = new WAFClient(config);
37
- * const command = new DeleteGeoMatchSetCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link DeleteGeoMatchSetCommandInput} for command's `input` shape.
42
- * @see {@link DeleteGeoMatchSetCommandOutput} for command's `response` shape.
43
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
- var DeleteGeoMatchSetCommand = /** @class */ (function (_super) {
6
+ var DeleteGeoMatchSetCommand = (function (_super) {
47
7
  __extends(DeleteGeoMatchSetCommand, _super);
48
- // Start section: command_properties
49
- // End section: command_properties
50
8
  function DeleteGeoMatchSetCommand(input) {
51
- var _this =
52
- // Start section: command_constructor
53
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
54
10
  _this.input = input;
55
11
  return _this;
56
- // End section: command_constructor
57
12
  }
58
- /**
59
- * @internal
60
- */
61
13
  DeleteGeoMatchSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
62
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"DeleteGeoMatchSetCommand.js","sourceRoot":"","sources":["../../../commands/DeleteGeoMatchSetCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,wBAAwB,EAAE,yBAAyB,EAAE,MAAM,oBAAoB,CAAC;AACzF,OAAO,EACL,8CAA8C,EAC9C,4CAA4C,GAC7C,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH;IAA8C,4CAI7C;IACC,oCAAoC;IACpC,kCAAkC;IAElC,kCAAqB,KAAoC;QAAzD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAA+B;;QAGvD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,oDAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,0BAA0B,CAAC;QAC/C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,wBAAwB,CAAC,kBAAkB;YACpE,wBAAwB,EA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AK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,0BAA0B,CAAC;QAC/C,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,wBAAwB,CAAC,kBAAkB;YACpE,wBAAwB,EAAE,yBAAyB,CAAC,kBAAkB;SACvE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,4CAAS,GAAjB,UAAkB,KAAoC,EAAE,OAAuB;QAC7E,OAAO,4CAA4C,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAEO,8CAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,8CAA8C,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACzE,CAAC;IAIH,+BAAC;AAAD,CAAC,AAtDD,CAA8C,QAAQ,GAsDrD"}
@@ -3,61 +3,13 @@ import { DeleteIPSetRequest, DeleteIPSetResponse } from "../models/models_0";
3
3
  import { deserializeAws_json1_1DeleteIPSetCommand, serializeAws_json1_1DeleteIPSetCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <note>
8
- * <p>This is <b>AWS WAF Classic</b> documentation. For
9
- * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
10
- * WAF Classic</a> in the developer guide.</p>
11
- * <p>
12
- * <b>For the latest version of AWS
13
- * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
14
- * </note>
15
- * <p>Permanently deletes an <a>IPSet</a>. You can't delete an <code>IPSet</code> if it's still used in any <code>Rules</code> or
16
- * if it still includes any IP addresses.</p>
17
- * <p>If you just want to remove an <code>IPSet</code> from a <code>Rule</code>, use <a>UpdateRule</a>.</p>
18
- * <p>To permanently delete an <code>IPSet</code> from AWS WAF, perform the following steps:</p>
19
- * <ol>
20
- * <li>
21
- * <p>Update the <code>IPSet</code> to remove IP address ranges, if any. For more information, see <a>UpdateIPSet</a>.</p>
22
- * </li>
23
- * <li>
24
- * <p>Use <a>GetChangeToken</a> to get the change token that you provide in the <code>ChangeToken</code> parameter of a
25
- * <code>DeleteIPSet</code> request.</p>
26
- * </li>
27
- * <li>
28
- * <p>Submit a <code>DeleteIPSet</code> request.</p>
29
- * </li>
30
- * </ol>
31
- * @example
32
- * Use a bare-bones client and the command you need to make an API call.
33
- * ```javascript
34
- * import { WAFClient, DeleteIPSetCommand } from "@aws-sdk/client-waf"; // ES Modules import
35
- * // const { WAFClient, DeleteIPSetCommand } = require("@aws-sdk/client-waf"); // CommonJS import
36
- * const client = new WAFClient(config);
37
- * const command = new DeleteIPSetCommand(input);
38
- * const response = await client.send(command);
39
- * ```
40
- *
41
- * @see {@link DeleteIPSetCommandInput} for command's `input` shape.
42
- * @see {@link DeleteIPSetCommandOutput} for command's `response` shape.
43
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
44
- *
45
- */
46
- var DeleteIPSetCommand = /** @class */ (function (_super) {
6
+ var DeleteIPSetCommand = (function (_super) {
47
7
  __extends(DeleteIPSetCommand, _super);
48
- // Start section: command_properties
49
- // End section: command_properties
50
8
  function DeleteIPSetCommand(input) {
51
- var _this =
52
- // Start section: command_constructor
53
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
54
10
  _this.input = input;
55
11
  return _this;
56
- // End section: command_constructor
57
12
  }
58
- /**
59
- * @internal
60
- */
61
13
  DeleteIPSetCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
62
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
63
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"DeleteIPSetCommand.js","sourceRoot":"","sources":["../../../commands/DeleteIPSetCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,oBAAoB,CAAC;AAC7E,OAAO,EACL,wCAAwC,EACxC,sCAAsC,GACvC,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH;IAAwC,sCAIvC;IACC,oCAAoC;IACpC,kCAAkC;IAElC,4BAAqB,KAA8B;QAAnD;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAyB;;QAGjD,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,8CAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,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8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,oBAAoB,CAAC;QACzC,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,kBAAkB,CAAC,kBAAkB;YAC9D,wBAAwB,EAAE,mBAAmB,CAAC,kBAAkB;SACjE,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,sCAAS,GAAjB,UAAkB,KAA8B,EAAE,OAAuB;QACvE,OAAO,sCAAsC,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAChE,CAAC;IAEO,wCAAW,GAAnB,UAAoB,MAAsB,EAAE,OAAuB;QACjE,OAAO,wCAAwC,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnE,CAAC;IAIH,yBAAC;AAAD,CAAC,AAtDD,CAAwC,QAAQ,GAsD/C"}
@@ -3,47 +3,13 @@ import { DeleteLoggingConfigurationRequest, DeleteLoggingConfigurationResponse }
3
3
  import { deserializeAws_json1_1DeleteLoggingConfigurationCommand, serializeAws_json1_1DeleteLoggingConfigurationCommand, } from "../protocols/Aws_json1_1";
4
4
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
5
5
  import { Command as $Command } from "@aws-sdk/smithy-client";
6
- /**
7
- * <note>
8
- * <p>This is <b>AWS WAF Classic</b> documentation. For
9
- * more information, see <a href="https://docs.aws.amazon.com/waf/latest/developerguide/classic-waf-chapter.html">AWS
10
- * WAF Classic</a> in the developer guide.</p>
11
- * <p>
12
- * <b>For the latest version of AWS
13
- * WAF</b>, use the AWS WAFV2 API and see the <a href="https://docs.aws.amazon.com/waf/latest/developerguide/waf-chapter.html">AWS WAF Developer Guide</a>. With the latest version, AWS WAF has a single set of endpoints for regional and global use. </p>
14
- * </note>
15
- * <p>Permanently deletes the <a>LoggingConfiguration</a> from the specified web
16
- * ACL.</p>
17
- * @example
18
- * Use a bare-bones client and the command you need to make an API call.
19
- * ```javascript
20
- * import { WAFClient, DeleteLoggingConfigurationCommand } from "@aws-sdk/client-waf"; // ES Modules import
21
- * // const { WAFClient, DeleteLoggingConfigurationCommand } = require("@aws-sdk/client-waf"); // CommonJS import
22
- * const client = new WAFClient(config);
23
- * const command = new DeleteLoggingConfigurationCommand(input);
24
- * const response = await client.send(command);
25
- * ```
26
- *
27
- * @see {@link DeleteLoggingConfigurationCommandInput} for command's `input` shape.
28
- * @see {@link DeleteLoggingConfigurationCommandOutput} for command's `response` shape.
29
- * @see {@link WAFClientResolvedConfig | config} for command's `input` shape.
30
- *
31
- */
32
- var DeleteLoggingConfigurationCommand = /** @class */ (function (_super) {
6
+ var DeleteLoggingConfigurationCommand = (function (_super) {
33
7
  __extends(DeleteLoggingConfigurationCommand, _super);
34
- // Start section: command_properties
35
- // End section: command_properties
36
8
  function DeleteLoggingConfigurationCommand(input) {
37
- var _this =
38
- // Start section: command_constructor
39
- _super.call(this) || this;
9
+ var _this = _super.call(this) || this;
40
10
  _this.input = input;
41
11
  return _this;
42
- // End section: command_constructor
43
12
  }
44
- /**
45
- * @internal
46
- */
47
13
  DeleteLoggingConfigurationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
48
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
49
15
  var stack = clientStack.concat(this.middlewareStack);
@@ -1 +1 @@
1
- {"version":3,"file":"DeleteLoggingConfigurationCommand.js","sourceRoot":"","sources":["../../../commands/DeleteLoggingConfigurationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iCAAiC,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AAC3G,OAAO,EACL,uDAAuD,EACvD,qDAAqD,GACtD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAc7D;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH;IAAuD,qDAItD;IACC,oCAAoC;IACpC,kCAAkC;IAElC,2CAAqB,KAA6C;QAAlE;QACE,qCAAqC;QACrC,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAwC;;QAGhE,mCAAmC;IACrC,CAAC;IAED;;OAEG;IACH,6DAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC;QAE/C,IAAA,MAAM,GAAK,aAAa,OAAlB,CAAmB;QACjC,IAAM,UAAU,GAAG,WAAW,CAAC;QAC/B,IAAM,WAAW,GAAG,mCAAmC,CAAC;QACxD,IAAM,uBAAuB,GAA4B;YACvD,MAAM,QAAA;YACN,UAAU,YAAA;YACV,WAAW,aAAA;YACX,uBAAuB,EAAE,iCAAiC,CAAC,kBAAkB;YAC7E,wBAAwB,EAAE,kCAAkC,CAAC,kBAAkB;SAChF,CAAC;QACM,IAAA,cAAc,GAAK,aAAa,eAAlB,CAAmB;QACzC,OAAO,KAAK,CAAC,OAAO,CAClB,UAAC,OAAsC;YACrC,OAAA,cAAc,CAAC,MAAM,CAAC,OAAO,CAAC,OAAwB,EAAE,OAAO,IAAI,EAAE,CAAC;QAAtE,CAAsE,EACxE,uBAAuB,CACxB,CAAC;IACJ,CAAC;IAEO,qDAAS,GAAjB,UAAkB,KAA6C,EAAE,OAAuB;QACtF,OAAO,qDAAqD,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAEO,uDAAW,GAAnB,UACE,MAAsB,EACtB,OAAuB;QAEvB,OAAO,uDAAuD,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IAClF,CAAC;IAIH,wCAAC;AAAD,CAAC,AAzDD,CAAuD,QAAQ,GAyD9D"}
1
+ {"version":3,"file":"DeleteLoggingConfigurationCommand.js","sourceRoot":"","sources":["../../../commands/DeleteLoggingConfigurationCommand.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,iCAAiC,EAAE,kCAAkC,EAAE,MAAM,oBAAoB,CAAC;AAC3G,OAAO,EACL,uDAAuD,EACvD,qDAAqD,GACtD,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAwC7D;IAAuD,qDAItD;IAIC,2CAAqB,KAA6C;QAAlE,YAEE,iBAAO,SAER;QAJoB,WAAK,GAAL,KAAK,CAAwC;;IAIlE,CAAC;IAKD,6DAAiB,GAAjB,UACE,WAAmE,EACnE,aAAsC,EACtC,OAA8B;QAE9B,IAAI,CAAC,eAAe,CAAC,GAAG,CAAC,cAAc,CAAC,aAAa,EAAE,IAAI,CAAC,SAAS,EAAE,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC;QAE1F,IAAM,KAAK,GAAG,WAAW,CAAC,MAAM,CAAC,IAAI,CAAC,eAAe,CAAC,CA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