@aws-sdk/client-waf-regional 3.321.1 → 3.326.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 +4 -0
  2. package/dist-types/commands/CreateByteMatchSetCommand.d.ts +21 -0
  3. package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +16 -0
  4. package/dist-types/commands/CreateIPSetCommand.d.ts +16 -0
  5. package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +20 -0
  6. package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +20 -0
  7. package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +13 -0
  8. package/dist-types/commands/CreateRuleCommand.d.ts +18 -0
  9. package/dist-types/commands/CreateRuleGroupCommand.d.ts +11 -0
  10. package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +21 -0
  11. package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +19 -0
  12. package/dist-types/commands/CreateWebACLCommand.d.ts +33 -0
  13. package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +6 -0
  14. package/dist-types/commands/CreateXssMatchSetCommand.d.ts +19 -0
  15. package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +6 -0
  16. package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +6 -0
  17. package/dist-types/commands/DeleteIPSetCommand.d.ts +6 -0
  18. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +4 -0
  19. package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +4 -0
  20. package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +6 -0
  21. package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +6 -0
  22. package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +6 -0
  23. package/dist-types/commands/DeleteRuleCommand.d.ts +6 -0
  24. package/dist-types/commands/DeleteRuleGroupCommand.d.ts +6 -0
  25. package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +6 -0
  26. package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +6 -0
  27. package/dist-types/commands/DeleteWebACLCommand.d.ts +6 -0
  28. package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +6 -0
  29. package/dist-types/commands/DisassociateWebACLCommand.d.ts +4 -0
  30. package/dist-types/commands/GetByteMatchSetCommand.d.ts +20 -0
  31. package/dist-types/commands/GetChangeTokenCommand.d.ts +6 -0
  32. package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +6 -0
  33. package/dist-types/commands/GetGeoMatchSetCommand.d.ts +15 -0
  34. package/dist-types/commands/GetIPSetCommand.d.ts +15 -0
  35. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +17 -0
  36. package/dist-types/commands/GetPermissionPolicyCommand.d.ts +6 -0
  37. package/dist-types/commands/GetRateBasedRuleCommand.d.ts +19 -0
  38. package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +9 -0
  39. package/dist-types/commands/GetRegexMatchSetCommand.d.ts +19 -0
  40. package/dist-types/commands/GetRegexPatternSetCommand.d.ts +12 -0
  41. package/dist-types/commands/GetRuleCommand.d.ts +17 -0
  42. package/dist-types/commands/GetRuleGroupCommand.d.ts +10 -0
  43. package/dist-types/commands/GetSampledRequestsCommand.d.ts +31 -0
  44. package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +20 -0
  45. package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +18 -0
  46. package/dist-types/commands/GetWebACLCommand.d.ts +32 -0
  47. package/dist-types/commands/GetWebACLForResourceCommand.d.ts +9 -0
  48. package/dist-types/commands/GetXssMatchSetCommand.d.ts +18 -0
  49. package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +24 -0
  50. package/dist-types/commands/ListByteMatchSetsCommand.d.ts +12 -0
  51. package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +12 -0
  52. package/dist-types/commands/ListIPSetsCommand.d.ts +12 -0
  53. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +20 -0
  54. package/dist-types/commands/ListRateBasedRulesCommand.d.ts +12 -0
  55. package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +12 -0
  56. package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +12 -0
  57. package/dist-types/commands/ListResourcesForWebACLCommand.d.ts +8 -0
  58. package/dist-types/commands/ListRuleGroupsCommand.d.ts +12 -0
  59. package/dist-types/commands/ListRulesCommand.d.ts +12 -0
  60. package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +12 -0
  61. package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +12 -0
  62. package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +13 -0
  63. package/dist-types/commands/ListTagsForResourceCommand.d.ts +15 -0
  64. package/dist-types/commands/ListWebACLsCommand.d.ts +12 -0
  65. package/dist-types/commands/ListXssMatchSetsCommand.d.ts +12 -0
  66. package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +17 -0
  67. package/dist-types/commands/PutPermissionPolicyCommand.d.ts +4 -0
  68. package/dist-types/commands/TagResourceCommand.d.ts +4 -0
  69. package/dist-types/commands/UntagResourceCommand.d.ts +4 -0
  70. package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +6 -0
  71. package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +6 -0
  72. package/dist-types/commands/UpdateIPSetCommand.d.ts +6 -0
  73. package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +6 -0
  74. package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +6 -0
  75. package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +6 -0
  76. package/dist-types/commands/UpdateRuleCommand.d.ts +6 -0
  77. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +6 -0
  78. package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +6 -0
  79. package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +6 -0
  80. package/dist-types/commands/UpdateWebACLCommand.d.ts +6 -0
  81. package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +6 -0
  82. package/package.json +16 -16
@@ -40,6 +40,8 @@ export interface AssociateWebACLCommandOutput extends AssociateWebACLResponse, _
40
40
  * };
41
41
  * const command = new AssociateWebACLCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // {};
44
+ *
43
45
  * ```
44
46
  *
45
47
  * @param AssociateWebACLCommandInput - {@link AssociateWebACLCommandInput}
@@ -101,6 +103,8 @@ export interface AssociateWebACLCommandOutput extends AssociateWebACLResponse, _
101
103
  * <p>The operation failed because the entity
102
104
  * referenced is temporarily unavailable. Retry your request.</p>
103
105
  *
106
+ * @throws {@link WAFRegionalServiceException}
107
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
104
108
  *
105
109
  */
106
110
  export declare class AssociateWebACLCommand extends $Command<AssociateWebACLCommandInput, AssociateWebACLCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -63,6 +63,25 @@ export interface CreateByteMatchSetCommandOutput extends CreateByteMatchSetRespo
63
63
  * };
64
64
  * const command = new CreateByteMatchSetCommand(input);
65
65
  * const response = await client.send(command);
66
+ * // { // CreateByteMatchSetResponse
67
+ * // ByteMatchSet: { // ByteMatchSet
68
+ * // ByteMatchSetId: "STRING_VALUE", // required
69
+ * // Name: "STRING_VALUE",
70
+ * // ByteMatchTuples: [ // ByteMatchTuples // required
71
+ * // { // ByteMatchTuple
72
+ * // FieldToMatch: { // FieldToMatch
73
+ * // Type: "STRING_VALUE", // required
74
+ * // Data: "STRING_VALUE",
75
+ * // },
76
+ * // TargetString: "BLOB_VALUE", // required
77
+ * // TextTransformation: "STRING_VALUE", // required
78
+ * // PositionalConstraint: "STRING_VALUE", // required
79
+ * // },
80
+ * // ],
81
+ * // },
82
+ * // ChangeToken: "STRING_VALUE",
83
+ * // };
84
+ *
66
85
  * ```
67
86
  *
68
87
  * @param CreateByteMatchSetCommandInput - {@link CreateByteMatchSetCommandInput}
@@ -128,6 +147,8 @@ export interface CreateByteMatchSetCommandOutput extends CreateByteMatchSetRespo
128
147
  * @throws {@link WAFStaleDataException} (client fault)
129
148
  * <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
149
  *
150
+ * @throws {@link WAFRegionalServiceException}
151
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
131
152
  *
132
153
  */
133
154
  export declare class CreateByteMatchSetCommand extends $Command<CreateByteMatchSetCommandInput, CreateByteMatchSetCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -60,6 +60,20 @@ export interface CreateGeoMatchSetCommandOutput extends CreateGeoMatchSetRespons
60
60
  * };
61
61
  * const command = new CreateGeoMatchSetCommand(input);
62
62
  * const response = await client.send(command);
63
+ * // { // CreateGeoMatchSetResponse
64
+ * // GeoMatchSet: { // GeoMatchSet
65
+ * // GeoMatchSetId: "STRING_VALUE", // required
66
+ * // Name: "STRING_VALUE",
67
+ * // GeoMatchConstraints: [ // GeoMatchConstraints // required
68
+ * // { // GeoMatchConstraint
69
+ * // Type: "STRING_VALUE", // required
70
+ * // Value: "STRING_VALUE", // required
71
+ * // },
72
+ * // ],
73
+ * // },
74
+ * // ChangeToken: "STRING_VALUE",
75
+ * // };
76
+ *
63
77
  * ```
64
78
  *
65
79
  * @param CreateGeoMatchSetCommandInput - {@link CreateGeoMatchSetCommandInput}
@@ -125,6 +139,8 @@ export interface CreateGeoMatchSetCommandOutput extends CreateGeoMatchSetRespons
125
139
  * @throws {@link WAFStaleDataException} (client fault)
126
140
  * <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>
127
141
  *
142
+ * @throws {@link WAFRegionalServiceException}
143
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
128
144
  *
129
145
  */
130
146
  export declare class CreateGeoMatchSetCommand extends $Command<CreateGeoMatchSetCommandInput, CreateGeoMatchSetCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -65,6 +65,20 @@ export interface CreateIPSetCommandOutput extends CreateIPSetResponse, __Metadat
65
65
  * };
66
66
  * const command = new CreateIPSetCommand(input);
67
67
  * const response = await client.send(command);
68
+ * // { // CreateIPSetResponse
69
+ * // IPSet: { // IPSet
70
+ * // IPSetId: "STRING_VALUE", // required
71
+ * // Name: "STRING_VALUE",
72
+ * // IPSetDescriptors: [ // IPSetDescriptors // required
73
+ * // { // IPSetDescriptor
74
+ * // Type: "STRING_VALUE", // required
75
+ * // Value: "STRING_VALUE", // required
76
+ * // },
77
+ * // ],
78
+ * // },
79
+ * // ChangeToken: "STRING_VALUE",
80
+ * // };
81
+ *
68
82
  * ```
69
83
  *
70
84
  * @param CreateIPSetCommandInput - {@link CreateIPSetCommandInput}
@@ -130,6 +144,8 @@ export interface CreateIPSetCommandOutput extends CreateIPSetResponse, __Metadat
130
144
  * @throws {@link WAFStaleDataException} (client fault)
131
145
  * <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>
132
146
  *
147
+ * @throws {@link WAFRegionalServiceException}
148
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
133
149
  *
134
150
  * @example To create an IP set
135
151
  * ```javascript
@@ -134,6 +134,24 @@ export interface CreateRateBasedRuleCommandOutput extends CreateRateBasedRuleRes
134
134
  * };
135
135
  * const command = new CreateRateBasedRuleCommand(input);
136
136
  * const response = await client.send(command);
137
+ * // { // CreateRateBasedRuleResponse
138
+ * // Rule: { // RateBasedRule
139
+ * // RuleId: "STRING_VALUE", // required
140
+ * // Name: "STRING_VALUE",
141
+ * // MetricName: "STRING_VALUE",
142
+ * // MatchPredicates: [ // Predicates // required
143
+ * // { // Predicate
144
+ * // Negated: true || false, // required
145
+ * // Type: "STRING_VALUE", // required
146
+ * // DataId: "STRING_VALUE", // required
147
+ * // },
148
+ * // ],
149
+ * // RateKey: "STRING_VALUE", // required
150
+ * // RateLimit: Number("long"), // required
151
+ * // },
152
+ * // ChangeToken: "STRING_VALUE",
153
+ * // };
154
+ *
137
155
  * ```
138
156
  *
139
157
  * @param CreateRateBasedRuleCommandInput - {@link CreateRateBasedRuleCommandInput}
@@ -205,6 +223,8 @@ export interface CreateRateBasedRuleCommandOutput extends CreateRateBasedRuleRes
205
223
  * @throws {@link WAFTagOperationInternalErrorException} (server fault)
206
224
  * <p></p>
207
225
  *
226
+ * @throws {@link WAFRegionalServiceException}
227
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
208
228
  *
209
229
  */
210
230
  export declare class CreateRateBasedRuleCommand extends $Command<CreateRateBasedRuleCommandInput, CreateRateBasedRuleCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -63,6 +63,24 @@ export interface CreateRegexMatchSetCommandOutput extends CreateRegexMatchSetRes
63
63
  * };
64
64
  * const command = new CreateRegexMatchSetCommand(input);
65
65
  * const response = await client.send(command);
66
+ * // { // CreateRegexMatchSetResponse
67
+ * // RegexMatchSet: { // RegexMatchSet
68
+ * // RegexMatchSetId: "STRING_VALUE",
69
+ * // Name: "STRING_VALUE",
70
+ * // RegexMatchTuples: [ // RegexMatchTuples
71
+ * // { // RegexMatchTuple
72
+ * // FieldToMatch: { // FieldToMatch
73
+ * // Type: "STRING_VALUE", // required
74
+ * // Data: "STRING_VALUE",
75
+ * // },
76
+ * // TextTransformation: "STRING_VALUE", // required
77
+ * // RegexPatternSetId: "STRING_VALUE", // required
78
+ * // },
79
+ * // ],
80
+ * // },
81
+ * // ChangeToken: "STRING_VALUE",
82
+ * // };
83
+ *
66
84
  * ```
67
85
  *
68
86
  * @param CreateRegexMatchSetCommandInput - {@link CreateRegexMatchSetCommandInput}
@@ -85,6 +103,8 @@ export interface CreateRegexMatchSetCommandOutput extends CreateRegexMatchSetRes
85
103
  * @throws {@link WAFStaleDataException} (client fault)
86
104
  * <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>
87
105
  *
106
+ * @throws {@link WAFRegionalServiceException}
107
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
88
108
  *
89
109
  */
90
110
  export declare class CreateRegexMatchSetCommand extends $Command<CreateRegexMatchSetCommandInput, CreateRegexMatchSetCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -59,6 +59,17 @@ export interface CreateRegexPatternSetCommandOutput extends CreateRegexPatternSe
59
59
  * };
60
60
  * const command = new CreateRegexPatternSetCommand(input);
61
61
  * const response = await client.send(command);
62
+ * // { // CreateRegexPatternSetResponse
63
+ * // RegexPatternSet: { // RegexPatternSet
64
+ * // RegexPatternSetId: "STRING_VALUE", // required
65
+ * // Name: "STRING_VALUE",
66
+ * // RegexPatternStrings: [ // RegexPatternStrings // required
67
+ * // "STRING_VALUE",
68
+ * // ],
69
+ * // },
70
+ * // ChangeToken: "STRING_VALUE",
71
+ * // };
72
+ *
62
73
  * ```
63
74
  *
64
75
  * @param CreateRegexPatternSetCommandInput - {@link CreateRegexPatternSetCommandInput}
@@ -81,6 +92,8 @@ export interface CreateRegexPatternSetCommandOutput extends CreateRegexPatternSe
81
92
  * @throws {@link WAFStaleDataException} (client fault)
82
93
  * <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>
83
94
  *
95
+ * @throws {@link WAFRegionalServiceException}
96
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
84
97
  *
85
98
  */
86
99
  export declare class CreateRegexPatternSetCommand extends $Command<CreateRegexPatternSetCommandInput, CreateRegexPatternSetCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -90,6 +90,22 @@ export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataB
90
90
  * };
91
91
  * const command = new CreateRuleCommand(input);
92
92
  * const response = await client.send(command);
93
+ * // { // CreateRuleResponse
94
+ * // Rule: { // Rule
95
+ * // RuleId: "STRING_VALUE", // required
96
+ * // Name: "STRING_VALUE",
97
+ * // MetricName: "STRING_VALUE",
98
+ * // Predicates: [ // Predicates // required
99
+ * // { // Predicate
100
+ * // Negated: true || false, // required
101
+ * // Type: "STRING_VALUE", // required
102
+ * // DataId: "STRING_VALUE", // required
103
+ * // },
104
+ * // ],
105
+ * // },
106
+ * // ChangeToken: "STRING_VALUE",
107
+ * // };
108
+ *
93
109
  * ```
94
110
  *
95
111
  * @param CreateRuleCommandInput - {@link CreateRuleCommandInput}
@@ -161,6 +177,8 @@ export interface CreateRuleCommandOutput extends CreateRuleResponse, __MetadataB
161
177
  * @throws {@link WAFTagOperationInternalErrorException} (server fault)
162
178
  * <p></p>
163
179
  *
180
+ * @throws {@link WAFRegionalServiceException}
181
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
164
182
  *
165
183
  * @example To create a rule
166
184
  * ```javascript
@@ -61,6 +61,15 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
61
61
  * };
62
62
  * const command = new CreateRuleGroupCommand(input);
63
63
  * const response = await client.send(command);
64
+ * // { // CreateRuleGroupResponse
65
+ * // RuleGroup: { // RuleGroup
66
+ * // RuleGroupId: "STRING_VALUE", // required
67
+ * // Name: "STRING_VALUE",
68
+ * // MetricName: "STRING_VALUE",
69
+ * // },
70
+ * // ChangeToken: "STRING_VALUE",
71
+ * // };
72
+ *
64
73
  * ```
65
74
  *
66
75
  * @param CreateRuleGroupCommandInput - {@link CreateRuleGroupCommandInput}
@@ -92,6 +101,8 @@ export interface CreateRuleGroupCommandOutput extends CreateRuleGroupResponse, _
92
101
  * @throws {@link WAFTagOperationInternalErrorException} (server fault)
93
102
  * <p></p>
94
103
  *
104
+ * @throws {@link WAFRegionalServiceException}
105
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
95
106
  *
96
107
  */
97
108
  export declare class CreateRuleGroupCommand extends $Command<CreateRuleGroupCommandInput, CreateRuleGroupCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -63,6 +63,25 @@ export interface CreateSizeConstraintSetCommandOutput extends CreateSizeConstrai
63
63
  * };
64
64
  * const command = new CreateSizeConstraintSetCommand(input);
65
65
  * const response = await client.send(command);
66
+ * // { // CreateSizeConstraintSetResponse
67
+ * // SizeConstraintSet: { // SizeConstraintSet
68
+ * // SizeConstraintSetId: "STRING_VALUE", // required
69
+ * // Name: "STRING_VALUE",
70
+ * // SizeConstraints: [ // SizeConstraints // required
71
+ * // { // SizeConstraint
72
+ * // FieldToMatch: { // FieldToMatch
73
+ * // Type: "STRING_VALUE", // required
74
+ * // Data: "STRING_VALUE",
75
+ * // },
76
+ * // TextTransformation: "STRING_VALUE", // required
77
+ * // ComparisonOperator: "STRING_VALUE", // required
78
+ * // Size: Number("long"), // required
79
+ * // },
80
+ * // ],
81
+ * // },
82
+ * // ChangeToken: "STRING_VALUE",
83
+ * // };
84
+ *
66
85
  * ```
67
86
  *
68
87
  * @param CreateSizeConstraintSetCommandInput - {@link CreateSizeConstraintSetCommandInput}
@@ -128,6 +147,8 @@ export interface CreateSizeConstraintSetCommandOutput extends CreateSizeConstrai
128
147
  * @throws {@link WAFStaleDataException} (client fault)
129
148
  * <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
149
  *
150
+ * @throws {@link WAFRegionalServiceException}
151
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
131
152
  *
132
153
  * @example To create a size constraint
133
154
  * ```javascript
@@ -61,6 +61,23 @@ export interface CreateSqlInjectionMatchSetCommandOutput extends CreateSqlInject
61
61
  * };
62
62
  * const command = new CreateSqlInjectionMatchSetCommand(input);
63
63
  * const response = await client.send(command);
64
+ * // { // CreateSqlInjectionMatchSetResponse
65
+ * // SqlInjectionMatchSet: { // SqlInjectionMatchSet
66
+ * // SqlInjectionMatchSetId: "STRING_VALUE", // required
67
+ * // Name: "STRING_VALUE",
68
+ * // SqlInjectionMatchTuples: [ // SqlInjectionMatchTuples // required
69
+ * // { // SqlInjectionMatchTuple
70
+ * // FieldToMatch: { // FieldToMatch
71
+ * // Type: "STRING_VALUE", // required
72
+ * // Data: "STRING_VALUE",
73
+ * // },
74
+ * // TextTransformation: "STRING_VALUE", // required
75
+ * // },
76
+ * // ],
77
+ * // },
78
+ * // ChangeToken: "STRING_VALUE",
79
+ * // };
80
+ *
64
81
  * ```
65
82
  *
66
83
  * @param CreateSqlInjectionMatchSetCommandInput - {@link CreateSqlInjectionMatchSetCommandInput}
@@ -126,6 +143,8 @@ export interface CreateSqlInjectionMatchSetCommandOutput extends CreateSqlInject
126
143
  * @throws {@link WAFStaleDataException} (client fault)
127
144
  * <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>
128
145
  *
146
+ * @throws {@link WAFRegionalServiceException}
147
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
129
148
  *
130
149
  * @example To create a SQL injection match set
131
150
  * ```javascript
@@ -81,6 +81,37 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad
81
81
  * };
82
82
  * const command = new CreateWebACLCommand(input);
83
83
  * const response = await client.send(command);
84
+ * // { // CreateWebACLResponse
85
+ * // WebACL: { // WebACL
86
+ * // WebACLId: "STRING_VALUE", // required
87
+ * // Name: "STRING_VALUE",
88
+ * // MetricName: "STRING_VALUE",
89
+ * // DefaultAction: { // WafAction
90
+ * // Type: "STRING_VALUE", // required
91
+ * // },
92
+ * // Rules: [ // ActivatedRules // required
93
+ * // { // ActivatedRule
94
+ * // Priority: Number("int"), // required
95
+ * // RuleId: "STRING_VALUE", // required
96
+ * // Action: {
97
+ * // Type: "STRING_VALUE", // required
98
+ * // },
99
+ * // OverrideAction: { // WafOverrideAction
100
+ * // Type: "STRING_VALUE", // required
101
+ * // },
102
+ * // Type: "STRING_VALUE",
103
+ * // ExcludedRules: [ // ExcludedRules
104
+ * // { // ExcludedRule
105
+ * // RuleId: "STRING_VALUE", // required
106
+ * // },
107
+ * // ],
108
+ * // },
109
+ * // ],
110
+ * // WebACLArn: "STRING_VALUE",
111
+ * // },
112
+ * // ChangeToken: "STRING_VALUE",
113
+ * // };
114
+ *
84
115
  * ```
85
116
  *
86
117
  * @param CreateWebACLCommandInput - {@link CreateWebACLCommandInput}
@@ -155,6 +186,8 @@ export interface CreateWebACLCommandOutput extends CreateWebACLResponse, __Metad
155
186
  * @throws {@link WAFTagOperationInternalErrorException} (server fault)
156
187
  * <p></p>
157
188
  *
189
+ * @throws {@link WAFRegionalServiceException}
190
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
158
191
  *
159
192
  * @example To create a web ACL
160
193
  * ```javascript
@@ -40,6 +40,10 @@ export interface CreateWebACLMigrationStackCommandOutput extends CreateWebACLMig
40
40
  * };
41
41
  * const command = new CreateWebACLMigrationStackCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // { // CreateWebACLMigrationStackResponse
44
+ * // S3ObjectUrl: "STRING_VALUE", // required
45
+ * // };
46
+ *
43
47
  * ```
44
48
  *
45
49
  * @param CreateWebACLMigrationStackCommandInput - {@link CreateWebACLMigrationStackCommandInput}
@@ -150,6 +154,8 @@ export interface CreateWebACLMigrationStackCommandOutput extends CreateWebACLMig
150
154
  * @throws {@link WAFNonexistentItemException} (client fault)
151
155
  * <p>The operation failed because the referenced object doesn't exist.</p>
152
156
  *
157
+ * @throws {@link WAFRegionalServiceException}
158
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
153
159
  *
154
160
  */
155
161
  export declare class CreateWebACLMigrationStackCommand extends $Command<CreateWebACLMigrationStackCommandInput, CreateWebACLMigrationStackCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -61,6 +61,23 @@ export interface CreateXssMatchSetCommandOutput extends CreateXssMatchSetRespons
61
61
  * };
62
62
  * const command = new CreateXssMatchSetCommand(input);
63
63
  * const response = await client.send(command);
64
+ * // { // CreateXssMatchSetResponse
65
+ * // XssMatchSet: { // XssMatchSet
66
+ * // XssMatchSetId: "STRING_VALUE", // required
67
+ * // Name: "STRING_VALUE",
68
+ * // XssMatchTuples: [ // XssMatchTuples // required
69
+ * // { // XssMatchTuple
70
+ * // FieldToMatch: { // FieldToMatch
71
+ * // Type: "STRING_VALUE", // required
72
+ * // Data: "STRING_VALUE",
73
+ * // },
74
+ * // TextTransformation: "STRING_VALUE", // required
75
+ * // },
76
+ * // ],
77
+ * // },
78
+ * // ChangeToken: "STRING_VALUE",
79
+ * // };
80
+ *
64
81
  * ```
65
82
  *
66
83
  * @param CreateXssMatchSetCommandInput - {@link CreateXssMatchSetCommandInput}
@@ -126,6 +143,8 @@ export interface CreateXssMatchSetCommandOutput extends CreateXssMatchSetRespons
126
143
  * @throws {@link WAFStaleDataException} (client fault)
127
144
  * <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>
128
145
  *
146
+ * @throws {@link WAFRegionalServiceException}
147
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
129
148
  *
130
149
  * @example To create an XSS match set
131
150
  * ```javascript
@@ -55,6 +55,10 @@ export interface DeleteByteMatchSetCommandOutput extends DeleteByteMatchSetRespo
55
55
  * };
56
56
  * const command = new DeleteByteMatchSetCommand(input);
57
57
  * const response = await client.send(command);
58
+ * // { // DeleteByteMatchSetResponse
59
+ * // ChangeToken: "STRING_VALUE",
60
+ * // };
61
+ *
58
62
  * ```
59
63
  *
60
64
  * @param DeleteByteMatchSetCommandInput - {@link DeleteByteMatchSetCommandInput}
@@ -104,6 +108,8 @@ export interface DeleteByteMatchSetCommandOutput extends DeleteByteMatchSetRespo
104
108
  * @throws {@link WAFStaleDataException} (client fault)
105
109
  * <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>
106
110
  *
111
+ * @throws {@link WAFRegionalServiceException}
112
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
107
113
  *
108
114
  * @example To delete a byte match set
109
115
  * ```javascript
@@ -55,6 +55,10 @@ export interface DeleteGeoMatchSetCommandOutput extends DeleteGeoMatchSetRespons
55
55
  * };
56
56
  * const command = new DeleteGeoMatchSetCommand(input);
57
57
  * const response = await client.send(command);
58
+ * // { // DeleteGeoMatchSetResponse
59
+ * // ChangeToken: "STRING_VALUE",
60
+ * // };
61
+ *
58
62
  * ```
59
63
  *
60
64
  * @param DeleteGeoMatchSetCommandInput - {@link DeleteGeoMatchSetCommandInput}
@@ -104,6 +108,8 @@ export interface DeleteGeoMatchSetCommandOutput extends DeleteGeoMatchSetRespons
104
108
  * @throws {@link WAFStaleDataException} (client fault)
105
109
  * <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>
106
110
  *
111
+ * @throws {@link WAFRegionalServiceException}
112
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
107
113
  *
108
114
  */
109
115
  export declare class DeleteGeoMatchSetCommand extends $Command<DeleteGeoMatchSetCommandInput, DeleteGeoMatchSetCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -55,6 +55,10 @@ export interface DeleteIPSetCommandOutput extends DeleteIPSetResponse, __Metadat
55
55
  * };
56
56
  * const command = new DeleteIPSetCommand(input);
57
57
  * const response = await client.send(command);
58
+ * // { // DeleteIPSetResponse
59
+ * // ChangeToken: "STRING_VALUE",
60
+ * // };
61
+ *
58
62
  * ```
59
63
  *
60
64
  * @param DeleteIPSetCommandInput - {@link DeleteIPSetCommandInput}
@@ -104,6 +108,8 @@ export interface DeleteIPSetCommandOutput extends DeleteIPSetResponse, __Metadat
104
108
  * @throws {@link WAFStaleDataException} (client fault)
105
109
  * <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>
106
110
  *
111
+ * @throws {@link WAFRegionalServiceException}
112
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
107
113
  *
108
114
  * @example To delete an IP set
109
115
  * ```javascript
@@ -40,6 +40,8 @@ export interface DeleteLoggingConfigurationCommandOutput extends DeleteLoggingCo
40
40
  * };
41
41
  * const command = new DeleteLoggingConfigurationCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // {};
44
+ *
43
45
  * ```
44
46
  *
45
47
  * @param DeleteLoggingConfigurationCommandInput - {@link DeleteLoggingConfigurationCommandInput}
@@ -57,6 +59,8 @@ export interface DeleteLoggingConfigurationCommandOutput extends DeleteLoggingCo
57
59
  * @throws {@link WAFStaleDataException} (client fault)
58
60
  * <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>
59
61
  *
62
+ * @throws {@link WAFRegionalServiceException}
63
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
60
64
  *
61
65
  */
62
66
  export declare class DeleteLoggingConfigurationCommand extends $Command<DeleteLoggingConfigurationCommandInput, DeleteLoggingConfigurationCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -40,6 +40,8 @@ export interface DeletePermissionPolicyCommandOutput extends DeletePermissionPol
40
40
  * };
41
41
  * const command = new DeletePermissionPolicyCommand(input);
42
42
  * const response = await client.send(command);
43
+ * // {};
44
+ *
43
45
  * ```
44
46
  *
45
47
  * @param DeletePermissionPolicyCommandInput - {@link DeletePermissionPolicyCommandInput}
@@ -57,6 +59,8 @@ export interface DeletePermissionPolicyCommandOutput extends DeletePermissionPol
57
59
  * @throws {@link WAFStaleDataException} (client fault)
58
60
  * <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>
59
61
  *
62
+ * @throws {@link WAFRegionalServiceException}
63
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
60
64
  *
61
65
  */
62
66
  export declare class DeletePermissionPolicyCommand extends $Command<DeletePermissionPolicyCommandInput, DeletePermissionPolicyCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -59,6 +59,10 @@ export interface DeleteRateBasedRuleCommandOutput extends DeleteRateBasedRuleRes
59
59
  * };
60
60
  * const command = new DeleteRateBasedRuleCommand(input);
61
61
  * const response = await client.send(command);
62
+ * // { // DeleteRateBasedRuleResponse
63
+ * // ChangeToken: "STRING_VALUE",
64
+ * // };
65
+ *
62
66
  * ```
63
67
  *
64
68
  * @param DeleteRateBasedRuleCommandInput - {@link DeleteRateBasedRuleCommandInput}
@@ -114,6 +118,8 @@ export interface DeleteRateBasedRuleCommandOutput extends DeleteRateBasedRuleRes
114
118
  * @throws {@link WAFTagOperationInternalErrorException} (server fault)
115
119
  * <p></p>
116
120
  *
121
+ * @throws {@link WAFRegionalServiceException}
122
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
117
123
  *
118
124
  */
119
125
  export declare class DeleteRateBasedRuleCommand extends $Command<DeleteRateBasedRuleCommandInput, DeleteRateBasedRuleCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -55,6 +55,10 @@ export interface DeleteRegexMatchSetCommandOutput extends DeleteRegexMatchSetRes
55
55
  * };
56
56
  * const command = new DeleteRegexMatchSetCommand(input);
57
57
  * const response = await client.send(command);
58
+ * // { // DeleteRegexMatchSetResponse
59
+ * // ChangeToken: "STRING_VALUE",
60
+ * // };
61
+ *
58
62
  * ```
59
63
  *
60
64
  * @param DeleteRegexMatchSetCommandInput - {@link DeleteRegexMatchSetCommandInput}
@@ -104,6 +108,8 @@ export interface DeleteRegexMatchSetCommandOutput extends DeleteRegexMatchSetRes
104
108
  * @throws {@link WAFStaleDataException} (client fault)
105
109
  * <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>
106
110
  *
111
+ * @throws {@link WAFRegionalServiceException}
112
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
107
113
  *
108
114
  */
109
115
  export declare class DeleteRegexMatchSetCommand extends $Command<DeleteRegexMatchSetCommandInput, DeleteRegexMatchSetCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -41,6 +41,10 @@ export interface DeleteRegexPatternSetCommandOutput extends DeleteRegexPatternSe
41
41
  * };
42
42
  * const command = new DeleteRegexPatternSetCommand(input);
43
43
  * const response = await client.send(command);
44
+ * // { // DeleteRegexPatternSetResponse
45
+ * // ChangeToken: "STRING_VALUE",
46
+ * // };
47
+ *
44
48
  * ```
45
49
  *
46
50
  * @param DeleteRegexPatternSetCommandInput - {@link DeleteRegexPatternSetCommandInput}
@@ -90,6 +94,8 @@ export interface DeleteRegexPatternSetCommandOutput extends DeleteRegexPatternSe
90
94
  * @throws {@link WAFStaleDataException} (client fault)
91
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>
92
96
  *
97
+ * @throws {@link WAFRegionalServiceException}
98
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
93
99
  *
94
100
  */
95
101
  export declare class DeleteRegexPatternSetCommand extends $Command<DeleteRegexPatternSetCommandInput, DeleteRegexPatternSetCommandOutput, WAFRegionalClientResolvedConfig> {
@@ -55,6 +55,10 @@ export interface DeleteRuleCommandOutput extends DeleteRuleResponse, __MetadataB
55
55
  * };
56
56
  * const command = new DeleteRuleCommand(input);
57
57
  * const response = await client.send(command);
58
+ * // { // DeleteRuleResponse
59
+ * // ChangeToken: "STRING_VALUE",
60
+ * // };
61
+ *
58
62
  * ```
59
63
  *
60
64
  * @param DeleteRuleCommandInput - {@link DeleteRuleCommandInput}
@@ -110,6 +114,8 @@ export interface DeleteRuleCommandOutput extends DeleteRuleResponse, __MetadataB
110
114
  * @throws {@link WAFTagOperationInternalErrorException} (server fault)
111
115
  * <p></p>
112
116
  *
117
+ * @throws {@link WAFRegionalServiceException}
118
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
113
119
  *
114
120
  * @example To delete a rule
115
121
  * ```javascript
@@ -55,6 +55,10 @@ export interface DeleteRuleGroupCommandOutput extends DeleteRuleGroupResponse, _
55
55
  * };
56
56
  * const command = new DeleteRuleGroupCommand(input);
57
57
  * const response = await client.send(command);
58
+ * // { // DeleteRuleGroupResponse
59
+ * // ChangeToken: "STRING_VALUE",
60
+ * // };
61
+ *
58
62
  * ```
59
63
  *
60
64
  * @param DeleteRuleGroupCommandInput - {@link DeleteRuleGroupCommandInput}
@@ -130,6 +134,8 @@ export interface DeleteRuleGroupCommandOutput extends DeleteRuleGroupResponse, _
130
134
  * @throws {@link WAFTagOperationInternalErrorException} (server fault)
131
135
  * <p></p>
132
136
  *
137
+ * @throws {@link WAFRegionalServiceException}
138
+ * <p>Base exception class for all service exceptions from WAFRegional service.</p>
133
139
  *
134
140
  */
135
141
  export declare class DeleteRuleGroupCommand extends $Command<DeleteRuleGroupCommandInput, DeleteRuleGroupCommandOutput, WAFRegionalClientResolvedConfig> {