@aws-sdk/client-license-manager 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 (89) hide show
  1. package/dist-cjs/index.js +20 -134
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/LicenseManagerClient.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 -135
  8. package/dist-types/LicenseManager.d.ts +1 -1
  9. package/dist-types/LicenseManagerClient.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/AcceptGrantCommand.d.ts +3 -3
  13. package/dist-types/commands/CheckInLicenseCommand.d.ts +3 -3
  14. package/dist-types/commands/CheckoutBorrowLicenseCommand.d.ts +3 -3
  15. package/dist-types/commands/CheckoutLicenseCommand.d.ts +3 -3
  16. package/dist-types/commands/CreateGrantCommand.d.ts +3 -3
  17. package/dist-types/commands/CreateGrantVersionCommand.d.ts +3 -3
  18. package/dist-types/commands/CreateLicenseAssetGroupCommand.d.ts +3 -3
  19. package/dist-types/commands/CreateLicenseAssetRulesetCommand.d.ts +3 -3
  20. package/dist-types/commands/CreateLicenseCommand.d.ts +3 -3
  21. package/dist-types/commands/CreateLicenseConfigurationCommand.d.ts +3 -3
  22. package/dist-types/commands/CreateLicenseConversionTaskForResourceCommand.d.ts +3 -3
  23. package/dist-types/commands/CreateLicenseManagerReportGeneratorCommand.d.ts +3 -3
  24. package/dist-types/commands/CreateLicenseVersionCommand.d.ts +3 -3
  25. package/dist-types/commands/CreateTokenCommand.d.ts +3 -3
  26. package/dist-types/commands/DeleteGrantCommand.d.ts +3 -3
  27. package/dist-types/commands/DeleteLicenseAssetGroupCommand.d.ts +3 -3
  28. package/dist-types/commands/DeleteLicenseAssetRulesetCommand.d.ts +3 -3
  29. package/dist-types/commands/DeleteLicenseCommand.d.ts +3 -3
  30. package/dist-types/commands/DeleteLicenseConfigurationCommand.d.ts +3 -3
  31. package/dist-types/commands/DeleteLicenseManagerReportGeneratorCommand.d.ts +3 -3
  32. package/dist-types/commands/DeleteTokenCommand.d.ts +3 -3
  33. package/dist-types/commands/ExtendLicenseConsumptionCommand.d.ts +3 -3
  34. package/dist-types/commands/GetAccessTokenCommand.d.ts +3 -3
  35. package/dist-types/commands/GetGrantCommand.d.ts +3 -3
  36. package/dist-types/commands/GetLicenseAssetGroupCommand.d.ts +3 -3
  37. package/dist-types/commands/GetLicenseAssetRulesetCommand.d.ts +3 -3
  38. package/dist-types/commands/GetLicenseCommand.d.ts +3 -3
  39. package/dist-types/commands/GetLicenseConfigurationCommand.d.ts +3 -3
  40. package/dist-types/commands/GetLicenseConversionTaskCommand.d.ts +3 -3
  41. package/dist-types/commands/GetLicenseManagerReportGeneratorCommand.d.ts +3 -3
  42. package/dist-types/commands/GetLicenseUsageCommand.d.ts +3 -3
  43. package/dist-types/commands/GetServiceSettingsCommand.d.ts +3 -3
  44. package/dist-types/commands/ListAssetsForLicenseAssetGroupCommand.d.ts +3 -3
  45. package/dist-types/commands/ListAssociationsForLicenseConfigurationCommand.d.ts +3 -3
  46. package/dist-types/commands/ListDistributedGrantsCommand.d.ts +3 -3
  47. package/dist-types/commands/ListFailuresForLicenseConfigurationOperationsCommand.d.ts +3 -3
  48. package/dist-types/commands/ListLicenseAssetGroupsCommand.d.ts +3 -3
  49. package/dist-types/commands/ListLicenseAssetRulesetsCommand.d.ts +3 -3
  50. package/dist-types/commands/ListLicenseConfigurationsCommand.d.ts +3 -3
  51. package/dist-types/commands/ListLicenseConfigurationsForOrganizationCommand.d.ts +3 -3
  52. package/dist-types/commands/ListLicenseConversionTasksCommand.d.ts +3 -3
  53. package/dist-types/commands/ListLicenseManagerReportGeneratorsCommand.d.ts +3 -3
  54. package/dist-types/commands/ListLicenseSpecificationsForResourceCommand.d.ts +3 -3
  55. package/dist-types/commands/ListLicenseVersionsCommand.d.ts +3 -3
  56. package/dist-types/commands/ListLicensesCommand.d.ts +3 -3
  57. package/dist-types/commands/ListReceivedGrantsCommand.d.ts +3 -3
  58. package/dist-types/commands/ListReceivedGrantsForOrganizationCommand.d.ts +3 -3
  59. package/dist-types/commands/ListReceivedLicensesCommand.d.ts +3 -3
  60. package/dist-types/commands/ListReceivedLicensesForOrganizationCommand.d.ts +3 -3
  61. package/dist-types/commands/ListResourceInventoryCommand.d.ts +3 -3
  62. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  63. package/dist-types/commands/ListTokensCommand.d.ts +3 -3
  64. package/dist-types/commands/ListUsageForLicenseConfigurationCommand.d.ts +3 -3
  65. package/dist-types/commands/RejectGrantCommand.d.ts +3 -3
  66. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  67. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  68. package/dist-types/commands/UpdateLicenseAssetGroupCommand.d.ts +3 -3
  69. package/dist-types/commands/UpdateLicenseAssetRulesetCommand.d.ts +3 -3
  70. package/dist-types/commands/UpdateLicenseConfigurationCommand.d.ts +3 -3
  71. package/dist-types/commands/UpdateLicenseManagerReportGeneratorCommand.d.ts +3 -3
  72. package/dist-types/commands/UpdateLicenseSpecificationsForResourceCommand.d.ts +3 -3
  73. package/dist-types/commands/UpdateServiceSettingsCommand.d.ts +3 -3
  74. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  75. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  76. package/dist-types/extensionConfiguration.d.ts +4 -4
  77. package/dist-types/models/LicenseManagerServiceException.d.ts +1 -1
  78. package/dist-types/models/errors.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 -2
  85. package/dist-types/ts3.4/LicenseManagerClient.d.ts +3 -3
  86. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  87. package/dist-types/ts3.4/models/LicenseManagerServiceException.d.ts +1 -1
  88. package/dist-types/ts3.4/schemas/schemas_0.d.ts +0 -1
  89. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -846,11 +846,7 @@ var AccessDeniedException = [
846
846
  -3,
847
847
  n0,
848
848
  _ADE,
849
- {
850
- [_e]: _c,
851
- [_hE]: 401,
852
- [_aQE]: [`ServiceAccessDenied`, 401],
853
- },
849
+ { [_e]: _c, [_hE]: 401, [_aQE]: [`ServiceAccessDenied`, 401] },
854
850
  [_M],
855
851
  [0],
856
852
  ];
@@ -868,11 +864,7 @@ var AuthorizationException = [
868
864
  -3,
869
865
  n0,
870
866
  _AE,
871
- {
872
- [_e]: _c,
873
- [_hE]: 403,
874
- [_aQE]: [`AuthorizationFailure`, 403],
875
- },
867
+ { [_e]: _c, [_hE]: 403, [_aQE]: [`AuthorizationFailure`, 403] },
876
868
  [_M],
877
869
  [0],
878
870
  ];
@@ -917,11 +909,7 @@ var ConflictException = [
917
909
  -3,
918
910
  n0,
919
911
  _CE,
920
- {
921
- [_e]: _c,
922
- [_hE]: 409,
923
- [_aQE]: [`ConflictException`, 409],
924
- },
912
+ { [_e]: _c, [_hE]: 409, [_aQE]: [`ConflictException`, 409] },
925
913
  [_M],
926
914
  [0],
927
915
  ];
@@ -1070,17 +1058,7 @@ var DeleteTokenRequest = [3, n0, _DTR, 0, [_TI], [0]];
1070
1058
  var DeleteTokenResponse = [3, n0, _DTRe, 0, [], []];
1071
1059
  var Entitlement = [3, n0, _Ent, 0, [_N, _Val, _MC, _Ov, _U, _ACI], [0, 0, 1, 2, 0, 2]];
1072
1060
  var EntitlementData = [3, n0, _ED, 0, [_N, _Val, _U], [0, 0, 0]];
1073
- var EntitlementNotAllowedException = [
1074
- -3,
1075
- n0,
1076
- _ENAE,
1077
- {
1078
- [_e]: _c,
1079
- [_hE]: 400,
1080
- },
1081
- [_M],
1082
- [0],
1083
- ];
1061
+ var EntitlementNotAllowedException = [-3, n0, _ENAE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
1084
1062
  schema.TypeRegistry.for(n0).registerError(EntitlementNotAllowedException, EntitlementNotAllowedException$1);
1085
1063
  var EntitlementUsage = [3, n0, _EU, 0, [_N, _CV, _MC, _U], [0, 0, 0, 0]];
1086
1064
  var ExtendLicenseConsumptionRequest = [3, n0, _ELCR, 0, [_LCT, _DRr], [0, 2]];
@@ -1089,11 +1067,7 @@ var FailedDependencyException = [
1089
1067
  -3,
1090
1068
  n0,
1091
1069
  _FDE,
1092
- {
1093
- [_e]: _c,
1094
- [_hE]: 424,
1095
- [_aQE]: [`FailedDependency`, 424],
1096
- },
1070
+ { [_e]: _c, [_hE]: 424, [_aQE]: [`FailedDependency`, 424] },
1097
1071
  [_M, _EC],
1098
1072
  [0, 0],
1099
1073
  ];
@@ -1103,11 +1077,7 @@ var FilterLimitExceededException = [
1103
1077
  -3,
1104
1078
  n0,
1105
1079
  _FLEE,
1106
- {
1107
- [_e]: _c,
1108
- [_hE]: 400,
1109
- [_aQE]: [`FilterLimitExceeded`, 400],
1110
- },
1080
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`FilterLimitExceeded`, 400] },
1111
1081
  [_M],
1112
1082
  [0],
1113
1083
  ];
@@ -1230,11 +1200,7 @@ var InvalidParameterValueException = [
1230
1200
  -3,
1231
1201
  n0,
1232
1202
  _IPVE,
1233
- {
1234
- [_e]: _c,
1235
- [_hE]: 400,
1236
- [_aQE]: [`InvalidParameterValueProvided`, 400],
1237
- },
1203
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidParameterValueProvided`, 400] },
1238
1204
  [_M],
1239
1205
  [0],
1240
1206
  ];
@@ -1243,11 +1209,7 @@ var InvalidResourceStateException = [
1243
1209
  -3,
1244
1210
  n0,
1245
1211
  _IRSE,
1246
- {
1247
- [_e]: _c,
1248
- [_hE]: 400,
1249
- [_aQE]: [`InvalidResourceState`, 400],
1250
- },
1212
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidResourceState`, 400] },
1251
1213
  [_M],
1252
1214
  [0],
1253
1215
  ];
@@ -1378,11 +1340,7 @@ var LicenseUsageException = [
1378
1340
  -3,
1379
1341
  n0,
1380
1342
  _LUE,
1381
- {
1382
- [_e]: _c,
1383
- [_hE]: 412,
1384
- [_aQE]: [`LicenseUsageFailure`, 412],
1385
- },
1343
+ { [_e]: _c, [_hE]: 412, [_aQE]: [`LicenseUsageFailure`, 412] },
1386
1344
  [_M],
1387
1345
  [0],
1388
1346
  ];
@@ -1670,17 +1628,7 @@ var ListUsageForLicenseConfigurationResponse = [
1670
1628
  var ManagedResourceSummary = [3, n0, _MRSan, 0, [_RT, _AC], [0, 1]];
1671
1629
  var MatchingRuleStatement = [3, n0, _MRSa, 0, [_KTM, _Co, _VTM], [0, 0, 64 | 0]];
1672
1630
  var Metadata = [3, n0, _Me, 0, [_N, _Val], [0, 0]];
1673
- var NoEntitlementsAllowedException = [
1674
- -3,
1675
- n0,
1676
- _NEAE,
1677
- {
1678
- [_e]: _c,
1679
- [_hE]: 400,
1680
- },
1681
- [_M],
1682
- [0],
1683
- ];
1631
+ var NoEntitlementsAllowedException = [-3, n0, _NEAE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
1684
1632
  schema.TypeRegistry.for(n0).registerError(NoEntitlementsAllowedException, NoEntitlementsAllowedException$1);
1685
1633
  var Options = [3, n0, _O, 0, [_AOB], [0]];
1686
1634
  var OrganizationConfiguration = [3, n0, _OC, 0, [_EI], [2]];
@@ -1707,11 +1655,7 @@ var RateLimitExceededException = [
1707
1655
  -3,
1708
1656
  n0,
1709
1657
  _RLEE,
1710
- {
1711
- [_e]: _c,
1712
- [_hE]: 429,
1713
- [_aQE]: [`RateLimitExceeded`, 429],
1714
- },
1658
+ { [_e]: _c, [_hE]: 429, [_aQE]: [`RateLimitExceeded`, 429] },
1715
1659
  [_M],
1716
1660
  [0],
1717
1661
  ];
@@ -1721,20 +1665,9 @@ var RedirectException = [
1721
1665
  -3,
1722
1666
  n0,
1723
1667
  _RE,
1724
- {
1725
- [_e]: _c,
1726
- [_hE]: 308,
1727
- },
1668
+ { [_e]: _c, [_hE]: 308 },
1728
1669
  [_Lo, _M],
1729
- [
1730
- [
1731
- 0,
1732
- {
1733
- [_hH]: _Lo,
1734
- },
1735
- ],
1736
- 0,
1737
- ],
1670
+ [[0, { [_hH]: _Lo }], 0],
1738
1671
  ];
1739
1672
  schema.TypeRegistry.for(n0).registerError(RedirectException, RedirectException$1);
1740
1673
  var RegionStatus = [3, n0, _RSeg, 0, [_S], [0]];
@@ -1762,11 +1695,7 @@ var ResourceLimitExceededException = [
1762
1695
  -3,
1763
1696
  n0,
1764
1697
  _RLEEe,
1765
- {
1766
- [_e]: _c,
1767
- [_hE]: 400,
1768
- [_aQE]: [`ResourceLimitExceeded`, 400],
1769
- },
1698
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`ResourceLimitExceeded`, 400] },
1770
1699
  [_M],
1771
1700
  [0],
1772
1701
  ];
@@ -1775,11 +1704,7 @@ var ResourceNotFoundException = [
1775
1704
  -3,
1776
1705
  n0,
1777
1706
  _RNFE,
1778
- {
1779
- [_e]: _c,
1780
- [_hE]: 400,
1781
- [_aQE]: [`InvalidResource.NotFound`, 400],
1782
- },
1707
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidResource.NotFound`, 400] },
1783
1708
  [_M],
1784
1709
  [0],
1785
1710
  ];
@@ -1798,11 +1723,7 @@ var ServerInternalException = [
1798
1723
  -3,
1799
1724
  n0,
1800
1725
  _SIE,
1801
- {
1802
- [_e]: _s,
1803
- [_hE]: 500,
1804
- [_aQE]: [`InternalError`, 500],
1805
- },
1726
+ { [_e]: _s, [_hE]: 500, [_aQE]: [`InternalError`, 500] },
1806
1727
  [_M],
1807
1728
  [0],
1808
1729
  ];
@@ -1830,10 +1751,7 @@ var UnsupportedDigitalSignatureMethodException = [
1830
1751
  -3,
1831
1752
  n0,
1832
1753
  _UDSME,
1833
- {
1834
- [_e]: _c,
1835
- [_hE]: 400,
1836
- },
1754
+ { [_e]: _c, [_hE]: 400 },
1837
1755
  [_M],
1838
1756
  [0],
1839
1757
  ];
@@ -1894,17 +1812,7 @@ var UpdateServiceSettingsRequest = [
1894
1812
  [0, 0, () => OrganizationConfiguration, 2, 64 | 0],
1895
1813
  ];
1896
1814
  var UpdateServiceSettingsResponse = [3, n0, _USSRp, 0, [], []];
1897
- var ValidationException = [
1898
- -3,
1899
- n0,
1900
- _VE,
1901
- {
1902
- [_e]: _c,
1903
- [_hE]: 400,
1904
- },
1905
- [_M],
1906
- [0],
1907
- ];
1815
+ var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
1908
1816
  schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1909
1817
  var LicenseManagerServiceException = [-3, _sm, "LicenseManagerServiceException", 0, [], []];
1910
1818
  schema.TypeRegistry.for(_sm).registerError(LicenseManagerServiceException, LicenseManagerServiceException$1);
@@ -1914,30 +1822,8 @@ var EntitlementDataList = [1, n0, _EDL, 0, () => EntitlementData];
1914
1822
  var EntitlementList = [1, n0, _EL, 0, () => Entitlement];
1915
1823
  var EntitlementUsageList = [1, n0, _EUL, 0, () => EntitlementUsage];
1916
1824
  var FilterList = [1, n0, _FL, 0, [() => Filter, 0]];
1917
- var Filters = [
1918
- 1,
1919
- n0,
1920
- _Fi,
1921
- 0,
1922
- [
1923
- () => Filter,
1924
- {
1925
- [_xN]: _i,
1926
- },
1927
- ],
1928
- ];
1929
- var FilterValues = [
1930
- 1,
1931
- n0,
1932
- _FV,
1933
- 0,
1934
- [
1935
- 0,
1936
- {
1937
- [_xN]: _i,
1938
- },
1939
- ],
1940
- ];
1825
+ var Filters = [1, n0, _Fi, 0, [() => Filter, { [_xN]: _i }]];
1826
+ var FilterValues = [1, n0, _FV, 0, [0, { [_xN]: _i }]];
1941
1827
  var GrantedLicenseList = [1, n0, _GLL, 0, () => GrantedLicense];
1942
1828
  var GrantList = [1, n0, _GLr, 0, () => Grant];
1943
1829
  var InventoryFilterList = [1, n0, _IFL, 0, () => InventoryFilter];
@@ -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 { defaultLicenseManagerHttpAuthSchemeParametersProvider, 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);
@@ -487,11 +487,7 @@ export var AccessDeniedException = [
487
487
  -3,
488
488
  n0,
489
489
  _ADE,
490
- {
491
- [_e]: _c,
492
- [_hE]: 401,
493
- [_aQE]: [`ServiceAccessDenied`, 401],
494
- },
490
+ { [_e]: _c, [_hE]: 401, [_aQE]: [`ServiceAccessDenied`, 401] },
495
491
  [_M],
496
492
  [0],
497
493
  ];
@@ -509,11 +505,7 @@ export var AuthorizationException = [
509
505
  -3,
510
506
  n0,
511
507
  _AE,
512
- {
513
- [_e]: _c,
514
- [_hE]: 403,
515
- [_aQE]: [`AuthorizationFailure`, 403],
516
- },
508
+ { [_e]: _c, [_hE]: 403, [_aQE]: [`AuthorizationFailure`, 403] },
517
509
  [_M],
518
510
  [0],
519
511
  ];
@@ -558,11 +550,7 @@ export var ConflictException = [
558
550
  -3,
559
551
  n0,
560
552
  _CE,
561
- {
562
- [_e]: _c,
563
- [_hE]: 409,
564
- [_aQE]: [`ConflictException`, 409],
565
- },
553
+ { [_e]: _c, [_hE]: 409, [_aQE]: [`ConflictException`, 409] },
566
554
  [_M],
567
555
  [0],
568
556
  ];
@@ -711,17 +699,7 @@ export var DeleteTokenRequest = [3, n0, _DTR, 0, [_TI], [0]];
711
699
  export var DeleteTokenResponse = [3, n0, _DTRe, 0, [], []];
712
700
  export var Entitlement = [3, n0, _Ent, 0, [_N, _Val, _MC, _Ov, _U, _ACI], [0, 0, 1, 2, 0, 2]];
713
701
  export var EntitlementData = [3, n0, _ED, 0, [_N, _Val, _U], [0, 0, 0]];
714
- export var EntitlementNotAllowedException = [
715
- -3,
716
- n0,
717
- _ENAE,
718
- {
719
- [_e]: _c,
720
- [_hE]: 400,
721
- },
722
- [_M],
723
- [0],
724
- ];
702
+ export var EntitlementNotAllowedException = [-3, n0, _ENAE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
725
703
  TypeRegistry.for(n0).registerError(EntitlementNotAllowedException, __EntitlementNotAllowedException);
726
704
  export var EntitlementUsage = [3, n0, _EU, 0, [_N, _CV, _MC, _U], [0, 0, 0, 0]];
727
705
  export var ExtendLicenseConsumptionRequest = [3, n0, _ELCR, 0, [_LCT, _DRr], [0, 2]];
@@ -730,11 +708,7 @@ export var FailedDependencyException = [
730
708
  -3,
731
709
  n0,
732
710
  _FDE,
733
- {
734
- [_e]: _c,
735
- [_hE]: 424,
736
- [_aQE]: [`FailedDependency`, 424],
737
- },
711
+ { [_e]: _c, [_hE]: 424, [_aQE]: [`FailedDependency`, 424] },
738
712
  [_M, _EC],
739
713
  [0, 0],
740
714
  ];
@@ -744,11 +718,7 @@ export var FilterLimitExceededException = [
744
718
  -3,
745
719
  n0,
746
720
  _FLEE,
747
- {
748
- [_e]: _c,
749
- [_hE]: 400,
750
- [_aQE]: [`FilterLimitExceeded`, 400],
751
- },
721
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`FilterLimitExceeded`, 400] },
752
722
  [_M],
753
723
  [0],
754
724
  ];
@@ -871,11 +841,7 @@ export var InvalidParameterValueException = [
871
841
  -3,
872
842
  n0,
873
843
  _IPVE,
874
- {
875
- [_e]: _c,
876
- [_hE]: 400,
877
- [_aQE]: [`InvalidParameterValueProvided`, 400],
878
- },
844
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidParameterValueProvided`, 400] },
879
845
  [_M],
880
846
  [0],
881
847
  ];
@@ -884,11 +850,7 @@ export var InvalidResourceStateException = [
884
850
  -3,
885
851
  n0,
886
852
  _IRSE,
887
- {
888
- [_e]: _c,
889
- [_hE]: 400,
890
- [_aQE]: [`InvalidResourceState`, 400],
891
- },
853
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidResourceState`, 400] },
892
854
  [_M],
893
855
  [0],
894
856
  ];
@@ -1019,11 +981,7 @@ export var LicenseUsageException = [
1019
981
  -3,
1020
982
  n0,
1021
983
  _LUE,
1022
- {
1023
- [_e]: _c,
1024
- [_hE]: 412,
1025
- [_aQE]: [`LicenseUsageFailure`, 412],
1026
- },
984
+ { [_e]: _c, [_hE]: 412, [_aQE]: [`LicenseUsageFailure`, 412] },
1027
985
  [_M],
1028
986
  [0],
1029
987
  ];
@@ -1311,17 +1269,7 @@ export var ListUsageForLicenseConfigurationResponse = [
1311
1269
  export var ManagedResourceSummary = [3, n0, _MRSan, 0, [_RT, _AC], [0, 1]];
1312
1270
  export var MatchingRuleStatement = [3, n0, _MRSa, 0, [_KTM, _Co, _VTM], [0, 0, 64 | 0]];
1313
1271
  export var Metadata = [3, n0, _Me, 0, [_N, _Val], [0, 0]];
1314
- export var NoEntitlementsAllowedException = [
1315
- -3,
1316
- n0,
1317
- _NEAE,
1318
- {
1319
- [_e]: _c,
1320
- [_hE]: 400,
1321
- },
1322
- [_M],
1323
- [0],
1324
- ];
1272
+ export var NoEntitlementsAllowedException = [-3, n0, _NEAE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
1325
1273
  TypeRegistry.for(n0).registerError(NoEntitlementsAllowedException, __NoEntitlementsAllowedException);
1326
1274
  export var Options = [3, n0, _O, 0, [_AOB], [0]];
1327
1275
  export var OrganizationConfiguration = [3, n0, _OC, 0, [_EI], [2]];
@@ -1348,11 +1296,7 @@ export var RateLimitExceededException = [
1348
1296
  -3,
1349
1297
  n0,
1350
1298
  _RLEE,
1351
- {
1352
- [_e]: _c,
1353
- [_hE]: 429,
1354
- [_aQE]: [`RateLimitExceeded`, 429],
1355
- },
1299
+ { [_e]: _c, [_hE]: 429, [_aQE]: [`RateLimitExceeded`, 429] },
1356
1300
  [_M],
1357
1301
  [0],
1358
1302
  ];
@@ -1362,20 +1306,9 @@ export var RedirectException = [
1362
1306
  -3,
1363
1307
  n0,
1364
1308
  _RE,
1365
- {
1366
- [_e]: _c,
1367
- [_hE]: 308,
1368
- },
1309
+ { [_e]: _c, [_hE]: 308 },
1369
1310
  [_Lo, _M],
1370
- [
1371
- [
1372
- 0,
1373
- {
1374
- [_hH]: _Lo,
1375
- },
1376
- ],
1377
- 0,
1378
- ],
1311
+ [[0, { [_hH]: _Lo }], 0],
1379
1312
  ];
1380
1313
  TypeRegistry.for(n0).registerError(RedirectException, __RedirectException);
1381
1314
  export var RegionStatus = [3, n0, _RSeg, 0, [_S], [0]];
@@ -1403,11 +1336,7 @@ export var ResourceLimitExceededException = [
1403
1336
  -3,
1404
1337
  n0,
1405
1338
  _RLEEe,
1406
- {
1407
- [_e]: _c,
1408
- [_hE]: 400,
1409
- [_aQE]: [`ResourceLimitExceeded`, 400],
1410
- },
1339
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`ResourceLimitExceeded`, 400] },
1411
1340
  [_M],
1412
1341
  [0],
1413
1342
  ];
@@ -1416,11 +1345,7 @@ export var ResourceNotFoundException = [
1416
1345
  -3,
1417
1346
  n0,
1418
1347
  _RNFE,
1419
- {
1420
- [_e]: _c,
1421
- [_hE]: 400,
1422
- [_aQE]: [`InvalidResource.NotFound`, 400],
1423
- },
1348
+ { [_e]: _c, [_hE]: 400, [_aQE]: [`InvalidResource.NotFound`, 400] },
1424
1349
  [_M],
1425
1350
  [0],
1426
1351
  ];
@@ -1439,11 +1364,7 @@ export var ServerInternalException = [
1439
1364
  -3,
1440
1365
  n0,
1441
1366
  _SIE,
1442
- {
1443
- [_e]: _s,
1444
- [_hE]: 500,
1445
- [_aQE]: [`InternalError`, 500],
1446
- },
1367
+ { [_e]: _s, [_hE]: 500, [_aQE]: [`InternalError`, 500] },
1447
1368
  [_M],
1448
1369
  [0],
1449
1370
  ];
@@ -1471,10 +1392,7 @@ export var UnsupportedDigitalSignatureMethodException = [
1471
1392
  -3,
1472
1393
  n0,
1473
1394
  _UDSME,
1474
- {
1475
- [_e]: _c,
1476
- [_hE]: 400,
1477
- },
1395
+ { [_e]: _c, [_hE]: 400 },
1478
1396
  [_M],
1479
1397
  [0],
1480
1398
  ];
@@ -1535,19 +1453,8 @@ export var UpdateServiceSettingsRequest = [
1535
1453
  [0, 0, () => OrganizationConfiguration, 2, 64 | 0],
1536
1454
  ];
1537
1455
  export var UpdateServiceSettingsResponse = [3, n0, _USSRp, 0, [], []];
1538
- export var ValidationException = [
1539
- -3,
1540
- n0,
1541
- _VE,
1542
- {
1543
- [_e]: _c,
1544
- [_hE]: 400,
1545
- },
1546
- [_M],
1547
- [0],
1548
- ];
1456
+ export var ValidationException = [-3, n0, _VE, { [_e]: _c, [_hE]: 400 }, [_M], [0]];
1549
1457
  TypeRegistry.for(n0).registerError(ValidationException, __ValidationException);
1550
- export var __Unit = "unit";
1551
1458
  export var LicenseManagerServiceException = [-3, _sm, "LicenseManagerServiceException", 0, [], []];
1552
1459
  TypeRegistry.for(_sm).registerError(LicenseManagerServiceException, __LicenseManagerServiceException);
1553
1460
  export var AllowedOperationList = 64 | 0;
@@ -1558,30 +1465,8 @@ export var EntitlementDataList = [1, n0, _EDL, 0, () => EntitlementData];
1558
1465
  export var EntitlementList = [1, n0, _EL, 0, () => Entitlement];
1559
1466
  export var EntitlementUsageList = [1, n0, _EUL, 0, () => EntitlementUsage];
1560
1467
  export var FilterList = [1, n0, _FL, 0, [() => Filter, 0]];
1561
- export var Filters = [
1562
- 1,
1563
- n0,
1564
- _Fi,
1565
- 0,
1566
- [
1567
- () => Filter,
1568
- {
1569
- [_xN]: _i,
1570
- },
1571
- ],
1572
- ];
1573
- export var FilterValues = [
1574
- 1,
1575
- n0,
1576
- _FV,
1577
- 0,
1578
- [
1579
- 0,
1580
- {
1581
- [_xN]: _i,
1582
- },
1583
- ],
1584
- ];
1468
+ export var Filters = [1, n0, _Fi, 0, [() => Filter, { [_xN]: _i }]];
1469
+ export var FilterValues = [1, n0, _FV, 0, [0, { [_xN]: _i }]];
1585
1470
  export var GrantedLicenseList = [1, n0, _GLL, 0, () => GrantedLicense];
1586
1471
  export var GrantList = [1, n0, _GLr, 0, () => Grant];
1587
1472
  export var InventoryFilterList = [1, n0, _IFL, 0, () => InventoryFilter];
@@ -1,4 +1,4 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { AcceptGrantCommandInput, AcceptGrantCommandOutput } from "./commands/AcceptGrantCommand";
3
3
  import { CheckInLicenseCommandInput, CheckInLicenseCommandOutput } from "./commands/CheckInLicenseCommand";
4
4
  import { CheckoutBorrowLicenseCommandInput, CheckoutBorrowLicenseCommandOutput } from "./commands/CheckoutBorrowLicenseCommand";
@@ -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 { AcceptGrantCommandInput, AcceptGrantCommandOutput } from "./commands/AcceptGrantCommand";
11
11
  import { CheckInLicenseCommandInput, CheckInLicenseCommandOutput } from "./commands/CheckInLicenseCommand";
12
12
  import { CheckoutBorrowLicenseCommandInput, CheckoutBorrowLicenseCommandOutput } from "./commands/CheckoutBorrowLicenseCommand";
@@ -70,7 +70,7 @@ import { UpdateLicenseManagerReportGeneratorCommandInput, UpdateLicenseManagerRe
70
70
  import { UpdateLicenseSpecificationsForResourceCommandInput, UpdateLicenseSpecificationsForResourceCommandOutput } from "./commands/UpdateLicenseSpecificationsForResourceCommand";
71
71
  import { UpdateServiceSettingsCommandInput, UpdateServiceSettingsCommandOutput } from "./commands/UpdateServiceSettingsCommand";
72
72
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
73
- import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
73
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
74
74
  export { __Client };
75
75
  /**
76
76
  * @public
@@ -1,5 +1,5 @@
1
- import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
- import { LicenseManagerHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
1
+ import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
2
+ import type { LicenseManagerHttpAuthSchemeProvider } 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 { LicenseManagerClientResolvedConfig } from "../LicenseManagerClient";
2
+ import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
+ import { type LicenseManagerClientResolvedConfig } from "../LicenseManagerClient";
4
4
  /**
5
5
  * @internal
6
6
  */