@aws-sdk/client-kms 3.940.0 → 3.946.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/index.js +48 -240
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/KMSClient.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 +48 -240
  8. package/dist-types/KMS.d.ts +1 -1
  9. package/dist-types/KMSClient.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/CancelKeyDeletionCommand.d.ts +3 -3
  13. package/dist-types/commands/ConnectCustomKeyStoreCommand.d.ts +3 -3
  14. package/dist-types/commands/CreateAliasCommand.d.ts +3 -3
  15. package/dist-types/commands/CreateCustomKeyStoreCommand.d.ts +3 -3
  16. package/dist-types/commands/CreateGrantCommand.d.ts +3 -3
  17. package/dist-types/commands/CreateKeyCommand.d.ts +3 -3
  18. package/dist-types/commands/DecryptCommand.d.ts +3 -3
  19. package/dist-types/commands/DeleteAliasCommand.d.ts +3 -3
  20. package/dist-types/commands/DeleteCustomKeyStoreCommand.d.ts +3 -3
  21. package/dist-types/commands/DeleteImportedKeyMaterialCommand.d.ts +3 -3
  22. package/dist-types/commands/DeriveSharedSecretCommand.d.ts +3 -3
  23. package/dist-types/commands/DescribeCustomKeyStoresCommand.d.ts +3 -3
  24. package/dist-types/commands/DescribeKeyCommand.d.ts +3 -3
  25. package/dist-types/commands/DisableKeyCommand.d.ts +3 -3
  26. package/dist-types/commands/DisableKeyRotationCommand.d.ts +3 -3
  27. package/dist-types/commands/DisconnectCustomKeyStoreCommand.d.ts +3 -3
  28. package/dist-types/commands/EnableKeyCommand.d.ts +3 -3
  29. package/dist-types/commands/EnableKeyRotationCommand.d.ts +3 -3
  30. package/dist-types/commands/EncryptCommand.d.ts +3 -3
  31. package/dist-types/commands/GenerateDataKeyCommand.d.ts +3 -3
  32. package/dist-types/commands/GenerateDataKeyPairCommand.d.ts +3 -3
  33. package/dist-types/commands/GenerateDataKeyPairWithoutPlaintextCommand.d.ts +3 -3
  34. package/dist-types/commands/GenerateDataKeyWithoutPlaintextCommand.d.ts +3 -3
  35. package/dist-types/commands/GenerateMacCommand.d.ts +3 -3
  36. package/dist-types/commands/GenerateRandomCommand.d.ts +3 -3
  37. package/dist-types/commands/GetKeyPolicyCommand.d.ts +3 -3
  38. package/dist-types/commands/GetKeyRotationStatusCommand.d.ts +3 -3
  39. package/dist-types/commands/GetParametersForImportCommand.d.ts +3 -3
  40. package/dist-types/commands/GetPublicKeyCommand.d.ts +3 -3
  41. package/dist-types/commands/ImportKeyMaterialCommand.d.ts +3 -3
  42. package/dist-types/commands/ListAliasesCommand.d.ts +3 -3
  43. package/dist-types/commands/ListGrantsCommand.d.ts +3 -3
  44. package/dist-types/commands/ListKeyPoliciesCommand.d.ts +3 -3
  45. package/dist-types/commands/ListKeyRotationsCommand.d.ts +3 -3
  46. package/dist-types/commands/ListKeysCommand.d.ts +3 -3
  47. package/dist-types/commands/ListResourceTagsCommand.d.ts +3 -3
  48. package/dist-types/commands/ListRetirableGrantsCommand.d.ts +3 -3
  49. package/dist-types/commands/PutKeyPolicyCommand.d.ts +3 -3
  50. package/dist-types/commands/ReEncryptCommand.d.ts +3 -3
  51. package/dist-types/commands/ReplicateKeyCommand.d.ts +3 -3
  52. package/dist-types/commands/RetireGrantCommand.d.ts +3 -3
  53. package/dist-types/commands/RevokeGrantCommand.d.ts +3 -3
  54. package/dist-types/commands/RotateKeyOnDemandCommand.d.ts +3 -3
  55. package/dist-types/commands/ScheduleKeyDeletionCommand.d.ts +3 -3
  56. package/dist-types/commands/SignCommand.d.ts +3 -3
  57. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  58. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  59. package/dist-types/commands/UpdateAliasCommand.d.ts +3 -3
  60. package/dist-types/commands/UpdateCustomKeyStoreCommand.d.ts +3 -3
  61. package/dist-types/commands/UpdateKeyDescriptionCommand.d.ts +3 -3
  62. package/dist-types/commands/UpdatePrimaryRegionCommand.d.ts +3 -3
  63. package/dist-types/commands/VerifyCommand.d.ts +3 -3
  64. package/dist-types/commands/VerifyMacCommand.d.ts +3 -3
  65. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  66. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  67. package/dist-types/extensionConfiguration.d.ts +4 -4
  68. package/dist-types/models/KMSServiceException.d.ts +1 -1
  69. package/dist-types/models/errors.d.ts +1 -1
  70. package/dist-types/pagination/DescribeCustomKeyStoresPaginator.d.ts +1 -1
  71. package/dist-types/pagination/Interfaces.d.ts +1 -1
  72. package/dist-types/pagination/ListAliasesPaginator.d.ts +1 -1
  73. package/dist-types/pagination/ListGrantsPaginator.d.ts +1 -1
  74. package/dist-types/pagination/ListKeyPoliciesPaginator.d.ts +1 -1
  75. package/dist-types/pagination/ListKeyRotationsPaginator.d.ts +1 -1
  76. package/dist-types/pagination/ListKeysPaginator.d.ts +1 -1
  77. package/dist-types/pagination/ListResourceTagsPaginator.d.ts +1 -1
  78. package/dist-types/pagination/ListRetirableGrantsPaginator.d.ts +1 -1
  79. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  80. package/dist-types/runtimeConfig.d.ts +1 -1
  81. package/dist-types/runtimeConfig.native.d.ts +1 -1
  82. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  83. package/dist-types/runtimeExtensions.d.ts +1 -1
  84. package/dist-types/schemas/schemas_0.d.ts +1 -1
  85. package/dist-types/ts3.4/KMSClient.d.ts +3 -3
  86. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  87. package/dist-types/ts3.4/models/KMSServiceException.d.ts +1 -1
  88. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -1069,11 +1069,7 @@ var AlreadyExistsException = [
1069
1069
  -3,
1070
1070
  n0,
1071
1071
  _AEE,
1072
- {
1073
- [_e]: _c,
1074
- [_hE]: 409,
1075
- [_aQE]: [`AlreadyExists`, 409],
1076
- },
1072
+ { [_e]: _c, [_hE]: 409, [_aQE]: [`AlreadyExists`, 409] },
1077
1073
  [_m],
1078
1074
  [0],
1079
1075
  ];
@@ -1084,11 +1080,7 @@ var CloudHsmClusterInUseException = [
1084
1080
  -3,
1085
1081
  n0,
1086
1082
  _CHCIUE,
1087
- {
1088
- [_e]: _c,
1089
- [_hE]: 400,
1090
- [_aQE]: [`CloudHsmClusterInUseException`, 400],
1091
- },
1083
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`CloudHsmClusterInUseException`, 400] },
1092
1084
  [_m],
1093
1085
  [0],
1094
1086
  ];
@@ -1097,11 +1089,7 @@ var CloudHsmClusterInvalidConfigurationException = [
1097
1089
  -3,
1098
1090
  n0,
1099
1091
  _CHCICE,
1100
- {
1101
- [_e]: _c,
1102
- [_hE]: 400,
1103
- [_aQE]: [`CloudHsmClusterInvalidConfigurationException`, 400],
1104
- },
1092
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`CloudHsmClusterInvalidConfigurationException`, 400] },
1105
1093
  [_m],
1106
1094
  [0],
1107
1095
  ];
@@ -1110,11 +1098,7 @@ var CloudHsmClusterNotActiveException = [
1110
1098
  -3,
1111
1099
  n0,
1112
1100
  _CHCNAE,
1113
- {
1114
- [_e]: _c,
1115
- [_hE]: 400,
1116
- [_aQE]: [`CloudHsmClusterNotActiveException`, 400],
1117
- },
1101
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`CloudHsmClusterNotActiveException`, 400] },
1118
1102
  [_m],
1119
1103
  [0],
1120
1104
  ];
@@ -1123,11 +1107,7 @@ var CloudHsmClusterNotFoundException = [
1123
1107
  -3,
1124
1108
  n0,
1125
1109
  _CHCNFE,
1126
- {
1127
- [_e]: _c,
1128
- [_hE]: 400,
1129
- [_aQE]: [`CloudHsmClusterNotFoundException`, 400],
1130
- },
1110
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`CloudHsmClusterNotFoundException`, 400] },
1131
1111
  [_m],
1132
1112
  [0],
1133
1113
  ];
@@ -1136,11 +1116,7 @@ var CloudHsmClusterNotRelatedException = [
1136
1116
  -3,
1137
1117
  n0,
1138
1118
  _CHCNRE,
1139
- {
1140
- [_e]: _c,
1141
- [_hE]: 400,
1142
- [_aQE]: [`CloudHsmClusterNotRelatedException`, 400],
1143
- },
1119
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`CloudHsmClusterNotRelatedException`, 400] },
1144
1120
  [_m],
1145
1121
  [0],
1146
1122
  ];
@@ -1149,11 +1125,7 @@ var ConflictException = [
1149
1125
  -3,
1150
1126
  n0,
1151
1127
  _CE,
1152
- {
1153
- [_e]: _c,
1154
- [_hE]: 409,
1155
- [_aQE]: [`ConflictException`, 409],
1156
- },
1128
+ { [_e]: _c, [_hE]: 409, [_aQE]: [`ConflictException`, 409] },
1157
1129
  [_m],
1158
1130
  [0],
1159
1131
  ];
@@ -1192,11 +1164,7 @@ var CustomKeyStoreHasCMKsException = [
1192
1164
  -3,
1193
1165
  n0,
1194
1166
  _CKSHCMKE,
1195
- {
1196
- [_e]: _c,
1197
- [_hE]: 400,
1198
- [_aQE]: [`CustomKeyStoreHasCMKsException`, 400],
1199
- },
1167
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`CustomKeyStoreHasCMKsException`, 400] },
1200
1168
  [_m],
1201
1169
  [0],
1202
1170
  ];
@@ -1205,11 +1173,7 @@ var CustomKeyStoreInvalidStateException = [
1205
1173
  -3,
1206
1174
  n0,
1207
1175
  _CKSISE,
1208
- {
1209
- [_e]: _c,
1210
- [_hE]: 400,
1211
- [_aQE]: [`CustomKeyStoreInvalidStateException`, 400],
1212
- },
1176
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`CustomKeyStoreInvalidStateException`, 400] },
1213
1177
  [_m],
1214
1178
  [0],
1215
1179
  ];
@@ -1218,11 +1182,7 @@ var CustomKeyStoreNameInUseException = [
1218
1182
  -3,
1219
1183
  n0,
1220
1184
  _CKSNIUE,
1221
- {
1222
- [_e]: _c,
1223
- [_hE]: 400,
1224
- [_aQE]: [`CustomKeyStoreNameInUseException`, 400],
1225
- },
1185
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`CustomKeyStoreNameInUseException`, 400] },
1226
1186
  [_m],
1227
1187
  [0],
1228
1188
  ];
@@ -1231,11 +1191,7 @@ var CustomKeyStoreNotFoundException = [
1231
1191
  -3,
1232
1192
  n0,
1233
1193
  _CKSNFE,
1234
- {
1235
- [_e]: _c,
1236
- [_hE]: 400,
1237
- [_aQE]: [`CustomKeyStoreNotFoundException`, 400],
1238
- },
1194
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`CustomKeyStoreNotFoundException`, 400] },
1239
1195
  [_m],
1240
1196
  [0],
1241
1197
  ];
@@ -1273,11 +1229,7 @@ var DependencyTimeoutException = [
1273
1229
  -3,
1274
1230
  n0,
1275
1231
  _DTE,
1276
- {
1277
- [_e]: _s,
1278
- [_hE]: 503,
1279
- [_aQE]: [`DependencyTimeout`, 503],
1280
- },
1232
+ { [_e]: _s, [_hE]: 503, [_aQE]: [`DependencyTimeout`, 503] },
1281
1233
  [_m],
1282
1234
  [0],
1283
1235
  ];
@@ -1320,11 +1272,7 @@ var DisabledException = [
1320
1272
  -3,
1321
1273
  n0,
1322
1274
  _DE,
1323
- {
1324
- [_e]: _c,
1325
- [_hE]: 409,
1326
- [_aQE]: [`Disabled`, 409],
1327
- },
1275
+ { [_e]: _c, [_hE]: 409, [_aQE]: [`Disabled`, 409] },
1328
1276
  [_m],
1329
1277
  [0],
1330
1278
  ];
@@ -1337,11 +1285,7 @@ var DryRunOperationException = [
1337
1285
  -3,
1338
1286
  n0,
1339
1287
  _DROE,
1340
- {
1341
- [_e]: _c,
1342
- [_hE]: 412,
1343
- [_aQE]: [`DryRunOperation`, 412],
1344
- },
1288
+ { [_e]: _c, [_hE]: 412, [_aQE]: [`DryRunOperation`, 412] },
1345
1289
  [_m],
1346
1290
  [0],
1347
1291
  ];
@@ -1361,11 +1305,7 @@ var ExpiredImportTokenException = [
1361
1305
  -3,
1362
1306
  n0,
1363
1307
  _EITE,
1364
- {
1365
- [_e]: _c,
1366
- [_hE]: 400,
1367
- [_aQE]: [`ExpiredImportTokenException`, 400],
1368
- },
1308
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`ExpiredImportTokenException`, 400] },
1369
1309
  [_m],
1370
1310
  [0],
1371
1311
  ];
@@ -1510,11 +1450,7 @@ var IncorrectKeyException = [
1510
1450
  -3,
1511
1451
  n0,
1512
1452
  _IKE,
1513
- {
1514
- [_e]: _c,
1515
- [_hE]: 400,
1516
- [_aQE]: [`IncorrectKeyException`, 400],
1517
- },
1453
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`IncorrectKeyException`, 400] },
1518
1454
  [_m],
1519
1455
  [0],
1520
1456
  ];
@@ -1523,11 +1459,7 @@ var IncorrectKeyMaterialException = [
1523
1459
  -3,
1524
1460
  n0,
1525
1461
  _IKME,
1526
- {
1527
- [_e]: _c,
1528
- [_hE]: 400,
1529
- [_aQE]: [`IncorrectKeyMaterialException`, 400],
1530
- },
1462
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`IncorrectKeyMaterialException`, 400] },
1531
1463
  [_m],
1532
1464
  [0],
1533
1465
  ];
@@ -1536,11 +1468,7 @@ var IncorrectTrustAnchorException = [
1536
1468
  -3,
1537
1469
  n0,
1538
1470
  _ITAE,
1539
- {
1540
- [_e]: _c,
1541
- [_hE]: 400,
1542
- [_aQE]: [`IncorrectTrustAnchorException`, 400],
1543
- },
1471
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`IncorrectTrustAnchorException`, 400] },
1544
1472
  [_m],
1545
1473
  [0],
1546
1474
  ];
@@ -1549,11 +1477,7 @@ var InvalidAliasNameException = [
1549
1477
  -3,
1550
1478
  n0,
1551
1479
  _IANE,
1552
- {
1553
- [_e]: _c,
1554
- [_hE]: 400,
1555
- [_aQE]: [`InvalidAliasName`, 400],
1556
- },
1480
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidAliasName`, 400] },
1557
1481
  [_m],
1558
1482
  [0],
1559
1483
  ];
@@ -1562,11 +1486,7 @@ var InvalidArnException = [
1562
1486
  -3,
1563
1487
  n0,
1564
1488
  _IAE,
1565
- {
1566
- [_e]: _c,
1567
- [_hE]: 400,
1568
- [_aQE]: [`InvalidArn`, 400],
1569
- },
1489
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidArn`, 400] },
1570
1490
  [_m],
1571
1491
  [0],
1572
1492
  ];
@@ -1575,11 +1495,7 @@ var InvalidCiphertextException = [
1575
1495
  -3,
1576
1496
  n0,
1577
1497
  _ICE,
1578
- {
1579
- [_e]: _c,
1580
- [_hE]: 400,
1581
- [_aQE]: [`InvalidCiphertext`, 400],
1582
- },
1498
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidCiphertext`, 400] },
1583
1499
  [_m],
1584
1500
  [0],
1585
1501
  ];
@@ -1588,11 +1504,7 @@ var InvalidGrantIdException = [
1588
1504
  -3,
1589
1505
  n0,
1590
1506
  _IGIE,
1591
- {
1592
- [_e]: _c,
1593
- [_hE]: 400,
1594
- [_aQE]: [`InvalidGrantId`, 400],
1595
- },
1507
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidGrantId`, 400] },
1596
1508
  [_m],
1597
1509
  [0],
1598
1510
  ];
@@ -1601,11 +1513,7 @@ var InvalidGrantTokenException = [
1601
1513
  -3,
1602
1514
  n0,
1603
1515
  _IGTE,
1604
- {
1605
- [_e]: _c,
1606
- [_hE]: 400,
1607
- [_aQE]: [`InvalidGrantToken`, 400],
1608
- },
1516
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidGrantToken`, 400] },
1609
1517
  [_m],
1610
1518
  [0],
1611
1519
  ];
@@ -1614,11 +1522,7 @@ var InvalidImportTokenException = [
1614
1522
  -3,
1615
1523
  n0,
1616
1524
  _IITE,
1617
- {
1618
- [_e]: _c,
1619
- [_hE]: 400,
1620
- [_aQE]: [`InvalidImportTokenException`, 400],
1621
- },
1525
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidImportTokenException`, 400] },
1622
1526
  [_m],
1623
1527
  [0],
1624
1528
  ];
@@ -1627,11 +1531,7 @@ var InvalidKeyUsageException = [
1627
1531
  -3,
1628
1532
  n0,
1629
1533
  _IKUE,
1630
- {
1631
- [_e]: _c,
1632
- [_hE]: 400,
1633
- [_aQE]: [`InvalidKeyUsage`, 400],
1634
- },
1534
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidKeyUsage`, 400] },
1635
1535
  [_m],
1636
1536
  [0],
1637
1537
  ];
@@ -1640,11 +1540,7 @@ var InvalidMarkerException = [
1640
1540
  -3,
1641
1541
  n0,
1642
1542
  _IME,
1643
- {
1644
- [_e]: _c,
1645
- [_hE]: 400,
1646
- [_aQE]: [`InvalidMarker`, 400],
1647
- },
1543
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidMarker`, 400] },
1648
1544
  [_m],
1649
1545
  [0],
1650
1546
  ];
@@ -1716,11 +1612,7 @@ var KeyUnavailableException = [
1716
1612
  -3,
1717
1613
  n0,
1718
1614
  _KUE,
1719
- {
1720
- [_e]: _s,
1721
- [_hE]: 500,
1722
- [_aQE]: [`KeyUnavailable`, 500],
1723
- },
1615
+ { [_e]: _s, [_hE]: 500, [_aQE]: [`KeyUnavailable`, 500] },
1724
1616
  [_m],
1725
1617
  [0],
1726
1618
  ];
@@ -1729,11 +1621,7 @@ var KMSInternalException = [
1729
1621
  -3,
1730
1622
  n0,
1731
1623
  _KMSIE,
1732
- {
1733
- [_e]: _s,
1734
- [_hE]: 500,
1735
- [_aQE]: [`KMSInternal`, 500],
1736
- },
1624
+ { [_e]: _s, [_hE]: 500, [_aQE]: [`KMSInternal`, 500] },
1737
1625
  [_m],
1738
1626
  [0],
1739
1627
  ];
@@ -1742,11 +1630,7 @@ var KMSInvalidMacException = [
1742
1630
  -3,
1743
1631
  n0,
1744
1632
  _KMSIME,
1745
- {
1746
- [_e]: _c,
1747
- [_hE]: 400,
1748
- [_aQE]: [`KMSInvalidMac`, 400],
1749
- },
1633
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`KMSInvalidMac`, 400] },
1750
1634
  [_m],
1751
1635
  [0],
1752
1636
  ];
@@ -1755,11 +1639,7 @@ var KMSInvalidSignatureException = [
1755
1639
  -3,
1756
1640
  n0,
1757
1641
  _KMSISE,
1758
- {
1759
- [_e]: _c,
1760
- [_hE]: 400,
1761
- [_aQE]: [`KMSInvalidSignature`, 400],
1762
- },
1642
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`KMSInvalidSignature`, 400] },
1763
1643
  [_m],
1764
1644
  [0],
1765
1645
  ];
@@ -1768,11 +1648,7 @@ var KMSInvalidStateException = [
1768
1648
  -3,
1769
1649
  n0,
1770
1650
  _KMSISEn,
1771
- {
1772
- [_e]: _c,
1773
- [_hE]: 409,
1774
- [_aQE]: [`KMSInvalidStateException`, 409],
1775
- },
1651
+ { [_e]: _c, [_hE]: 409, [_aQE]: [`KMSInvalidStateException`, 409] },
1776
1652
  [_m],
1777
1653
  [0],
1778
1654
  ];
@@ -1781,11 +1657,7 @@ var LimitExceededException = [
1781
1657
  -3,
1782
1658
  n0,
1783
1659
  _LEE,
1784
- {
1785
- [_e]: _c,
1786
- [_hE]: 400,
1787
- [_aQE]: [`LimitExceeded`, 400],
1788
- },
1660
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`LimitExceeded`, 400] },
1789
1661
  [_m],
1790
1662
  [0],
1791
1663
  ];
@@ -1814,11 +1686,7 @@ var MalformedPolicyDocumentException = [
1814
1686
  -3,
1815
1687
  n0,
1816
1688
  _MPDE,
1817
- {
1818
- [_e]: _c,
1819
- [_hE]: 400,
1820
- [_aQE]: [`MalformedPolicyDocument`, 400],
1821
- },
1689
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`MalformedPolicyDocument`, 400] },
1822
1690
  [_m],
1823
1691
  [0],
1824
1692
  ];
@@ -1836,11 +1704,7 @@ var NotFoundException = [
1836
1704
  -3,
1837
1705
  n0,
1838
1706
  _NFE,
1839
- {
1840
- [_e]: _c,
1841
- [_hE]: 404,
1842
- [_aQE]: [`NotFound`, 404],
1843
- },
1707
+ { [_e]: _c, [_hE]: 404, [_aQE]: [`NotFound`, 404] },
1844
1708
  [_m],
1845
1709
  [0],
1846
1710
  ];
@@ -1914,11 +1778,7 @@ var TagException = [
1914
1778
  -3,
1915
1779
  n0,
1916
1780
  _TE,
1917
- {
1918
- [_e]: _c,
1919
- [_hE]: 400,
1920
- [_aQE]: [`TagException`, 400],
1921
- },
1781
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`TagException`, 400] },
1922
1782
  [_m],
1923
1783
  [0],
1924
1784
  ];
@@ -1928,11 +1788,7 @@ var UnsupportedOperationException = [
1928
1788
  -3,
1929
1789
  n0,
1930
1790
  _UOE,
1931
- {
1932
- [_e]: _c,
1933
- [_hE]: 400,
1934
- [_aQE]: [`UnsupportedOperation`, 400],
1935
- },
1791
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`UnsupportedOperation`, 400] },
1936
1792
  [_m],
1937
1793
  [0],
1938
1794
  ];
@@ -1972,11 +1828,7 @@ var XksKeyAlreadyInUseException = [
1972
1828
  -3,
1973
1829
  n0,
1974
1830
  _XKAIUE,
1975
- {
1976
- [_e]: _c,
1977
- [_hE]: 400,
1978
- [_aQE]: [`XksKeyAlreadyInUse`, 400],
1979
- },
1831
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`XksKeyAlreadyInUse`, 400] },
1980
1832
  [_m],
1981
1833
  [0],
1982
1834
  ];
@@ -1986,11 +1838,7 @@ var XksKeyInvalidConfigurationException = [
1986
1838
  -3,
1987
1839
  n0,
1988
1840
  _XKICE,
1989
- {
1990
- [_e]: _c,
1991
- [_hE]: 400,
1992
- [_aQE]: [`XksKeyInvalidConfiguration`, 400],
1993
- },
1841
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`XksKeyInvalidConfiguration`, 400] },
1994
1842
  [_m],
1995
1843
  [0],
1996
1844
  ];
@@ -1999,11 +1847,7 @@ var XksKeyNotFoundException = [
1999
1847
  -3,
2000
1848
  n0,
2001
1849
  _XKNFE,
2002
- {
2003
- [_e]: _c,
2004
- [_hE]: 400,
2005
- [_aQE]: [`XksKeyNotFoundException`, 400],
2006
- },
1850
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`XksKeyNotFoundException`, 400] },
2007
1851
  [_m],
2008
1852
  [0],
2009
1853
  ];
@@ -2031,11 +1875,7 @@ var XksProxyIncorrectAuthenticationCredentialException = [
2031
1875
  -3,
2032
1876
  n0,
2033
1877
  _XPIACE,
2034
- {
2035
- [_e]: _c,
2036
- [_hE]: 400,
2037
- [_aQE]: [`XksProxyIncorrectAuthenticationCredentialException`, 400],
2038
- },
1878
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`XksProxyIncorrectAuthenticationCredentialException`, 400] },
2039
1879
  [_m],
2040
1880
  [0],
2041
1881
  ];
@@ -2044,11 +1884,7 @@ var XksProxyInvalidConfigurationException = [
2044
1884
  -3,
2045
1885
  n0,
2046
1886
  _XPICE,
2047
- {
2048
- [_e]: _c,
2049
- [_hE]: 400,
2050
- [_aQE]: [`XksProxyInvalidConfigurationException`, 400],
2051
- },
1887
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`XksProxyInvalidConfigurationException`, 400] },
2052
1888
  [_m],
2053
1889
  [0],
2054
1890
  ];
@@ -2057,11 +1893,7 @@ var XksProxyInvalidResponseException = [
2057
1893
  -3,
2058
1894
  n0,
2059
1895
  _XPIRE,
2060
- {
2061
- [_e]: _c,
2062
- [_hE]: 400,
2063
- [_aQE]: [`XksProxyInvalidResponseException`, 400],
2064
- },
1896
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`XksProxyInvalidResponseException`, 400] },
2065
1897
  [_m],
2066
1898
  [0],
2067
1899
  ];
@@ -2070,11 +1902,7 @@ var XksProxyUriEndpointInUseException = [
2070
1902
  -3,
2071
1903
  n0,
2072
1904
  _XPUEIUE,
2073
- {
2074
- [_e]: _c,
2075
- [_hE]: 400,
2076
- [_aQE]: [`XksProxyUriEndpointInUseException`, 400],
2077
- },
1905
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`XksProxyUriEndpointInUseException`, 400] },
2078
1906
  [_m],
2079
1907
  [0],
2080
1908
  ];
@@ -2083,11 +1911,7 @@ var XksProxyUriInUseException = [
2083
1911
  -3,
2084
1912
  n0,
2085
1913
  _XPUIUE,
2086
- {
2087
- [_e]: _c,
2088
- [_hE]: 400,
2089
- [_aQE]: [`XksProxyUriInUseException`, 400],
2090
- },
1914
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`XksProxyUriInUseException`, 400] },
2091
1915
  [_m],
2092
1916
  [0],
2093
1917
  ];
@@ -2096,11 +1920,7 @@ var XksProxyUriUnreachableException = [
2096
1920
  -3,
2097
1921
  n0,
2098
1922
  _XPUUE,
2099
- {
2100
- [_e]: _c,
2101
- [_hE]: 400,
2102
- [_aQE]: [`XksProxyUriUnreachableException`, 400],
2103
- },
1923
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`XksProxyUriUnreachableException`, 400] },
2104
1924
  [_m],
2105
1925
  [0],
2106
1926
  ];
@@ -2109,11 +1929,7 @@ var XksProxyVpcEndpointServiceInUseException = [
2109
1929
  -3,
2110
1930
  n0,
2111
1931
  _XPVESIUE,
2112
- {
2113
- [_e]: _c,
2114
- [_hE]: 400,
2115
- [_aQE]: [`XksProxyVpcEndpointServiceInUseException`, 400],
2116
- },
1932
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`XksProxyVpcEndpointServiceInUseException`, 400] },
2117
1933
  [_m],
2118
1934
  [0],
2119
1935
  ];
@@ -2122,11 +1938,7 @@ var XksProxyVpcEndpointServiceInvalidConfigurationException = [
2122
1938
  -3,
2123
1939
  n0,
2124
1940
  _XPVESICE,
2125
- {
2126
- [_e]: _c,
2127
- [_hE]: 400,
2128
- [_aQE]: [`XksProxyVpcEndpointServiceInvalidConfigurationException`, 400],
2129
- },
1941
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`XksProxyVpcEndpointServiceInvalidConfigurationException`, 400] },
2130
1942
  [_m],
2131
1943
  [0],
2132
1944
  ];
@@ -2135,11 +1947,7 @@ var XksProxyVpcEndpointServiceNotFoundException = [
2135
1947
  -3,
2136
1948
  n0,
2137
1949
  _XPVESNFE,
2138
- {
2139
- [_e]: _c,
2140
- [_hE]: 400,
2141
- [_aQE]: [`XksProxyVpcEndpointServiceNotFoundException`, 400],
2142
- },
1950
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`XksProxyVpcEndpointServiceNotFoundException`, 400] },
2143
1951
  [_m],
2144
1952
  [0],
2145
1953
  ];
@@ -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 { defaultKMSHttpAuthSchemeParametersProvider, 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);