@aws-sdk/client-waf-regional 3.774.0 → 3.777.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 (88) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +1 -3
  2. package/dist-cjs/index.js +17 -18
  3. package/dist-es/WAFRegionalClient.js +2 -1
  4. package/dist-es/auth/httpAuthSchemeProvider.js +1 -3
  5. package/dist-es/endpoint/EndpointParameters.js +2 -3
  6. package/dist-es/runtimeExtensions.js +2 -14
  7. package/dist-types/commands/AssociateWebACLCommand.d.ts +1 -0
  8. package/dist-types/commands/CreateByteMatchSetCommand.d.ts +1 -0
  9. package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +1 -0
  10. package/dist-types/commands/CreateIPSetCommand.d.ts +12 -12
  11. package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +1 -0
  12. package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +1 -0
  13. package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +1 -0
  14. package/dist-types/commands/CreateRuleCommand.d.ts +15 -15
  15. package/dist-types/commands/CreateRuleGroupCommand.d.ts +1 -0
  16. package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +15 -15
  17. package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +13 -13
  18. package/dist-types/commands/CreateWebACLCommand.d.ts +20 -20
  19. package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +1 -0
  20. package/dist-types/commands/CreateXssMatchSetCommand.d.ts +13 -13
  21. package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +6 -6
  22. package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +1 -0
  23. package/dist-types/commands/DeleteIPSetCommand.d.ts +6 -6
  24. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +1 -0
  25. package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +1 -0
  26. package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +1 -0
  27. package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +1 -0
  28. package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +1 -0
  29. package/dist-types/commands/DeleteRuleCommand.d.ts +6 -6
  30. package/dist-types/commands/DeleteRuleGroupCommand.d.ts +1 -0
  31. package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +6 -6
  32. package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +6 -6
  33. package/dist-types/commands/DeleteWebACLCommand.d.ts +6 -6
  34. package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +6 -6
  35. package/dist-types/commands/DisassociateWebACLCommand.d.ts +1 -0
  36. package/dist-types/commands/GetByteMatchSetCommand.d.ts +14 -14
  37. package/dist-types/commands/GetChangeTokenCommand.d.ts +5 -5
  38. package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +5 -5
  39. package/dist-types/commands/GetGeoMatchSetCommand.d.ts +1 -0
  40. package/dist-types/commands/GetIPSetCommand.d.ts +10 -10
  41. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +1 -0
  42. package/dist-types/commands/GetPermissionPolicyCommand.d.ts +1 -0
  43. package/dist-types/commands/GetRateBasedRuleCommand.d.ts +1 -0
  44. package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +1 -0
  45. package/dist-types/commands/GetRegexMatchSetCommand.d.ts +1 -0
  46. package/dist-types/commands/GetRegexPatternSetCommand.d.ts +1 -0
  47. package/dist-types/commands/GetRuleCommand.d.ts +12 -12
  48. package/dist-types/commands/GetRuleGroupCommand.d.ts +1 -0
  49. package/dist-types/commands/GetSampledRequestsCommand.d.ts +1 -45
  50. package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +13 -13
  51. package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +11 -11
  52. package/dist-types/commands/GetWebACLCommand.d.ts +15 -15
  53. package/dist-types/commands/GetWebACLForResourceCommand.d.ts +1 -0
  54. package/dist-types/commands/GetXssMatchSetCommand.d.ts +11 -11
  55. package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +1 -0
  56. package/dist-types/commands/ListByteMatchSetsCommand.d.ts +1 -0
  57. package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +1 -0
  58. package/dist-types/commands/ListIPSetsCommand.d.ts +7 -7
  59. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +1 -0
  60. package/dist-types/commands/ListRateBasedRulesCommand.d.ts +1 -0
  61. package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +1 -0
  62. package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +1 -0
  63. package/dist-types/commands/ListResourcesForWebACLCommand.d.ts +1 -0
  64. package/dist-types/commands/ListRuleGroupsCommand.d.ts +1 -0
  65. package/dist-types/commands/ListRulesCommand.d.ts +7 -7
  66. package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +7 -7
  67. package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +7 -7
  68. package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +1 -0
  69. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -0
  70. package/dist-types/commands/ListWebACLsCommand.d.ts +7 -7
  71. package/dist-types/commands/ListXssMatchSetsCommand.d.ts +7 -7
  72. package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +1 -0
  73. package/dist-types/commands/PutPermissionPolicyCommand.d.ts +1 -0
  74. package/dist-types/commands/TagResourceCommand.d.ts +1 -0
  75. package/dist-types/commands/UntagResourceCommand.d.ts +1 -0
  76. package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +15 -15
  77. package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +1 -0
  78. package/dist-types/commands/UpdateIPSetCommand.d.ts +11 -11
  79. package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +1 -0
  80. package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +1 -0
  81. package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +1 -0
  82. package/dist-types/commands/UpdateRuleCommand.d.ts +12 -12
  83. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +1 -0
  84. package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +14 -14
  85. package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +12 -12
  86. package/dist-types/commands/UpdateWebACLCommand.d.ts +15 -15
  87. package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +12 -12
  88. package/package.json +33 -33
@@ -40,8 +40,6 @@ const defaultWAFRegionalHttpAuthSchemeProvider = (authParameters) => {
40
40
  exports.defaultWAFRegionalHttpAuthSchemeProvider = defaultWAFRegionalHttpAuthSchemeProvider;
41
41
  const resolveHttpAuthSchemeConfig = (config) => {
42
42
  const config_0 = (0, core_1.resolveAwsSdkSigV4Config)(config);
43
- return {
44
- ...config_0,
45
- };
43
+ return Object.assign(config_0, {});
46
44
  };
47
45
  exports.resolveHttpAuthSchemeConfig = resolveHttpAuthSchemeConfig;
package/dist-cjs/index.js CHANGED
@@ -162,12 +162,11 @@ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
162
162
 
163
163
  // src/endpoint/EndpointParameters.ts
164
164
  var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
165
- return {
166
- ...options,
165
+ return Object.assign(options, {
167
166
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
168
167
  useFipsEndpoint: options.useFipsEndpoint ?? false,
169
168
  defaultSigningName: "waf-regional"
170
- };
169
+ });
171
170
  }, "resolveClientEndpointParameters");
172
171
  var commonParams = {
173
172
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -224,22 +223,21 @@ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
224
223
  }, "resolveHttpAuthRuntimeConfig");
225
224
 
226
225
  // src/runtimeExtensions.ts
227
- var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
228
226
  var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
229
- const extensionConfiguration = {
230
- ...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
231
- ...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
232
- ...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
233
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig))
234
- };
227
+ const extensionConfiguration = Object.assign(
228
+ (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
229
+ (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
230
+ (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
231
+ getHttpAuthExtensionConfiguration(runtimeConfig)
232
+ );
235
233
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
236
- return {
237
- ...runtimeConfig,
238
- ...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
239
- ...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
240
- ...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
241
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration)
242
- };
234
+ return Object.assign(
235
+ runtimeConfig,
236
+ (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
237
+ (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
238
+ (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
239
+ resolveHttpAuthRuntimeConfig(extensionConfiguration)
240
+ );
243
241
  }, "resolveRuntimeExtensions");
244
242
 
245
243
  // src/WAFRegionalClient.ts
@@ -253,6 +251,8 @@ var WAFRegionalClient = class extends import_smithy_client.Client {
253
251
  config;
254
252
  constructor(...[configuration]) {
255
253
  const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
254
+ super(_config_0);
255
+ this.initConfig = _config_0;
256
256
  const _config_1 = resolveClientEndpointParameters(_config_0);
257
257
  const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
258
258
  const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
@@ -261,7 +261,6 @@ var WAFRegionalClient = class extends import_smithy_client.Client {
261
261
  const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
262
262
  const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
263
263
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
264
- super(_config_8);
265
264
  this.config = _config_8;
266
265
  this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
267
266
  this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
@@ -17,6 +17,8 @@ export class WAFRegionalClient extends __Client {
17
17
  config;
18
18
  constructor(...[configuration]) {
19
19
  const _config_0 = __getRuntimeConfig(configuration || {});
20
+ super(_config_0);
21
+ this.initConfig = _config_0;
20
22
  const _config_1 = resolveClientEndpointParameters(_config_0);
21
23
  const _config_2 = resolveUserAgentConfig(_config_1);
22
24
  const _config_3 = resolveRetryConfig(_config_2);
@@ -25,7 +27,6 @@ export class WAFRegionalClient extends __Client {
25
27
  const _config_6 = resolveEndpointConfig(_config_5);
26
28
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
27
29
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
28
- super(_config_8);
29
30
  this.config = _config_8;
30
31
  this.middlewareStack.use(getUserAgentPlugin(this.config));
31
32
  this.middlewareStack.use(getRetryPlugin(this.config));
@@ -35,7 +35,5 @@ export const defaultWAFRegionalHttpAuthSchemeProvider = (authParameters) => {
35
35
  };
36
36
  export const resolveHttpAuthSchemeConfig = (config) => {
37
37
  const config_0 = resolveAwsSdkSigV4Config(config);
38
- return {
39
- ...config_0,
40
- };
38
+ return Object.assign(config_0, {});
41
39
  };
@@ -1,10 +1,9 @@
1
1
  export const resolveClientEndpointParameters = (options) => {
2
- return {
3
- ...options,
2
+ return Object.assign(options, {
4
3
  useDualstackEndpoint: options.useDualstackEndpoint ?? false,
5
4
  useFipsEndpoint: options.useFipsEndpoint ?? false,
6
5
  defaultSigningName: "waf-regional",
7
- };
6
+ });
8
7
  };
9
8
  export const commonParams = {
10
9
  UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
@@ -2,20 +2,8 @@ import { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfigurat
2
2
  import { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig } from "@smithy/protocol-http";
3
3
  import { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig } from "@smithy/smithy-client";
4
4
  import { getHttpAuthExtensionConfiguration, resolveHttpAuthRuntimeConfig } from "./auth/httpAuthExtensionConfiguration";
5
- const asPartial = (t) => t;
6
5
  export const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
7
- const extensionConfiguration = {
8
- ...asPartial(getAwsRegionExtensionConfiguration(runtimeConfig)),
9
- ...asPartial(getDefaultExtensionConfiguration(runtimeConfig)),
10
- ...asPartial(getHttpHandlerExtensionConfiguration(runtimeConfig)),
11
- ...asPartial(getHttpAuthExtensionConfiguration(runtimeConfig)),
12
- };
6
+ const extensionConfiguration = Object.assign(getAwsRegionExtensionConfiguration(runtimeConfig), getDefaultExtensionConfiguration(runtimeConfig), getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
13
7
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
14
- return {
15
- ...runtimeConfig,
16
- ...resolveAwsRegionExtensionConfiguration(extensionConfiguration),
17
- ...resolveDefaultRuntimeConfig(extensionConfiguration),
18
- ...resolveHttpHandlerRuntimeConfig(extensionConfiguration),
19
- ...resolveHttpAuthRuntimeConfig(extensionConfiguration),
20
- };
8
+ return Object.assign(runtimeConfig, resolveAwsRegionExtensionConfiguration(extensionConfiguration), resolveDefaultRuntimeConfig(extensionConfiguration), resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
21
9
  };
@@ -114,6 +114,7 @@ declare const AssociateWebACLCommand_base: {
114
114
  * @throws {@link WAFRegionalServiceException}
115
115
  * <p>Base exception class for all service exceptions from WAFRegional service.</p>
116
116
  *
117
+ *
117
118
  * @public
118
119
  */
119
120
  export declare class AssociateWebACLCommand extends AssociateWebACLCommand_base {
@@ -158,6 +158,7 @@ declare const CreateByteMatchSetCommand_base: {
158
158
  * @throws {@link WAFRegionalServiceException}
159
159
  * <p>Base exception class for all service exceptions from WAFRegional service.</p>
160
160
  *
161
+ *
161
162
  * @public
162
163
  */
163
164
  export declare class CreateByteMatchSetCommand extends CreateByteMatchSetCommand_base {
@@ -150,6 +150,7 @@ declare const CreateGeoMatchSetCommand_base: {
150
150
  * @throws {@link WAFRegionalServiceException}
151
151
  * <p>Base exception class for all service exceptions from WAFRegional service.</p>
152
152
  *
153
+ *
153
154
  * @public
154
155
  */
155
156
  export declare class CreateGeoMatchSetCommand extends CreateGeoMatchSetCommand_base {
@@ -155,34 +155,34 @@ declare const CreateIPSetCommand_base: {
155
155
  * @throws {@link WAFRegionalServiceException}
156
156
  * <p>Base exception class for all service exceptions from WAFRegional service.</p>
157
157
  *
158
- * @public
158
+ *
159
159
  * @example To create an IP set
160
160
  * ```javascript
161
161
  * // The following example creates an IP match set named MyIPSetFriendlyName.
162
162
  * const input = {
163
- * "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
164
- * "Name": "MyIPSetFriendlyName"
163
+ * ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
164
+ * Name: "MyIPSetFriendlyName"
165
165
  * };
166
166
  * const command = new CreateIPSetCommand(input);
167
167
  * const response = await client.send(command);
168
- * /* response ==
168
+ * /* response is
169
169
  * {
170
- * "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
171
- * "IPSet": {
172
- * "IPSetDescriptors": [
170
+ * ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
171
+ * IPSet: {
172
+ * IPSetDescriptors: [
173
173
  * {
174
- * "Type": "IPV4",
175
- * "Value": "192.0.2.44/32"
174
+ * Type: "IPV4",
175
+ * Value: "192.0.2.44/32"
176
176
  * }
177
177
  * ],
178
- * "IPSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5",
179
- * "Name": "MyIPSetFriendlyName"
178
+ * IPSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5",
179
+ * Name: "MyIPSetFriendlyName"
180
180
  * }
181
181
  * }
182
182
  * *\/
183
- * // example id: createipset-1472501003122
184
183
  * ```
185
184
  *
185
+ * @public
186
186
  */
187
187
  export declare class CreateIPSetCommand extends CreateIPSetCommand_base {
188
188
  /** @internal type navigation helper, not in runtime. */
@@ -234,6 +234,7 @@ declare const CreateRateBasedRuleCommand_base: {
234
234
  * @throws {@link WAFRegionalServiceException}
235
235
  * <p>Base exception class for all service exceptions from WAFRegional service.</p>
236
236
  *
237
+ *
237
238
  * @public
238
239
  */
239
240
  export declare class CreateRateBasedRuleCommand extends CreateRateBasedRuleCommand_base {
@@ -114,6 +114,7 @@ declare const CreateRegexMatchSetCommand_base: {
114
114
  * @throws {@link WAFRegionalServiceException}
115
115
  * <p>Base exception class for all service exceptions from WAFRegional service.</p>
116
116
  *
117
+ *
117
118
  * @public
118
119
  */
119
120
  export declare class CreateRegexMatchSetCommand extends CreateRegexMatchSetCommand_base {
@@ -103,6 +103,7 @@ declare const CreateRegexPatternSetCommand_base: {
103
103
  * @throws {@link WAFRegionalServiceException}
104
104
  * <p>Base exception class for all service exceptions from WAFRegional service.</p>
105
105
  *
106
+ *
106
107
  * @public
107
108
  */
108
109
  export declare class CreateRegexPatternSetCommand extends CreateRegexPatternSetCommand_base {
@@ -188,37 +188,37 @@ declare const CreateRuleCommand_base: {
188
188
  * @throws {@link WAFRegionalServiceException}
189
189
  * <p>Base exception class for all service exceptions from WAFRegional service.</p>
190
190
  *
191
- * @public
191
+ *
192
192
  * @example To create a rule
193
193
  * ```javascript
194
194
  * // The following example creates a rule named WAFByteHeaderRule.
195
195
  * const input = {
196
- * "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
197
- * "MetricName": "WAFByteHeaderRule",
198
- * "Name": "WAFByteHeaderRule"
196
+ * ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
197
+ * MetricName: "WAFByteHeaderRule",
198
+ * Name: "WAFByteHeaderRule"
199
199
  * };
200
200
  * const command = new CreateRuleCommand(input);
201
201
  * const response = await client.send(command);
202
- * /* response ==
202
+ * /* response is
203
203
  * {
204
- * "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
205
- * "Rule": {
206
- * "MetricName": "WAFByteHeaderRule",
207
- * "Name": "WAFByteHeaderRule",
208
- * "Predicates": [
204
+ * ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
205
+ * Rule: {
206
+ * MetricName: "WAFByteHeaderRule",
207
+ * Name: "WAFByteHeaderRule",
208
+ * Predicates: [
209
209
  * {
210
- * "DataId": "MyByteMatchSetID",
211
- * "Negated": false,
212
- * "Type": "ByteMatch"
210
+ * DataId: "MyByteMatchSetID",
211
+ * Negated: false,
212
+ * Type: "ByteMatch"
213
213
  * }
214
214
  * ],
215
- * "RuleId": "WAFRule-1-Example"
215
+ * RuleId: "WAFRule-1-Example"
216
216
  * }
217
217
  * }
218
218
  * *\/
219
- * // example id: createrule-1474072675555
220
219
  * ```
221
220
  *
221
+ * @public
222
222
  */
223
223
  export declare class CreateRuleCommand extends CreateRuleCommand_base {
224
224
  /** @internal type navigation helper, not in runtime. */
@@ -112,6 +112,7 @@ declare const CreateRuleGroupCommand_base: {
112
112
  * @throws {@link WAFRegionalServiceException}
113
113
  * <p>Base exception class for all service exceptions from WAFRegional service.</p>
114
114
  *
115
+ *
115
116
  * @public
116
117
  */
117
118
  export declare class CreateRuleGroupCommand extends CreateRuleGroupCommand_base {
@@ -158,38 +158,38 @@ declare const CreateSizeConstraintSetCommand_base: {
158
158
  * @throws {@link WAFRegionalServiceException}
159
159
  * <p>Base exception class for all service exceptions from WAFRegional service.</p>
160
160
  *
161
- * @public
161
+ *
162
162
  * @example To create a size constraint
163
163
  * ```javascript
164
164
  * // The following example creates size constraint set named MySampleSizeConstraintSet.
165
165
  * const input = {
166
- * "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
167
- * "Name": "MySampleSizeConstraintSet"
166
+ * ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
167
+ * Name: "MySampleSizeConstraintSet"
168
168
  * };
169
169
  * const command = new CreateSizeConstraintSetCommand(input);
170
170
  * const response = await client.send(command);
171
- * /* response ==
171
+ * /* response is
172
172
  * {
173
- * "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
174
- * "SizeConstraintSet": {
175
- * "Name": "MySampleSizeConstraintSet",
176
- * "SizeConstraintSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5",
177
- * "SizeConstraints": [
173
+ * ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
174
+ * SizeConstraintSet: {
175
+ * Name: "MySampleSizeConstraintSet",
176
+ * SizeConstraintSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5",
177
+ * SizeConstraints: [
178
178
  * {
179
- * "ComparisonOperator": "GT",
180
- * "FieldToMatch": {
181
- * "Type": "QUERY_STRING"
179
+ * ComparisonOperator: "GT",
180
+ * FieldToMatch: {
181
+ * Type: "QUERY_STRING"
182
182
  * },
183
- * "Size": 0,
184
- * "TextTransformation": "NONE"
183
+ * Size: 0,
184
+ * TextTransformation: "NONE"
185
185
  * }
186
186
  * ]
187
187
  * }
188
188
  * }
189
189
  * *\/
190
- * // example id: createsizeconstraint-1474299140754
191
190
  * ```
192
191
  *
192
+ * @public
193
193
  */
194
194
  export declare class CreateSizeConstraintSetCommand extends CreateSizeConstraintSetCommand_base {
195
195
  /** @internal type navigation helper, not in runtime. */
@@ -154,36 +154,36 @@ declare const CreateSqlInjectionMatchSetCommand_base: {
154
154
  * @throws {@link WAFRegionalServiceException}
155
155
  * <p>Base exception class for all service exceptions from WAFRegional service.</p>
156
156
  *
157
- * @public
157
+ *
158
158
  * @example To create a SQL injection match set
159
159
  * ```javascript
160
160
  * // The following example creates a SQL injection match set named MySQLInjectionMatchSet.
161
161
  * const input = {
162
- * "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
163
- * "Name": "MySQLInjectionMatchSet"
162
+ * ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
163
+ * Name: "MySQLInjectionMatchSet"
164
164
  * };
165
165
  * const command = new CreateSqlInjectionMatchSetCommand(input);
166
166
  * const response = await client.send(command);
167
- * /* response ==
167
+ * /* response is
168
168
  * {
169
- * "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
170
- * "SqlInjectionMatchSet": {
171
- * "Name": "MySQLInjectionMatchSet",
172
- * "SqlInjectionMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5",
173
- * "SqlInjectionMatchTuples": [
169
+ * ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
170
+ * SqlInjectionMatchSet: {
171
+ * Name: "MySQLInjectionMatchSet",
172
+ * SqlInjectionMatchSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5",
173
+ * SqlInjectionMatchTuples: [
174
174
  * {
175
- * "FieldToMatch": {
176
- * "Type": "QUERY_STRING"
175
+ * FieldToMatch: {
176
+ * Type: "QUERY_STRING"
177
177
  * },
178
- * "TextTransformation": "URL_DECODE"
178
+ * TextTransformation: "URL_DECODE"
179
179
  * }
180
180
  * ]
181
181
  * }
182
182
  * }
183
183
  * *\/
184
- * // example id: createsqlinjectionmatchset-1474492796105
185
184
  * ```
186
185
  *
186
+ * @public
187
187
  */
188
188
  export declare class CreateSqlInjectionMatchSetCommand extends CreateSqlInjectionMatchSetCommand_base {
189
189
  /** @internal type navigation helper, not in runtime. */
@@ -197,45 +197,45 @@ declare const CreateWebACLCommand_base: {
197
197
  * @throws {@link WAFRegionalServiceException}
198
198
  * <p>Base exception class for all service exceptions from WAFRegional service.</p>
199
199
  *
200
- * @public
200
+ *
201
201
  * @example To create a web ACL
202
202
  * ```javascript
203
203
  * // The following example creates a web ACL named CreateExample.
204
204
  * const input = {
205
- * "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
206
- * "DefaultAction": {
207
- * "Type": "ALLOW"
205
+ * ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
206
+ * DefaultAction: {
207
+ * Type: "ALLOW"
208
208
  * },
209
- * "MetricName": "CreateExample",
210
- * "Name": "CreateExample"
209
+ * MetricName: "CreateExample",
210
+ * Name: "CreateExample"
211
211
  * };
212
212
  * const command = new CreateWebACLCommand(input);
213
213
  * const response = await client.send(command);
214
- * /* response ==
214
+ * /* response is
215
215
  * {
216
- * "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
217
- * "WebACL": {
218
- * "DefaultAction": {
219
- * "Type": "ALLOW"
216
+ * ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
217
+ * WebACL: {
218
+ * DefaultAction: {
219
+ * Type: "ALLOW"
220
220
  * },
221
- * "MetricName": "CreateExample",
222
- * "Name": "CreateExample",
223
- * "Rules": [
221
+ * MetricName: "CreateExample",
222
+ * Name: "CreateExample",
223
+ * Rules: [
224
224
  * {
225
- * "Action": {
226
- * "Type": "ALLOW"
225
+ * Action: {
226
+ * Type: "ALLOW"
227
227
  * },
228
- * "Priority": 1,
229
- * "RuleId": "WAFRule-1-Example"
228
+ * Priority: 1,
229
+ * RuleId: "WAFRule-1-Example"
230
230
  * }
231
231
  * ],
232
- * "WebACLId": "example-46da-4444-5555-example"
232
+ * WebACLId: "example-46da-4444-5555-example"
233
233
  * }
234
234
  * }
235
235
  * *\/
236
- * // example id: createwebacl-1472061481310
237
236
  * ```
238
237
  *
238
+ * @public
239
239
  */
240
240
  export declare class CreateWebACLCommand extends CreateWebACLCommand_base {
241
241
  /** @internal type navigation helper, not in runtime. */
@@ -165,6 +165,7 @@ declare const CreateWebACLMigrationStackCommand_base: {
165
165
  * @throws {@link WAFRegionalServiceException}
166
166
  * <p>Base exception class for all service exceptions from WAFRegional service.</p>
167
167
  *
168
+ *
168
169
  * @public
169
170
  */
170
171
  export declare class CreateWebACLMigrationStackCommand extends CreateWebACLMigrationStackCommand_base {
@@ -154,36 +154,36 @@ declare const CreateXssMatchSetCommand_base: {
154
154
  * @throws {@link WAFRegionalServiceException}
155
155
  * <p>Base exception class for all service exceptions from WAFRegional service.</p>
156
156
  *
157
- * @public
157
+ *
158
158
  * @example To create an XSS match set
159
159
  * ```javascript
160
160
  * // The following example creates an XSS match set named MySampleXssMatchSet.
161
161
  * const input = {
162
- * "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
163
- * "Name": "MySampleXssMatchSet"
162
+ * ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
163
+ * Name: "MySampleXssMatchSet"
164
164
  * };
165
165
  * const command = new CreateXssMatchSetCommand(input);
166
166
  * const response = await client.send(command);
167
- * /* response ==
167
+ * /* response is
168
168
  * {
169
- * "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
170
- * "XssMatchSet": {
171
- * "Name": "MySampleXssMatchSet",
172
- * "XssMatchSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5",
173
- * "XssMatchTuples": [
169
+ * ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
170
+ * XssMatchSet: {
171
+ * Name: "MySampleXssMatchSet",
172
+ * XssMatchSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5",
173
+ * XssMatchTuples: [
174
174
  * {
175
- * "FieldToMatch": {
176
- * "Type": "QUERY_STRING"
175
+ * FieldToMatch: {
176
+ * Type: "QUERY_STRING"
177
177
  * },
178
- * "TextTransformation": "URL_DECODE"
178
+ * TextTransformation: "URL_DECODE"
179
179
  * }
180
180
  * ]
181
181
  * }
182
182
  * }
183
183
  * *\/
184
- * // example id: createxssmatchset-1474560868500
185
184
  * ```
186
185
  *
186
+ * @public
187
187
  */
188
188
  export declare class CreateXssMatchSetCommand extends CreateXssMatchSetCommand_base {
189
189
  /** @internal type navigation helper, not in runtime. */
@@ -119,24 +119,24 @@ declare const DeleteByteMatchSetCommand_base: {
119
119
  * @throws {@link WAFRegionalServiceException}
120
120
  * <p>Base exception class for all service exceptions from WAFRegional service.</p>
121
121
  *
122
- * @public
122
+ *
123
123
  * @example To delete a byte match set
124
124
  * ```javascript
125
125
  * // The following example deletes a byte match set with the ID exampleIDs3t-46da-4fdb-b8d5-abc321j569j5.
126
126
  * const input = {
127
- * "ByteMatchSetId": "exampleIDs3t-46da-4fdb-b8d5-abc321j569j5",
128
- * "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
127
+ * ByteMatchSetId: "exampleIDs3t-46da-4fdb-b8d5-abc321j569j5",
128
+ * ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
129
129
  * };
130
130
  * const command = new DeleteByteMatchSetCommand(input);
131
131
  * const response = await client.send(command);
132
- * /* response ==
132
+ * /* response is
133
133
  * {
134
- * "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
134
+ * ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
135
135
  * }
136
136
  * *\/
137
- * // example id: deletebytematchset-1473367566229
138
137
  * ```
139
138
  *
139
+ * @public
140
140
  */
141
141
  export declare class DeleteByteMatchSetCommand extends DeleteByteMatchSetCommand_base {
142
142
  /** @internal type navigation helper, not in runtime. */
@@ -119,6 +119,7 @@ declare const DeleteGeoMatchSetCommand_base: {
119
119
  * @throws {@link WAFRegionalServiceException}
120
120
  * <p>Base exception class for all service exceptions from WAFRegional service.</p>
121
121
  *
122
+ *
122
123
  * @public
123
124
  */
124
125
  export declare class DeleteGeoMatchSetCommand extends DeleteGeoMatchSetCommand_base {
@@ -119,24 +119,24 @@ declare const DeleteIPSetCommand_base: {
119
119
  * @throws {@link WAFRegionalServiceException}
120
120
  * <p>Base exception class for all service exceptions from WAFRegional service.</p>
121
121
  *
122
- * @public
122
+ *
123
123
  * @example To delete an IP set
124
124
  * ```javascript
125
125
  * // The following example deletes an IP match set with the ID example1ds3t-46da-4fdb-b8d5-abc321j569j5.
126
126
  * const input = {
127
- * "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
128
- * "IPSetId": "example1ds3t-46da-4fdb-b8d5-abc321j569j5"
127
+ * ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f",
128
+ * IPSetId: "example1ds3t-46da-4fdb-b8d5-abc321j569j5"
129
129
  * };
130
130
  * const command = new DeleteIPSetCommand(input);
131
131
  * const response = await client.send(command);
132
- * /* response ==
132
+ * /* response is
133
133
  * {
134
- * "ChangeToken": "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
134
+ * ChangeToken: "abcd12f2-46da-4fdb-b8d5-fbd4c466928f"
135
135
  * }
136
136
  * *\/
137
- * // example id: deleteipset-1472767434306
138
137
  * ```
139
138
  *
139
+ * @public
140
140
  */
141
141
  export declare class DeleteIPSetCommand extends DeleteIPSetCommand_base {
142
142
  /** @internal type navigation helper, not in runtime. */
@@ -70,6 +70,7 @@ declare const DeleteLoggingConfigurationCommand_base: {
70
70
  * @throws {@link WAFRegionalServiceException}
71
71
  * <p>Base exception class for all service exceptions from WAFRegional service.</p>
72
72
  *
73
+ *
73
74
  * @public
74
75
  */
75
76
  export declare class DeleteLoggingConfigurationCommand extends DeleteLoggingConfigurationCommand_base {
@@ -70,6 +70,7 @@ declare const DeletePermissionPolicyCommand_base: {
70
70
  * @throws {@link WAFRegionalServiceException}
71
71
  * <p>Base exception class for all service exceptions from WAFRegional service.</p>
72
72
  *
73
+ *
73
74
  * @public
74
75
  */
75
76
  export declare class DeletePermissionPolicyCommand extends DeletePermissionPolicyCommand_base {
@@ -129,6 +129,7 @@ declare const DeleteRateBasedRuleCommand_base: {
129
129
  * @throws {@link WAFRegionalServiceException}
130
130
  * <p>Base exception class for all service exceptions from WAFRegional service.</p>
131
131
  *
132
+ *
132
133
  * @public
133
134
  */
134
135
  export declare class DeleteRateBasedRuleCommand extends DeleteRateBasedRuleCommand_base {