@aws-sdk/client-waf 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 (78) hide show
  1. package/dist-types/commands/CreateByteMatchSetCommand.d.ts +58 -0
  2. package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +58 -0
  3. package/dist-types/commands/CreateIPSetCommand.d.ts +58 -0
  4. package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +64 -0
  5. package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +15 -0
  6. package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +15 -0
  7. package/dist-types/commands/CreateRuleCommand.d.ts +64 -0
  8. package/dist-types/commands/CreateRuleGroupCommand.d.ts +24 -0
  9. package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +58 -0
  10. package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +58 -0
  11. package/dist-types/commands/CreateWebACLCommand.d.ts +67 -0
  12. package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +103 -0
  13. package/dist-types/commands/CreateXssMatchSetCommand.d.ts +58 -0
  14. package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +42 -0
  15. package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +42 -0
  16. package/dist-types/commands/DeleteIPSetCommand.d.ts +42 -0
  17. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +10 -0
  18. package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +10 -0
  19. package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +48 -0
  20. package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +42 -0
  21. package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +42 -0
  22. package/dist-types/commands/DeleteRuleCommand.d.ts +48 -0
  23. package/dist-types/commands/DeleteRuleGroupCommand.d.ts +68 -0
  24. package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +42 -0
  25. package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +42 -0
  26. package/dist-types/commands/DeleteWebACLCommand.d.ts +48 -0
  27. package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +42 -0
  28. package/dist-types/commands/GetByteMatchSetCommand.d.ts +10 -0
  29. package/dist-types/commands/GetChangeTokenCommand.d.ts +4 -0
  30. package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +7 -0
  31. package/dist-types/commands/GetGeoMatchSetCommand.d.ts +10 -0
  32. package/dist-types/commands/GetIPSetCommand.d.ts +10 -0
  33. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +7 -0
  34. package/dist-types/commands/GetPermissionPolicyCommand.d.ts +7 -0
  35. package/dist-types/commands/GetRateBasedRuleCommand.d.ts +10 -0
  36. package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +50 -0
  37. package/dist-types/commands/GetRegexMatchSetCommand.d.ts +10 -0
  38. package/dist-types/commands/GetRegexPatternSetCommand.d.ts +10 -0
  39. package/dist-types/commands/GetRuleCommand.d.ts +10 -0
  40. package/dist-types/commands/GetRuleGroupCommand.d.ts +7 -0
  41. package/dist-types/commands/GetSampledRequestsCommand.d.ts +7 -0
  42. package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +10 -0
  43. package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +10 -0
  44. package/dist-types/commands/GetWebACLCommand.d.ts +10 -0
  45. package/dist-types/commands/GetXssMatchSetCommand.d.ts +10 -0
  46. package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +47 -0
  47. package/dist-types/commands/ListByteMatchSetsCommand.d.ts +7 -0
  48. package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +7 -0
  49. package/dist-types/commands/ListIPSetsCommand.d.ts +7 -0
  50. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +47 -0
  51. package/dist-types/commands/ListRateBasedRulesCommand.d.ts +7 -0
  52. package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +7 -0
  53. package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +7 -0
  54. package/dist-types/commands/ListRuleGroupsCommand.d.ts +4 -0
  55. package/dist-types/commands/ListRulesCommand.d.ts +7 -0
  56. package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +7 -0
  57. package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +7 -0
  58. package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +7 -0
  59. package/dist-types/commands/ListTagsForResourceCommand.d.ts +56 -0
  60. package/dist-types/commands/ListWebACLsCommand.d.ts +7 -0
  61. package/dist-types/commands/ListXssMatchSetsCommand.d.ts +7 -0
  62. package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +13 -0
  63. package/dist-types/commands/PutPermissionPolicyCommand.d.ts +42 -0
  64. package/dist-types/commands/TagResourceCommand.d.ts +61 -0
  65. package/dist-types/commands/UntagResourceCommand.d.ts +56 -0
  66. package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +99 -0
  67. package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +110 -0
  68. package/dist-types/commands/UpdateIPSetCommand.d.ts +110 -0
  69. package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +110 -0
  70. package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +62 -0
  71. package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +62 -0
  72. package/dist-types/commands/UpdateRuleCommand.d.ts +110 -0
  73. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +96 -0
  74. package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +110 -0
  75. package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +99 -0
  76. package/dist-types/commands/UpdateWebACLCommand.d.ts +113 -0
  77. package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +99 -0
  78. package/package.json +29 -29
@@ -52,6 +52,48 @@ export interface DeleteSizeConstraintSetCommandOutput extends DeleteSizeConstrai
52
52
  * @see {@link DeleteSizeConstraintSetCommandOutput} for command's `response` shape.
53
53
  * @see {@link WAFClientResolvedConfig | config} for WAFClient'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 size constraint set
56
98
  * ```javascript
57
99
  * // The following example deletes a size constraint set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
@@ -53,6 +53,48 @@ export interface DeleteSqlInjectionMatchSetCommandOutput extends DeleteSqlInject
53
53
  * @see {@link DeleteSqlInjectionMatchSetCommandOutput} for command's `response` shape.
54
54
  * @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
55
55
  *
56
+ * @throws {@link WAFInternalErrorException} (server fault)
57
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
58
+ *
59
+ * @throws {@link WAFInvalidAccountException} (client fault)
60
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
61
+ *
62
+ * @throws {@link WAFNonEmptyEntityException} (client fault)
63
+ * <p>The operation failed because you tried to delete an object that isn't empty. For example:</p>
64
+ * <ul>
65
+ * <li>
66
+ * <p>You tried to delete a <code>WebACL</code> that still contains one or more <code>Rule</code> objects.</p>
67
+ * </li>
68
+ * <li>
69
+ * <p>You tried to delete a <code>Rule</code> that still contains one or more <code>ByteMatchSet</code> objects
70
+ * or other predicates.</p>
71
+ * </li>
72
+ * <li>
73
+ * <p>You tried to delete a <code>ByteMatchSet</code> that contains one or more <code>ByteMatchTuple</code> objects.</p>
74
+ * </li>
75
+ * <li>
76
+ * <p>You tried to delete an <code>IPSet</code> that references one or more IP addresses.</p>
77
+ * </li>
78
+ * </ul>
79
+ *
80
+ * @throws {@link WAFNonexistentItemException} (client fault)
81
+ * <p>The operation failed because the referenced object doesn't exist.</p>
82
+ *
83
+ * @throws {@link WAFReferencedItemException} (client fault)
84
+ * <p>The operation failed because you tried to delete an object that is still in use. For example:</p>
85
+ * <ul>
86
+ * <li>
87
+ * <p>You tried to delete a <code>ByteMatchSet</code> that is still referenced by a <code>Rule</code>.</p>
88
+ * </li>
89
+ * <li>
90
+ * <p>You tried to delete a <code>Rule</code> that is still referenced by a <code>WebACL</code>.</p>
91
+ * </li>
92
+ * </ul>
93
+ *
94
+ * @throws {@link WAFStaleDataException} (client fault)
95
+ * <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>
96
+ *
97
+ *
56
98
  * @example To delete a SQL injection match set
57
99
  * ```javascript
58
100
  * // The following example deletes a SQL injection match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
@@ -50,6 +50,54 @@ export interface DeleteWebACLCommandOutput extends DeleteWebACLResponse, __Metad
50
50
  * @see {@link DeleteWebACLCommandOutput} for command's `response` shape.
51
51
  * @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
52
52
  *
53
+ * @throws {@link WAFInternalErrorException} (server fault)
54
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
55
+ *
56
+ * @throws {@link WAFInvalidAccountException} (client fault)
57
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
58
+ *
59
+ * @throws {@link WAFNonEmptyEntityException} (client fault)
60
+ * <p>The operation failed because you tried to delete an object that isn't empty. For example:</p>
61
+ * <ul>
62
+ * <li>
63
+ * <p>You tried to delete a <code>WebACL</code> that still contains one or more <code>Rule</code> objects.</p>
64
+ * </li>
65
+ * <li>
66
+ * <p>You tried to delete a <code>Rule</code> that still contains one or more <code>ByteMatchSet</code> objects
67
+ * or other predicates.</p>
68
+ * </li>
69
+ * <li>
70
+ * <p>You tried to delete a <code>ByteMatchSet</code> that contains one or more <code>ByteMatchTuple</code> objects.</p>
71
+ * </li>
72
+ * <li>
73
+ * <p>You tried to delete an <code>IPSet</code> that references one or more IP addresses.</p>
74
+ * </li>
75
+ * </ul>
76
+ *
77
+ * @throws {@link WAFNonexistentItemException} (client fault)
78
+ * <p>The operation failed because the referenced object doesn't exist.</p>
79
+ *
80
+ * @throws {@link WAFReferencedItemException} (client fault)
81
+ * <p>The operation failed because you tried to delete an object that is still in use. For example:</p>
82
+ * <ul>
83
+ * <li>
84
+ * <p>You tried to delete a <code>ByteMatchSet</code> that is still referenced by a <code>Rule</code>.</p>
85
+ * </li>
86
+ * <li>
87
+ * <p>You tried to delete a <code>Rule</code> that is still referenced by a <code>WebACL</code>.</p>
88
+ * </li>
89
+ * </ul>
90
+ *
91
+ * @throws {@link WAFStaleDataException} (client fault)
92
+ * <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>
93
+ *
94
+ * @throws {@link WAFTagOperationException} (client fault)
95
+ * <p></p>
96
+ *
97
+ * @throws {@link WAFTagOperationInternalErrorException} (server fault)
98
+ * <p></p>
99
+ *
100
+ *
53
101
  * @example To delete a web ACL
54
102
  * ```javascript
55
103
  * // The following example deletes a web ACL with the ID example-46da-4444-5555-example.
@@ -53,6 +53,48 @@ export interface DeleteXssMatchSetCommandOutput extends DeleteXssMatchSetRespons
53
53
  * @see {@link DeleteXssMatchSetCommandOutput} for command's `response` shape.
54
54
  * @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
55
55
  *
56
+ * @throws {@link WAFInternalErrorException} (server fault)
57
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
58
+ *
59
+ * @throws {@link WAFInvalidAccountException} (client fault)
60
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
61
+ *
62
+ * @throws {@link WAFNonEmptyEntityException} (client fault)
63
+ * <p>The operation failed because you tried to delete an object that isn't empty. For example:</p>
64
+ * <ul>
65
+ * <li>
66
+ * <p>You tried to delete a <code>WebACL</code> that still contains one or more <code>Rule</code> objects.</p>
67
+ * </li>
68
+ * <li>
69
+ * <p>You tried to delete a <code>Rule</code> that still contains one or more <code>ByteMatchSet</code> objects
70
+ * or other predicates.</p>
71
+ * </li>
72
+ * <li>
73
+ * <p>You tried to delete a <code>ByteMatchSet</code> that contains one or more <code>ByteMatchTuple</code> objects.</p>
74
+ * </li>
75
+ * <li>
76
+ * <p>You tried to delete an <code>IPSet</code> that references one or more IP addresses.</p>
77
+ * </li>
78
+ * </ul>
79
+ *
80
+ * @throws {@link WAFNonexistentItemException} (client fault)
81
+ * <p>The operation failed because the referenced object doesn't exist.</p>
82
+ *
83
+ * @throws {@link WAFReferencedItemException} (client fault)
84
+ * <p>The operation failed because you tried to delete an object that is still in use. For example:</p>
85
+ * <ul>
86
+ * <li>
87
+ * <p>You tried to delete a <code>ByteMatchSet</code> that is still referenced by a <code>Rule</code>.</p>
88
+ * </li>
89
+ * <li>
90
+ * <p>You tried to delete a <code>Rule</code> that is still referenced by a <code>WebACL</code>.</p>
91
+ * </li>
92
+ * </ul>
93
+ *
94
+ * @throws {@link WAFStaleDataException} (client fault)
95
+ * <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>
96
+ *
97
+ *
56
98
  * @example To delete an XSS match set
57
99
  * ```javascript
58
100
  * // The following example deletes an XSS match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
@@ -37,6 +37,16 @@ export interface GetByteMatchSetCommandOutput extends GetByteMatchSetResponse, _
37
37
  * @see {@link GetByteMatchSetCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFClientResolvedConfig | config} for WAFClient'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 byte match set
41
51
  * ```javascript
42
52
  * // The following example returns the details of a byte match set with the ID exampleIDs3t-46da-4fdb-b8d5-abc321j569j5.
@@ -43,6 +43,10 @@ export interface GetChangeTokenCommandOutput extends GetChangeTokenResponse, __M
43
43
  * @see {@link GetChangeTokenCommandOutput} for command's `response` shape.
44
44
  * @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
45
45
  *
46
+ * @throws {@link WAFInternalErrorException} (server fault)
47
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
48
+ *
49
+ *
46
50
  * @example To get a change token
47
51
  * ```javascript
48
52
  * // The following example returns a change token to use for a create, update or delete operation.
@@ -53,6 +53,13 @@ export interface GetChangeTokenStatusCommandOutput extends GetChangeTokenStatusR
53
53
  * @see {@link GetChangeTokenStatusCommandOutput} for command's `response` shape.
54
54
  * @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
55
55
  *
56
+ * @throws {@link WAFInternalErrorException} (server fault)
57
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
58
+ *
59
+ * @throws {@link WAFNonexistentItemException} (client fault)
60
+ * <p>The operation failed because the referenced object doesn't exist.</p>
61
+ *
62
+ *
56
63
  * @example To get the change token status
57
64
  * ```javascript
58
65
  * // The following example returns the status of a change token with the ID abcd12f2-46da-4fdb-b8d5-fbd4c466928f.
@@ -37,6 +37,16 @@ export interface GetGeoMatchSetCommandOutput extends GetGeoMatchSetResponse, __M
37
37
  * @see {@link GetGeoMatchSetCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFClientResolvedConfig | config} for WAFClient'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
  */
41
51
  export declare class GetGeoMatchSetCommand extends $Command<GetGeoMatchSetCommandInput, GetGeoMatchSetCommandOutput, WAFClientResolvedConfig> {
42
52
  readonly input: GetGeoMatchSetCommandInput;
@@ -37,6 +37,16 @@ export interface GetIPSetCommandOutput extends GetIPSetResponse, __MetadataBeare
37
37
  * @see {@link GetIPSetCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFClientResolvedConfig | config} for WAFClient'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 IP set
41
51
  * ```javascript
42
52
  * // The following example returns the details of an IP match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
@@ -37,6 +37,13 @@ export interface GetLoggingConfigurationCommandOutput extends GetLoggingConfigur
37
37
  * @see {@link GetLoggingConfigurationCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFClientResolvedConfig | config} for WAFClient'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 GetLoggingConfigurationCommand extends $Command<GetLoggingConfigurationCommandInput, GetLoggingConfigurationCommandOutput, WAFClientResolvedConfig> {
42
49
  readonly input: GetLoggingConfigurationCommandInput;
@@ -37,6 +37,13 @@ export interface GetPermissionPolicyCommandOutput extends GetPermissionPolicyRes
37
37
  * @see {@link GetPermissionPolicyCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFClientResolvedConfig | config} for WAFClient'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 GetPermissionPolicyCommand extends $Command<GetPermissionPolicyCommandInput, GetPermissionPolicyCommandOutput, WAFClientResolvedConfig> {
42
49
  readonly input: GetPermissionPolicyCommandInput;
@@ -39,6 +39,16 @@ export interface GetRateBasedRuleCommandOutput extends GetRateBasedRuleResponse,
39
39
  * @see {@link GetRateBasedRuleCommandOutput} for command's `response` shape.
40
40
  * @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
41
41
  *
42
+ * @throws {@link WAFInternalErrorException} (server fault)
43
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
44
+ *
45
+ * @throws {@link WAFInvalidAccountException} (client fault)
46
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
47
+ *
48
+ * @throws {@link WAFNonexistentItemException} (client fault)
49
+ * <p>The operation failed because the referenced object doesn't exist.</p>
50
+ *
51
+ *
42
52
  */
43
53
  export declare class GetRateBasedRuleCommand extends $Command<GetRateBasedRuleCommandInput, GetRateBasedRuleCommandOutput, WAFClientResolvedConfig> {
44
54
  readonly input: GetRateBasedRuleCommandInput;
@@ -39,6 +39,56 @@ export interface GetRateBasedRuleManagedKeysCommandOutput extends GetRateBasedRu
39
39
  * @see {@link GetRateBasedRuleManagedKeysCommandOutput} for command's `response` shape.
40
40
  * @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
41
41
  *
42
+ * @throws {@link WAFInternalErrorException} (server fault)
43
+ * <p>The operation failed because of a system problem, even though the request was valid. Retry your request.</p>
44
+ *
45
+ * @throws {@link WAFInvalidAccountException} (client fault)
46
+ * <p>The operation failed because you tried to create, update, or delete an object by using an invalid account identifier.</p>
47
+ *
48
+ * @throws {@link WAFInvalidParameterException} (client fault)
49
+ * <p>The operation failed because AWS WAF didn't recognize a parameter in the request. For example:</p>
50
+ * <ul>
51
+ * <li>
52
+ * <p>You specified an invalid parameter name.</p>
53
+ * </li>
54
+ * <li>
55
+ * <p>You specified an invalid value.</p>
56
+ * </li>
57
+ * <li>
58
+ * <p>You tried to update an object (<code>ByteMatchSet</code>, <code>IPSet</code>, <code>Rule</code>, or <code>WebACL</code>)
59
+ * using an action other than <code>INSERT</code> or <code>DELETE</code>.</p>
60
+ * </li>
61
+ * <li>
62
+ * <p>You tried to create a <code>WebACL</code> with a <code>DefaultAction</code>
63
+ * <code>Type</code> other than
64
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
65
+ * </li>
66
+ * <li>
67
+ * <p>You tried to create a <code>RateBasedRule</code> with a <code>RateKey</code> value other than <code>IP</code>.</p>
68
+ * </li>
69
+ * <li>
70
+ * <p>You tried to update a <code>WebACL</code> with a <code>WafAction</code>
71
+ * <code>Type</code> other than
72
+ * <code>ALLOW</code>, <code>BLOCK</code>, or <code>COUNT</code>.</p>
73
+ * </li>
74
+ * <li>
75
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>FieldToMatch</code>
76
+ * <code>Type</code> other than
77
+ * HEADER, METHOD, QUERY_STRING, URI, or BODY.</p>
78
+ * </li>
79
+ * <li>
80
+ * <p>You tried to update a <code>ByteMatchSet</code> with a <code>Field</code> of <code>HEADER</code>
81
+ * but no value for <code>Data</code>.</p>
82
+ * </li>
83
+ * <li>
84
+ * <p>Your request references an ARN that is malformed, or corresponds to a resource with which a web ACL cannot be associated.</p>
85
+ * </li>
86
+ * </ul>
87
+ *
88
+ * @throws {@link WAFNonexistentItemException} (client fault)
89
+ * <p>The operation failed because the referenced object doesn't exist.</p>
90
+ *
91
+ *
42
92
  */
43
93
  export declare class GetRateBasedRuleManagedKeysCommand extends $Command<GetRateBasedRuleManagedKeysCommandInput, GetRateBasedRuleManagedKeysCommandOutput, WAFClientResolvedConfig> {
44
94
  readonly input: GetRateBasedRuleManagedKeysCommandInput;
@@ -37,6 +37,16 @@ export interface GetRegexMatchSetCommandOutput extends GetRegexMatchSetResponse,
37
37
  * @see {@link GetRegexMatchSetCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFClientResolvedConfig | config} for WAFClient'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
  */
41
51
  export declare class GetRegexMatchSetCommand extends $Command<GetRegexMatchSetCommandInput, GetRegexMatchSetCommandOutput, WAFClientResolvedConfig> {
42
52
  readonly input: GetRegexMatchSetCommandInput;
@@ -37,6 +37,16 @@ export interface GetRegexPatternSetCommandOutput extends GetRegexPatternSetRespo
37
37
  * @see {@link GetRegexPatternSetCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFClientResolvedConfig | config} for WAFClient'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
  */
41
51
  export declare class GetRegexPatternSetCommand extends $Command<GetRegexPatternSetCommandInput, GetRegexPatternSetCommandOutput, WAFClientResolvedConfig> {
42
52
  readonly input: GetRegexPatternSetCommandInput;
@@ -37,6 +37,16 @@ export interface GetRuleCommandOutput extends GetRuleResponse, __MetadataBearer
37
37
  * @see {@link GetRuleCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFClientResolvedConfig | config} for WAFClient'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 rule
41
51
  * ```javascript
42
52
  * // The following example returns the details of a rule with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
@@ -38,6 +38,13 @@ export interface GetRuleGroupCommandOutput extends GetRuleGroupResponse, __Metad
38
38
  * @see {@link GetRuleGroupCommandOutput} for command's `response` shape.
39
39
  * @see {@link WAFClientResolvedConfig | config} for WAFClient'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
+ *
41
48
  */
42
49
  export declare class GetRuleGroupCommand extends $Command<GetRuleGroupCommandInput, GetRuleGroupCommandOutput, WAFClientResolvedConfig> {
43
50
  readonly input: GetRuleGroupCommandInput;
@@ -41,6 +41,13 @@ export interface GetSampledRequestsCommandOutput extends GetSampledRequestsRespo
41
41
  * @see {@link GetSampledRequestsCommandOutput} for command's `response` shape.
42
42
  * @see {@link WAFClientResolvedConfig | config} for WAFClient's `config` shape.
43
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 WAFNonexistentItemException} (client fault)
48
+ * <p>The operation failed because the referenced object doesn't exist.</p>
49
+ *
50
+ *
44
51
  * @example To get a sampled requests
45
52
  * ```javascript
46
53
  * // The following example returns detailed information about 100 requests --a sample-- that AWS WAF randomly selects from among the first 5,000 requests that your AWS resource received between the time period 2016-09-27T15:50Z to 2016-09-27T15:50Z.
@@ -37,6 +37,16 @@ export interface GetSizeConstraintSetCommandOutput extends GetSizeConstraintSetR
37
37
  * @see {@link GetSizeConstraintSetCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFClientResolvedConfig | config} for WAFClient'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 size constraint set
41
51
  * ```javascript
42
52
  * // The following example returns the details of a size constraint match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
@@ -37,6 +37,16 @@ export interface GetSqlInjectionMatchSetCommandOutput extends GetSqlInjectionMat
37
37
  * @see {@link GetSqlInjectionMatchSetCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFClientResolvedConfig | config} for WAFClient'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 WAFClientResolvedConfig | config} for WAFClient'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,16 @@ export interface GetXssMatchSetCommandOutput extends GetXssMatchSetResponse, __M
37
37
  * @see {@link GetXssMatchSetCommandOutput} for command's `response` shape.
38
38
  * @see {@link WAFClientResolvedConfig | config} for WAFClient'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 WAFClientResolvedConfig | config} for WAFClient'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, WAFClientResolvedConfig> {
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 WAFClientResolvedConfig | config} for WAFClient'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, WAFClientResolvedConfig> {
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 WAFClientResolvedConfig | config} for WAFClient'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, WAFClientResolvedConfig> {
42
49
  readonly input: ListGeoMatchSetsCommandInput;