@aws-sdk/client-proton 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 (135) hide show
  1. package/dist-cjs/index.js +16 -111
  2. package/dist-cjs/runtimeConfig.browser.js +2 -2
  3. package/dist-cjs/runtimeConfig.js +3 -4
  4. package/dist-es/ProtonClient.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 +16 -111
  8. package/dist-types/Proton.d.ts +1 -1
  9. package/dist-types/ProtonClient.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/AcceptEnvironmentAccountConnectionCommand.d.ts +3 -3
  13. package/dist-types/commands/CancelComponentDeploymentCommand.d.ts +3 -3
  14. package/dist-types/commands/CancelEnvironmentDeploymentCommand.d.ts +3 -3
  15. package/dist-types/commands/CancelServiceInstanceDeploymentCommand.d.ts +3 -3
  16. package/dist-types/commands/CancelServicePipelineDeploymentCommand.d.ts +3 -3
  17. package/dist-types/commands/CreateComponentCommand.d.ts +3 -3
  18. package/dist-types/commands/CreateEnvironmentAccountConnectionCommand.d.ts +3 -3
  19. package/dist-types/commands/CreateEnvironmentCommand.d.ts +3 -3
  20. package/dist-types/commands/CreateEnvironmentTemplateCommand.d.ts +3 -3
  21. package/dist-types/commands/CreateEnvironmentTemplateVersionCommand.d.ts +3 -3
  22. package/dist-types/commands/CreateRepositoryCommand.d.ts +3 -3
  23. package/dist-types/commands/CreateServiceCommand.d.ts +3 -3
  24. package/dist-types/commands/CreateServiceInstanceCommand.d.ts +3 -3
  25. package/dist-types/commands/CreateServiceSyncConfigCommand.d.ts +3 -3
  26. package/dist-types/commands/CreateServiceTemplateCommand.d.ts +3 -3
  27. package/dist-types/commands/CreateServiceTemplateVersionCommand.d.ts +3 -3
  28. package/dist-types/commands/CreateTemplateSyncConfigCommand.d.ts +3 -3
  29. package/dist-types/commands/DeleteComponentCommand.d.ts +3 -3
  30. package/dist-types/commands/DeleteDeploymentCommand.d.ts +3 -3
  31. package/dist-types/commands/DeleteEnvironmentAccountConnectionCommand.d.ts +3 -3
  32. package/dist-types/commands/DeleteEnvironmentCommand.d.ts +3 -3
  33. package/dist-types/commands/DeleteEnvironmentTemplateCommand.d.ts +3 -3
  34. package/dist-types/commands/DeleteEnvironmentTemplateVersionCommand.d.ts +3 -3
  35. package/dist-types/commands/DeleteRepositoryCommand.d.ts +3 -3
  36. package/dist-types/commands/DeleteServiceCommand.d.ts +3 -3
  37. package/dist-types/commands/DeleteServiceSyncConfigCommand.d.ts +3 -3
  38. package/dist-types/commands/DeleteServiceTemplateCommand.d.ts +3 -3
  39. package/dist-types/commands/DeleteServiceTemplateVersionCommand.d.ts +3 -3
  40. package/dist-types/commands/DeleteTemplateSyncConfigCommand.d.ts +3 -3
  41. package/dist-types/commands/GetAccountSettingsCommand.d.ts +3 -3
  42. package/dist-types/commands/GetComponentCommand.d.ts +3 -3
  43. package/dist-types/commands/GetDeploymentCommand.d.ts +3 -3
  44. package/dist-types/commands/GetEnvironmentAccountConnectionCommand.d.ts +3 -3
  45. package/dist-types/commands/GetEnvironmentCommand.d.ts +3 -3
  46. package/dist-types/commands/GetEnvironmentTemplateCommand.d.ts +3 -3
  47. package/dist-types/commands/GetEnvironmentTemplateVersionCommand.d.ts +3 -3
  48. package/dist-types/commands/GetRepositoryCommand.d.ts +3 -3
  49. package/dist-types/commands/GetRepositorySyncStatusCommand.d.ts +3 -3
  50. package/dist-types/commands/GetResourcesSummaryCommand.d.ts +3 -3
  51. package/dist-types/commands/GetServiceCommand.d.ts +3 -3
  52. package/dist-types/commands/GetServiceInstanceCommand.d.ts +3 -3
  53. package/dist-types/commands/GetServiceInstanceSyncStatusCommand.d.ts +3 -3
  54. package/dist-types/commands/GetServiceSyncBlockerSummaryCommand.d.ts +3 -3
  55. package/dist-types/commands/GetServiceSyncConfigCommand.d.ts +3 -3
  56. package/dist-types/commands/GetServiceTemplateCommand.d.ts +3 -3
  57. package/dist-types/commands/GetServiceTemplateVersionCommand.d.ts +3 -3
  58. package/dist-types/commands/GetTemplateSyncConfigCommand.d.ts +3 -3
  59. package/dist-types/commands/GetTemplateSyncStatusCommand.d.ts +3 -3
  60. package/dist-types/commands/ListComponentOutputsCommand.d.ts +3 -3
  61. package/dist-types/commands/ListComponentProvisionedResourcesCommand.d.ts +3 -3
  62. package/dist-types/commands/ListComponentsCommand.d.ts +3 -3
  63. package/dist-types/commands/ListDeploymentsCommand.d.ts +3 -3
  64. package/dist-types/commands/ListEnvironmentAccountConnectionsCommand.d.ts +3 -3
  65. package/dist-types/commands/ListEnvironmentOutputsCommand.d.ts +3 -3
  66. package/dist-types/commands/ListEnvironmentProvisionedResourcesCommand.d.ts +3 -3
  67. package/dist-types/commands/ListEnvironmentTemplateVersionsCommand.d.ts +3 -3
  68. package/dist-types/commands/ListEnvironmentTemplatesCommand.d.ts +3 -3
  69. package/dist-types/commands/ListEnvironmentsCommand.d.ts +3 -3
  70. package/dist-types/commands/ListRepositoriesCommand.d.ts +3 -3
  71. package/dist-types/commands/ListRepositorySyncDefinitionsCommand.d.ts +3 -3
  72. package/dist-types/commands/ListServiceInstanceOutputsCommand.d.ts +3 -3
  73. package/dist-types/commands/ListServiceInstanceProvisionedResourcesCommand.d.ts +3 -3
  74. package/dist-types/commands/ListServiceInstancesCommand.d.ts +3 -3
  75. package/dist-types/commands/ListServicePipelineOutputsCommand.d.ts +3 -3
  76. package/dist-types/commands/ListServicePipelineProvisionedResourcesCommand.d.ts +3 -3
  77. package/dist-types/commands/ListServiceTemplateVersionsCommand.d.ts +3 -3
  78. package/dist-types/commands/ListServiceTemplatesCommand.d.ts +3 -3
  79. package/dist-types/commands/ListServicesCommand.d.ts +3 -3
  80. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -3
  81. package/dist-types/commands/NotifyResourceDeploymentStatusChangeCommand.d.ts +3 -3
  82. package/dist-types/commands/RejectEnvironmentAccountConnectionCommand.d.ts +3 -3
  83. package/dist-types/commands/TagResourceCommand.d.ts +3 -3
  84. package/dist-types/commands/UntagResourceCommand.d.ts +3 -3
  85. package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +3 -3
  86. package/dist-types/commands/UpdateComponentCommand.d.ts +3 -3
  87. package/dist-types/commands/UpdateEnvironmentAccountConnectionCommand.d.ts +3 -3
  88. package/dist-types/commands/UpdateEnvironmentCommand.d.ts +3 -3
  89. package/dist-types/commands/UpdateEnvironmentTemplateCommand.d.ts +3 -3
  90. package/dist-types/commands/UpdateEnvironmentTemplateVersionCommand.d.ts +3 -3
  91. package/dist-types/commands/UpdateServiceCommand.d.ts +3 -3
  92. package/dist-types/commands/UpdateServiceInstanceCommand.d.ts +3 -3
  93. package/dist-types/commands/UpdateServicePipelineCommand.d.ts +3 -3
  94. package/dist-types/commands/UpdateServiceSyncBlockerCommand.d.ts +3 -3
  95. package/dist-types/commands/UpdateServiceSyncConfigCommand.d.ts +3 -3
  96. package/dist-types/commands/UpdateServiceTemplateCommand.d.ts +3 -3
  97. package/dist-types/commands/UpdateServiceTemplateVersionCommand.d.ts +3 -3
  98. package/dist-types/commands/UpdateTemplateSyncConfigCommand.d.ts +3 -3
  99. package/dist-types/endpoint/EndpointParameters.d.ts +13 -1
  100. package/dist-types/endpoint/endpointResolver.d.ts +5 -2
  101. package/dist-types/extensionConfiguration.d.ts +4 -4
  102. package/dist-types/models/ProtonServiceException.d.ts +1 -1
  103. package/dist-types/models/errors.d.ts +1 -1
  104. package/dist-types/pagination/Interfaces.d.ts +1 -1
  105. package/dist-types/pagination/ListComponentOutputsPaginator.d.ts +1 -1
  106. package/dist-types/pagination/ListComponentProvisionedResourcesPaginator.d.ts +1 -1
  107. package/dist-types/pagination/ListComponentsPaginator.d.ts +1 -1
  108. package/dist-types/pagination/ListDeploymentsPaginator.d.ts +1 -1
  109. package/dist-types/pagination/ListEnvironmentAccountConnectionsPaginator.d.ts +1 -1
  110. package/dist-types/pagination/ListEnvironmentOutputsPaginator.d.ts +1 -1
  111. package/dist-types/pagination/ListEnvironmentProvisionedResourcesPaginator.d.ts +1 -1
  112. package/dist-types/pagination/ListEnvironmentTemplateVersionsPaginator.d.ts +1 -1
  113. package/dist-types/pagination/ListEnvironmentTemplatesPaginator.d.ts +1 -1
  114. package/dist-types/pagination/ListEnvironmentsPaginator.d.ts +1 -1
  115. package/dist-types/pagination/ListRepositoriesPaginator.d.ts +1 -1
  116. package/dist-types/pagination/ListRepositorySyncDefinitionsPaginator.d.ts +1 -1
  117. package/dist-types/pagination/ListServiceInstanceOutputsPaginator.d.ts +1 -1
  118. package/dist-types/pagination/ListServiceInstanceProvisionedResourcesPaginator.d.ts +1 -1
  119. package/dist-types/pagination/ListServiceInstancesPaginator.d.ts +1 -1
  120. package/dist-types/pagination/ListServicePipelineOutputsPaginator.d.ts +1 -1
  121. package/dist-types/pagination/ListServicePipelineProvisionedResourcesPaginator.d.ts +1 -1
  122. package/dist-types/pagination/ListServiceTemplateVersionsPaginator.d.ts +1 -1
  123. package/dist-types/pagination/ListServiceTemplatesPaginator.d.ts +1 -1
  124. package/dist-types/pagination/ListServicesPaginator.d.ts +1 -1
  125. package/dist-types/pagination/ListTagsForResourcePaginator.d.ts +1 -1
  126. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  127. package/dist-types/runtimeConfig.d.ts +1 -1
  128. package/dist-types/runtimeConfig.native.d.ts +1 -1
  129. package/dist-types/runtimeConfig.shared.d.ts +1 -1
  130. package/dist-types/runtimeExtensions.d.ts +1 -1
  131. package/dist-types/schemas/schemas_0.d.ts +1 -1
  132. package/dist-types/ts3.4/ProtonClient.d.ts +3 -3
  133. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +1 -1
  134. package/dist-types/ts3.4/models/ProtonServiceException.d.ts +1 -1
  135. package/package.json +13 -12
package/dist-cjs/index.js CHANGED
@@ -725,47 +725,11 @@ const n0 = "com.amazonaws.proton";
725
725
  var Description = [0, n0, _D, 8, 0];
726
726
  var DisplayName = [0, n0, _DN, 8, 0];
727
727
  var ErrorMessage = [0, n0, _EM, 8, 0];
728
- var SpecContents = [
729
- 0,
730
- n0,
731
- _SC,
732
- {
733
- [_mT]: _a,
734
- [_s]: 1,
735
- },
736
- 0,
737
- ];
728
+ var SpecContents = [0, n0, _SC, { [_mT]: _a, [_s]: 1 }, 0];
738
729
  var StatusMessage = [0, n0, _SM, 8, 0];
739
- var TemplateFileContents = [
740
- 0,
741
- n0,
742
- _TFC,
743
- {
744
- [_mT]: _a,
745
- [_s]: 1,
746
- },
747
- 0,
748
- ];
749
- var TemplateManifestContents = [
750
- 0,
751
- n0,
752
- _TMC,
753
- {
754
- [_mT]: _a,
755
- [_s]: 1,
756
- },
757
- 0,
758
- ];
759
- var TemplateSchema = [
760
- 0,
761
- n0,
762
- _TS,
763
- {
764
- [_mT]: _a,
765
- [_s]: 1,
766
- },
767
- 0,
768
- ];
730
+ var TemplateFileContents = [0, n0, _TFC, { [_mT]: _a, [_s]: 1 }, 0];
731
+ var TemplateManifestContents = [0, n0, _TMC, { [_mT]: _a, [_s]: 1 }, 0];
732
+ var TemplateSchema = [0, n0, _TS, { [_mT]: _a, [_s]: 1 }, 0];
769
733
  var AcceptEnvironmentAccountConnectionInput = [3, n0, _AEACI, 0, [_i], [0]];
770
734
  var AcceptEnvironmentAccountConnectionOutput = [
771
735
  3,
@@ -779,10 +743,7 @@ var AccessDeniedException = [
779
743
  -3,
780
744
  n0,
781
745
  _ADE,
782
- {
783
- [_e]: _c,
784
- [_hE]: 403,
785
- },
746
+ { [_e]: _c, [_hE]: 403 },
786
747
  [_m],
787
748
  [[() => ErrorMessage, 0]],
788
749
  ];
@@ -854,10 +815,7 @@ var ConflictException = [
854
815
  -3,
855
816
  n0,
856
817
  _CE,
857
- {
858
- [_e]: _c,
859
- [_hE]: 409,
860
- },
818
+ { [_e]: _c, [_hE]: 409 },
861
819
  [_m],
862
820
  [[() => ErrorMessage, 0]],
863
821
  ];
@@ -1357,10 +1315,7 @@ var InternalServerException = [
1357
1315
  -3,
1358
1316
  n0,
1359
1317
  _ISE,
1360
- {
1361
- [_e]: _serv,
1362
- [_hE]: 500,
1363
- },
1318
+ { [_e]: _serv, [_hE]: 500 },
1364
1319
  [_m],
1365
1320
  [[() => ErrorMessage, 0]],
1366
1321
  ];
@@ -1616,24 +1571,9 @@ var ListTagsForResourceInput = [
1616
1571
  0,
1617
1572
  [_rAes, _nT, _mR],
1618
1573
  [
1619
- [
1620
- 0,
1621
- {
1622
- [_hQ]: _rAes,
1623
- },
1624
- ],
1625
- [
1626
- 0,
1627
- {
1628
- [_hQ]: _nT,
1629
- },
1630
- ],
1631
- [
1632
- 1,
1633
- {
1634
- [_hQ]: _mR,
1635
- },
1636
- ],
1574
+ [0, { [_hQ]: _rAes }],
1575
+ [0, { [_hQ]: _nT }],
1576
+ [1, { [_hQ]: _mR }],
1637
1577
  ],
1638
1578
  ];
1639
1579
  var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_t, _nT], [() => TagList, 0]];
@@ -1683,10 +1623,7 @@ var ResourceNotFoundException = [
1683
1623
  -3,
1684
1624
  n0,
1685
1625
  _RNFE,
1686
- {
1687
- [_e]: _c,
1688
- [_hE]: 404,
1689
- },
1626
+ { [_e]: _c, [_hE]: 404 },
1690
1627
  [_m],
1691
1628
  [[() => ErrorMessage, 0]],
1692
1629
  ];
@@ -1768,10 +1705,7 @@ var ServiceQuotaExceededException = [
1768
1705
  -3,
1769
1706
  n0,
1770
1707
  _SQEE,
1771
- {
1772
- [_e]: _c,
1773
- [_hE]: 402,
1774
- },
1708
+ { [_e]: _c, [_hE]: 402 },
1775
1709
  [_m],
1776
1710
  [[() => ErrorMessage, 0]],
1777
1711
  ];
@@ -1855,15 +1789,7 @@ var TagResourceInput = [
1855
1789
  _TRI,
1856
1790
  0,
1857
1791
  [_rAes, _t],
1858
- [
1859
- [
1860
- 0,
1861
- {
1862
- [_hQ]: _rAes,
1863
- },
1864
- ],
1865
- () => TagList,
1866
- ],
1792
+ [[0, { [_hQ]: _rAes }], () => TagList],
1867
1793
  ];
1868
1794
  var TagResourceOutput = [3, n0, _TRO, 0, [], []];
1869
1795
  var TemplateSyncConfig = [
@@ -1878,30 +1804,12 @@ var ThrottlingException = [
1878
1804
  -3,
1879
1805
  n0,
1880
1806
  _TE,
1881
- {
1882
- [_e]: _c,
1883
- [_hE]: 429,
1884
- },
1807
+ { [_e]: _c, [_hE]: 429 },
1885
1808
  [_m],
1886
1809
  [[() => ErrorMessage, 0]],
1887
1810
  ];
1888
1811
  schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
1889
- var UntagResourceInput = [
1890
- 3,
1891
- n0,
1892
- _URI,
1893
- 0,
1894
- [_rAes, _tK],
1895
- [
1896
- [
1897
- 0,
1898
- {
1899
- [_hQ]: _rAes,
1900
- },
1901
- ],
1902
- 64 | 0,
1903
- ],
1904
- ];
1812
+ var UntagResourceInput = [3, n0, _URI, 0, [_rAes, _tK], [[0, { [_hQ]: _rAes }], 64 | 0]];
1905
1813
  var UntagResourceOutput = [3, n0, _URO, 0, [], []];
1906
1814
  var UpdateAccountSettingsInput = [
1907
1815
  3,
@@ -2068,10 +1976,7 @@ var ValidationException = [
2068
1976
  -3,
2069
1977
  n0,
2070
1978
  _VE,
2071
- {
2072
- [_e]: _c,
2073
- [_hE]: 400,
2074
- },
1979
+ { [_e]: _c, [_hE]: 400 },
2075
1980
  [_m],
2076
1981
  [[() => ErrorMessage, 0]],
2077
1982
  ];
@@ -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 { defaultProtonHttpAuthSchemeParametersProvider, 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);
@@ -519,47 +519,11 @@ import { ProtonServiceException as __ProtonServiceException } from "../models/Pr
519
519
  export var Description = [0, n0, _D, 8, 0];
520
520
  export var DisplayName = [0, n0, _DN, 8, 0];
521
521
  export var ErrorMessage = [0, n0, _EM, 8, 0];
522
- export var SpecContents = [
523
- 0,
524
- n0,
525
- _SC,
526
- {
527
- [_mT]: _a,
528
- [_s]: 1,
529
- },
530
- 0,
531
- ];
522
+ export var SpecContents = [0, n0, _SC, { [_mT]: _a, [_s]: 1 }, 0];
532
523
  export var StatusMessage = [0, n0, _SM, 8, 0];
533
- export var TemplateFileContents = [
534
- 0,
535
- n0,
536
- _TFC,
537
- {
538
- [_mT]: _a,
539
- [_s]: 1,
540
- },
541
- 0,
542
- ];
543
- export var TemplateManifestContents = [
544
- 0,
545
- n0,
546
- _TMC,
547
- {
548
- [_mT]: _a,
549
- [_s]: 1,
550
- },
551
- 0,
552
- ];
553
- export var TemplateSchema = [
554
- 0,
555
- n0,
556
- _TS,
557
- {
558
- [_mT]: _a,
559
- [_s]: 1,
560
- },
561
- 0,
562
- ];
524
+ export var TemplateFileContents = [0, n0, _TFC, { [_mT]: _a, [_s]: 1 }, 0];
525
+ export var TemplateManifestContents = [0, n0, _TMC, { [_mT]: _a, [_s]: 1 }, 0];
526
+ export var TemplateSchema = [0, n0, _TS, { [_mT]: _a, [_s]: 1 }, 0];
563
527
  export var AcceptEnvironmentAccountConnectionInput = [3, n0, _AEACI, 0, [_i], [0]];
564
528
  export var AcceptEnvironmentAccountConnectionOutput = [
565
529
  3,
@@ -573,10 +537,7 @@ export var AccessDeniedException = [
573
537
  -3,
574
538
  n0,
575
539
  _ADE,
576
- {
577
- [_e]: _c,
578
- [_hE]: 403,
579
- },
540
+ { [_e]: _c, [_hE]: 403 },
580
541
  [_m],
581
542
  [[() => ErrorMessage, 0]],
582
543
  ];
@@ -648,10 +609,7 @@ export var ConflictException = [
648
609
  -3,
649
610
  n0,
650
611
  _CE,
651
- {
652
- [_e]: _c,
653
- [_hE]: 409,
654
- },
612
+ { [_e]: _c, [_hE]: 409 },
655
613
  [_m],
656
614
  [[() => ErrorMessage, 0]],
657
615
  ];
@@ -1151,10 +1109,7 @@ export var InternalServerException = [
1151
1109
  -3,
1152
1110
  n0,
1153
1111
  _ISE,
1154
- {
1155
- [_e]: _serv,
1156
- [_hE]: 500,
1157
- },
1112
+ { [_e]: _serv, [_hE]: 500 },
1158
1113
  [_m],
1159
1114
  [[() => ErrorMessage, 0]],
1160
1115
  ];
@@ -1410,24 +1365,9 @@ export var ListTagsForResourceInput = [
1410
1365
  0,
1411
1366
  [_rAes, _nT, _mR],
1412
1367
  [
1413
- [
1414
- 0,
1415
- {
1416
- [_hQ]: _rAes,
1417
- },
1418
- ],
1419
- [
1420
- 0,
1421
- {
1422
- [_hQ]: _nT,
1423
- },
1424
- ],
1425
- [
1426
- 1,
1427
- {
1428
- [_hQ]: _mR,
1429
- },
1430
- ],
1368
+ [0, { [_hQ]: _rAes }],
1369
+ [0, { [_hQ]: _nT }],
1370
+ [1, { [_hQ]: _mR }],
1431
1371
  ],
1432
1372
  ];
1433
1373
  export var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_t, _nT], [() => TagList, 0]];
@@ -1477,10 +1417,7 @@ export var ResourceNotFoundException = [
1477
1417
  -3,
1478
1418
  n0,
1479
1419
  _RNFE,
1480
- {
1481
- [_e]: _c,
1482
- [_hE]: 404,
1483
- },
1420
+ { [_e]: _c, [_hE]: 404 },
1484
1421
  [_m],
1485
1422
  [[() => ErrorMessage, 0]],
1486
1423
  ];
@@ -1562,10 +1499,7 @@ export var ServiceQuotaExceededException = [
1562
1499
  -3,
1563
1500
  n0,
1564
1501
  _SQEE,
1565
- {
1566
- [_e]: _c,
1567
- [_hE]: 402,
1568
- },
1502
+ { [_e]: _c, [_hE]: 402 },
1569
1503
  [_m],
1570
1504
  [[() => ErrorMessage, 0]],
1571
1505
  ];
@@ -1649,15 +1583,7 @@ export var TagResourceInput = [
1649
1583
  _TRI,
1650
1584
  0,
1651
1585
  [_rAes, _t],
1652
- [
1653
- [
1654
- 0,
1655
- {
1656
- [_hQ]: _rAes,
1657
- },
1658
- ],
1659
- () => TagList,
1660
- ],
1586
+ [[0, { [_hQ]: _rAes }], () => TagList],
1661
1587
  ];
1662
1588
  export var TagResourceOutput = [3, n0, _TRO, 0, [], []];
1663
1589
  export var TemplateSyncConfig = [
@@ -1672,30 +1598,12 @@ export var ThrottlingException = [
1672
1598
  -3,
1673
1599
  n0,
1674
1600
  _TE,
1675
- {
1676
- [_e]: _c,
1677
- [_hE]: 429,
1678
- },
1601
+ { [_e]: _c, [_hE]: 429 },
1679
1602
  [_m],
1680
1603
  [[() => ErrorMessage, 0]],
1681
1604
  ];
1682
1605
  TypeRegistry.for(n0).registerError(ThrottlingException, __ThrottlingException);
1683
- export var UntagResourceInput = [
1684
- 3,
1685
- n0,
1686
- _URI,
1687
- 0,
1688
- [_rAes, _tK],
1689
- [
1690
- [
1691
- 0,
1692
- {
1693
- [_hQ]: _rAes,
1694
- },
1695
- ],
1696
- 64 | 0,
1697
- ],
1698
- ];
1606
+ export var UntagResourceInput = [3, n0, _URI, 0, [_rAes, _tK], [[0, { [_hQ]: _rAes }], 64 | 0]];
1699
1607
  export var UntagResourceOutput = [3, n0, _URO, 0, [], []];
1700
1608
  export var UpdateAccountSettingsInput = [
1701
1609
  3,
@@ -1862,10 +1770,7 @@ export var ValidationException = [
1862
1770
  -3,
1863
1771
  n0,
1864
1772
  _VE,
1865
- {
1866
- [_e]: _c,
1867
- [_hE]: 400,
1868
- },
1773
+ { [_e]: _c, [_hE]: 400 },
1869
1774
  [_m],
1870
1775
  [[() => ErrorMessage, 0]],
1871
1776
  ];
@@ -1,4 +1,4 @@
1
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
1
+ import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
2
  import { AcceptEnvironmentAccountConnectionCommandInput, AcceptEnvironmentAccountConnectionCommandOutput } from "./commands/AcceptEnvironmentAccountConnectionCommand";
3
3
  import { CancelComponentDeploymentCommandInput, CancelComponentDeploymentCommandOutput } from "./commands/CancelComponentDeploymentCommand";
4
4
  import { CancelEnvironmentDeploymentCommandInput, CancelEnvironmentDeploymentCommandOutput } from "./commands/CancelEnvironmentDeploymentCommand";
@@ -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 { AcceptEnvironmentAccountConnectionCommandInput, AcceptEnvironmentAccountConnectionCommandOutput } from "./commands/AcceptEnvironmentAccountConnectionCommand";
11
11
  import { CancelComponentDeploymentCommandInput, CancelComponentDeploymentCommandOutput } from "./commands/CancelComponentDeploymentCommand";
12
12
  import { CancelEnvironmentDeploymentCommandInput, CancelEnvironmentDeploymentCommandOutput } from "./commands/CancelEnvironmentDeploymentCommand";
@@ -95,7 +95,7 @@ import { UpdateServiceTemplateCommandInput, UpdateServiceTemplateCommandOutput }
95
95
  import { UpdateServiceTemplateVersionCommandInput, UpdateServiceTemplateVersionCommandOutput } from "./commands/UpdateServiceTemplateVersionCommand";
96
96
  import { UpdateTemplateSyncConfigCommandInput, UpdateTemplateSyncConfigCommandOutput } from "./commands/UpdateTemplateSyncConfigCommand";
97
97
  import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
98
- import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
98
+ import { type RuntimeExtension, type RuntimeExtensionsConfig } from "./runtimeExtensions";
99
99
  export { __Client };
100
100
  /**
101
101
  * @public
@@ -1,5 +1,5 @@
1
- import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
- import { ProtonHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
1
+ import { type HttpAuthScheme, AwsCredentialIdentity, AwsCredentialIdentityProvider } from "@smithy/types";
2
+ import type { ProtonHttpAuthSchemeProvider } 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 { ProtonClientResolvedConfig } from "../ProtonClient";
2
+ import type { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider, Provider } from "@smithy/types";
3
+ import { type ProtonClientResolvedConfig } from "../ProtonClient";
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 { AcceptEnvironmentAccountConnectionInput, AcceptEnvironmentAccountConnectionOutput } from "../models/models_0";
4
- import { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { AcceptEnvironmentAccountConnectionInput, AcceptEnvironmentAccountConnectionOutput } from "../models/models_0";
4
+ import type { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
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 { CancelComponentDeploymentInput, CancelComponentDeploymentOutput } from "../models/models_0";
4
- import { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CancelComponentDeploymentInput, CancelComponentDeploymentOutput } from "../models/models_0";
4
+ import type { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
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 { CancelEnvironmentDeploymentInput, CancelEnvironmentDeploymentOutput } from "../models/models_0";
4
- import { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CancelEnvironmentDeploymentInput, CancelEnvironmentDeploymentOutput } from "../models/models_0";
4
+ import type { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
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 { CancelServiceInstanceDeploymentInput, CancelServiceInstanceDeploymentOutput } from "../models/models_0";
4
- import { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CancelServiceInstanceDeploymentInput, CancelServiceInstanceDeploymentOutput } from "../models/models_0";
4
+ import type { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
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 { CancelServicePipelineDeploymentInput, CancelServicePipelineDeploymentOutput } from "../models/models_0";
4
- import { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CancelServicePipelineDeploymentInput, CancelServicePipelineDeploymentOutput } from "../models/models_0";
4
+ import type { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
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 { CreateComponentInput, CreateComponentOutput } from "../models/models_0";
4
- import { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateComponentInput, CreateComponentOutput } from "../models/models_0";
4
+ import type { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
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 { CreateEnvironmentAccountConnectionInput, CreateEnvironmentAccountConnectionOutput } from "../models/models_0";
4
- import { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateEnvironmentAccountConnectionInput, CreateEnvironmentAccountConnectionOutput } from "../models/models_0";
4
+ import type { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
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 { CreateEnvironmentInput, CreateEnvironmentOutput } from "../models/models_0";
4
- import { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateEnvironmentInput, CreateEnvironmentOutput } from "../models/models_0";
4
+ import type { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
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 { CreateEnvironmentTemplateInput, CreateEnvironmentTemplateOutput } from "../models/models_0";
4
- import { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateEnvironmentTemplateInput, CreateEnvironmentTemplateOutput } from "../models/models_0";
4
+ import type { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
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 { CreateEnvironmentTemplateVersionInput, CreateEnvironmentTemplateVersionOutput } from "../models/models_0";
4
- import { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
2
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import type { CreateEnvironmentTemplateVersionInput, CreateEnvironmentTemplateVersionOutput } from "../models/models_0";
4
+ import type { ProtonClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ProtonClient";
5
5
  /**
6
6
  * @public
7
7
  */