@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
@@ -68,6 +68,73 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad
68
68
  * @see {@link CreateWebACLCommandOutput} for command's `response` shape.
69
69
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
70
70
  *
71
+ * @throws {@link WAFBadRequestException} (client fault)
72
+ * <p></p>
73
+ *
74
+ * @throws {@link WAFDisallowedNameException} (client fault)
75
+ * <p>The name specified is invalid.</p>
76
+ *
77
+ * @throws {@link WAFInternalErrorException} (server fault)
78
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
79
+ *
80
+ * @throws {@link WAFInvalidAccountException} (client fault)
81
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
82
+ *
83
+ * @throws {@link WAFInvalidParameterException} (client fault)
84
+ * <p>The operation failed because AWS WAF didn't recognize a parameter in the request. For example:</p>
85
+ * <ul>
86
+ * <li>
87
+ * <p>You specified an invalid parameter name.</p>
88
+ * </li>
89
+ * <li>
90
+ * <p>You specified an invalid value.</p>
91
+ * </li>
92
+ * <li>
93
+ * <p>You tried to update an object (<code>ByteMatchSet</code>, <code>IPSet</code>, <code>Rule</code>, or <code>WebACL</code>)
94
+ * using an action other than <code>INSERT</code> or <code>DELETE</code>.</p>
95
+ * </li>
96
+ * <li>
97
+ * <p>You tried to create a <code>WebACL</code> with a <code>DefaultAction</code>
98
+ * <code>Type</code> other than
99
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
100
+ * </li>
101
+ * <li>
102
+ * <p>You tried to create a <code>RateBasedRule</code> with a <code>RateKey</code> value other than <code>IP</code>.</p>
103
+ * </li>
104
+ * <li>
105
+ * <p>You tried to update a <code>WebACL</code> with a <code>WafAction</code>
106
+ * <code>Type</code> other than
107
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
108
+ * </li>
109
+ * <li>
110
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>FieldToMatch</code>
111
+ * <code>Type</code> other than
112
+ * HEADER, METHOD, QUERY_STRING, URI, or BODY.</p>
113
+ * </li>
114
+ * <li>
115
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>Field</code> of <code>HEADER</code>
116
+ * but no value for <code>Data</code>.</p>
117
+ * </li>
118
+ * <li>
119
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.</p>
120
+ * </li>
121
+ * </ul>
122
+ *
123
+ * @throws {@link WAFLimitsExceededException} (client fault)
124
+ * <p>The operation exceeds a resource limit, for example, the maximum number of <code>WebACL</code> objects that you can create
125
+ * for an AWS account. For more information, see
126
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">Limits</a> in the <i>AWS WAF Developer Guide</i>.</p>
127
+ *
128
+ * @throws {@link WAFStaleDataException} (client fault)
129
+ * <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>
130
+ *
131
+ * @throws {@link WAFTagOperationException} (client fault)
132
+ * <p></p>
133
+ *
134
+ * @throws {@link WAFTagOperationInternalErrorException} (server fault)
135
+ * <p></p>
136
+ *
137
+ *
71
138
  * @example To create a web ACL
72
139
  * ```javascript
73
140
  * // The following example creates a web ACL named CreateExample.
@@ -36,6 +36,109 @@ export interface CreateWebACLMigrationStackCommandOutput extends CreateWebACLMig
36
36
  * @see {@link CreateWebACLMigrationStackCommandOutput} for command's `response` shape.
37
37
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
38
38
  *
39
+ * @throws {@link WAFEntityMigrationException} (client fault)
40
+ * <p>The operation failed due to a problem with the migration. The failure cause is provided in the exception, in the <code>MigrationErrorType</code>: </p>
41
+ * <ul>
42
+ * <li>
43
+ * <p>
44
+ * <code>ENTITY_NOT_SUPPORTED</code> - The web ACL has an unsupported entity but the <code>IgnoreUnsupportedType</code> is not set to true.</p>
45
+ * </li>
46
+ * <li>
47
+ * <p>
48
+ * <code>ENTITY_NOT_FOUND</code> - The web ACL doesn't exist. </p>
49
+ * </li>
50
+ * <li>
51
+ * <p>
52
+ * <code>S3_BUCKET_NO_PERMISSION</code> - You don't have permission to perform the <code>PutObject</code> action to the specified Amazon S3 bucket.</p>
53
+ * </li>
54
+ * <li>
55
+ * <p>
56
+ * <code>S3_BUCKET_NOT_ACCESSIBLE</code> - The bucket policy doesn't allow AWS WAF to perform the <code>PutObject</code> action in the bucket.</p>
57
+ * </li>
58
+ * <li>
59
+ * <p>
60
+ * <code>S3_BUCKET_NOT_FOUND</code> - The S3 bucket doesn't exist. </p>
61
+ * </li>
62
+ * <li>
63
+ * <p>
64
+ * <code>S3_BUCKET_INVALID_REGION</code> - The S3 bucket is not in the same Region as the web ACL.</p>
65
+ * </li>
66
+ * <li>
67
+ * <p>
68
+ * <code>S3_INTERNAL_ERROR</code> - AWS WAF failed to create the template in the S3 bucket for another reason.</p>
69
+ * </li>
70
+ * </ul>
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 WAFInvalidOperationException} (client fault)
76
+ * <p>The operation failed because there was nothing to do. For example:</p>
77
+ * <ul>
78
+ * <li>
79
+ * <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>
80
+ * </li>
81
+ * <li>
82
+ * <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>
83
+ * </li>
84
+ * <li>
85
+ * <p>You tried to remove a <code>ByteMatchTuple</code> from a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
86
+ * isn't in the specified <code>WebACL</code>.</p>
87
+ * </li>
88
+ * <li>
89
+ * <p>You tried to add a <code>Rule</code> to a <code>WebACL</code>, but the <code>Rule</code> already exists in the
90
+ * specified <code>WebACL</code>.</p>
91
+ * </li>
92
+ * <li>
93
+ * <p>You tried to add a <code>ByteMatchTuple</code> to a <code>ByteMatchSet</code>, but the <code>ByteMatchTuple</code>
94
+ * already exists in the specified <code>WebACL</code>.</p>
95
+ * </li>
96
+ * </ul>
97
+ *
98
+ * @throws {@link WAFInvalidParameterException} (client fault)
99
+ * <p>The operation failed because AWS WAF didn't recognize a parameter in the request. For example:</p>
100
+ * <ul>
101
+ * <li>
102
+ * <p>You specified an invalid parameter name.</p>
103
+ * </li>
104
+ * <li>
105
+ * <p>You specified an invalid value.</p>
106
+ * </li>
107
+ * <li>
108
+ * <p>You tried to update an object (<code>ByteMatchSet</code>, <code>IPSet</code>, <code>Rule</code>, or <code>WebACL</code>)
109
+ * using an action other than <code>INSERT</code> or <code>DELETE</code>.</p>
110
+ * </li>
111
+ * <li>
112
+ * <p>You tried to create a <code>WebACL</code> with a <code>DefaultAction</code>
113
+ * <code>Type</code> other than
114
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
115
+ * </li>
116
+ * <li>
117
+ * <p>You tried to create a <code>RateBasedRule</code> with a <code>RateKey</code> value other than <code>IP</code>.</p>
118
+ * </li>
119
+ * <li>
120
+ * <p>You tried to update a <code>WebACL</code> with a <code>WafAction</code>
121
+ * <code>Type</code> other than
122
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
123
+ * </li>
124
+ * <li>
125
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>FieldToMatch</code>
126
+ * <code>Type</code> other than
127
+ * HEADER, METHOD, QUERY_STRING, URI, or BODY.</p>
128
+ * </li>
129
+ * <li>
130
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>Field</code> of <code>HEADER</code>
131
+ * but no value for <code>Data</code>.</p>
132
+ * </li>
133
+ * <li>
134
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.</p>
135
+ * </li>
136
+ * </ul>
137
+ *
138
+ * @throws {@link WAFNonexistentItemException} (client fault)
139
+ * <p>The operation failed because the referenced object doesn't exist.</p>
140
+ *
141
+ *
39
142
  */
40
143
  export declare class CreateWebACLMigrationStackCommand extends $Command<CreateWebACLMigrationStackCommandInput, CreateWebACLMigrationStackCommandOutput, WAFRegionalClientResolvedConfig> {
41
144
  readonly input: CreateWebACLMigrationStackCommandInput;
@@ -58,6 +58,64 @@ export interface CreateXssMatchSetCommandOutput extends CreateXssMatchSetRespons
58
58
  * @see {@link CreateXssMatchSetCommandOutput} for command's `response` shape.
59
59
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
60
60
  *
61
+ * @throws {@link WAFDisallowedNameException} (client fault)
62
+ * <p>The name specified is invalid.</p>
63
+ *
64
+ * @throws {@link WAFInternalErrorException} (server fault)
65
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
66
+ *
67
+ * @throws {@link WAFInvalidAccountException} (client fault)
68
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
69
+ *
70
+ * @throws {@link WAFInvalidParameterException} (client fault)
71
+ * <p>The operation failed because AWS WAF didn't recognize a parameter in the request. For example:</p>
72
+ * <ul>
73
+ * <li>
74
+ * <p>You specified an invalid parameter name.</p>
75
+ * </li>
76
+ * <li>
77
+ * <p>You specified an invalid value.</p>
78
+ * </li>
79
+ * <li>
80
+ * <p>You tried to update an object (<code>ByteMatchSet</code>, <code>IPSet</code>, <code>Rule</code>, or <code>WebACL</code>)
81
+ * using an action other than <code>INSERT</code> or <code>DELETE</code>.</p>
82
+ * </li>
83
+ * <li>
84
+ * <p>You tried to create a <code>WebACL</code> with a <code>DefaultAction</code>
85
+ * <code>Type</code> other than
86
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
87
+ * </li>
88
+ * <li>
89
+ * <p>You tried to create a <code>RateBasedRule</code> with a <code>RateKey</code> value other than <code>IP</code>.</p>
90
+ * </li>
91
+ * <li>
92
+ * <p>You tried to update a <code>WebACL</code> with a <code>WafAction</code>
93
+ * <code>Type</code> other than
94
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
95
+ * </li>
96
+ * <li>
97
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>FieldToMatch</code>
98
+ * <code>Type</code> other than
99
+ * HEADER, METHOD, QUERY_STRING, URI, or BODY.</p>
100
+ * </li>
101
+ * <li>
102
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>Field</code> of <code>HEADER</code>
103
+ * but no value for <code>Data</code>.</p>
104
+ * </li>
105
+ * <li>
106
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.</p>
107
+ * </li>
108
+ * </ul>
109
+ *
110
+ * @throws {@link WAFLimitsExceededException} (client fault)
111
+ * <p>The operation exceeds a resource limit, for example, the maximum number of <code>WebACL</code> objects that you can create
112
+ * for an AWS account. For more information, see
113
+ * <a href="https://docs.aws.amazon.com/waf/latest/developerguide/limits.html">Limits</a> in the <i>AWS WAF Developer Guide</i>.</p>
114
+ *
115
+ * @throws {@link WAFStaleDataException} (client fault)
116
+ * <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>
117
+ *
118
+ *
61
119
  * @example To create an XSS match set
62
120
  * ```javascript
63
121
  * // The following example creates an XSS match set named MySampleXssMatchSet.
@@ -52,6 +52,48 @@ export interface DeleteByteMatchSetCommandOutput extends DeleteByteMatchSetRespo
52
52
  * @see {@link DeleteByteMatchSetCommandOutput} for command's `response` shape.
53
53
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
54
54
  *
55
+ * @throws {@link WAFInternalErrorException} (server fault)
56
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
57
+ *
58
+ * @throws {@link WAFInvalidAccountException} (client fault)
59
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
60
+ *
61
+ * @throws {@link WAFNonEmptyEntityException} (client fault)
62
+ * <p>The operation failed because you tried to delete an object that isn't empty. For example:</p>
63
+ * <ul>
64
+ * <li>
65
+ * <p>You tried to delete a <code>WebACL</code> that still contains one or more <code>Rule</code> objects.</p>
66
+ * </li>
67
+ * <li>
68
+ * <p>You tried to delete a <code>Rule</code> that still contains one or more <code>ByteMatchSet</code> objects
69
+ * or other predicates.</p>
70
+ * </li>
71
+ * <li>
72
+ * <p>You tried to delete a <code>ByteMatchSet</code> that contains one or more <code>ByteMatchTuple</code> objects.</p>
73
+ * </li>
74
+ * <li>
75
+ * <p>You tried to delete an <code>IPSet</code> that references one or more IP addresses.</p>
76
+ * </li>
77
+ * </ul>
78
+ *
79
+ * @throws {@link WAFNonexistentItemException} (client fault)
80
+ * <p>The operation failed because the referenced object doesn't exist.</p>
81
+ *
82
+ * @throws {@link WAFReferencedItemException} (client fault)
83
+ * <p>The operation failed because you tried to delete an object that is still in use. For example:</p>
84
+ * <ul>
85
+ * <li>
86
+ * <p>You tried to delete a <code>ByteMatchSet</code> that is still referenced by a <code>Rule</code>.</p>
87
+ * </li>
88
+ * <li>
89
+ * <p>You tried to delete a <code>Rule</code> that is still referenced by a <code>WebACL</code>.</p>
90
+ * </li>
91
+ * </ul>
92
+ *
93
+ * @throws {@link WAFStaleDataException} (client fault)
94
+ * <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>
95
+ *
96
+ *
55
97
  * @example To delete a byte match set
56
98
  * ```javascript
57
99
  * // The following example deletes a byte match set with the ID exampleIDs3t-46da-4fdb-b8d5-abc321j569j5.
@@ -52,6 +52,48 @@ export interface DeleteGeoMatchSetCommandOutput extends DeleteGeoMatchSetRespons
52
52
  * @see {@link DeleteGeoMatchSetCommandOutput} for command's `response` shape.
53
53
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
54
54
  *
55
+ * @throws {@link WAFInternalErrorException} (server fault)
56
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
57
+ *
58
+ * @throws {@link WAFInvalidAccountException} (client fault)
59
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
60
+ *
61
+ * @throws {@link WAFNonEmptyEntityException} (client fault)
62
+ * <p>The operation failed because you tried to delete an object that isn't empty. For example:</p>
63
+ * <ul>
64
+ * <li>
65
+ * <p>You tried to delete a <code>WebACL</code> that still contains one or more <code>Rule</code> objects.</p>
66
+ * </li>
67
+ * <li>
68
+ * <p>You tried to delete a <code>Rule</code> that still contains one or more <code>ByteMatchSet</code> objects
69
+ * or other predicates.</p>
70
+ * </li>
71
+ * <li>
72
+ * <p>You tried to delete a <code>ByteMatchSet</code> that contains one or more <code>ByteMatchTuple</code> objects.</p>
73
+ * </li>
74
+ * <li>
75
+ * <p>You tried to delete an <code>IPSet</code> that references one or more IP addresses.</p>
76
+ * </li>
77
+ * </ul>
78
+ *
79
+ * @throws {@link WAFNonexistentItemException} (client fault)
80
+ * <p>The operation failed because the referenced object doesn't exist.</p>
81
+ *
82
+ * @throws {@link WAFReferencedItemException} (client fault)
83
+ * <p>The operation failed because you tried to delete an object that is still in use. For example:</p>
84
+ * <ul>
85
+ * <li>
86
+ * <p>You tried to delete a <code>ByteMatchSet</code> that is still referenced by a <code>Rule</code>.</p>
87
+ * </li>
88
+ * <li>
89
+ * <p>You tried to delete a <code>Rule</code> that is still referenced by a <code>WebACL</code>.</p>
90
+ * </li>
91
+ * </ul>
92
+ *
93
+ * @throws {@link WAFStaleDataException} (client fault)
94
+ * <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>
95
+ *
96
+ *
55
97
  */
56
98
  export declare class DeleteGeoMatchSetCommand extends $Command<DeleteGeoMatchSetCommandInput, DeleteGeoMatchSetCommandOutput, WAFRegionalClientResolvedConfig> {
57
99
  readonly input: DeleteGeoMatchSetCommandInput;
@@ -52,6 +52,48 @@ export interface DeleteIPSetCommandOutput extends DeleteIPSetResponse, __Metadat
52
52
  * @see {@link DeleteIPSetCommandOutput} for command's `response` shape.
53
53
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
54
54
  *
55
+ * @throws {@link WAFInternalErrorException} (server fault)
56
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
57
+ *
58
+ * @throws {@link WAFInvalidAccountException} (client fault)
59
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
60
+ *
61
+ * @throws {@link WAFNonEmptyEntityException} (client fault)
62
+ * <p>The operation failed because you tried to delete an object that isn't empty. For example:</p>
63
+ * <ul>
64
+ * <li>
65
+ * <p>You tried to delete a <code>WebACL</code> that still contains one or more <code>Rule</code> objects.</p>
66
+ * </li>
67
+ * <li>
68
+ * <p>You tried to delete a <code>Rule</code> that still contains one or more <code>ByteMatchSet</code> objects
69
+ * or other predicates.</p>
70
+ * </li>
71
+ * <li>
72
+ * <p>You tried to delete a <code>ByteMatchSet</code> that contains one or more <code>ByteMatchTuple</code> objects.</p>
73
+ * </li>
74
+ * <li>
75
+ * <p>You tried to delete an <code>IPSet</code> that references one or more IP addresses.</p>
76
+ * </li>
77
+ * </ul>
78
+ *
79
+ * @throws {@link WAFNonexistentItemException} (client fault)
80
+ * <p>The operation failed because the referenced object doesn't exist.</p>
81
+ *
82
+ * @throws {@link WAFReferencedItemException} (client fault)
83
+ * <p>The operation failed because you tried to delete an object that is still in use. For example:</p>
84
+ * <ul>
85
+ * <li>
86
+ * <p>You tried to delete a <code>ByteMatchSet</code> that is still referenced by a <code>Rule</code>.</p>
87
+ * </li>
88
+ * <li>
89
+ * <p>You tried to delete a <code>Rule</code> that is still referenced by a <code>WebACL</code>.</p>
90
+ * </li>
91
+ * </ul>
92
+ *
93
+ * @throws {@link WAFStaleDataException} (client fault)
94
+ * <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>
95
+ *
96
+ *
55
97
  * @example To delete an IP set
56
98
  * ```javascript
57
99
  * // The following example deletes an IP match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
@@ -38,6 +38,16 @@ export interface DeleteLoggingConfigurationCommandOutput extends DeleteLoggingCo
38
38
  * @see {@link DeleteLoggingConfigurationCommandOutput} for command's `response` shape.
39
39
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
40
40
  *
41
+ * @throws {@link WAFInternalErrorException} (server fault)
42
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
43
+ *
44
+ * @throws {@link WAFNonexistentItemException} (client fault)
45
+ * <p>The operation failed because the referenced object doesn't exist.</p>
46
+ *
47
+ * @throws {@link WAFStaleDataException} (client fault)
48
+ * <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>
49
+ *
50
+ *
41
51
  */
42
52
  export declare class DeleteLoggingConfigurationCommand extends $Command<DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput, WAFRegionalClientResolvedConfig> {
43
53
  readonly input: DeleteLoggingConfigurationCommandInput;
@@ -38,6 +38,16 @@ export interface DeletePermissionPolicyCommandOutput extends DeletePermissionPol
38
38
  * @see {@link DeletePermissionPolicyCommandOutput} for command's `response` shape.
39
39
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
40
40
  *
41
+ * @throws {@link WAFInternalErrorException} (server fault)
42
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
43
+ *
44
+ * @throws {@link WAFNonexistentItemException} (client fault)
45
+ * <p>The operation failed because the referenced object doesn't exist.</p>
46
+ *
47
+ * @throws {@link WAFStaleDataException} (client fault)
48
+ * <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>
49
+ *
50
+ *
41
51
  */
42
52
  export declare class DeletePermissionPolicyCommand extends $Command<DeletePermissionPolicyCommandInput, DeletePermissionPolicyCommandOutput, WAFRegionalClientResolvedConfig> {
43
53
  readonly input: DeletePermissionPolicyCommandInput;
@@ -56,6 +56,54 @@ export interface DeleteRateBasedRuleCommandOutput extends DeleteRateBasedRuleRes
56
56
  * @see {@link DeleteRateBasedRuleCommandOutput} for command's `response` shape.
57
57
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
58
58
  *
59
+ * @throws {@link WAFInternalErrorException} (server fault)
60
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
61
+ *
62
+ * @throws {@link WAFInvalidAccountException} (client fault)
63
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
64
+ *
65
+ * @throws {@link WAFNonEmptyEntityException} (client fault)
66
+ * <p>The operation failed because you tried to delete an object that isn't empty. For example:</p>
67
+ * <ul>
68
+ * <li>
69
+ * <p>You tried to delete a <code>WebACL</code> that still contains one or more <code>Rule</code> objects.</p>
70
+ * </li>
71
+ * <li>
72
+ * <p>You tried to delete a <code>Rule</code> that still contains one or more <code>ByteMatchSet</code> objects
73
+ * or other predicates.</p>
74
+ * </li>
75
+ * <li>
76
+ * <p>You tried to delete a <code>ByteMatchSet</code> that contains one or more <code>ByteMatchTuple</code> objects.</p>
77
+ * </li>
78
+ * <li>
79
+ * <p>You tried to delete an <code>IPSet</code> that references one or more IP addresses.</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
+ * @throws {@link WAFReferencedItemException} (client fault)
87
+ * <p>The operation failed because you tried to delete an object that is still in use. For example:</p>
88
+ * <ul>
89
+ * <li>
90
+ * <p>You tried to delete a <code>ByteMatchSet</code> that is still referenced by a <code>Rule</code>.</p>
91
+ * </li>
92
+ * <li>
93
+ * <p>You tried to delete a <code>Rule</code> that is still referenced by a <code>WebACL</code>.</p>
94
+ * </li>
95
+ * </ul>
96
+ *
97
+ * @throws {@link WAFStaleDataException} (client fault)
98
+ * <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>
99
+ *
100
+ * @throws {@link WAFTagOperationException} (client fault)
101
+ * <p></p>
102
+ *
103
+ * @throws {@link WAFTagOperationInternalErrorException} (server fault)
104
+ * <p></p>
105
+ *
106
+ *
59
107
  */
60
108
  export declare class DeleteRateBasedRuleCommand extends $Command<DeleteRateBasedRuleCommandInput, DeleteRateBasedRuleCommandOutput, WAFRegionalClientResolvedConfig> {
61
109
  readonly input: DeleteRateBasedRuleCommandInput;
@@ -52,6 +52,48 @@ export interface DeleteRegexMatchSetCommandOutput extends DeleteRegexMatchSetRes
52
52
  * @see {@link DeleteRegexMatchSetCommandOutput} for command's `response` shape.
53
53
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
54
54
  *
55
+ * @throws {@link WAFInternalErrorException} (server fault)
56
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
57
+ *
58
+ * @throws {@link WAFInvalidAccountException} (client fault)
59
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
60
+ *
61
+ * @throws {@link WAFNonEmptyEntityException} (client fault)
62
+ * <p>The operation failed because you tried to delete an object that isn't empty. For example:</p>
63
+ * <ul>
64
+ * <li>
65
+ * <p>You tried to delete a <code>WebACL</code> that still contains one or more <code>Rule</code> objects.</p>
66
+ * </li>
67
+ * <li>
68
+ * <p>You tried to delete a <code>Rule</code> that still contains one or more <code>ByteMatchSet</code> objects
69
+ * or other predicates.</p>
70
+ * </li>
71
+ * <li>
72
+ * <p>You tried to delete a <code>ByteMatchSet</code> that contains one or more <code>ByteMatchTuple</code> objects.</p>
73
+ * </li>
74
+ * <li>
75
+ * <p>You tried to delete an <code>IPSet</code> that references one or more IP addresses.</p>
76
+ * </li>
77
+ * </ul>
78
+ *
79
+ * @throws {@link WAFNonexistentItemException} (client fault)
80
+ * <p>The operation failed because the referenced object doesn't exist.</p>
81
+ *
82
+ * @throws {@link WAFReferencedItemException} (client fault)
83
+ * <p>The operation failed because you tried to delete an object that is still in use. For example:</p>
84
+ * <ul>
85
+ * <li>
86
+ * <p>You tried to delete a <code>ByteMatchSet</code> that is still referenced by a <code>Rule</code>.</p>
87
+ * </li>
88
+ * <li>
89
+ * <p>You tried to delete a <code>Rule</code> that is still referenced by a <code>WebACL</code>.</p>
90
+ * </li>
91
+ * </ul>
92
+ *
93
+ * @throws {@link WAFStaleDataException} (client fault)
94
+ * <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>
95
+ *
96
+ *
55
97
  */
56
98
  export declare class DeleteRegexMatchSetCommand extends $Command<DeleteRegexMatchSetCommandInput, DeleteRegexMatchSetCommandOutput, WAFRegionalClientResolvedConfig> {
57
99
  readonly input: DeleteRegexMatchSetCommandInput;
@@ -38,6 +38,48 @@ export interface DeleteRegexPatternSetCommandOutput extends DeleteRegexPatternSe
38
38
  * @see {@link DeleteRegexPatternSetCommandOutput} for command's `response` shape.
39
39
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
40
40
  *
41
+ * @throws {@link WAFInternalErrorException} (server fault)
42
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
43
+ *
44
+ * @throws {@link WAFInvalidAccountException} (client fault)
45
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
46
+ *
47
+ * @throws {@link WAFNonEmptyEntityException} (client fault)
48
+ * <p>The operation failed because you tried to delete an object that isn't empty. For example:</p>
49
+ * <ul>
50
+ * <li>
51
+ * <p>You tried to delete a <code>WebACL</code> that still contains one or more <code>Rule</code> objects.</p>
52
+ * </li>
53
+ * <li>
54
+ * <p>You tried to delete a <code>Rule</code> that still contains one or more <code>ByteMatchSet</code> objects
55
+ * or other predicates.</p>
56
+ * </li>
57
+ * <li>
58
+ * <p>You tried to delete a <code>ByteMatchSet</code> that contains one or more <code>ByteMatchTuple</code> objects.</p>
59
+ * </li>
60
+ * <li>
61
+ * <p>You tried to delete an <code>IPSet</code> that references one or more IP addresses.</p>
62
+ * </li>
63
+ * </ul>
64
+ *
65
+ * @throws {@link WAFNonexistentItemException} (client fault)
66
+ * <p>The operation failed because the referenced object doesn't exist.</p>
67
+ *
68
+ * @throws {@link WAFReferencedItemException} (client fault)
69
+ * <p>The operation failed because you tried to delete an object that is still in use. For example:</p>
70
+ * <ul>
71
+ * <li>
72
+ * <p>You tried to delete a <code>ByteMatchSet</code> that is still referenced by a <code>Rule</code>.</p>
73
+ * </li>
74
+ * <li>
75
+ * <p>You tried to delete a <code>Rule</code> that is still referenced by a <code>WebACL</code>.</p>
76
+ * </li>
77
+ * </ul>
78
+ *
79
+ * @throws {@link WAFStaleDataException} (client fault)
80
+ * <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>
81
+ *
82
+ *
41
83
  */
42
84
  export declare class DeleteRegexPatternSetCommand extends $Command<DeleteRegexPatternSetCommandInput, DeleteRegexPatternSetCommandOutput, WAFRegionalClientResolvedConfig> {
43
85
  readonly input: DeleteRegexPatternSetCommandInput;
@@ -52,6 +52,54 @@ export interface DeleteRuleCommandOutput extends DeleteRuleResponse, __MetadataB
52
52
  * @see {@link DeleteRuleCommandOutput} for command's `response` shape.
53
53
  * @see {@link WAFRegionalClientResolvedConfig | config} for WAFRegionalClient's `config` shape.
54
54
  *
55
+ * @throws {@link WAFInternalErrorException} (server fault)
56
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
57
+ *
58
+ * @throws {@link WAFInvalidAccountException} (client fault)
59
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
60
+ *
61
+ * @throws {@link WAFNonEmptyEntityException} (client fault)
62
+ * <p>The operation failed because you tried to delete an object that isn't empty. For example:</p>
63
+ * <ul>
64
+ * <li>
65
+ * <p>You tried to delete a <code>WebACL</code> that still contains one or more <code>Rule</code> objects.</p>
66
+ * </li>
67
+ * <li>
68
+ * <p>You tried to delete a <code>Rule</code> that still contains one or more <code>ByteMatchSet</code> objects
69
+ * or other predicates.</p>
70
+ * </li>
71
+ * <li>
72
+ * <p>You tried to delete a <code>ByteMatchSet</code> that contains one or more <code>ByteMatchTuple</code> objects.</p>
73
+ * </li>
74
+ * <li>
75
+ * <p>You tried to delete an <code>IPSet</code> that references one or more IP addresses.</p>
76
+ * </li>
77
+ * </ul>
78
+ *
79
+ * @throws {@link WAFNonexistentItemException} (client fault)
80
+ * <p>The operation failed because the referenced object doesn't exist.</p>
81
+ *
82
+ * @throws {@link WAFReferencedItemException} (client fault)
83
+ * <p>The operation failed because you tried to delete an object that is still in use. For example:</p>
84
+ * <ul>
85
+ * <li>
86
+ * <p>You tried to delete a <code>ByteMatchSet</code> that is still referenced by a <code>Rule</code>.</p>
87
+ * </li>
88
+ * <li>
89
+ * <p>You tried to delete a <code>Rule</code> that is still referenced by a <code>WebACL</code>.</p>
90
+ * </li>
91
+ * </ul>
92
+ *
93
+ * @throws {@link WAFStaleDataException} (client fault)
94
+ * <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>
95
+ *
96
+ * @throws {@link WAFTagOperationException} (client fault)
97
+ * <p></p>
98
+ *
99
+ * @throws {@link WAFTagOperationInternalErrorException} (server fault)
100
+ * <p></p>
101
+ *
102
+ *
55
103
  * @example To delete a rule
56
104
  * ```javascript
57
105
  * // The following example deletes a rule with the ID WAFRule-1-Example.