@aws-sdk/client-waf-regional 3.289.0 → 3.290.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 (82) hide show
  1. package/dist-types/commands/AssociateWebACLCommand.d.ts +54 -0
  2. package/dist-types/commands/CreateByteMatchSetCommand.d.ts +58 -0
  3. package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +58 -0
  4. package/dist-types/commands/CreateIPSetCommand.d.ts +58 -0
  5. package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +64 -0
  6. package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +15 -0
  7. package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +15 -0
  8. package/dist-types/commands/CreateRuleCommand.d.ts +64 -0
  9. package/dist-types/commands/CreateRuleGroupCommand.d.ts +24 -0
  10. package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +58 -0
  11. package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +58 -0
  12. package/dist-types/commands/CreateWebACLCommand.d.ts +67 -0
  13. package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +103 -0
  14. package/dist-types/commands/CreateXssMatchSetCommand.d.ts +58 -0
  15. package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +42 -0
  16. package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +42 -0
  17. package/dist-types/commands/DeleteIPSetCommand.d.ts +42 -0
  18. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +10 -0
  19. package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +10 -0
  20. package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +48 -0
  21. package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +42 -0
  22. package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +42 -0
  23. package/dist-types/commands/DeleteRuleCommand.d.ts +48 -0
  24. package/dist-types/commands/DeleteRuleGroupCommand.d.ts +68 -0
  25. package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +42 -0
  26. package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +42 -0
  27. package/dist-types/commands/DeleteWebACLCommand.d.ts +48 -0
  28. package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +42 -0
  29. package/dist-types/commands/DisassociateWebACLCommand.d.ts +50 -0
  30. package/dist-types/commands/GetByteMatchSetCommand.d.ts +10 -0
  31. package/dist-types/commands/GetChangeTokenCommand.d.ts +4 -0
  32. package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +7 -0
  33. package/dist-types/commands/GetGeoMatchSetCommand.d.ts +10 -0
  34. package/dist-types/commands/GetIPSetCommand.d.ts +10 -0
  35. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +7 -0
  36. package/dist-types/commands/GetPermissionPolicyCommand.d.ts +7 -0
  37. package/dist-types/commands/GetRateBasedRuleCommand.d.ts +10 -0
  38. package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +50 -0
  39. package/dist-types/commands/GetRegexMatchSetCommand.d.ts +10 -0
  40. package/dist-types/commands/GetRegexPatternSetCommand.d.ts +10 -0
  41. package/dist-types/commands/GetRuleCommand.d.ts +10 -0
  42. package/dist-types/commands/GetRuleGroupCommand.d.ts +7 -0
  43. package/dist-types/commands/GetSampledRequestsCommand.d.ts +7 -0
  44. package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +10 -0
  45. package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +10 -0
  46. package/dist-types/commands/GetWebACLCommand.d.ts +10 -0
  47. package/dist-types/commands/GetWebACLForResourceCommand.d.ts +54 -0
  48. package/dist-types/commands/GetXssMatchSetCommand.d.ts +10 -0
  49. package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +47 -0
  50. package/dist-types/commands/ListByteMatchSetsCommand.d.ts +7 -0
  51. package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +7 -0
  52. package/dist-types/commands/ListIPSetsCommand.d.ts +7 -0
  53. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +47 -0
  54. package/dist-types/commands/ListRateBasedRulesCommand.d.ts +7 -0
  55. package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +7 -0
  56. package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +7 -0
  57. package/dist-types/commands/ListResourcesForWebACLCommand.d.ts +50 -0
  58. package/dist-types/commands/ListRuleGroupsCommand.d.ts +4 -0
  59. package/dist-types/commands/ListRulesCommand.d.ts +7 -0
  60. package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +7 -0
  61. package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +7 -0
  62. package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +7 -0
  63. package/dist-types/commands/ListTagsForResourceCommand.d.ts +56 -0
  64. package/dist-types/commands/ListWebACLsCommand.d.ts +7 -0
  65. package/dist-types/commands/ListXssMatchSetsCommand.d.ts +7 -0
  66. package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +13 -0
  67. package/dist-types/commands/PutPermissionPolicyCommand.d.ts +42 -0
  68. package/dist-types/commands/TagResourceCommand.d.ts +61 -0
  69. package/dist-types/commands/UntagResourceCommand.d.ts +56 -0
  70. package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +99 -0
  71. package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +110 -0
  72. package/dist-types/commands/UpdateIPSetCommand.d.ts +110 -0
  73. package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +110 -0
  74. package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +62 -0
  75. package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +62 -0
  76. package/dist-types/commands/UpdateRuleCommand.d.ts +110 -0
  77. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +96 -0
  78. package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +110 -0
  79. package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +99 -0
  80. package/dist-types/commands/UpdateWebACLCommand.d.ts +113 -0
  81. package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +99 -0
  82. package/package.json +29 -29
@@ -37,6 +37,16 @@ export interface GetSqlInjectionMatchSetCommandOutput extends GetSqlInjectionMat
37
37
  * @see {@link GetSqlInjectionMatchSetCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
39
39
  *
40
+ * @throws {@link WAFInternalErrorException} (server fault)
41
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
42
+ *
43
+ * @throws {@link WAFInvalidAccountException} (client fault)
44
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
45
+ *
46
+ * @throws {@link WAFNonexistentItemException} (client fault)
47
+ * <p>The operation failed because the referenced object doesn't exist.</p>
48
+ *
49
+ *
40
50
  * @example To get a SQL injection match set
41
51
  * ```javascript
42
52
  * // The following example returns the details of a SQL injection match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
@@ -37,6 +37,16 @@ export interface GetWebACLCommandOutput extends GetWebACLResponse, __MetadataBea
37
37
  * @see {@link GetWebACLCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
39
39
  *
40
+ * @throws {@link WAFInternalErrorException} (server fault)
41
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
42
+ *
43
+ * @throws {@link WAFInvalidAccountException} (client fault)
44
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
45
+ *
46
+ * @throws {@link WAFNonexistentItemException} (client fault)
47
+ * <p>The operation failed because the referenced object doesn't exist.</p>
48
+ *
49
+ *
40
50
  * @example To get a web ACL
41
51
  * ```javascript
42
52
  * // The following example returns the details of a web ACL with the ID createwebacl-1472061481310.
@@ -37,6 +37,60 @@ export interface GetWebACLForResourceCommandOutput extends GetWebACLForResourceR
37
37
  * @see {@link GetWebACLForResourceCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
39
39
  *
40
+ * @throws {@link WAFInternalErrorException} (server fault)
41
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
42
+ *
43
+ * @throws {@link WAFInvalidAccountException} (client fault)
44
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
45
+ *
46
+ * @throws {@link WAFInvalidParameterException} (client fault)
47
+ * <p>The operation failed because AWS WAF didn't recognize a parameter in the request. For example:</p>
48
+ * <ul>
49
+ * <li>
50
+ * <p>You specified an invalid parameter name.</p>
51
+ * </li>
52
+ * <li>
53
+ * <p>You specified an invalid value.</p>
54
+ * </li>
55
+ * <li>
56
+ * <p>You tried to update an object (<code>ByteMatchSet</code>, <code>IPSet</code>, <code>Rule</code>, or <code>WebACL</code>)
57
+ * using an action other than <code>INSERT</code> or <code>DELETE</code>.</p>
58
+ * </li>
59
+ * <li>
60
+ * <p>You tried to create a <code>WebACL</code> with a <code>DefaultAction</code>
61
+ * <code>Type</code> other than
62
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
63
+ * </li>
64
+ * <li>
65
+ * <p>You tried to create a <code>RateBasedRule</code> with a <code>RateKey</code> value other than <code>IP</code>.</p>
66
+ * </li>
67
+ * <li>
68
+ * <p>You tried to update a <code>WebACL</code> with a <code>WafAction</code>
69
+ * <code>Type</code> other than
70
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
71
+ * </li>
72
+ * <li>
73
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>FieldToMatch</code>
74
+ * <code>Type</code> other than
75
+ * HEADER, METHOD, QUERY_STRING, URI, or BODY.</p>
76
+ * </li>
77
+ * <li>
78
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>Field</code> of <code>HEADER</code>
79
+ * but no value for <code>Data</code>.</p>
80
+ * </li>
81
+ * <li>
82
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.</p>
83
+ * </li>
84
+ * </ul>
85
+ *
86
+ * @throws {@link WAFNonexistentItemException} (client fault)
87
+ * <p>The operation failed because the referenced object doesn't exist.</p>
88
+ *
89
+ * @throws {@link WAFUnavailableEntityException} (client fault)
90
+ * <p>The operation failed because the entity
91
+ * referenced is temporarily unavailable. Retry your request.</p>
92
+ *
93
+ *
40
94
  */
41
95
  export declare class GetWebACLForResourceCommand extends $Command<GetWebACLForResourceCommandInput, GetWebACLForResourceCommandOutput, WAFRegionalClientResolvedConfig> {
42
96
  readonly input: GetWebACLForResourceCommandInput;
@@ -37,6 +37,16 @@ export interface GetXssMatchSetCommandOutput extends GetXssMatchSetResponse, __M
37
37
  * @see {@link GetXssMatchSetCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
39
39
  *
40
+ * @throws {@link WAFInternalErrorException} (server fault)
41
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
42
+ *
43
+ * @throws {@link WAFInvalidAccountException} (client fault)
44
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
45
+ *
46
+ * @throws {@link WAFNonexistentItemException} (client fault)
47
+ * <p>The operation failed because the referenced object doesn't exist.</p>
48
+ *
49
+ *
40
50
  * @example To get an XSS match set
41
51
  * ```javascript
42
52
  * // The following example returns the details of an XSS match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
@@ -37,6 +37,53 @@ export interface ListActivatedRulesInRuleGroupCommandOutput extends ListActivate
37
37
  * @see {@link ListActivatedRulesInRuleGroupCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
39
39
  *
40
+ * @throws {@link WAFInternalErrorException} (server fault)
41
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
42
+ *
43
+ * @throws {@link WAFInvalidParameterException} (client fault)
44
+ * <p>The operation failed because AWS WAF didn't recognize a parameter in the request. For example:</p>
45
+ * <ul>
46
+ * <li>
47
+ * <p>You specified an invalid parameter name.</p>
48
+ * </li>
49
+ * <li>
50
+ * <p>You specified an invalid value.</p>
51
+ * </li>
52
+ * <li>
53
+ * <p>You tried to update an object (<code>ByteMatchSet</code>, <code>IPSet</code>, <code>Rule</code>, or <code>WebACL</code>)
54
+ * using an action other than <code>INSERT</code> or <code>DELETE</code>.</p>
55
+ * </li>
56
+ * <li>
57
+ * <p>You tried to create a <code>WebACL</code> with a <code>DefaultAction</code>
58
+ * <code>Type</code> other than
59
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
60
+ * </li>
61
+ * <li>
62
+ * <p>You tried to create a <code>RateBasedRule</code> with a <code>RateKey</code> value other than <code>IP</code>.</p>
63
+ * </li>
64
+ * <li>
65
+ * <p>You tried to update a <code>WebACL</code> with a <code>WafAction</code>
66
+ * <code>Type</code> other than
67
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
68
+ * </li>
69
+ * <li>
70
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>FieldToMatch</code>
71
+ * <code>Type</code> other than
72
+ * HEADER, METHOD, QUERY_STRING, URI, or BODY.</p>
73
+ * </li>
74
+ * <li>
75
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>Field</code> of <code>HEADER</code>
76
+ * but no value for <code>Data</code>.</p>
77
+ * </li>
78
+ * <li>
79
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.</p>
80
+ * </li>
81
+ * </ul>
82
+ *
83
+ * @throws {@link WAFNonexistentItemException} (client fault)
84
+ * <p>The operation failed because the referenced object doesn't exist.</p>
85
+ *
86
+ *
40
87
  */
41
88
  export declare class ListActivatedRulesInRuleGroupCommand extends $Command<ListActivatedRulesInRuleGroupCommandInput, ListActivatedRulesInRuleGroupCommandOutput, WAFRegionalClientResolvedConfig> {
42
89
  readonly input: ListActivatedRulesInRuleGroupCommandInput;
@@ -37,6 +37,13 @@ export interface ListByteMatchSetsCommandOutput extends ListByteMatchSetsRespons
37
37
  * @see {@link ListByteMatchSetsCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
39
39
  *
40
+ * @throws {@link WAFInternalErrorException} (server fault)
41
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
42
+ *
43
+ * @throws {@link WAFInvalidAccountException} (client fault)
44
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
45
+ *
46
+ *
40
47
  */
41
48
  export declare class ListByteMatchSetsCommand extends $Command<ListByteMatchSetsCommandInput, ListByteMatchSetsCommandOutput, WAFRegionalClientResolvedConfig> {
42
49
  readonly input: ListByteMatchSetsCommandInput;
@@ -37,6 +37,13 @@ export interface ListGeoMatchSetsCommandOutput extends ListGeoMatchSetsResponse,
37
37
  * @see {@link ListGeoMatchSetsCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
39
39
  *
40
+ * @throws {@link WAFInternalErrorException} (server fault)
41
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
42
+ *
43
+ * @throws {@link WAFInvalidAccountException} (client fault)
44
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
45
+ *
46
+ *
40
47
  */
41
48
  export declare class ListGeoMatchSetsCommand extends $Command<ListGeoMatchSetsCommandInput, ListGeoMatchSetsCommandOutput, WAFRegionalClientResolvedConfig> {
42
49
  readonly input: ListGeoMatchSetsCommandInput;
@@ -37,6 +37,13 @@ export interface ListIPSetsCommandOutput extends ListIPSetsResponse, __MetadataB
37
37
  * @see {@link ListIPSetsCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
39
39
  *
40
+ * @throws {@link WAFInternalErrorException} (server fault)
41
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
42
+ *
43
+ * @throws {@link WAFInvalidAccountException} (client fault)
44
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
45
+ *
46
+ *
40
47
  * @example To list IP sets
41
48
  * ```javascript
42
49
  * // The following example returns an array of up to 100 IP match sets.
@@ -37,6 +37,53 @@ export interface ListLoggingConfigurationsCommandOutput extends ListLoggingConfi
37
37
  * @see {@link ListLoggingConfigurationsCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
39
39
  *
40
+ * @throws {@link WAFInternalErrorException} (server fault)
41
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
42
+ *
43
+ * @throws {@link WAFInvalidParameterException} (client fault)
44
+ * <p>The operation failed because AWS WAF didn't recognize a parameter in the request. For example:</p>
45
+ * <ul>
46
+ * <li>
47
+ * <p>You specified an invalid parameter name.</p>
48
+ * </li>
49
+ * <li>
50
+ * <p>You specified an invalid value.</p>
51
+ * </li>
52
+ * <li>
53
+ * <p>You tried to update an object (<code>ByteMatchSet</code>, <code>IPSet</code>, <code>Rule</code>, or <code>WebACL</code>)
54
+ * using an action other than <code>INSERT</code> or <code>DELETE</code>.</p>
55
+ * </li>
56
+ * <li>
57
+ * <p>You tried to create a <code>WebACL</code> with a <code>DefaultAction</code>
58
+ * <code>Type</code> other than
59
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
60
+ * </li>
61
+ * <li>
62
+ * <p>You tried to create a <code>RateBasedRule</code> with a <code>RateKey</code> value other than <code>IP</code>.</p>
63
+ * </li>
64
+ * <li>
65
+ * <p>You tried to update a <code>WebACL</code> with a <code>WafAction</code>
66
+ * <code>Type</code> other than
67
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
68
+ * </li>
69
+ * <li>
70
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>FieldToMatch</code>
71
+ * <code>Type</code> other than
72
+ * HEADER, METHOD, QUERY_STRING, URI, or BODY.</p>
73
+ * </li>
74
+ * <li>
75
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>Field</code> of <code>HEADER</code>
76
+ * but no value for <code>Data</code>.</p>
77
+ * </li>
78
+ * <li>
79
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.</p>
80
+ * </li>
81
+ * </ul>
82
+ *
83
+ * @throws {@link WAFNonexistentItemException} (client fault)
84
+ * <p>The operation failed because the referenced object doesn't exist.</p>
85
+ *
86
+ *
40
87
  */
41
88
  export declare class ListLoggingConfigurationsCommand extends $Command<ListLoggingConfigurationsCommandInput, ListLoggingConfigurationsCommandOutput, WAFRegionalClientResolvedConfig> {
42
89
  readonly input: ListLoggingConfigurationsCommandInput;
@@ -37,6 +37,13 @@ export interface ListRateBasedRulesCommandOutput extends ListRateBasedRulesRespo
37
37
  * @see {@link ListRateBasedRulesCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
39
39
  *
40
+ * @throws {@link WAFInternalErrorException} (server fault)
41
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
42
+ *
43
+ * @throws {@link WAFInvalidAccountException} (client fault)
44
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
45
+ *
46
+ *
40
47
  */
41
48
  export declare class ListRateBasedRulesCommand extends $Command<ListRateBasedRulesCommandInput, ListRateBasedRulesCommandOutput, WAFRegionalClientResolvedConfig> {
42
49
  readonly input: ListRateBasedRulesCommandInput;
@@ -37,6 +37,13 @@ export interface ListRegexMatchSetsCommandOutput extends ListRegexMatchSetsRespo
37
37
  * @see {@link ListRegexMatchSetsCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
39
39
  *
40
+ * @throws {@link WAFInternalErrorException} (server fault)
41
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
42
+ *
43
+ * @throws {@link WAFInvalidAccountException} (client fault)
44
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
45
+ *
46
+ *
40
47
  */
41
48
  export declare class ListRegexMatchSetsCommand extends $Command<ListRegexMatchSetsCommandInput, ListRegexMatchSetsCommandOutput, WAFRegionalClientResolvedConfig> {
42
49
  readonly input: ListRegexMatchSetsCommandInput;
@@ -37,6 +37,13 @@ export interface ListRegexPatternSetsCommandOutput extends ListRegexPatternSetsR
37
37
  * @see {@link ListRegexPatternSetsCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
39
39
  *
40
+ * @throws {@link WAFInternalErrorException} (server fault)
41
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
42
+ *
43
+ * @throws {@link WAFInvalidAccountException} (client fault)
44
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
45
+ *
46
+ *
40
47
  */
41
48
  export declare class ListRegexPatternSetsCommand extends $Command<ListRegexPatternSetsCommandInput, ListRegexPatternSetsCommandOutput, WAFRegionalClientResolvedConfig> {
42
49
  readonly input: ListRegexPatternSetsCommandInput;
@@ -37,6 +37,56 @@ export interface ListResourcesForWebACLCommandOutput extends ListResourcesForWeb
37
37
  * @see {@link ListResourcesForWebACLCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
39
39
  *
40
+ * @throws {@link WAFInternalErrorException} (server fault)
41
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
42
+ *
43
+ * @throws {@link WAFInvalidAccountException} (client fault)
44
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
45
+ *
46
+ * @throws {@link WAFInvalidParameterException} (client fault)
47
+ * <p>The operation failed because AWS WAF didn't recognize a parameter in the request. For example:</p>
48
+ * <ul>
49
+ * <li>
50
+ * <p>You specified an invalid parameter name.</p>
51
+ * </li>
52
+ * <li>
53
+ * <p>You specified an invalid value.</p>
54
+ * </li>
55
+ * <li>
56
+ * <p>You tried to update an object (<code>ByteMatchSet</code>, <code>IPSet</code>, <code>Rule</code>, or <code>WebACL</code>)
57
+ * using an action other than <code>INSERT</code> or <code>DELETE</code>.</p>
58
+ * </li>
59
+ * <li>
60
+ * <p>You tried to create a <code>WebACL</code> with a <code>DefaultAction</code>
61
+ * <code>Type</code> other than
62
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
63
+ * </li>
64
+ * <li>
65
+ * <p>You tried to create a <code>RateBasedRule</code> with a <code>RateKey</code> value other than <code>IP</code>.</p>
66
+ * </li>
67
+ * <li>
68
+ * <p>You tried to update a <code>WebACL</code> with a <code>WafAction</code>
69
+ * <code>Type</code> other than
70
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
71
+ * </li>
72
+ * <li>
73
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>FieldToMatch</code>
74
+ * <code>Type</code> other than
75
+ * HEADER, METHOD, QUERY_STRING, URI, or BODY.</p>
76
+ * </li>
77
+ * <li>
78
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>Field</code> of <code>HEADER</code>
79
+ * but no value for <code>Data</code>.</p>
80
+ * </li>
81
+ * <li>
82
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.</p>
83
+ * </li>
84
+ * </ul>
85
+ *
86
+ * @throws {@link WAFNonexistentItemException} (client fault)
87
+ * <p>The operation failed because the referenced object doesn't exist.</p>
88
+ *
89
+ *
40
90
  */
41
91
  export declare class ListResourcesForWebACLCommand extends $Command<ListResourcesForWebACLCommandInput, ListResourcesForWebACLCommandOutput, WAFRegionalClientResolvedConfig> {
42
92
  readonly input: ListResourcesForWebACLCommandInput;
@@ -37,6 +37,10 @@ export interface ListRuleGroupsCommandOutput extends ListRuleGroupsResponse, __M
37
37
  * @see {@link ListRuleGroupsCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
39
39
  *
40
+ * @throws {@link WAFInternalErrorException} (server fault)
41
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
42
+ *
43
+ *
40
44
  */
41
45
  export declare class ListRuleGroupsCommand extends $Command<ListRuleGroupsCommandInput, ListRuleGroupsCommandOutput, WAFRegionalClientResolvedConfig> {
42
46
  readonly input: ListRuleGroupsCommandInput;
@@ -37,6 +37,13 @@ export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBea
37
37
  * @see {@link ListRulesCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
39
39
  *
40
+ * @throws {@link WAFInternalErrorException} (server fault)
41
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
42
+ *
43
+ * @throws {@link WAFInvalidAccountException} (client fault)
44
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
45
+ *
46
+ *
40
47
  * @example To list rules
41
48
  * ```javascript
42
49
  * // The following example returns an array of up to 100 rules.
@@ -37,6 +37,13 @@ export interface ListSizeConstraintSetsCommandOutput extends ListSizeConstraintS
37
37
  * @see {@link ListSizeConstraintSetsCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
39
39
  *
40
+ * @throws {@link WAFInternalErrorException} (server fault)
41
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
42
+ *
43
+ * @throws {@link WAFInvalidAccountException} (client fault)
44
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
45
+ *
46
+ *
40
47
  * @example To list a size constraint sets
41
48
  * ```javascript
42
49
  * // The following example returns an array of up to 100 size contraint match sets.
@@ -37,6 +37,13 @@ export interface ListSqlInjectionMatchSetsCommandOutput extends ListSqlInjection
37
37
  * @see {@link ListSqlInjectionMatchSetsCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
39
39
  *
40
+ * @throws {@link WAFInternalErrorException} (server fault)
41
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
42
+ *
43
+ * @throws {@link WAFInvalidAccountException} (client fault)
44
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
45
+ *
46
+ *
40
47
  * @example To list SQL injection match sets
41
48
  * ```javascript
42
49
  * // The following example returns an array of up to 100 SQL injection match sets.
@@ -37,6 +37,13 @@ export interface ListSubscribedRuleGroupsCommandOutput extends ListSubscribedRul
37
37
  * @see {@link ListSubscribedRuleGroupsCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
39
39
  *
40
+ * @throws {@link WAFInternalErrorException} (server fault)
41
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
42
+ *
43
+ * @throws {@link WAFNonexistentItemException} (client fault)
44
+ * <p>The operation failed because the referenced object doesn't exist.</p>
45
+ *
46
+ *
40
47
  */
41
48
  export declare class ListSubscribedRuleGroupsCommand extends $Command<ListSubscribedRuleGroupsCommandInput, ListSubscribedRuleGroupsCommandOutput, WAFRegionalClientResolvedConfig> {
42
49
  readonly input: ListSubscribedRuleGroupsCommandInput;
@@ -38,6 +38,62 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
38
38
  * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
39
39
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
40
40
  *
41
+ * @throws {@link WAFBadRequestException} (client fault)
42
+ * <p></p>
43
+ *
44
+ * @throws {@link WAFInternalErrorException} (server fault)
45
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
46
+ *
47
+ * @throws {@link WAFInvalidParameterException} (client fault)
48
+ * <p>The operation failed because AWS WAF didn't recognize a parameter in the request. For example:</p>
49
+ * <ul>
50
+ * <li>
51
+ * <p>You specified an invalid parameter name.</p>
52
+ * </li>
53
+ * <li>
54
+ * <p>You specified an invalid value.</p>
55
+ * </li>
56
+ * <li>
57
+ * <p>You tried to update an object (<code>ByteMatchSet</code>, <code>IPSet</code>, <code>Rule</code>, or <code>WebACL</code>)
58
+ * using an action other than <code>INSERT</code> or <code>DELETE</code>.</p>
59
+ * </li>
60
+ * <li>
61
+ * <p>You tried to create a <code>WebACL</code> with a <code>DefaultAction</code>
62
+ * <code>Type</code> other than
63
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
64
+ * </li>
65
+ * <li>
66
+ * <p>You tried to create a <code>RateBasedRule</code> with a <code>RateKey</code> value other than <code>IP</code>.</p>
67
+ * </li>
68
+ * <li>
69
+ * <p>You tried to update a <code>WebACL</code> with a <code>WafAction</code>
70
+ * <code>Type</code> other than
71
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
72
+ * </li>
73
+ * <li>
74
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>FieldToMatch</code>
75
+ * <code>Type</code> other than
76
+ * HEADER, METHOD, QUERY_STRING, URI, or BODY.</p>
77
+ * </li>
78
+ * <li>
79
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>Field</code> of <code>HEADER</code>
80
+ * but no value for <code>Data</code>.</p>
81
+ * </li>
82
+ * <li>
83
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.</p>
84
+ * </li>
85
+ * </ul>
86
+ *
87
+ * @throws {@link WAFNonexistentItemException} (client fault)
88
+ * <p>The operation failed because the referenced object doesn't exist.</p>
89
+ *
90
+ * @throws {@link WAFTagOperationException} (client fault)
91
+ * <p></p>
92
+ *
93
+ * @throws {@link WAFTagOperationInternalErrorException} (server fault)
94
+ * <p></p>
95
+ *
96
+ *
41
97
  */
42
98
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, WAFRegionalClientResolvedConfig> {
43
99
  readonly input: ListTagsForResourceCommandInput;
@@ -37,6 +37,13 @@ export interface ListWebACLsCommandOutput extends ListWebACLsResponse, __Metadat
37
37
  * @see {@link ListWebACLsCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
39
39
  *
40
+ * @throws {@link WAFInternalErrorException} (server fault)
41
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
42
+ *
43
+ * @throws {@link WAFInvalidAccountException} (client fault)
44
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
45
+ *
46
+ *
40
47
  * @example To list Web ACLs
41
48
  * ```javascript
42
49
  * // The following example returns an array of up to 100 web ACLs.
@@ -37,6 +37,13 @@ export interface ListXssMatchSetsCommandOutput extends ListXssMatchSetsResponse,
37
37
  * @see {@link ListXssMatchSetsCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
39
39
  *
40
+ * @throws {@link WAFInternalErrorException} (server fault)
41
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
42
+ *
43
+ * @throws {@link WAFInvalidAccountException} (client fault)
44
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
45
+ *
46
+ *
40
47
  * @example To list XSS match sets
41
48
  * ```javascript
42
49
  * // The following example returns an array of up to 100 XSS match sets.
@@ -54,6 +54,19 @@ export interface PutLoggingConfigurationCommandOutput extends PutLoggingConfigur
54
54
  * @see {@link PutLoggingConfigurationCommandOutput} for command's `response` shape.
55
55
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
56
56
  *
57
+ * @throws {@link WAFInternalErrorException} (server fault)
58
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
59
+ *
60
+ * @throws {@link WAFNonexistentItemException} (client fault)
61
+ * <p>The operation failed because the referenced object doesn't exist.</p>
62
+ *
63
+ * @throws {@link WAFServiceLinkedRoleErrorException} (client fault)
64
+ * <p>AWS WAF is not able to access the service linked role. This can be caused by a previous <code>PutLoggingConfiguration</code> request, which can lock the service linked role for about 20 seconds. Please try your request again. The service linked role can also be locked by a previous <code>DeleteServiceLinkedRole</code> request, which can lock the role for 15 minutes or more. If you recently made a <code>DeleteServiceLinkedRole</code>, wait at least 15 minutes and try the request again. If you receive this same exception again, you will have to wait additional time until the role is unlocked.</p>
65
+ *
66
+ * @throws {@link WAFStaleDataException} (client fault)
67
+ * <p>The operation failed because you tried to create, update, or delete an object by using a change token that has already been used.</p>
68
+ *
69
+ *
57
70
  */
58
71
  export declare class PutLoggingConfigurationCommand extends $Command<PutLoggingConfigurationCommandInput, PutLoggingConfigurationCommandOutput, WAFRegionalClientResolvedConfig> {
59
72
  readonly input: PutLoggingConfigurationCommandInput;
@@ -69,6 +69,48 @@ export interface PutPermissionPolicyCommandOutput extends PutPermissionPolicyRes
69
69
  * @see {@link PutPermissionPolicyCommandOutput} for command's `response` shape.
70
70
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
71
71
  *
72
+ * @throws {@link WAFInternalErrorException} (server fault)
73
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
74
+ *
75
+ * @throws {@link WAFInvalidPermissionPolicyException} (client fault)
76
+ * <p>The operation failed because the specified policy is not in the proper format. </p>
77
+ * <p>The policy is subject to the following restrictions:</p>
78
+ * <ul>
79
+ * <li>
80
+ * <p>You can attach only one policy with each <code>PutPermissionPolicy</code> request.</p>
81
+ * </li>
82
+ * <li>
83
+ * <p>The policy must include an <code>Effect</code>, <code>Action</code> and <code>Principal</code>. </p>
84
+ * </li>
85
+ * <li>
86
+ *
87
+ * <p>
88
+ * <code>Effect</code> must specify <code>Allow</code>.</p>
89
+ * </li>
90
+ * <li>
91
+ * <p>The <code>Action</code> in the policy must be <code>waf:UpdateWebACL</code>, <code>waf-regional:UpdateWebACL</code>, <code>waf:GetRuleGroup</code> and <code>waf-regional:GetRuleGroup</code> . Any extra or wildcard actions in the policy will be rejected.</p>
92
+ * </li>
93
+ * <li>
94
+ * <p>The policy cannot include a <code>Resource</code> parameter.</p>
95
+ * </li>
96
+ * <li>
97
+ * <p>The ARN in the request must be a valid WAF RuleGroup ARN and the RuleGroup must exist in the same region.</p>
98
+ * </li>
99
+ * <li>
100
+ * <p>The user making the request must be the owner of the RuleGroup.</p>
101
+ * </li>
102
+ * <li>
103
+ * <p>Your policy must be composed using IAM Policy version 2012-10-17.</p>
104
+ * </li>
105
+ * </ul>
106
+ *
107
+ * @throws {@link WAFNonexistentItemException} (client fault)
108
+ * <p>The operation failed because the referenced object doesn't exist.</p>
109
+ *
110
+ * @throws {@link WAFStaleDataException} (client fault)
111
+ * <p>The operation failed because you tried to create, update, or delete an object by using a change token that has already been used.</p>
112
+ *
113
+ *
72
114
  */
73
115
  export declare class PutPermissionPolicyCommand extends $Command<PutPermissionPolicyCommandInput, PutPermissionPolicyCommandOutput, WAFRegionalClientResolvedConfig> {
74
116
  readonly input: PutPermissionPolicyCommandInput;