@aws-sdk/client-waf 3.943.0 → 3.947.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 (104) hide show
  1. package/dist-cjs/index.js +19 -183
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/WAFClient.js +2 -2
  5. package/dist-es/runtimeConfig.browser.js +2 -2
  6. package/dist-es/runtimeConfig.js +2 -3
  7. package/dist-es/schemas/schemas_0.js +19 -184
  8. package/dist-types/WAF.d.ts +1 -1
  9. package/dist-types/WAFClient.d.ts +10 -10
  10. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +2 -2
  11. package/dist-types/auth/httpAuthSchemeProvider.d.ts +2 -2
  12. package/dist-types/commands/CreateByteMatchSetCommand.d.ts +3 -3
  13. package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +3 -3
  14. package/dist-types/commands/CreateIPSetCommand.d.ts +3 -3
  15. package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +3 -3
  16. package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +3 -3
  17. package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +3 -3
  18. package/dist-types/commands/CreateRuleCommand.d.ts +3 -3
  19. package/dist-types/commands/CreateRuleGroupCommand.d.ts +3 -3
  20. package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +3 -3
  21. package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +3 -3
  22. package/dist-types/commands/CreateWebACLCommand.d.ts +3 -3
  23. package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +3 -3
  24. package/dist-types/commands/CreateXssMatchSetCommand.d.ts +3 -3
  25. package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +3 -3
  26. package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +3 -3
  27. package/dist-types/commands/DeleteIPSetCommand.d.ts +3 -3
  28. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +3 -3
  29. package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +3 -3
  30. package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +3 -3
  31. package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +3 -3
  32. package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +3 -3
  33. package/dist-types/commands/DeleteRuleCommand.d.ts +3 -3
  34. package/dist-types/commands/DeleteRuleGroupCommand.d.ts +3 -3
  35. package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +3 -3
  36. package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +3 -3
  37. package/dist-types/commands/DeleteWebACLCommand.d.ts +3 -3
  38. package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +3 -3
  39. package/dist-types/commands/GetByteMatchSetCommand.d.ts +3 -3
  40. package/dist-types/commands/GetChangeTokenCommand.d.ts +3 -3
  41. package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +3 -3
  42. package/dist-types/commands/GetGeoMatchSetCommand.d.ts +3 -3
  43. package/dist-types/commands/GetIPSetCommand.d.ts +3 -3
  44. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +3 -3
  45. package/dist-types/commands/GetPermissionPolicyCommand.d.ts +3 -3
  46. package/dist-types/commands/GetRateBasedRuleCommand.d.ts +3 -3
  47. package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +3 -3
  48. package/dist-types/commands/GetRegexMatchSetCommand.d.ts +3 -3
  49. package/dist-types/commands/GetRegexPatternSetCommand.d.ts +3 -3
  50. package/dist-types/commands/GetRuleCommand.d.ts +3 -3
  51. package/dist-types/commands/GetRuleGroupCommand.d.ts +3 -3
  52. package/dist-types/commands/GetSampledRequestsCommand.d.ts +3 -3
  53. package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +3 -3
  54. package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +3 -3
  55. package/dist-types/commands/GetWebACLCommand.d.ts +3 -3
  56. package/dist-types/commands/GetXssMatchSetCommand.d.ts +3 -3
  57. package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +3 -3
  58. package/dist-types/commands/ListByteMatchSetsCommand.d.ts +3 -3
  59. package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +3 -3
  60. package/dist-types/commands/ListIPSetsCommand.d.ts +3 -3
  61. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +3 -3
  62. package/dist-types/commands/ListRateBasedRulesCommand.d.ts +3 -3
  63. package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +3 -3
  64. package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +3 -3
  65. package/dist-types/commands/ListRuleGroupsCommand.d.ts +3 -3
  66. package/dist-types/commands/ListRulesCommand.d.ts +3 -3
  67. package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +3 -3
  68. package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +3 -3
  69. package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +3 -3
  70. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  71. package/dist-types/commands/ListWebACLsCommand.d.ts +3 -3
  72. package/dist-types/commands/ListXssMatchSetsCommand.d.ts +3 -3
  73. package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +3 -3
  74. package/dist-types/commands/PutPermissionPolicyCommand.d.ts +3 -3
  75. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  76. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  77. package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +3 -3
  78. package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +3 -3
  79. package/dist-types/commands/UpdateIPSetCommand.d.ts +3 -3
  80. package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +3 -3
  81. package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +3 -3
  82. package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +3 -3
  83. package/dist-types/commands/UpdateRuleCommand.d.ts +3 -3
  84. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +3 -3
  85. package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +3 -3
  86. package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +3 -3
  87. package/dist-types/commands/UpdateWebACLCommand.d.ts +3 -3
  88. package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +3 -3
  89. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  90. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  91. package/dist-types/extensionConfiguration.d.ts +4 -4
  92. package/dist-types/models/WAFServiceException.d.ts +1 -1
  93. package/dist-types/models/errors.d.ts +1 -1
  94. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  95. package/dist-types/runtimeConfig.d.ts +1 -1
  96. package/dist-types/runtimeConfig.native.d.ts +1 -1
  97. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  98. package/dist-types/runtimeExtensions.d.ts +1 -1
  99. package/dist-types/schemas/schemas_0.d.ts +1 -2
  100. package/dist-types/ts3.4/WAFClient.d.ts +3 -3
  101. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  102. package/dist-types/ts3.4/models/WAFServiceException.d.ts +1 -1
  103. package/dist-types/ts3.4/schemas/schemas_0.d.ts +0 -1
  104. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -1330,215 +1330,51 @@ var UpdateXssMatchSetRequest = [
1330
1330
  ];
1331
1331
  var UpdateXssMatchSetResponse = [3, n0, _UXMSRp, 0, [_CT], [0]];
1332
1332
  var WafAction = [3, n0, _WA, 0, [_T], [0]];
1333
- var WAFBadRequestException = [
1334
- -3,
1335
- n0,
1336
- _WAFBRE,
1337
- {
1338
- [_e]: _c,
1339
- },
1340
- [_m],
1341
- [0],
1342
- ];
1333
+ var WAFBadRequestException = [-3, n0, _WAFBRE, { [_e]: _c }, [_m], [0]];
1343
1334
  schema.TypeRegistry.for(n0).registerError(WAFBadRequestException, WAFBadRequestException$1);
1344
- var WAFDisallowedNameException = [
1345
- -3,
1346
- n0,
1347
- _WAFDNE,
1348
- {
1349
- [_e]: _c,
1350
- },
1351
- [_m],
1352
- [0],
1353
- ];
1335
+ var WAFDisallowedNameException = [-3, n0, _WAFDNE, { [_e]: _c }, [_m], [0]];
1354
1336
  schema.TypeRegistry.for(n0).registerError(WAFDisallowedNameException, WAFDisallowedNameException$1);
1355
1337
  var WAFEntityMigrationException = [
1356
1338
  -3,
1357
1339
  n0,
1358
1340
  _WAFEME,
1359
- {
1360
- [_e]: _c,
1361
- },
1341
+ { [_e]: _c },
1362
1342
  [_m, _MET, _MER],
1363
1343
  [0, 0, 0],
1364
1344
  ];
1365
1345
  schema.TypeRegistry.for(n0).registerError(WAFEntityMigrationException, WAFEntityMigrationException$1);
1366
- var WAFInternalErrorException = [
1367
- -3,
1368
- n0,
1369
- _WAFIEE,
1370
- {
1371
- [_e]: _s,
1372
- },
1373
- [_m],
1374
- [0],
1375
- ];
1346
+ var WAFInternalErrorException = [-3, n0, _WAFIEE, { [_e]: _s }, [_m], [0]];
1376
1347
  schema.TypeRegistry.for(n0).registerError(WAFInternalErrorException, WAFInternalErrorException$1);
1377
- var WAFInvalidAccountException = [
1378
- -3,
1379
- n0,
1380
- _WAFIAE,
1381
- {
1382
- [_e]: _c,
1383
- },
1384
- [],
1385
- [],
1386
- ];
1348
+ var WAFInvalidAccountException = [-3, n0, _WAFIAE, { [_e]: _c }, [], []];
1387
1349
  schema.TypeRegistry.for(n0).registerError(WAFInvalidAccountException, WAFInvalidAccountException$1);
1388
- var WAFInvalidOperationException = [
1389
- -3,
1390
- n0,
1391
- _WAFIOE,
1392
- {
1393
- [_e]: _c,
1394
- },
1395
- [_m],
1396
- [0],
1397
- ];
1350
+ var WAFInvalidOperationException = [-3, n0, _WAFIOE, { [_e]: _c }, [_m], [0]];
1398
1351
  schema.TypeRegistry.for(n0).registerError(WAFInvalidOperationException, WAFInvalidOperationException$1);
1399
- var WAFInvalidParameterException = [
1400
- -3,
1401
- n0,
1402
- _WAFIPE,
1403
- {
1404
- [_e]: _c,
1405
- },
1406
- [_f, _p, _r],
1407
- [0, 0, 0],
1408
- ];
1352
+ var WAFInvalidParameterException = [-3, n0, _WAFIPE, { [_e]: _c }, [_f, _p, _r], [0, 0, 0]];
1409
1353
  schema.TypeRegistry.for(n0).registerError(WAFInvalidParameterException, WAFInvalidParameterException$1);
1410
- var WAFInvalidPermissionPolicyException = [
1411
- -3,
1412
- n0,
1413
- _WAFIPPE,
1414
- {
1415
- [_e]: _c,
1416
- },
1417
- [_m],
1418
- [0],
1419
- ];
1354
+ var WAFInvalidPermissionPolicyException = [-3, n0, _WAFIPPE, { [_e]: _c }, [_m], [0]];
1420
1355
  schema.TypeRegistry.for(n0).registerError(WAFInvalidPermissionPolicyException, WAFInvalidPermissionPolicyException$1);
1421
- var WAFInvalidRegexPatternException = [
1422
- -3,
1423
- n0,
1424
- _WAFIRPE,
1425
- {
1426
- [_e]: _c,
1427
- },
1428
- [_m],
1429
- [0],
1430
- ];
1356
+ var WAFInvalidRegexPatternException = [-3, n0, _WAFIRPE, { [_e]: _c }, [_m], [0]];
1431
1357
  schema.TypeRegistry.for(n0).registerError(WAFInvalidRegexPatternException, WAFInvalidRegexPatternException$1);
1432
- var WAFLimitsExceededException = [
1433
- -3,
1434
- n0,
1435
- _WAFLEE,
1436
- {
1437
- [_e]: _c,
1438
- },
1439
- [_m],
1440
- [0],
1441
- ];
1358
+ var WAFLimitsExceededException = [-3, n0, _WAFLEE, { [_e]: _c }, [_m], [0]];
1442
1359
  schema.TypeRegistry.for(n0).registerError(WAFLimitsExceededException, WAFLimitsExceededException$1);
1443
- var WAFNonEmptyEntityException = [
1444
- -3,
1445
- n0,
1446
- _WAFNEEE,
1447
- {
1448
- [_e]: _c,
1449
- },
1450
- [_m],
1451
- [0],
1452
- ];
1360
+ var WAFNonEmptyEntityException = [-3, n0, _WAFNEEE, { [_e]: _c }, [_m], [0]];
1453
1361
  schema.TypeRegistry.for(n0).registerError(WAFNonEmptyEntityException, WAFNonEmptyEntityException$1);
1454
- var WAFNonexistentContainerException = [
1455
- -3,
1456
- n0,
1457
- _WAFNCE,
1458
- {
1459
- [_e]: _c,
1460
- },
1461
- [_m],
1462
- [0],
1463
- ];
1362
+ var WAFNonexistentContainerException = [-3, n0, _WAFNCE, { [_e]: _c }, [_m], [0]];
1464
1363
  schema.TypeRegistry.for(n0).registerError(WAFNonexistentContainerException, WAFNonexistentContainerException$1);
1465
- var WAFNonexistentItemException = [
1466
- -3,
1467
- n0,
1468
- _WAFNIE,
1469
- {
1470
- [_e]: _c,
1471
- },
1472
- [_m],
1473
- [0],
1474
- ];
1364
+ var WAFNonexistentItemException = [-3, n0, _WAFNIE, { [_e]: _c }, [_m], [0]];
1475
1365
  schema.TypeRegistry.for(n0).registerError(WAFNonexistentItemException, WAFNonexistentItemException$1);
1476
1366
  var WafOverrideAction = [3, n0, _WOA, 0, [_T], [0]];
1477
- var WAFReferencedItemException = [
1478
- -3,
1479
- n0,
1480
- _WAFRIE,
1481
- {
1482
- [_e]: _c,
1483
- },
1484
- [_m],
1485
- [0],
1486
- ];
1367
+ var WAFReferencedItemException = [-3, n0, _WAFRIE, { [_e]: _c }, [_m], [0]];
1487
1368
  schema.TypeRegistry.for(n0).registerError(WAFReferencedItemException, WAFReferencedItemException$1);
1488
- var WAFServiceLinkedRoleErrorException = [
1489
- -3,
1490
- n0,
1491
- _WAFSLREE,
1492
- {
1493
- [_e]: _c,
1494
- },
1495
- [_m],
1496
- [0],
1497
- ];
1369
+ var WAFServiceLinkedRoleErrorException = [-3, n0, _WAFSLREE, { [_e]: _c }, [_m], [0]];
1498
1370
  schema.TypeRegistry.for(n0).registerError(WAFServiceLinkedRoleErrorException, WAFServiceLinkedRoleErrorException$1);
1499
- var WAFStaleDataException = [
1500
- -3,
1501
- n0,
1502
- _WAFSDE,
1503
- {
1504
- [_e]: _c,
1505
- },
1506
- [_m],
1507
- [0],
1508
- ];
1371
+ var WAFStaleDataException = [-3, n0, _WAFSDE, { [_e]: _c }, [_m], [0]];
1509
1372
  schema.TypeRegistry.for(n0).registerError(WAFStaleDataException, WAFStaleDataException$1);
1510
- var WAFSubscriptionNotFoundException = [
1511
- -3,
1512
- n0,
1513
- _WAFSNFE,
1514
- {
1515
- [_e]: _c,
1516
- },
1517
- [_m],
1518
- [0],
1519
- ];
1373
+ var WAFSubscriptionNotFoundException = [-3, n0, _WAFSNFE, { [_e]: _c }, [_m], [0]];
1520
1374
  schema.TypeRegistry.for(n0).registerError(WAFSubscriptionNotFoundException, WAFSubscriptionNotFoundException$1);
1521
- var WAFTagOperationException = [
1522
- -3,
1523
- n0,
1524
- _WAFTOE,
1525
- {
1526
- [_e]: _c,
1527
- },
1528
- [_m],
1529
- [0],
1530
- ];
1375
+ var WAFTagOperationException = [-3, n0, _WAFTOE, { [_e]: _c }, [_m], [0]];
1531
1376
  schema.TypeRegistry.for(n0).registerError(WAFTagOperationException, WAFTagOperationException$1);
1532
- var WAFTagOperationInternalErrorException = [
1533
- -3,
1534
- n0,
1535
- _WAFTOIEE,
1536
- {
1537
- [_e]: _s,
1538
- },
1539
- [_m],
1540
- [0],
1541
- ];
1377
+ var WAFTagOperationInternalErrorException = [-3, n0, _WAFTOIEE, { [_e]: _s }, [_m], [0]];
1542
1378
  schema.TypeRegistry.for(n0).registerError(WAFTagOperationInternalErrorException, WAFTagOperationInternalErrorException$1);
1543
1379
  var WebACL = [
1544
1380
  3,
@@ -8,11 +8,11 @@ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
8
  const config_resolver_1 = require("@smithy/config-resolver");
9
9
  const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
10
  const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
+ const smithy_client_1 = require("@smithy/smithy-client");
11
12
  const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
13
+ const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
12
14
  const util_retry_1 = require("@smithy/util-retry");
13
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
14
- const smithy_client_1 = require("@smithy/smithy-client");
15
- const util_defaults_mode_browser_1 = require("@smithy/util-defaults-mode-browser");
16
16
  const getRuntimeConfig = (config) => {
17
17
  const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
18
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
@@ -11,14 +11,13 @@ const hash_node_1 = require("@smithy/hash-node");
11
11
  const middleware_retry_1 = require("@smithy/middleware-retry");
12
12
  const node_config_provider_1 = require("@smithy/node-config-provider");
13
13
  const node_http_handler_1 = require("@smithy/node-http-handler");
14
+ const smithy_client_1 = require("@smithy/smithy-client");
14
15
  const util_body_length_node_1 = require("@smithy/util-body-length-node");
16
+ const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
15
17
  const util_retry_1 = require("@smithy/util-retry");
16
18
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
17
- const smithy_client_1 = require("@smithy/smithy-client");
18
- const util_defaults_mode_node_1 = require("@smithy/util-defaults-mode-node");
19
- const smithy_client_2 = require("@smithy/smithy-client");
20
19
  const getRuntimeConfig = (config) => {
21
- (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
20
+ (0, smithy_client_1.emitWarningIfUnsupportedVersion)(process.version);
22
21
  const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
22
  const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
23
  const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
@@ -6,8 +6,8 @@ import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
7
  import { getSchemaSerdePlugin } from "@smithy/core/schema";
8
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
9
- import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
10
- import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
9
+ import { resolveEndpointConfig, } from "@smithy/middleware-endpoint";
10
+ import { getRetryPlugin, resolveRetryConfig, } from "@smithy/middleware-retry";
11
11
  import { Client as __Client, } from "@smithy/smithy-client";
12
12
  import { defaultWAFHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
13
13
  import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
@@ -4,11 +4,11 @@ import { createDefaultUserAgentProvider } from "@aws-sdk/util-user-agent-browser
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@smithy/config-resolver";
5
5
  import { FetchHttpHandler as RequestHandler, streamCollector } from "@smithy/fetch-http-handler";
6
6
  import { invalidProvider } from "@smithy/invalid-dependency";
7
+ import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
7
8
  import { calculateBodyLength } from "@smithy/util-body-length-browser";
9
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
8
10
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@smithy/util-retry";
9
11
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
10
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
11
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-browser";
12
12
  export const getRuntimeConfig = (config) => {
13
13
  const defaultsMode = resolveDefaultsModeConfig(config);
14
14
  const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
@@ -7,12 +7,11 @@ import { Hash } from "@smithy/hash-node";
7
7
  import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@smithy/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@smithy/node-config-provider";
9
9
  import { NodeHttpHandler as RequestHandler, streamCollector } from "@smithy/node-http-handler";
10
+ import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/smithy-client";
10
11
  import { calculateBodyLength } from "@smithy/util-body-length-node";
12
+ import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
11
13
  import { DEFAULT_RETRY_MODE } from "@smithy/util-retry";
12
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
- import { loadConfigsForDefaultMode } from "@smithy/smithy-client";
14
- import { resolveDefaultsModeConfig } from "@smithy/util-defaults-mode-node";
15
- import { emitWarningIfUnsupportedVersion } from "@smithy/smithy-client";
16
15
  export const getRuntimeConfig = (config) => {
17
16
  emitWarningIfUnsupportedVersion(process.version);
18
17
  const defaultsMode = resolveDefaultsModeConfig(config);
@@ -975,215 +975,51 @@ export var UpdateXssMatchSetRequest = [
975
975
  ];
976
976
  export var UpdateXssMatchSetResponse = [3, n0, _UXMSRp, 0, [_CT], [0]];
977
977
  export var WafAction = [3, n0, _WA, 0, [_T], [0]];
978
- export var WAFBadRequestException = [
979
- -3,
980
- n0,
981
- _WAFBRE,
982
- {
983
- [_e]: _c,
984
- },
985
- [_m],
986
- [0],
987
- ];
978
+ export var WAFBadRequestException = [-3, n0, _WAFBRE, { [_e]: _c }, [_m], [0]];
988
979
  TypeRegistry.for(n0).registerError(WAFBadRequestException, __WAFBadRequestException);
989
- export var WAFDisallowedNameException = [
990
- -3,
991
- n0,
992
- _WAFDNE,
993
- {
994
- [_e]: _c,
995
- },
996
- [_m],
997
- [0],
998
- ];
980
+ export var WAFDisallowedNameException = [-3, n0, _WAFDNE, { [_e]: _c }, [_m], [0]];
999
981
  TypeRegistry.for(n0).registerError(WAFDisallowedNameException, __WAFDisallowedNameException);
1000
982
  export var WAFEntityMigrationException = [
1001
983
  -3,
1002
984
  n0,
1003
985
  _WAFEME,
1004
- {
1005
- [_e]: _c,
1006
- },
986
+ { [_e]: _c },
1007
987
  [_m, _MET, _MER],
1008
988
  [0, 0, 0],
1009
989
  ];
1010
990
  TypeRegistry.for(n0).registerError(WAFEntityMigrationException, __WAFEntityMigrationException);
1011
- export var WAFInternalErrorException = [
1012
- -3,
1013
- n0,
1014
- _WAFIEE,
1015
- {
1016
- [_e]: _s,
1017
- },
1018
- [_m],
1019
- [0],
1020
- ];
991
+ export var WAFInternalErrorException = [-3, n0, _WAFIEE, { [_e]: _s }, [_m], [0]];
1021
992
  TypeRegistry.for(n0).registerError(WAFInternalErrorException, __WAFInternalErrorException);
1022
- export var WAFInvalidAccountException = [
1023
- -3,
1024
- n0,
1025
- _WAFIAE,
1026
- {
1027
- [_e]: _c,
1028
- },
1029
- [],
1030
- [],
1031
- ];
993
+ export var WAFInvalidAccountException = [-3, n0, _WAFIAE, { [_e]: _c }, [], []];
1032
994
  TypeRegistry.for(n0).registerError(WAFInvalidAccountException, __WAFInvalidAccountException);
1033
- export var WAFInvalidOperationException = [
1034
- -3,
1035
- n0,
1036
- _WAFIOE,
1037
- {
1038
- [_e]: _c,
1039
- },
1040
- [_m],
1041
- [0],
1042
- ];
995
+ export var WAFInvalidOperationException = [-3, n0, _WAFIOE, { [_e]: _c }, [_m], [0]];
1043
996
  TypeRegistry.for(n0).registerError(WAFInvalidOperationException, __WAFInvalidOperationException);
1044
- export var WAFInvalidParameterException = [
1045
- -3,
1046
- n0,
1047
- _WAFIPE,
1048
- {
1049
- [_e]: _c,
1050
- },
1051
- [_f, _p, _r],
1052
- [0, 0, 0],
1053
- ];
997
+ export var WAFInvalidParameterException = [-3, n0, _WAFIPE, { [_e]: _c }, [_f, _p, _r], [0, 0, 0]];
1054
998
  TypeRegistry.for(n0).registerError(WAFInvalidParameterException, __WAFInvalidParameterException);
1055
- export var WAFInvalidPermissionPolicyException = [
1056
- -3,
1057
- n0,
1058
- _WAFIPPE,
1059
- {
1060
- [_e]: _c,
1061
- },
1062
- [_m],
1063
- [0],
1064
- ];
999
+ export var WAFInvalidPermissionPolicyException = [-3, n0, _WAFIPPE, { [_e]: _c }, [_m], [0]];
1065
1000
  TypeRegistry.for(n0).registerError(WAFInvalidPermissionPolicyException, __WAFInvalidPermissionPolicyException);
1066
- export var WAFInvalidRegexPatternException = [
1067
- -3,
1068
- n0,
1069
- _WAFIRPE,
1070
- {
1071
- [_e]: _c,
1072
- },
1073
- [_m],
1074
- [0],
1075
- ];
1001
+ export var WAFInvalidRegexPatternException = [-3, n0, _WAFIRPE, { [_e]: _c }, [_m], [0]];
1076
1002
  TypeRegistry.for(n0).registerError(WAFInvalidRegexPatternException, __WAFInvalidRegexPatternException);
1077
- export var WAFLimitsExceededException = [
1078
- -3,
1079
- n0,
1080
- _WAFLEE,
1081
- {
1082
- [_e]: _c,
1083
- },
1084
- [_m],
1085
- [0],
1086
- ];
1003
+ export var WAFLimitsExceededException = [-3, n0, _WAFLEE, { [_e]: _c }, [_m], [0]];
1087
1004
  TypeRegistry.for(n0).registerError(WAFLimitsExceededException, __WAFLimitsExceededException);
1088
- export var WAFNonEmptyEntityException = [
1089
- -3,
1090
- n0,
1091
- _WAFNEEE,
1092
- {
1093
- [_e]: _c,
1094
- },
1095
- [_m],
1096
- [0],
1097
- ];
1005
+ export var WAFNonEmptyEntityException = [-3, n0, _WAFNEEE, { [_e]: _c }, [_m], [0]];
1098
1006
  TypeRegistry.for(n0).registerError(WAFNonEmptyEntityException, __WAFNonEmptyEntityException);
1099
- export var WAFNonexistentContainerException = [
1100
- -3,
1101
- n0,
1102
- _WAFNCE,
1103
- {
1104
- [_e]: _c,
1105
- },
1106
- [_m],
1107
- [0],
1108
- ];
1007
+ export var WAFNonexistentContainerException = [-3, n0, _WAFNCE, { [_e]: _c }, [_m], [0]];
1109
1008
  TypeRegistry.for(n0).registerError(WAFNonexistentContainerException, __WAFNonexistentContainerException);
1110
- export var WAFNonexistentItemException = [
1111
- -3,
1112
- n0,
1113
- _WAFNIE,
1114
- {
1115
- [_e]: _c,
1116
- },
1117
- [_m],
1118
- [0],
1119
- ];
1009
+ export var WAFNonexistentItemException = [-3, n0, _WAFNIE, { [_e]: _c }, [_m], [0]];
1120
1010
  TypeRegistry.for(n0).registerError(WAFNonexistentItemException, __WAFNonexistentItemException);
1121
1011
  export var WafOverrideAction = [3, n0, _WOA, 0, [_T], [0]];
1122
- export var WAFReferencedItemException = [
1123
- -3,
1124
- n0,
1125
- _WAFRIE,
1126
- {
1127
- [_e]: _c,
1128
- },
1129
- [_m],
1130
- [0],
1131
- ];
1012
+ export var WAFReferencedItemException = [-3, n0, _WAFRIE, { [_e]: _c }, [_m], [0]];
1132
1013
  TypeRegistry.for(n0).registerError(WAFReferencedItemException, __WAFReferencedItemException);
1133
- export var WAFServiceLinkedRoleErrorException = [
1134
- -3,
1135
- n0,
1136
- _WAFSLREE,
1137
- {
1138
- [_e]: _c,
1139
- },
1140
- [_m],
1141
- [0],
1142
- ];
1014
+ export var WAFServiceLinkedRoleErrorException = [-3, n0, _WAFSLREE, { [_e]: _c }, [_m], [0]];
1143
1015
  TypeRegistry.for(n0).registerError(WAFServiceLinkedRoleErrorException, __WAFServiceLinkedRoleErrorException);
1144
- export var WAFStaleDataException = [
1145
- -3,
1146
- n0,
1147
- _WAFSDE,
1148
- {
1149
- [_e]: _c,
1150
- },
1151
- [_m],
1152
- [0],
1153
- ];
1016
+ export var WAFStaleDataException = [-3, n0, _WAFSDE, { [_e]: _c }, [_m], [0]];
1154
1017
  TypeRegistry.for(n0).registerError(WAFStaleDataException, __WAFStaleDataException);
1155
- export var WAFSubscriptionNotFoundException = [
1156
- -3,
1157
- n0,
1158
- _WAFSNFE,
1159
- {
1160
- [_e]: _c,
1161
- },
1162
- [_m],
1163
- [0],
1164
- ];
1018
+ export var WAFSubscriptionNotFoundException = [-3, n0, _WAFSNFE, { [_e]: _c }, [_m], [0]];
1165
1019
  TypeRegistry.for(n0).registerError(WAFSubscriptionNotFoundException, __WAFSubscriptionNotFoundException);
1166
- export var WAFTagOperationException = [
1167
- -3,
1168
- n0,
1169
- _WAFTOE,
1170
- {
1171
- [_e]: _c,
1172
- },
1173
- [_m],
1174
- [0],
1175
- ];
1020
+ export var WAFTagOperationException = [-3, n0, _WAFTOE, { [_e]: _c }, [_m], [0]];
1176
1021
  TypeRegistry.for(n0).registerError(WAFTagOperationException, __WAFTagOperationException);
1177
- export var WAFTagOperationInternalErrorException = [
1178
- -3,
1179
- n0,
1180
- _WAFTOIEE,
1181
- {
1182
- [_e]: _s,
1183
- },
1184
- [_m],
1185
- [0],
1186
- ];
1022
+ export var WAFTagOperationInternalErrorException = [-3, n0, _WAFTOIEE, { [_e]: _s }, [_m], [0]];
1187
1023
  TypeRegistry.for(n0).registerError(WAFTagOperationInternalErrorException, __WAFTagOperationInternalErrorException);
1188
1024
  export var WebACL = [
1189
1025
  3,
@@ -1199,7 +1035,6 @@ export var XssMatchSet = [3, n0, _XMS, 0, [_XMSI, _N, _XMT], [0, 0, () => XssMat
1199
1035
  export var XssMatchSetSummary = [3, n0, _XMSS, 0, [_XMSI, _N], [0, 0]];
1200
1036
  export var XssMatchSetUpdate = [3, n0, _XMSU, 0, [_A, _XMTs], [0, () => XssMatchTuple]];
1201
1037
  export var XssMatchTuple = [3, n0, _XMTs, 0, [_FTM, _TT], [() => FieldToMatch, 0]];
1202
- export var __Unit = "unit";
1203
1038
  export var WAFServiceException = [-3, _sm, "WAFServiceException", 0, [], []];
1204
1039
  TypeRegistry.for(_sm).registerError(WAFServiceException, __WAFServiceException);
1205
1040
  export var ActivatedRules = [1, n0, _ARc, 0, () => ActivatedRule];
@@ -1,4 +1,4 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { CreateByteMatchSetCommandInput, CreateByteMatchSetCommandOutput } from "./commands/CreateByteMatchSetCommand";
3
3
  import { CreateGeoMatchSetCommandInput, CreateGeoMatchSetCommandOutput } from "./commands/CreateGeoMatchSetCommand";
4
4
  import { CreateIPSetCommandInput, CreateIPSetCommandOutput } from "./commands/CreateIPSetCommand";
@@ -1,12 +1,12 @@
1
- import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
- import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
- import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
4
- import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
- import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
6
- import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
- import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
8
- import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
9
- import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
1
+ import { type HostHeaderInputConfig, type HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
2
+ import { type UserAgentInputConfig, type UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
3
+ import { type RegionInputConfig, type RegionResolvedConfig } from "@smithy/config-resolver";
4
+ import { type EndpointInputConfig, type EndpointResolvedConfig } from "@smithy/middleware-endpoint";
5
+ import { type RetryInputConfig, type RetryResolvedConfig } from "@smithy/middleware-retry";
6
+ import type { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
7
+ import { type DefaultsMode as __DefaultsMode, type SmithyConfiguration as __SmithyConfiguration, type SmithyResolvedConfiguration as __SmithyResolvedConfiguration, Client as __Client } from "@smithy/smithy-client";
8
+ import { type BodyLengthCalculator as __BodyLengthCalculator, type CheckOptionalClientConfig as __CheckOptionalClientConfig, type ChecksumConstructor as __ChecksumConstructor, type ClientProtocol, type Decoder as __Decoder, type Encoder as __Encoder, type HashConstructor as __HashConstructor, type HttpHandlerOptions as __HttpHandlerOptions, type HttpRequest, type HttpResponse, type Logger as __Logger, type Provider as __Provider, type StreamCollector as __StreamCollector, type UrlParser as __UrlParser, AwsCredentialIdentityProvider, Provider, UserAgent as __UserAgent } from "@smithy/types";
9
+ import { type HttpAuthSchemeInputConfig, type HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
10
10
  import { CreateByteMatchSetCommandInput, CreateByteMatchSetCommandOutput } from "./commands/CreateByteMatchSetCommand";
11
11
  import { CreateGeoMatchSetCommandInput, CreateGeoMatchSetCommandOutput } from "./commands/CreateGeoMatchSetCommand";
12
12
  import { CreateIPSetCommandInput, CreateIPSetCommandOutput } from "./commands/CreateIPSetCommand";
@@ -85,7 +85,7 @@ import { UpdateSqlInjectionMatchSetCommandInput, UpdateSqlInjectionMatchSetComma
85
85
  import { UpdateWebACLCommandInput, UpdateWebACLCommandOutput } from "./commands/UpdateWebACLCommand";
86
86
  import { UpdateXssMatchSetCommandInput, UpdateXssMatchSetCommandOutput } from "./commands/UpdateXssMatchSetCommand";
87
87
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
88
- import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
88
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
89
89
  export { __Client };
90
90
  /**
91
91
  * @public
@@ -1,5 +1,5 @@
1
- import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
- import { WAFHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
1
+ import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
2
+ import type { WAFHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
3
  /**
4
4
  * @internal
5
5
  */
@@ -1,6 +1,6 @@
1
1
  import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
2
- import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
- import { WAFClientResolvedConfig } from "../WAFClient";
2
+ import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
+ import { type WAFClientResolvedConfig } from "../WAFClient";
4
4
  /**
5
5
  * @internal
6
6
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CreateByteMatchSetRequest, CreateByteMatchSetResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateByteMatchSetRequest, CreateByteMatchSetResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CreateGeoMatchSetRequest, CreateGeoMatchSetResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateGeoMatchSetRequest, CreateGeoMatchSetResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CreateIPSetRequest, CreateIPSetResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateIPSetRequest, CreateIPSetResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
- import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
- import { CreateRateBasedRuleRequest, CreateRateBasedRuleResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateRateBasedRuleRequest, CreateRateBasedRuleResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, WAFClientResolvedConfig } from "../WAFClient";
5
5
  /**
6
6
  * @public
7
7
  */