@aws-sdk/client-waf-regional 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 (108) hide show
  1. package/dist-cjs/index.js +20 -193
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/WAFRegionalClient.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 +20 -194
  8. package/dist-types/WAFRegional.d.ts +1 -1
  9. package/dist-types/WAFRegionalClient.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/AssociateWebACLCommand.d.ts +3 -3
  13. package/dist-types/commands/CreateByteMatchSetCommand.d.ts +3 -3
  14. package/dist-types/commands/CreateGeoMatchSetCommand.d.ts +3 -3
  15. package/dist-types/commands/CreateIPSetCommand.d.ts +3 -3
  16. package/dist-types/commands/CreateRateBasedRuleCommand.d.ts +3 -3
  17. package/dist-types/commands/CreateRegexMatchSetCommand.d.ts +3 -3
  18. package/dist-types/commands/CreateRegexPatternSetCommand.d.ts +3 -3
  19. package/dist-types/commands/CreateRuleCommand.d.ts +3 -3
  20. package/dist-types/commands/CreateRuleGroupCommand.d.ts +3 -3
  21. package/dist-types/commands/CreateSizeConstraintSetCommand.d.ts +3 -3
  22. package/dist-types/commands/CreateSqlInjectionMatchSetCommand.d.ts +3 -3
  23. package/dist-types/commands/CreateWebACLCommand.d.ts +3 -3
  24. package/dist-types/commands/CreateWebACLMigrationStackCommand.d.ts +3 -3
  25. package/dist-types/commands/CreateXssMatchSetCommand.d.ts +3 -3
  26. package/dist-types/commands/DeleteByteMatchSetCommand.d.ts +3 -3
  27. package/dist-types/commands/DeleteGeoMatchSetCommand.d.ts +3 -3
  28. package/dist-types/commands/DeleteIPSetCommand.d.ts +3 -3
  29. package/dist-types/commands/DeleteLoggingConfigurationCommand.d.ts +3 -3
  30. package/dist-types/commands/DeletePermissionPolicyCommand.d.ts +3 -3
  31. package/dist-types/commands/DeleteRateBasedRuleCommand.d.ts +3 -3
  32. package/dist-types/commands/DeleteRegexMatchSetCommand.d.ts +3 -3
  33. package/dist-types/commands/DeleteRegexPatternSetCommand.d.ts +3 -3
  34. package/dist-types/commands/DeleteRuleCommand.d.ts +3 -3
  35. package/dist-types/commands/DeleteRuleGroupCommand.d.ts +3 -3
  36. package/dist-types/commands/DeleteSizeConstraintSetCommand.d.ts +3 -3
  37. package/dist-types/commands/DeleteSqlInjectionMatchSetCommand.d.ts +3 -3
  38. package/dist-types/commands/DeleteWebACLCommand.d.ts +3 -3
  39. package/dist-types/commands/DeleteXssMatchSetCommand.d.ts +3 -3
  40. package/dist-types/commands/DisassociateWebACLCommand.d.ts +3 -3
  41. package/dist-types/commands/GetByteMatchSetCommand.d.ts +3 -3
  42. package/dist-types/commands/GetChangeTokenCommand.d.ts +3 -3
  43. package/dist-types/commands/GetChangeTokenStatusCommand.d.ts +3 -3
  44. package/dist-types/commands/GetGeoMatchSetCommand.d.ts +3 -3
  45. package/dist-types/commands/GetIPSetCommand.d.ts +3 -3
  46. package/dist-types/commands/GetLoggingConfigurationCommand.d.ts +3 -3
  47. package/dist-types/commands/GetPermissionPolicyCommand.d.ts +3 -3
  48. package/dist-types/commands/GetRateBasedRuleCommand.d.ts +3 -3
  49. package/dist-types/commands/GetRateBasedRuleManagedKeysCommand.d.ts +3 -3
  50. package/dist-types/commands/GetRegexMatchSetCommand.d.ts +3 -3
  51. package/dist-types/commands/GetRegexPatternSetCommand.d.ts +3 -3
  52. package/dist-types/commands/GetRuleCommand.d.ts +3 -3
  53. package/dist-types/commands/GetRuleGroupCommand.d.ts +3 -3
  54. package/dist-types/commands/GetSampledRequestsCommand.d.ts +3 -3
  55. package/dist-types/commands/GetSizeConstraintSetCommand.d.ts +3 -3
  56. package/dist-types/commands/GetSqlInjectionMatchSetCommand.d.ts +3 -3
  57. package/dist-types/commands/GetWebACLCommand.d.ts +3 -3
  58. package/dist-types/commands/GetWebACLForResourceCommand.d.ts +3 -3
  59. package/dist-types/commands/GetXssMatchSetCommand.d.ts +3 -3
  60. package/dist-types/commands/ListActivatedRulesInRuleGroupCommand.d.ts +3 -3
  61. package/dist-types/commands/ListByteMatchSetsCommand.d.ts +3 -3
  62. package/dist-types/commands/ListGeoMatchSetsCommand.d.ts +3 -3
  63. package/dist-types/commands/ListIPSetsCommand.d.ts +3 -3
  64. package/dist-types/commands/ListLoggingConfigurationsCommand.d.ts +3 -3
  65. package/dist-types/commands/ListRateBasedRulesCommand.d.ts +3 -3
  66. package/dist-types/commands/ListRegexMatchSetsCommand.d.ts +3 -3
  67. package/dist-types/commands/ListRegexPatternSetsCommand.d.ts +3 -3
  68. package/dist-types/commands/ListResourcesForWebACLCommand.d.ts +3 -3
  69. package/dist-types/commands/ListRuleGroupsCommand.d.ts +3 -3
  70. package/dist-types/commands/ListRulesCommand.d.ts +3 -3
  71. package/dist-types/commands/ListSizeConstraintSetsCommand.d.ts +3 -3
  72. package/dist-types/commands/ListSqlInjectionMatchSetsCommand.d.ts +3 -3
  73. package/dist-types/commands/ListSubscribedRuleGroupsCommand.d.ts +3 -3
  74. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  75. package/dist-types/commands/ListWebACLsCommand.d.ts +3 -3
  76. package/dist-types/commands/ListXssMatchSetsCommand.d.ts +3 -3
  77. package/dist-types/commands/PutLoggingConfigurationCommand.d.ts +3 -3
  78. package/dist-types/commands/PutPermissionPolicyCommand.d.ts +3 -3
  79. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  80. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  81. package/dist-types/commands/UpdateByteMatchSetCommand.d.ts +3 -3
  82. package/dist-types/commands/UpdateGeoMatchSetCommand.d.ts +3 -3
  83. package/dist-types/commands/UpdateIPSetCommand.d.ts +3 -3
  84. package/dist-types/commands/UpdateRateBasedRuleCommand.d.ts +3 -3
  85. package/dist-types/commands/UpdateRegexMatchSetCommand.d.ts +3 -3
  86. package/dist-types/commands/UpdateRegexPatternSetCommand.d.ts +3 -3
  87. package/dist-types/commands/UpdateRuleCommand.d.ts +3 -3
  88. package/dist-types/commands/UpdateRuleGroupCommand.d.ts +3 -3
  89. package/dist-types/commands/UpdateSizeConstraintSetCommand.d.ts +3 -3
  90. package/dist-types/commands/UpdateSqlInjectionMatchSetCommand.d.ts +3 -3
  91. package/dist-types/commands/UpdateWebACLCommand.d.ts +3 -3
  92. package/dist-types/commands/UpdateXssMatchSetCommand.d.ts +3 -3
  93. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  94. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  95. package/dist-types/extensionConfiguration.d.ts +4 -4
  96. package/dist-types/models/WAFRegionalServiceException.d.ts +1 -1
  97. package/dist-types/models/errors.d.ts +1 -1
  98. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  99. package/dist-types/runtimeConfig.d.ts +1 -1
  100. package/dist-types/runtimeConfig.native.d.ts +1 -1
  101. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  102. package/dist-types/runtimeExtensions.d.ts +1 -1
  103. package/dist-types/schemas/schemas_0.d.ts +1 -2
  104. package/dist-types/ts3.4/WAFRegionalClient.d.ts +3 -3
  105. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  106. package/dist-types/ts3.4/models/WAFRegionalServiceException.d.ts +1 -1
  107. package/dist-types/ts3.4/schemas/schemas_0.d.ts +0 -1
  108. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -1372,226 +1372,53 @@ var UpdateXssMatchSetRequest = [
1372
1372
  ];
1373
1373
  var UpdateXssMatchSetResponse = [3, n0, _UXMSRp, 0, [_CT], [0]];
1374
1374
  var WafAction = [3, n0, _WA, 0, [_T], [0]];
1375
- var WAFBadRequestException = [
1376
- -3,
1377
- n0,
1378
- _WAFBRE,
1379
- {
1380
- [_e]: _c,
1381
- },
1382
- [_m],
1383
- [0],
1384
- ];
1375
+ var WAFBadRequestException = [-3, n0, _WAFBRE, { [_e]: _c }, [_m], [0]];
1385
1376
  schema.TypeRegistry.for(n0).registerError(WAFBadRequestException, WAFBadRequestException$1);
1386
- var WAFDisallowedNameException = [
1387
- -3,
1388
- n0,
1389
- _WAFDNE,
1390
- {
1391
- [_e]: _c,
1392
- },
1393
- [_m],
1394
- [0],
1395
- ];
1377
+ var WAFDisallowedNameException = [-3, n0, _WAFDNE, { [_e]: _c }, [_m], [0]];
1396
1378
  schema.TypeRegistry.for(n0).registerError(WAFDisallowedNameException, WAFDisallowedNameException$1);
1397
1379
  var WAFEntityMigrationException = [
1398
1380
  -3,
1399
1381
  n0,
1400
1382
  _WAFEME,
1401
- {
1402
- [_e]: _c,
1403
- },
1383
+ { [_e]: _c },
1404
1384
  [_m, _MET, _MER],
1405
1385
  [0, 0, 0],
1406
1386
  ];
1407
1387
  schema.TypeRegistry.for(n0).registerError(WAFEntityMigrationException, WAFEntityMigrationException$1);
1408
- var WAFInternalErrorException = [
1409
- -3,
1410
- n0,
1411
- _WAFIEE,
1412
- {
1413
- [_e]: _s,
1414
- },
1415
- [_m],
1416
- [0],
1417
- ];
1388
+ var WAFInternalErrorException = [-3, n0, _WAFIEE, { [_e]: _s }, [_m], [0]];
1418
1389
  schema.TypeRegistry.for(n0).registerError(WAFInternalErrorException, WAFInternalErrorException$1);
1419
- var WAFInvalidAccountException = [
1420
- -3,
1421
- n0,
1422
- _WAFIAE,
1423
- {
1424
- [_e]: _c,
1425
- },
1426
- [],
1427
- [],
1428
- ];
1390
+ var WAFInvalidAccountException = [-3, n0, _WAFIAE, { [_e]: _c }, [], []];
1429
1391
  schema.TypeRegistry.for(n0).registerError(WAFInvalidAccountException, WAFInvalidAccountException$1);
1430
- var WAFInvalidOperationException = [
1431
- -3,
1432
- n0,
1433
- _WAFIOE,
1434
- {
1435
- [_e]: _c,
1436
- },
1437
- [_m],
1438
- [0],
1439
- ];
1392
+ var WAFInvalidOperationException = [-3, n0, _WAFIOE, { [_e]: _c }, [_m], [0]];
1440
1393
  schema.TypeRegistry.for(n0).registerError(WAFInvalidOperationException, WAFInvalidOperationException$1);
1441
- var WAFInvalidParameterException = [
1442
- -3,
1443
- n0,
1444
- _WAFIPE,
1445
- {
1446
- [_e]: _c,
1447
- },
1448
- [_f, _p, _r],
1449
- [0, 0, 0],
1450
- ];
1394
+ var WAFInvalidParameterException = [-3, n0, _WAFIPE, { [_e]: _c }, [_f, _p, _r], [0, 0, 0]];
1451
1395
  schema.TypeRegistry.for(n0).registerError(WAFInvalidParameterException, WAFInvalidParameterException$1);
1452
- var WAFInvalidPermissionPolicyException = [
1453
- -3,
1454
- n0,
1455
- _WAFIPPE,
1456
- {
1457
- [_e]: _c,
1458
- },
1459
- [_m],
1460
- [0],
1461
- ];
1396
+ var WAFInvalidPermissionPolicyException = [-3, n0, _WAFIPPE, { [_e]: _c }, [_m], [0]];
1462
1397
  schema.TypeRegistry.for(n0).registerError(WAFInvalidPermissionPolicyException, WAFInvalidPermissionPolicyException$1);
1463
- var WAFInvalidRegexPatternException = [
1464
- -3,
1465
- n0,
1466
- _WAFIRPE,
1467
- {
1468
- [_e]: _c,
1469
- },
1470
- [_m],
1471
- [0],
1472
- ];
1398
+ var WAFInvalidRegexPatternException = [-3, n0, _WAFIRPE, { [_e]: _c }, [_m], [0]];
1473
1399
  schema.TypeRegistry.for(n0).registerError(WAFInvalidRegexPatternException, WAFInvalidRegexPatternException$1);
1474
- var WAFLimitsExceededException = [
1475
- -3,
1476
- n0,
1477
- _WAFLEE,
1478
- {
1479
- [_e]: _c,
1480
- },
1481
- [_m],
1482
- [0],
1483
- ];
1400
+ var WAFLimitsExceededException = [-3, n0, _WAFLEE, { [_e]: _c }, [_m], [0]];
1484
1401
  schema.TypeRegistry.for(n0).registerError(WAFLimitsExceededException, WAFLimitsExceededException$1);
1485
- var WAFNonEmptyEntityException = [
1486
- -3,
1487
- n0,
1488
- _WAFNEEE,
1489
- {
1490
- [_e]: _c,
1491
- },
1492
- [_m],
1493
- [0],
1494
- ];
1402
+ var WAFNonEmptyEntityException = [-3, n0, _WAFNEEE, { [_e]: _c }, [_m], [0]];
1495
1403
  schema.TypeRegistry.for(n0).registerError(WAFNonEmptyEntityException, WAFNonEmptyEntityException$1);
1496
- var WAFNonexistentContainerException = [
1497
- -3,
1498
- n0,
1499
- _WAFNCE,
1500
- {
1501
- [_e]: _c,
1502
- },
1503
- [_m],
1504
- [0],
1505
- ];
1404
+ var WAFNonexistentContainerException = [-3, n0, _WAFNCE, { [_e]: _c }, [_m], [0]];
1506
1405
  schema.TypeRegistry.for(n0).registerError(WAFNonexistentContainerException, WAFNonexistentContainerException$1);
1507
- var WAFNonexistentItemException = [
1508
- -3,
1509
- n0,
1510
- _WAFNIE,
1511
- {
1512
- [_e]: _c,
1513
- },
1514
- [_m],
1515
- [0],
1516
- ];
1406
+ var WAFNonexistentItemException = [-3, n0, _WAFNIE, { [_e]: _c }, [_m], [0]];
1517
1407
  schema.TypeRegistry.for(n0).registerError(WAFNonexistentItemException, WAFNonexistentItemException$1);
1518
1408
  var WafOverrideAction = [3, n0, _WOA, 0, [_T], [0]];
1519
- var WAFReferencedItemException = [
1520
- -3,
1521
- n0,
1522
- _WAFRIE,
1523
- {
1524
- [_e]: _c,
1525
- },
1526
- [_m],
1527
- [0],
1528
- ];
1409
+ var WAFReferencedItemException = [-3, n0, _WAFRIE, { [_e]: _c }, [_m], [0]];
1529
1410
  schema.TypeRegistry.for(n0).registerError(WAFReferencedItemException, WAFReferencedItemException$1);
1530
- var WAFServiceLinkedRoleErrorException = [
1531
- -3,
1532
- n0,
1533
- _WAFSLREE,
1534
- {
1535
- [_e]: _c,
1536
- },
1537
- [_m],
1538
- [0],
1539
- ];
1411
+ var WAFServiceLinkedRoleErrorException = [-3, n0, _WAFSLREE, { [_e]: _c }, [_m], [0]];
1540
1412
  schema.TypeRegistry.for(n0).registerError(WAFServiceLinkedRoleErrorException, WAFServiceLinkedRoleErrorException$1);
1541
- var WAFStaleDataException = [
1542
- -3,
1543
- n0,
1544
- _WAFSDE,
1545
- {
1546
- [_e]: _c,
1547
- },
1548
- [_m],
1549
- [0],
1550
- ];
1413
+ var WAFStaleDataException = [-3, n0, _WAFSDE, { [_e]: _c }, [_m], [0]];
1551
1414
  schema.TypeRegistry.for(n0).registerError(WAFStaleDataException, WAFStaleDataException$1);
1552
- var WAFSubscriptionNotFoundException = [
1553
- -3,
1554
- n0,
1555
- _WAFSNFE,
1556
- {
1557
- [_e]: _c,
1558
- },
1559
- [_m],
1560
- [0],
1561
- ];
1415
+ var WAFSubscriptionNotFoundException = [-3, n0, _WAFSNFE, { [_e]: _c }, [_m], [0]];
1562
1416
  schema.TypeRegistry.for(n0).registerError(WAFSubscriptionNotFoundException, WAFSubscriptionNotFoundException$1);
1563
- var WAFTagOperationException = [
1564
- -3,
1565
- n0,
1566
- _WAFTOE,
1567
- {
1568
- [_e]: _c,
1569
- },
1570
- [_m],
1571
- [0],
1572
- ];
1417
+ var WAFTagOperationException = [-3, n0, _WAFTOE, { [_e]: _c }, [_m], [0]];
1573
1418
  schema.TypeRegistry.for(n0).registerError(WAFTagOperationException, WAFTagOperationException$1);
1574
- var WAFTagOperationInternalErrorException = [
1575
- -3,
1576
- n0,
1577
- _WAFTOIEE,
1578
- {
1579
- [_e]: _s,
1580
- },
1581
- [_m],
1582
- [0],
1583
- ];
1419
+ var WAFTagOperationInternalErrorException = [-3, n0, _WAFTOIEE, { [_e]: _s }, [_m], [0]];
1584
1420
  schema.TypeRegistry.for(n0).registerError(WAFTagOperationInternalErrorException, WAFTagOperationInternalErrorException$1);
1585
- var WAFUnavailableEntityException = [
1586
- -3,
1587
- n0,
1588
- _WAFUEE,
1589
- {
1590
- [_e]: _c,
1591
- },
1592
- [_m],
1593
- [0],
1594
- ];
1421
+ var WAFUnavailableEntityException = [-3, n0, _WAFUEE, { [_e]: _c }, [_m], [0]];
1595
1422
  schema.TypeRegistry.for(n0).registerError(WAFUnavailableEntityException, WAFUnavailableEntityException$1);
1596
1423
  var WebACL = [
1597
1424
  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 { defaultWAFRegionalHttpAuthSchemeParametersProvider, 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);
@@ -1005,226 +1005,53 @@ export var UpdateXssMatchSetRequest = [
1005
1005
  ];
1006
1006
  export var UpdateXssMatchSetResponse = [3, n0, _UXMSRp, 0, [_CT], [0]];
1007
1007
  export var WafAction = [3, n0, _WA, 0, [_T], [0]];
1008
- export var WAFBadRequestException = [
1009
- -3,
1010
- n0,
1011
- _WAFBRE,
1012
- {
1013
- [_e]: _c,
1014
- },
1015
- [_m],
1016
- [0],
1017
- ];
1008
+ export var WAFBadRequestException = [-3, n0, _WAFBRE, { [_e]: _c }, [_m], [0]];
1018
1009
  TypeRegistry.for(n0).registerError(WAFBadRequestException, __WAFBadRequestException);
1019
- export var WAFDisallowedNameException = [
1020
- -3,
1021
- n0,
1022
- _WAFDNE,
1023
- {
1024
- [_e]: _c,
1025
- },
1026
- [_m],
1027
- [0],
1028
- ];
1010
+ export var WAFDisallowedNameException = [-3, n0, _WAFDNE, { [_e]: _c }, [_m], [0]];
1029
1011
  TypeRegistry.for(n0).registerError(WAFDisallowedNameException, __WAFDisallowedNameException);
1030
1012
  export var WAFEntityMigrationException = [
1031
1013
  -3,
1032
1014
  n0,
1033
1015
  _WAFEME,
1034
- {
1035
- [_e]: _c,
1036
- },
1016
+ { [_e]: _c },
1037
1017
  [_m, _MET, _MER],
1038
1018
  [0, 0, 0],
1039
1019
  ];
1040
1020
  TypeRegistry.for(n0).registerError(WAFEntityMigrationException, __WAFEntityMigrationException);
1041
- export var WAFInternalErrorException = [
1042
- -3,
1043
- n0,
1044
- _WAFIEE,
1045
- {
1046
- [_e]: _s,
1047
- },
1048
- [_m],
1049
- [0],
1050
- ];
1021
+ export var WAFInternalErrorException = [-3, n0, _WAFIEE, { [_e]: _s }, [_m], [0]];
1051
1022
  TypeRegistry.for(n0).registerError(WAFInternalErrorException, __WAFInternalErrorException);
1052
- export var WAFInvalidAccountException = [
1053
- -3,
1054
- n0,
1055
- _WAFIAE,
1056
- {
1057
- [_e]: _c,
1058
- },
1059
- [],
1060
- [],
1061
- ];
1023
+ export var WAFInvalidAccountException = [-3, n0, _WAFIAE, { [_e]: _c }, [], []];
1062
1024
  TypeRegistry.for(n0).registerError(WAFInvalidAccountException, __WAFInvalidAccountException);
1063
- export var WAFInvalidOperationException = [
1064
- -3,
1065
- n0,
1066
- _WAFIOE,
1067
- {
1068
- [_e]: _c,
1069
- },
1070
- [_m],
1071
- [0],
1072
- ];
1025
+ export var WAFInvalidOperationException = [-3, n0, _WAFIOE, { [_e]: _c }, [_m], [0]];
1073
1026
  TypeRegistry.for(n0).registerError(WAFInvalidOperationException, __WAFInvalidOperationException);
1074
- export var WAFInvalidParameterException = [
1075
- -3,
1076
- n0,
1077
- _WAFIPE,
1078
- {
1079
- [_e]: _c,
1080
- },
1081
- [_f, _p, _r],
1082
- [0, 0, 0],
1083
- ];
1027
+ export var WAFInvalidParameterException = [-3, n0, _WAFIPE, { [_e]: _c }, [_f, _p, _r], [0, 0, 0]];
1084
1028
  TypeRegistry.for(n0).registerError(WAFInvalidParameterException, __WAFInvalidParameterException);
1085
- export var WAFInvalidPermissionPolicyException = [
1086
- -3,
1087
- n0,
1088
- _WAFIPPE,
1089
- {
1090
- [_e]: _c,
1091
- },
1092
- [_m],
1093
- [0],
1094
- ];
1029
+ export var WAFInvalidPermissionPolicyException = [-3, n0, _WAFIPPE, { [_e]: _c }, [_m], [0]];
1095
1030
  TypeRegistry.for(n0).registerError(WAFInvalidPermissionPolicyException, __WAFInvalidPermissionPolicyException);
1096
- export var WAFInvalidRegexPatternException = [
1097
- -3,
1098
- n0,
1099
- _WAFIRPE,
1100
- {
1101
- [_e]: _c,
1102
- },
1103
- [_m],
1104
- [0],
1105
- ];
1031
+ export var WAFInvalidRegexPatternException = [-3, n0, _WAFIRPE, { [_e]: _c }, [_m], [0]];
1106
1032
  TypeRegistry.for(n0).registerError(WAFInvalidRegexPatternException, __WAFInvalidRegexPatternException);
1107
- export var WAFLimitsExceededException = [
1108
- -3,
1109
- n0,
1110
- _WAFLEE,
1111
- {
1112
- [_e]: _c,
1113
- },
1114
- [_m],
1115
- [0],
1116
- ];
1033
+ export var WAFLimitsExceededException = [-3, n0, _WAFLEE, { [_e]: _c }, [_m], [0]];
1117
1034
  TypeRegistry.for(n0).registerError(WAFLimitsExceededException, __WAFLimitsExceededException);
1118
- export var WAFNonEmptyEntityException = [
1119
- -3,
1120
- n0,
1121
- _WAFNEEE,
1122
- {
1123
- [_e]: _c,
1124
- },
1125
- [_m],
1126
- [0],
1127
- ];
1035
+ export var WAFNonEmptyEntityException = [-3, n0, _WAFNEEE, { [_e]: _c }, [_m], [0]];
1128
1036
  TypeRegistry.for(n0).registerError(WAFNonEmptyEntityException, __WAFNonEmptyEntityException);
1129
- export var WAFNonexistentContainerException = [
1130
- -3,
1131
- n0,
1132
- _WAFNCE,
1133
- {
1134
- [_e]: _c,
1135
- },
1136
- [_m],
1137
- [0],
1138
- ];
1037
+ export var WAFNonexistentContainerException = [-3, n0, _WAFNCE, { [_e]: _c }, [_m], [0]];
1139
1038
  TypeRegistry.for(n0).registerError(WAFNonexistentContainerException, __WAFNonexistentContainerException);
1140
- export var WAFNonexistentItemException = [
1141
- -3,
1142
- n0,
1143
- _WAFNIE,
1144
- {
1145
- [_e]: _c,
1146
- },
1147
- [_m],
1148
- [0],
1149
- ];
1039
+ export var WAFNonexistentItemException = [-3, n0, _WAFNIE, { [_e]: _c }, [_m], [0]];
1150
1040
  TypeRegistry.for(n0).registerError(WAFNonexistentItemException, __WAFNonexistentItemException);
1151
1041
  export var WafOverrideAction = [3, n0, _WOA, 0, [_T], [0]];
1152
- export var WAFReferencedItemException = [
1153
- -3,
1154
- n0,
1155
- _WAFRIE,
1156
- {
1157
- [_e]: _c,
1158
- },
1159
- [_m],
1160
- [0],
1161
- ];
1042
+ export var WAFReferencedItemException = [-3, n0, _WAFRIE, { [_e]: _c }, [_m], [0]];
1162
1043
  TypeRegistry.for(n0).registerError(WAFReferencedItemException, __WAFReferencedItemException);
1163
- export var WAFServiceLinkedRoleErrorException = [
1164
- -3,
1165
- n0,
1166
- _WAFSLREE,
1167
- {
1168
- [_e]: _c,
1169
- },
1170
- [_m],
1171
- [0],
1172
- ];
1044
+ export var WAFServiceLinkedRoleErrorException = [-3, n0, _WAFSLREE, { [_e]: _c }, [_m], [0]];
1173
1045
  TypeRegistry.for(n0).registerError(WAFServiceLinkedRoleErrorException, __WAFServiceLinkedRoleErrorException);
1174
- export var WAFStaleDataException = [
1175
- -3,
1176
- n0,
1177
- _WAFSDE,
1178
- {
1179
- [_e]: _c,
1180
- },
1181
- [_m],
1182
- [0],
1183
- ];
1046
+ export var WAFStaleDataException = [-3, n0, _WAFSDE, { [_e]: _c }, [_m], [0]];
1184
1047
  TypeRegistry.for(n0).registerError(WAFStaleDataException, __WAFStaleDataException);
1185
- export var WAFSubscriptionNotFoundException = [
1186
- -3,
1187
- n0,
1188
- _WAFSNFE,
1189
- {
1190
- [_e]: _c,
1191
- },
1192
- [_m],
1193
- [0],
1194
- ];
1048
+ export var WAFSubscriptionNotFoundException = [-3, n0, _WAFSNFE, { [_e]: _c }, [_m], [0]];
1195
1049
  TypeRegistry.for(n0).registerError(WAFSubscriptionNotFoundException, __WAFSubscriptionNotFoundException);
1196
- export var WAFTagOperationException = [
1197
- -3,
1198
- n0,
1199
- _WAFTOE,
1200
- {
1201
- [_e]: _c,
1202
- },
1203
- [_m],
1204
- [0],
1205
- ];
1050
+ export var WAFTagOperationException = [-3, n0, _WAFTOE, { [_e]: _c }, [_m], [0]];
1206
1051
  TypeRegistry.for(n0).registerError(WAFTagOperationException, __WAFTagOperationException);
1207
- export var WAFTagOperationInternalErrorException = [
1208
- -3,
1209
- n0,
1210
- _WAFTOIEE,
1211
- {
1212
- [_e]: _s,
1213
- },
1214
- [_m],
1215
- [0],
1216
- ];
1052
+ export var WAFTagOperationInternalErrorException = [-3, n0, _WAFTOIEE, { [_e]: _s }, [_m], [0]];
1217
1053
  TypeRegistry.for(n0).registerError(WAFTagOperationInternalErrorException, __WAFTagOperationInternalErrorException);
1218
- export var WAFUnavailableEntityException = [
1219
- -3,
1220
- n0,
1221
- _WAFUEE,
1222
- {
1223
- [_e]: _c,
1224
- },
1225
- [_m],
1226
- [0],
1227
- ];
1054
+ export var WAFUnavailableEntityException = [-3, n0, _WAFUEE, { [_e]: _c }, [_m], [0]];
1228
1055
  TypeRegistry.for(n0).registerError(WAFUnavailableEntityException, __WAFUnavailableEntityException);
1229
1056
  export var WebACL = [
1230
1057
  3,
@@ -1240,7 +1067,6 @@ export var XssMatchSet = [3, n0, _XMS, 0, [_XMSI, _N, _XMT], [0, 0, () => XssMat
1240
1067
  export var XssMatchSetSummary = [3, n0, _XMSS, 0, [_XMSI, _N], [0, 0]];
1241
1068
  export var XssMatchSetUpdate = [3, n0, _XMSU, 0, [_A, _XMTs], [0, () => XssMatchTuple]];
1242
1069
  export var XssMatchTuple = [3, n0, _XMTs, 0, [_FTM, _TT], [() => FieldToMatch, 0]];
1243
- export var __Unit = "unit";
1244
1070
  export var WAFRegionalServiceException = [-3, _sm, "WAFRegionalServiceException", 0, [], []];
1245
1071
  TypeRegistry.for(_sm).registerError(WAFRegionalServiceException, __WAFRegionalServiceException);
1246
1072
  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 { AssociateWebACLCommandInput, AssociateWebACLCommandOutput } from "./commands/AssociateWebACLCommand";
3
3
  import { CreateByteMatchSetCommandInput, CreateByteMatchSetCommandOutput } from "./commands/CreateByteMatchSetCommand";
4
4
  import { CreateGeoMatchSetCommandInput, CreateGeoMatchSetCommandOutput } from "./commands/CreateGeoMatchSetCommand";
@@ -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 { AssociateWebACLCommandInput, AssociateWebACLCommandOutput } from "./commands/AssociateWebACLCommand";
11
11
  import { CreateByteMatchSetCommandInput, CreateByteMatchSetCommandOutput } from "./commands/CreateByteMatchSetCommand";
12
12
  import { CreateGeoMatchSetCommandInput, CreateGeoMatchSetCommandOutput } from "./commands/CreateGeoMatchSetCommand";
@@ -89,7 +89,7 @@ import { UpdateSqlInjectionMatchSetCommandInput, UpdateSqlInjectionMatchSetComma
89
89
  import { UpdateWebACLCommandInput, UpdateWebACLCommandOutput } from "./commands/UpdateWebACLCommand";
90
90
  import { UpdateXssMatchSetCommandInput, UpdateXssMatchSetCommandOutput } from "./commands/UpdateXssMatchSetCommand";
91
91
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
92
- import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
92
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
93
93
  export { __Client };
94
94
  /**
95
95
  * @public
@@ -1,5 +1,5 @@
1
- import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
- import { WAFRegionalHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
1
+ import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
2
+ import type { WAFRegionalHttpAuthSchemeProvider } 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 { WAFRegionalClientResolvedConfig } from "../WAFRegionalClient";
2
+ import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
+ import { type WAFRegionalClientResolvedConfig } from "../WAFRegionalClient";
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 { AssociateWebACLRequest, AssociateWebACLResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, WAFRegionalClientResolvedConfig } from "../WAFRegionalClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { AssociateWebACLRequest, AssociateWebACLResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, WAFRegionalClientResolvedConfig } from "../WAFRegionalClient";
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 { CreateByteMatchSetRequest, CreateByteMatchSetResponse } from "../models/models_0";
4
- import { ServiceInputTypes, ServiceOutputTypes, WAFRegionalClientResolvedConfig } from "../WAFRegionalClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateByteMatchSetRequest, CreateByteMatchSetResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, WAFRegionalClientResolvedConfig } from "../WAFRegionalClient";
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, WAFRegionalClientResolvedConfig } from "../WAFRegionalClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateGeoMatchSetRequest, CreateGeoMatchSetResponse } from "../models/models_0";
4
+ import type { ServiceInputTypes, ServiceOutputTypes, WAFRegionalClientResolvedConfig } from "../WAFRegionalClient";
5
5
  /**
6
6
  * @public
7
7
  */