@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
@@ -38,6 +38,67 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
38
38
  * @see {@link TagResourceCommandOutput} 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 WAFLimitsExceededException} (client fault)
88
+ * <p>The operation exceeds a resource limit, for example, the maximum number of <code>WebACL</code> objects that you can create
89
+ * for an AWS account. For more information, see
90
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">Limits</a> in the <i>AWS WAF Developer Guide</i>.</p>
91
+ *
92
+ * @throws {@link WAFNonexistentItemException} (client fault)
93
+ * <p>The operation failed because the referenced object doesn't exist.</p>
94
+ *
95
+ * @throws {@link WAFTagOperationException} (client fault)
96
+ * <p></p>
97
+ *
98
+ * @throws {@link WAFTagOperationInternalErrorException} (server fault)
99
+ * <p></p>
100
+ *
101
+ *
41
102
  */
42
103
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, WAFRegionalClientResolvedConfig> {
43
104
  readonly input: TagResourceCommandInput;
@@ -37,6 +37,62 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
37
37
  * @see {@link UntagResourceCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
39
39
  *
40
+ * @throws {@link WAFBadRequestException} (client fault)
41
+ * <p></p>
42
+ *
43
+ * @throws {@link WAFInternalErrorException} (server fault)
44
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</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 WAFTagOperationException} (client fault)
90
+ * <p></p>
91
+ *
92
+ * @throws {@link WAFTagOperationInternalErrorException} (server fault)
93
+ * <p></p>
94
+ *
95
+ *
40
96
  */
41
97
  export declare class UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, WAFRegionalClientResolvedConfig> {
42
98
  readonly input: UntagResourceCommandInput;
@@ -75,6 +75,105 @@ export interface UpdateByteMatchSetCommandOutput extends UpdateByteMatchSetRespo
75
75
  * @see {@link UpdateByteMatchSetCommandOutput} for command's `response` shape.
76
76
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
77
77
  *
78
+ * @throws {@link WAFInternalErrorException} (server fault)
79
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
80
+ *
81
+ * @throws {@link WAFInvalidAccountException} (client fault)
82
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
83
+ *
84
+ * @throws {@link WAFInvalidOperationException} (client fault)
85
+ * <p>The operation failed because there was nothing to do. For example:</p>
86
+ * <ul>
87
+ * <li>
88
+ * <p>You tried to remove a <code>Rule</code> from a <code>WebACL</code>, but the <code>Rule</code> isn't in the specified <code>WebACL</code>.</p>
89
+ * </li>
90
+ * <li>
91
+ * <p>You tried to remove an IP address from an <code>IPSet</code>, but the IP address isn't in the specified <code>IPSet</code>.</p>
92
+ * </li>
93
+ * <li>
94
+ * <p>You tried to remove a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
95
+ * isn't in the specified <code>WebACL</code>.</p>
96
+ * </li>
97
+ * <li>
98
+ * <p>You tried to add a <code>Rule</code> to a <code>WebACL</code>, but the <code>Rule</code> already exists in the
99
+ * specified <code>WebACL</code>.</p>
100
+ * </li>
101
+ * <li>
102
+ * <p>You tried to add a <code>ByteMatchTuple</code> to a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
103
+ * already exists in the specified <code>WebACL</code>.</p>
104
+ * </li>
105
+ * </ul>
106
+ *
107
+ * @throws {@link WAFInvalidParameterException} (client fault)
108
+ * <p>The operation failed because AWS WAF didn't recognize a parameter in the request. For example:</p>
109
+ * <ul>
110
+ * <li>
111
+ * <p>You specified an invalid parameter name.</p>
112
+ * </li>
113
+ * <li>
114
+ * <p>You specified an invalid value.</p>
115
+ * </li>
116
+ * <li>
117
+ * <p>You tried to update an object (<code>ByteMatchSet</code>, <code>IPSet</code>, <code>Rule</code>, or <code>WebACL</code>)
118
+ * using an action other than <code>INSERT</code> or <code>DELETE</code>.</p>
119
+ * </li>
120
+ * <li>
121
+ * <p>You tried to create a <code>WebACL</code> with a <code>DefaultAction</code>
122
+ * <code>Type</code> other than
123
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
124
+ * </li>
125
+ * <li>
126
+ * <p>You tried to create a <code>RateBasedRule</code> with a <code>RateKey</code> value other than <code>IP</code>.</p>
127
+ * </li>
128
+ * <li>
129
+ * <p>You tried to update a <code>WebACL</code> with a <code>WafAction</code>
130
+ * <code>Type</code> other than
131
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
132
+ * </li>
133
+ * <li>
134
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>FieldToMatch</code>
135
+ * <code>Type</code> other than
136
+ * HEADER, METHOD, QUERY_STRING, URI, or BODY.</p>
137
+ * </li>
138
+ * <li>
139
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>Field</code> of <code>HEADER</code>
140
+ * but no value for <code>Data</code>.</p>
141
+ * </li>
142
+ * <li>
143
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.</p>
144
+ * </li>
145
+ * </ul>
146
+ *
147
+ * @throws {@link WAFLimitsExceededException} (client fault)
148
+ * <p>The operation exceeds a resource limit, for example, the maximum number of <code>WebACL</code> objects that you can create
149
+ * for an AWS account. For more information, see
150
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">Limits</a> in the <i>AWS WAF Developer Guide</i>.</p>
151
+ *
152
+ * @throws {@link WAFNonexistentContainerException} (client fault)
153
+ * <p>The operation failed because you tried to add an object to or delete an object from another object that doesn't exist. For example:</p>
154
+ * <ul>
155
+ * <li>
156
+ * <p>You tried to add a <code>Rule</code> to or delete a <code>Rule</code> from a <code>WebACL</code> that doesn't exist.</p>
157
+ * </li>
158
+ * <li>
159
+ * <p>You tried to add a <code>ByteMatchSet</code> to or delete a <code>ByteMatchSet</code> from a <code>Rule</code> that doesn't exist.</p>
160
+ * </li>
161
+ * <li>
162
+ * <p>You tried to add an IP address to or delete an IP address from an <code>IPSet</code> that doesn't exist.</p>
163
+ * </li>
164
+ * <li>
165
+ * <p>You tried to add a <code>ByteMatchTuple</code> to or delete a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>
166
+ * that doesn't exist.</p>
167
+ * </li>
168
+ * </ul>
169
+ *
170
+ * @throws {@link WAFNonexistentItemException} (client fault)
171
+ * <p>The operation failed because the referenced object doesn't exist.</p>
172
+ *
173
+ * @throws {@link WAFStaleDataException} (client fault)
174
+ * <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>
175
+ *
176
+ *
78
177
  * @example To update a byte match set
79
178
  * ```javascript
80
179
  * // The following example deletes a ByteMatchTuple object (filters) in an byte match set with the ID exampleIDs3t-46da-4fdb-b8d5-abc321j569j5.
@@ -67,6 +67,116 @@ export interface UpdateGeoMatchSetCommandOutput extends UpdateGeoMatchSetRespons
67
67
  * @see {@link UpdateGeoMatchSetCommandOutput} for command's `response` shape.
68
68
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
69
69
  *
70
+ * @throws {@link WAFInternalErrorException} (server fault)
71
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
72
+ *
73
+ * @throws {@link WAFInvalidAccountException} (client fault)
74
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
75
+ *
76
+ * @throws {@link WAFInvalidOperationException} (client fault)
77
+ * <p>The operation failed because there was nothing to do. For example:</p>
78
+ * <ul>
79
+ * <li>
80
+ * <p>You tried to remove a <code>Rule</code> from a <code>WebACL</code>, but the <code>Rule</code> isn't in the specified <code>WebACL</code>.</p>
81
+ * </li>
82
+ * <li>
83
+ * <p>You tried to remove an IP address from an <code>IPSet</code>, but the IP address isn't in the specified <code>IPSet</code>.</p>
84
+ * </li>
85
+ * <li>
86
+ * <p>You tried to remove a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
87
+ * isn't in the specified <code>WebACL</code>.</p>
88
+ * </li>
89
+ * <li>
90
+ * <p>You tried to add a <code>Rule</code> to a <code>WebACL</code>, but the <code>Rule</code> already exists in the
91
+ * specified <code>WebACL</code>.</p>
92
+ * </li>
93
+ * <li>
94
+ * <p>You tried to add a <code>ByteMatchTuple</code> to a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
95
+ * already exists in the specified <code>WebACL</code>.</p>
96
+ * </li>
97
+ * </ul>
98
+ *
99
+ * @throws {@link WAFInvalidParameterException} (client fault)
100
+ * <p>The operation failed because AWS WAF didn't recognize a parameter in the request. For example:</p>
101
+ * <ul>
102
+ * <li>
103
+ * <p>You specified an invalid parameter name.</p>
104
+ * </li>
105
+ * <li>
106
+ * <p>You specified an invalid value.</p>
107
+ * </li>
108
+ * <li>
109
+ * <p>You tried to update an object (<code>ByteMatchSet</code>, <code>IPSet</code>, <code>Rule</code>, or <code>WebACL</code>)
110
+ * using an action other than <code>INSERT</code> or <code>DELETE</code>.</p>
111
+ * </li>
112
+ * <li>
113
+ * <p>You tried to create a <code>WebACL</code> with a <code>DefaultAction</code>
114
+ * <code>Type</code> other than
115
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
116
+ * </li>
117
+ * <li>
118
+ * <p>You tried to create a <code>RateBasedRule</code> with a <code>RateKey</code> value other than <code>IP</code>.</p>
119
+ * </li>
120
+ * <li>
121
+ * <p>You tried to update a <code>WebACL</code> with a <code>WafAction</code>
122
+ * <code>Type</code> other than
123
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
124
+ * </li>
125
+ * <li>
126
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>FieldToMatch</code>
127
+ * <code>Type</code> other than
128
+ * HEADER, METHOD, QUERY_STRING, URI, or BODY.</p>
129
+ * </li>
130
+ * <li>
131
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>Field</code> of <code>HEADER</code>
132
+ * but no value for <code>Data</code>.</p>
133
+ * </li>
134
+ * <li>
135
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.</p>
136
+ * </li>
137
+ * </ul>
138
+ *
139
+ * @throws {@link WAFLimitsExceededException} (client fault)
140
+ * <p>The operation exceeds a resource limit, for example, the maximum number of <code>WebACL</code> objects that you can create
141
+ * for an AWS account. For more information, see
142
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">Limits</a> in the <i>AWS WAF Developer Guide</i>.</p>
143
+ *
144
+ * @throws {@link WAFNonexistentContainerException} (client fault)
145
+ * <p>The operation failed because you tried to add an object to or delete an object from another object that doesn't exist. For example:</p>
146
+ * <ul>
147
+ * <li>
148
+ * <p>You tried to add a <code>Rule</code> to or delete a <code>Rule</code> from a <code>WebACL</code> that doesn't exist.</p>
149
+ * </li>
150
+ * <li>
151
+ * <p>You tried to add a <code>ByteMatchSet</code> to or delete a <code>ByteMatchSet</code> from a <code>Rule</code> that doesn't exist.</p>
152
+ * </li>
153
+ * <li>
154
+ * <p>You tried to add an IP address to or delete an IP address from an <code>IPSet</code> that doesn't exist.</p>
155
+ * </li>
156
+ * <li>
157
+ * <p>You tried to add a <code>ByteMatchTuple</code> to or delete a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>
158
+ * that doesn't exist.</p>
159
+ * </li>
160
+ * </ul>
161
+ *
162
+ * @throws {@link WAFNonexistentItemException} (client fault)
163
+ * <p>The operation failed because the referenced object doesn't exist.</p>
164
+ *
165
+ * @throws {@link WAFReferencedItemException} (client fault)
166
+ * <p>The operation failed because you tried to delete an object that is still in use. For example:</p>
167
+ * <ul>
168
+ * <li>
169
+ * <p>You tried to delete a <code>ByteMatchSet</code> that is still referenced by a <code>Rule</code>.</p>
170
+ * </li>
171
+ * <li>
172
+ * <p>You tried to delete a <code>Rule</code> that is still referenced by a <code>WebACL</code>.</p>
173
+ * </li>
174
+ * </ul>
175
+ *
176
+ * @throws {@link WAFStaleDataException} (client fault)
177
+ * <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>
178
+ *
179
+ *
70
180
  */
71
181
  export declare class UpdateGeoMatchSetCommand extends $Command<UpdateGeoMatchSetCommandInput, UpdateGeoMatchSetCommandOutput, WAFRegionalClientResolvedConfig> {
72
182
  readonly input: UpdateGeoMatchSetCommandInput;
@@ -102,6 +102,116 @@ export interface UpdateIPSetCommandOutput extends UpdateIPSetResponse, __Metadat
102
102
  * @see {@link UpdateIPSetCommandOutput} for command's `response` shape.
103
103
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
104
104
  *
105
+ * @throws {@link WAFInternalErrorException} (server fault)
106
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
107
+ *
108
+ * @throws {@link WAFInvalidAccountException} (client fault)
109
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
110
+ *
111
+ * @throws {@link WAFInvalidOperationException} (client fault)
112
+ * <p>The operation failed because there was nothing to do. For example:</p>
113
+ * <ul>
114
+ * <li>
115
+ * <p>You tried to remove a <code>Rule</code> from a <code>WebACL</code>, but the <code>Rule</code> isn't in the specified <code>WebACL</code>.</p>
116
+ * </li>
117
+ * <li>
118
+ * <p>You tried to remove an IP address from an <code>IPSet</code>, but the IP address isn't in the specified <code>IPSet</code>.</p>
119
+ * </li>
120
+ * <li>
121
+ * <p>You tried to remove a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
122
+ * isn't in the specified <code>WebACL</code>.</p>
123
+ * </li>
124
+ * <li>
125
+ * <p>You tried to add a <code>Rule</code> to a <code>WebACL</code>, but the <code>Rule</code> already exists in the
126
+ * specified <code>WebACL</code>.</p>
127
+ * </li>
128
+ * <li>
129
+ * <p>You tried to add a <code>ByteMatchTuple</code> to a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
130
+ * already exists in the specified <code>WebACL</code>.</p>
131
+ * </li>
132
+ * </ul>
133
+ *
134
+ * @throws {@link WAFInvalidParameterException} (client fault)
135
+ * <p>The operation failed because AWS WAF didn't recognize a parameter in the request. For example:</p>
136
+ * <ul>
137
+ * <li>
138
+ * <p>You specified an invalid parameter name.</p>
139
+ * </li>
140
+ * <li>
141
+ * <p>You specified an invalid value.</p>
142
+ * </li>
143
+ * <li>
144
+ * <p>You tried to update an object (<code>ByteMatchSet</code>, <code>IPSet</code>, <code>Rule</code>, or <code>WebACL</code>)
145
+ * using an action other than <code>INSERT</code> or <code>DELETE</code>.</p>
146
+ * </li>
147
+ * <li>
148
+ * <p>You tried to create a <code>WebACL</code> with a <code>DefaultAction</code>
149
+ * <code>Type</code> other than
150
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
151
+ * </li>
152
+ * <li>
153
+ * <p>You tried to create a <code>RateBasedRule</code> with a <code>RateKey</code> value other than <code>IP</code>.</p>
154
+ * </li>
155
+ * <li>
156
+ * <p>You tried to update a <code>WebACL</code> with a <code>WafAction</code>
157
+ * <code>Type</code> other than
158
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
159
+ * </li>
160
+ * <li>
161
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>FieldToMatch</code>
162
+ * <code>Type</code> other than
163
+ * HEADER, METHOD, QUERY_STRING, URI, or BODY.</p>
164
+ * </li>
165
+ * <li>
166
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>Field</code> of <code>HEADER</code>
167
+ * but no value for <code>Data</code>.</p>
168
+ * </li>
169
+ * <li>
170
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.</p>
171
+ * </li>
172
+ * </ul>
173
+ *
174
+ * @throws {@link WAFLimitsExceededException} (client fault)
175
+ * <p>The operation exceeds a resource limit, for example, the maximum number of <code>WebACL</code> objects that you can create
176
+ * for an AWS account. For more information, see
177
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">Limits</a> in the <i>AWS WAF Developer Guide</i>.</p>
178
+ *
179
+ * @throws {@link WAFNonexistentContainerException} (client fault)
180
+ * <p>The operation failed because you tried to add an object to or delete an object from another object that doesn't exist. For example:</p>
181
+ * <ul>
182
+ * <li>
183
+ * <p>You tried to add a <code>Rule</code> to or delete a <code>Rule</code> from a <code>WebACL</code> that doesn't exist.</p>
184
+ * </li>
185
+ * <li>
186
+ * <p>You tried to add a <code>ByteMatchSet</code> to or delete a <code>ByteMatchSet</code> from a <code>Rule</code> that doesn't exist.</p>
187
+ * </li>
188
+ * <li>
189
+ * <p>You tried to add an IP address to or delete an IP address from an <code>IPSet</code> that doesn't exist.</p>
190
+ * </li>
191
+ * <li>
192
+ * <p>You tried to add a <code>ByteMatchTuple</code> to or delete a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>
193
+ * that doesn't exist.</p>
194
+ * </li>
195
+ * </ul>
196
+ *
197
+ * @throws {@link WAFNonexistentItemException} (client fault)
198
+ * <p>The operation failed because the referenced object doesn't exist.</p>
199
+ *
200
+ * @throws {@link WAFReferencedItemException} (client fault)
201
+ * <p>The operation failed because you tried to delete an object that is still in use. For example:</p>
202
+ * <ul>
203
+ * <li>
204
+ * <p>You tried to delete a <code>ByteMatchSet</code> that is still referenced by a <code>Rule</code>.</p>
205
+ * </li>
206
+ * <li>
207
+ * <p>You tried to delete a <code>Rule</code> that is still referenced by a <code>WebACL</code>.</p>
208
+ * </li>
209
+ * </ul>
210
+ *
211
+ * @throws {@link WAFStaleDataException} (client fault)
212
+ * <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>
213
+ *
214
+ *
105
215
  * @example To update an IP set
106
216
  * ```javascript
107
217
  * // The following example deletes an IPSetDescriptor object in an IP match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
@@ -83,6 +83,116 @@ export interface UpdateRateBasedRuleCommandOutput extends UpdateRateBasedRuleRes
83
83
  * @see {@link UpdateRateBasedRuleCommandOutput} for command's `response` shape.
84
84
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
85
85
  *
86
+ * @throws {@link WAFInternalErrorException} (server fault)
87
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
88
+ *
89
+ * @throws {@link WAFInvalidAccountException} (client fault)
90
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
91
+ *
92
+ * @throws {@link WAFInvalidOperationException} (client fault)
93
+ * <p>The operation failed because there was nothing to do. For example:</p>
94
+ * <ul>
95
+ * <li>
96
+ * <p>You tried to remove a <code>Rule</code> from a <code>WebACL</code>, but the <code>Rule</code> isn't in the specified <code>WebACL</code>.</p>
97
+ * </li>
98
+ * <li>
99
+ * <p>You tried to remove an IP address from an <code>IPSet</code>, but the IP address isn't in the specified <code>IPSet</code>.</p>
100
+ * </li>
101
+ * <li>
102
+ * <p>You tried to remove a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
103
+ * isn't in the specified <code>WebACL</code>.</p>
104
+ * </li>
105
+ * <li>
106
+ * <p>You tried to add a <code>Rule</code> to a <code>WebACL</code>, but the <code>Rule</code> already exists in the
107
+ * specified <code>WebACL</code>.</p>
108
+ * </li>
109
+ * <li>
110
+ * <p>You tried to add a <code>ByteMatchTuple</code> to a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
111
+ * already exists in the specified <code>WebACL</code>.</p>
112
+ * </li>
113
+ * </ul>
114
+ *
115
+ * @throws {@link WAFInvalidParameterException} (client fault)
116
+ * <p>The operation failed because AWS WAF didn't recognize a parameter in the request. For example:</p>
117
+ * <ul>
118
+ * <li>
119
+ * <p>You specified an invalid parameter name.</p>
120
+ * </li>
121
+ * <li>
122
+ * <p>You specified an invalid value.</p>
123
+ * </li>
124
+ * <li>
125
+ * <p>You tried to update an object (<code>ByteMatchSet</code>, <code>IPSet</code>, <code>Rule</code>, or <code>WebACL</code>)
126
+ * using an action other than <code>INSERT</code> or <code>DELETE</code>.</p>
127
+ * </li>
128
+ * <li>
129
+ * <p>You tried to create a <code>WebACL</code> with a <code>DefaultAction</code>
130
+ * <code>Type</code> other than
131
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
132
+ * </li>
133
+ * <li>
134
+ * <p>You tried to create a <code>RateBasedRule</code> with a <code>RateKey</code> value other than <code>IP</code>.</p>
135
+ * </li>
136
+ * <li>
137
+ * <p>You tried to update a <code>WebACL</code> with a <code>WafAction</code>
138
+ * <code>Type</code> other than
139
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
140
+ * </li>
141
+ * <li>
142
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>FieldToMatch</code>
143
+ * <code>Type</code> other than
144
+ * HEADER, METHOD, QUERY_STRING, URI, or BODY.</p>
145
+ * </li>
146
+ * <li>
147
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>Field</code> of <code>HEADER</code>
148
+ * but no value for <code>Data</code>.</p>
149
+ * </li>
150
+ * <li>
151
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.</p>
152
+ * </li>
153
+ * </ul>
154
+ *
155
+ * @throws {@link WAFLimitsExceededException} (client fault)
156
+ * <p>The operation exceeds a resource limit, for example, the maximum number of <code>WebACL</code> objects that you can create
157
+ * for an AWS account. For more information, see
158
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">Limits</a> in the <i>AWS WAF Developer Guide</i>.</p>
159
+ *
160
+ * @throws {@link WAFNonexistentContainerException} (client fault)
161
+ * <p>The operation failed because you tried to add an object to or delete an object from another object that doesn't exist. For example:</p>
162
+ * <ul>
163
+ * <li>
164
+ * <p>You tried to add a <code>Rule</code> to or delete a <code>Rule</code> from a <code>WebACL</code> that doesn't exist.</p>
165
+ * </li>
166
+ * <li>
167
+ * <p>You tried to add a <code>ByteMatchSet</code> to or delete a <code>ByteMatchSet</code> from a <code>Rule</code> that doesn't exist.</p>
168
+ * </li>
169
+ * <li>
170
+ * <p>You tried to add an IP address to or delete an IP address from an <code>IPSet</code> that doesn't exist.</p>
171
+ * </li>
172
+ * <li>
173
+ * <p>You tried to add a <code>ByteMatchTuple</code> to or delete a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>
174
+ * that doesn't exist.</p>
175
+ * </li>
176
+ * </ul>
177
+ *
178
+ * @throws {@link WAFNonexistentItemException} (client fault)
179
+ * <p>The operation failed because the referenced object doesn't exist.</p>
180
+ *
181
+ * @throws {@link WAFReferencedItemException} (client fault)
182
+ * <p>The operation failed because you tried to delete an object that is still in use. For example:</p>
183
+ * <ul>
184
+ * <li>
185
+ * <p>You tried to delete a <code>ByteMatchSet</code> that is still referenced by a <code>Rule</code>.</p>
186
+ * </li>
187
+ * <li>
188
+ * <p>You tried to delete a <code>Rule</code> that is still referenced by a <code>WebACL</code>.</p>
189
+ * </li>
190
+ * </ul>
191
+ *
192
+ * @throws {@link WAFStaleDataException} (client fault)
193
+ * <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>
194
+ *
195
+ *
86
196
  */
87
197
  export declare class UpdateRateBasedRuleCommand extends $Command<UpdateRateBasedRuleCommandInput, UpdateRateBasedRuleCommandOutput, WAFRegionalClientResolvedConfig> {
88
198
  readonly input: UpdateRateBasedRuleCommandInput;