@aws-sdk/client-codeconnections 3.545.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 (211) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +500 -0
  3. package/dist-cjs/CodeConnections.js +65 -0
  4. package/dist-cjs/CodeConnectionsClient.js +56 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/CreateConnectionCommand.js +28 -0
  8. package/dist-cjs/commands/CreateHostCommand.js +28 -0
  9. package/dist-cjs/commands/CreateRepositoryLinkCommand.js +28 -0
  10. package/dist-cjs/commands/CreateSyncConfigurationCommand.js +28 -0
  11. package/dist-cjs/commands/DeleteConnectionCommand.js +28 -0
  12. package/dist-cjs/commands/DeleteHostCommand.js +28 -0
  13. package/dist-cjs/commands/DeleteRepositoryLinkCommand.js +28 -0
  14. package/dist-cjs/commands/DeleteSyncConfigurationCommand.js +28 -0
  15. package/dist-cjs/commands/GetConnectionCommand.js +28 -0
  16. package/dist-cjs/commands/GetHostCommand.js +28 -0
  17. package/dist-cjs/commands/GetRepositoryLinkCommand.js +28 -0
  18. package/dist-cjs/commands/GetRepositorySyncStatusCommand.js +28 -0
  19. package/dist-cjs/commands/GetResourceSyncStatusCommand.js +28 -0
  20. package/dist-cjs/commands/GetSyncBlockerSummaryCommand.js +28 -0
  21. package/dist-cjs/commands/GetSyncConfigurationCommand.js +28 -0
  22. package/dist-cjs/commands/ListConnectionsCommand.js +28 -0
  23. package/dist-cjs/commands/ListHostsCommand.js +28 -0
  24. package/dist-cjs/commands/ListRepositoryLinksCommand.js +28 -0
  25. package/dist-cjs/commands/ListRepositorySyncDefinitionsCommand.js +28 -0
  26. package/dist-cjs/commands/ListSyncConfigurationsCommand.js +28 -0
  27. package/dist-cjs/commands/ListTagsForResourceCommand.js +28 -0
  28. package/dist-cjs/commands/TagResourceCommand.js +28 -0
  29. package/dist-cjs/commands/UntagResourceCommand.js +28 -0
  30. package/dist-cjs/commands/UpdateHostCommand.js +28 -0
  31. package/dist-cjs/commands/UpdateRepositoryLinkCommand.js +28 -0
  32. package/dist-cjs/commands/UpdateSyncBlockerCommand.js +28 -0
  33. package/dist-cjs/commands/UpdateSyncConfigurationCommand.js +28 -0
  34. package/dist-cjs/commands/index.js +30 -0
  35. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  36. package/dist-cjs/endpoint/endpointResolver.js +14 -0
  37. package/dist-cjs/endpoint/ruleset.js +7 -0
  38. package/dist-cjs/extensionConfiguration.js +2 -0
  39. package/dist-cjs/index.js +11 -0
  40. package/dist-cjs/models/CodeConnectionsServiceException.js +12 -0
  41. package/dist-cjs/models/index.js +4 -0
  42. package/dist-cjs/models/models_0.js +285 -0
  43. package/dist-cjs/pagination/Interfaces.js +2 -0
  44. package/dist-cjs/pagination/ListConnectionsPaginator.js +7 -0
  45. package/dist-cjs/pagination/ListHostsPaginator.js +7 -0
  46. package/dist-cjs/pagination/ListRepositoryLinksPaginator.js +7 -0
  47. package/dist-cjs/pagination/ListSyncConfigurationsPaginator.js +7 -0
  48. package/dist-cjs/pagination/index.js +8 -0
  49. package/dist-cjs/protocols/Aws_json1_0.js +928 -0
  50. package/dist-cjs/runtimeConfig.browser.js +39 -0
  51. package/dist-cjs/runtimeConfig.js +49 -0
  52. package/dist-cjs/runtimeConfig.native.js +15 -0
  53. package/dist-cjs/runtimeConfig.shared.js +34 -0
  54. package/dist-cjs/runtimeExtensions.js +25 -0
  55. package/dist-es/CodeConnections.js +61 -0
  56. package/dist-es/CodeConnectionsClient.js +52 -0
  57. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  58. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  59. package/dist-es/commands/CreateConnectionCommand.js +24 -0
  60. package/dist-es/commands/CreateHostCommand.js +24 -0
  61. package/dist-es/commands/CreateRepositoryLinkCommand.js +24 -0
  62. package/dist-es/commands/CreateSyncConfigurationCommand.js +24 -0
  63. package/dist-es/commands/DeleteConnectionCommand.js +24 -0
  64. package/dist-es/commands/DeleteHostCommand.js +24 -0
  65. package/dist-es/commands/DeleteRepositoryLinkCommand.js +24 -0
  66. package/dist-es/commands/DeleteSyncConfigurationCommand.js +24 -0
  67. package/dist-es/commands/GetConnectionCommand.js +24 -0
  68. package/dist-es/commands/GetHostCommand.js +24 -0
  69. package/dist-es/commands/GetRepositoryLinkCommand.js +24 -0
  70. package/dist-es/commands/GetRepositorySyncStatusCommand.js +24 -0
  71. package/dist-es/commands/GetResourceSyncStatusCommand.js +24 -0
  72. package/dist-es/commands/GetSyncBlockerSummaryCommand.js +24 -0
  73. package/dist-es/commands/GetSyncConfigurationCommand.js +24 -0
  74. package/dist-es/commands/ListConnectionsCommand.js +24 -0
  75. package/dist-es/commands/ListHostsCommand.js +24 -0
  76. package/dist-es/commands/ListRepositoryLinksCommand.js +24 -0
  77. package/dist-es/commands/ListRepositorySyncDefinitionsCommand.js +24 -0
  78. package/dist-es/commands/ListSyncConfigurationsCommand.js +24 -0
  79. package/dist-es/commands/ListTagsForResourceCommand.js +24 -0
  80. package/dist-es/commands/TagResourceCommand.js +24 -0
  81. package/dist-es/commands/UntagResourceCommand.js +24 -0
  82. package/dist-es/commands/UpdateHostCommand.js +24 -0
  83. package/dist-es/commands/UpdateRepositoryLinkCommand.js +24 -0
  84. package/dist-es/commands/UpdateSyncBlockerCommand.js +24 -0
  85. package/dist-es/commands/UpdateSyncConfigurationCommand.js +24 -0
  86. package/dist-es/commands/index.js +27 -0
  87. package/dist-es/endpoint/EndpointParameters.js +14 -0
  88. package/dist-es/endpoint/endpointResolver.js +10 -0
  89. package/dist-es/endpoint/ruleset.js +4 -0
  90. package/dist-es/extensionConfiguration.js +1 -0
  91. package/dist-es/index.js +6 -0
  92. package/dist-es/models/CodeConnectionsServiceException.js +8 -0
  93. package/dist-es/models/index.js +1 -0
  94. package/dist-es/models/models_0.js +265 -0
  95. package/dist-es/pagination/Interfaces.js +1 -0
  96. package/dist-es/pagination/ListConnectionsPaginator.js +4 -0
  97. package/dist-es/pagination/ListHostsPaginator.js +4 -0
  98. package/dist-es/pagination/ListRepositoryLinksPaginator.js +4 -0
  99. package/dist-es/pagination/ListSyncConfigurationsPaginator.js +4 -0
  100. package/dist-es/pagination/index.js +5 -0
  101. package/dist-es/protocols/Aws_json1_0.js +870 -0
  102. package/dist-es/runtimeConfig.browser.js +34 -0
  103. package/dist-es/runtimeConfig.js +44 -0
  104. package/dist-es/runtimeConfig.native.js +11 -0
  105. package/dist-es/runtimeConfig.shared.js +30 -0
  106. package/dist-es/runtimeExtensions.js +21 -0
  107. package/dist-types/CodeConnections.d.ts +280 -0
  108. package/dist-types/CodeConnectionsClient.d.ts +276 -0
  109. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  110. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  111. package/dist-types/commands/CreateConnectionCommand.d.ts +84 -0
  112. package/dist-types/commands/CreateHostCommand.d.ts +93 -0
  113. package/dist-types/commands/CreateRepositoryLinkCommand.d.ts +97 -0
  114. package/dist-types/commands/CreateSyncConfigurationCommand.d.ts +101 -0
  115. package/dist-types/commands/DeleteConnectionCommand.d.ts +60 -0
  116. package/dist-types/commands/DeleteHostCommand.d.ts +66 -0
  117. package/dist-types/commands/DeleteRepositoryLinkCommand.d.ts +81 -0
  118. package/dist-types/commands/DeleteSyncConfigurationCommand.d.ts +76 -0
  119. package/dist-types/commands/GetConnectionCommand.d.ts +72 -0
  120. package/dist-types/commands/GetHostCommand.d.ts +79 -0
  121. package/dist-types/commands/GetRepositoryLinkCommand.d.ts +86 -0
  122. package/dist-types/commands/GetRepositorySyncStatusCommand.d.ts +88 -0
  123. package/dist-types/commands/GetResourceSyncStatusCommand.d.ts +141 -0
  124. package/dist-types/commands/GetSyncBlockerSummaryCommand.d.ts +95 -0
  125. package/dist-types/commands/GetSyncConfigurationCommand.d.ts +87 -0
  126. package/dist-types/commands/ListConnectionsCommand.d.ts +75 -0
  127. package/dist-types/commands/ListHostsCommand.d.ts +80 -0
  128. package/dist-types/commands/ListRepositoryLinksCommand.d.ts +89 -0
  129. package/dist-types/commands/ListRepositorySyncDefinitionsCommand.d.ts +83 -0
  130. package/dist-types/commands/ListSyncConfigurationsCommand.d.ts +92 -0
  131. package/dist-types/commands/ListTagsForResourceCommand.d.ts +67 -0
  132. package/dist-types/commands/TagResourceCommand.d.ts +70 -0
  133. package/dist-types/commands/UntagResourceCommand.d.ts +63 -0
  134. package/dist-types/commands/UpdateHostCommand.d.ts +80 -0
  135. package/dist-types/commands/UpdateRepositoryLinkCommand.d.ts +92 -0
  136. package/dist-types/commands/UpdateSyncBlockerCommand.d.ts +99 -0
  137. package/dist-types/commands/UpdateSyncConfigurationCommand.d.ts +99 -0
  138. package/dist-types/commands/index.d.ts +27 -0
  139. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  140. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  141. package/dist-types/endpoint/ruleset.d.ts +2 -0
  142. package/dist-types/extensionConfiguration.d.ts +9 -0
  143. package/dist-types/index.d.ts +92 -0
  144. package/dist-types/models/CodeConnectionsServiceException.d.ts +13 -0
  145. package/dist-types/models/index.d.ts +1 -0
  146. package/dist-types/models/models_0.d.ts +1735 -0
  147. package/dist-types/pagination/Interfaces.d.ts +8 -0
  148. package/dist-types/pagination/ListConnectionsPaginator.d.ts +7 -0
  149. package/dist-types/pagination/ListHostsPaginator.d.ts +7 -0
  150. package/dist-types/pagination/ListRepositoryLinksPaginator.d.ts +7 -0
  151. package/dist-types/pagination/ListSyncConfigurationsPaginator.d.ts +7 -0
  152. package/dist-types/pagination/index.d.ts +5 -0
  153. package/dist-types/protocols/Aws_json1_0.d.ts +245 -0
  154. package/dist-types/runtimeConfig.browser.d.ts +45 -0
  155. package/dist-types/runtimeConfig.d.ts +45 -0
  156. package/dist-types/runtimeConfig.native.d.ts +44 -0
  157. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  158. package/dist-types/runtimeExtensions.d.ts +17 -0
  159. package/dist-types/ts3.4/CodeConnections.d.ts +469 -0
  160. package/dist-types/ts3.4/CodeConnectionsClient.d.ts +283 -0
  161. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  162. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  163. package/dist-types/ts3.4/commands/CreateConnectionCommand.d.ts +38 -0
  164. package/dist-types/ts3.4/commands/CreateHostCommand.d.ts +35 -0
  165. package/dist-types/ts3.4/commands/CreateRepositoryLinkCommand.d.ts +39 -0
  166. package/dist-types/ts3.4/commands/CreateSyncConfigurationCommand.d.ts +39 -0
  167. package/dist-types/ts3.4/commands/DeleteConnectionCommand.d.ts +38 -0
  168. package/dist-types/ts3.4/commands/DeleteHostCommand.d.ts +35 -0
  169. package/dist-types/ts3.4/commands/DeleteRepositoryLinkCommand.d.ts +39 -0
  170. package/dist-types/ts3.4/commands/DeleteSyncConfigurationCommand.d.ts +39 -0
  171. package/dist-types/ts3.4/commands/GetConnectionCommand.d.ts +35 -0
  172. package/dist-types/ts3.4/commands/GetHostCommand.d.ts +29 -0
  173. package/dist-types/ts3.4/commands/GetRepositoryLinkCommand.d.ts +38 -0
  174. package/dist-types/ts3.4/commands/GetRepositorySyncStatusCommand.d.ts +39 -0
  175. package/dist-types/ts3.4/commands/GetResourceSyncStatusCommand.d.ts +39 -0
  176. package/dist-types/ts3.4/commands/GetSyncBlockerSummaryCommand.d.ts +39 -0
  177. package/dist-types/ts3.4/commands/GetSyncConfigurationCommand.d.ts +39 -0
  178. package/dist-types/ts3.4/commands/ListConnectionsCommand.d.ts +38 -0
  179. package/dist-types/ts3.4/commands/ListHostsCommand.d.ts +35 -0
  180. package/dist-types/ts3.4/commands/ListRepositoryLinksCommand.d.ts +39 -0
  181. package/dist-types/ts3.4/commands/ListRepositorySyncDefinitionsCommand.d.ts +39 -0
  182. package/dist-types/ts3.4/commands/ListSyncConfigurationsCommand.d.ts +39 -0
  183. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +39 -0
  184. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +35 -0
  185. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +35 -0
  186. package/dist-types/ts3.4/commands/UpdateHostCommand.d.ts +35 -0
  187. package/dist-types/ts3.4/commands/UpdateRepositoryLinkCommand.d.ts +39 -0
  188. package/dist-types/ts3.4/commands/UpdateSyncBlockerCommand.d.ts +38 -0
  189. package/dist-types/ts3.4/commands/UpdateSyncConfigurationCommand.d.ts +39 -0
  190. package/dist-types/ts3.4/commands/index.d.ts +27 -0
  191. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  192. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  193. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  194. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  195. package/dist-types/ts3.4/index.d.ts +9 -0
  196. package/dist-types/ts3.4/models/CodeConnectionsServiceException.d.ts +8 -0
  197. package/dist-types/ts3.4/models/index.d.ts +1 -0
  198. package/dist-types/ts3.4/models/models_0.d.ts +531 -0
  199. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  200. package/dist-types/ts3.4/pagination/ListConnectionsPaginator.d.ts +11 -0
  201. package/dist-types/ts3.4/pagination/ListHostsPaginator.d.ts +11 -0
  202. package/dist-types/ts3.4/pagination/ListRepositoryLinksPaginator.d.ts +11 -0
  203. package/dist-types/ts3.4/pagination/ListSyncConfigurationsPaginator.d.ts +11 -0
  204. package/dist-types/ts3.4/pagination/index.d.ts +5 -0
  205. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +329 -0
  206. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +87 -0
  207. package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
  208. package/dist-types/ts3.4/runtimeConfig.native.d.ts +81 -0
  209. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  210. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  211. package/package.json +101 -0
@@ -0,0 +1,39 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
+ const sha256_browser_1 = require("@aws-crypto/sha256-browser");
7
+ const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
8
+ const config_resolver_1 = require("@smithy/config-resolver");
9
+ const fetch_http_handler_1 = require("@smithy/fetch-http-handler");
10
+ const invalid_dependency_1 = require("@smithy/invalid-dependency");
11
+ const util_body_length_browser_1 = require("@smithy/util-body-length-browser");
12
+ const util_retry_1 = require("@smithy/util-retry");
13
+ 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
+ const getRuntimeConfig = (config) => {
17
+ const defaultsMode = (0, util_defaults_mode_browser_1.resolveDefaultsModeConfig)(config);
18
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
19
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
20
+ return {
21
+ ...clientSharedValues,
22
+ ...config,
23
+ runtime: "browser",
24
+ defaultsMode,
25
+ bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_browser_1.calculateBodyLength,
26
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
27
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
28
+ (0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
29
+ maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
30
+ region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
31
+ requestHandler: fetch_http_handler_1.FetchHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
32
+ retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
33
+ sha256: config?.sha256 ?? sha256_browser_1.Sha256,
34
+ streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
35
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
36
+ useFipsEndpoint: config?.useFipsEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_FIPS_ENDPOINT)),
37
+ };
38
+ };
39
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const tslib_1 = require("tslib");
5
+ const package_json_1 = tslib_1.__importDefault(require("../package.json"));
6
+ const core_1 = require("@aws-sdk/core");
7
+ const credential_provider_node_1 = require("@aws-sdk/credential-provider-node");
8
+ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
9
+ const config_resolver_1 = require("@smithy/config-resolver");
10
+ const hash_node_1 = require("@smithy/hash-node");
11
+ const middleware_retry_1 = require("@smithy/middleware-retry");
12
+ const node_config_provider_1 = require("@smithy/node-config-provider");
13
+ const node_http_handler_1 = require("@smithy/node-http-handler");
14
+ const util_body_length_node_1 = require("@smithy/util-body-length-node");
15
+ const util_retry_1 = require("@smithy/util-retry");
16
+ 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
+ const getRuntimeConfig = (config) => {
21
+ (0, smithy_client_2.emitWarningIfUnsupportedVersion)(process.version);
22
+ const defaultsMode = (0, util_defaults_mode_node_1.resolveDefaultsModeConfig)(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
24
+ const clientSharedValues = (0, runtimeConfig_shared_1.getRuntimeConfig)(config);
25
+ (0, core_1.emitWarningIfUnsupportedVersion)(process.version);
26
+ return {
27
+ ...clientSharedValues,
28
+ ...config,
29
+ runtime: "node",
30
+ defaultsMode,
31
+ bodyLengthChecker: config?.bodyLengthChecker ?? util_body_length_node_1.calculateBodyLength,
32
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? credential_provider_node_1.defaultProvider,
33
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ??
34
+ (0, util_user_agent_node_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
35
+ maxAttempts: config?.maxAttempts ?? (0, node_config_provider_1.loadConfig)(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
36
+ region: config?.region ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
37
+ requestHandler: node_http_handler_1.NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
38
+ retryMode: config?.retryMode ??
39
+ (0, node_config_provider_1.loadConfig)({
40
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
41
+ default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
42
+ }),
43
+ sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
44
+ streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
45
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
46
+ useFipsEndpoint: config?.useFipsEndpoint ?? (0, node_config_provider_1.loadConfig)(config_resolver_1.NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS),
47
+ };
48
+ };
49
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const sha256_js_1 = require("@aws-crypto/sha256-js");
5
+ const runtimeConfig_browser_1 = require("./runtimeConfig.browser");
6
+ const getRuntimeConfig = (config) => {
7
+ const browserDefaults = (0, runtimeConfig_browser_1.getRuntimeConfig)(config);
8
+ return {
9
+ ...browserDefaults,
10
+ ...config,
11
+ runtime: "react-native",
12
+ sha256: config?.sha256 ?? sha256_js_1.Sha256,
13
+ };
14
+ };
15
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,34 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.getRuntimeConfig = void 0;
4
+ const core_1 = require("@aws-sdk/core");
5
+ const smithy_client_1 = require("@smithy/smithy-client");
6
+ const url_parser_1 = require("@smithy/url-parser");
7
+ const util_base64_1 = require("@smithy/util-base64");
8
+ const util_utf8_1 = require("@smithy/util-utf8");
9
+ const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
10
+ const endpointResolver_1 = require("./endpoint/endpointResolver");
11
+ const getRuntimeConfig = (config) => {
12
+ return {
13
+ apiVersion: "2023-12-01",
14
+ base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
15
+ base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
16
+ disableHostPrefix: config?.disableHostPrefix ?? false,
17
+ endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
18
+ extensions: config?.extensions ?? [],
19
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultCodeConnectionsHttpAuthSchemeProvider,
20
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
21
+ {
22
+ schemeId: "aws.auth#sigv4",
23
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
24
+ signer: new core_1.AwsSdkSigV4Signer(),
25
+ },
26
+ ],
27
+ logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
28
+ serviceId: config?.serviceId ?? "CodeConnections",
29
+ urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
+ utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
31
+ utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
32
+ };
33
+ };
34
+ exports.getRuntimeConfig = getRuntimeConfig;
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.resolveRuntimeExtensions = void 0;
4
+ const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
5
+ const protocol_http_1 = require("@smithy/protocol-http");
6
+ const smithy_client_1 = require("@smithy/smithy-client");
7
+ const httpAuthExtensionConfiguration_1 = require("./auth/httpAuthExtensionConfiguration");
8
+ const asPartial = (t) => t;
9
+ const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
10
+ const extensionConfiguration = {
11
+ ...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
12
+ ...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
13
+ ...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
14
+ ...asPartial((0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig)),
15
+ };
16
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
17
+ return {
18
+ ...runtimeConfig,
19
+ ...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
20
+ ...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
21
+ ...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
22
+ ...(0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration),
23
+ };
24
+ };
25
+ exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
@@ -0,0 +1,61 @@
1
+ import { createAggregatedClient } from "@smithy/smithy-client";
2
+ import { CodeConnectionsClient } from "./CodeConnectionsClient";
3
+ import { CreateConnectionCommand, } from "./commands/CreateConnectionCommand";
4
+ import { CreateHostCommand } from "./commands/CreateHostCommand";
5
+ import { CreateRepositoryLinkCommand, } from "./commands/CreateRepositoryLinkCommand";
6
+ import { CreateSyncConfigurationCommand, } from "./commands/CreateSyncConfigurationCommand";
7
+ import { DeleteConnectionCommand, } from "./commands/DeleteConnectionCommand";
8
+ import { DeleteHostCommand } from "./commands/DeleteHostCommand";
9
+ import { DeleteRepositoryLinkCommand, } from "./commands/DeleteRepositoryLinkCommand";
10
+ import { DeleteSyncConfigurationCommand, } from "./commands/DeleteSyncConfigurationCommand";
11
+ import { GetConnectionCommand, } from "./commands/GetConnectionCommand";
12
+ import { GetHostCommand } from "./commands/GetHostCommand";
13
+ import { GetRepositoryLinkCommand, } from "./commands/GetRepositoryLinkCommand";
14
+ import { GetRepositorySyncStatusCommand, } from "./commands/GetRepositorySyncStatusCommand";
15
+ import { GetResourceSyncStatusCommand, } from "./commands/GetResourceSyncStatusCommand";
16
+ import { GetSyncBlockerSummaryCommand, } from "./commands/GetSyncBlockerSummaryCommand";
17
+ import { GetSyncConfigurationCommand, } from "./commands/GetSyncConfigurationCommand";
18
+ import { ListConnectionsCommand, } from "./commands/ListConnectionsCommand";
19
+ import { ListHostsCommand } from "./commands/ListHostsCommand";
20
+ import { ListRepositoryLinksCommand, } from "./commands/ListRepositoryLinksCommand";
21
+ import { ListRepositorySyncDefinitionsCommand, } from "./commands/ListRepositorySyncDefinitionsCommand";
22
+ import { ListSyncConfigurationsCommand, } from "./commands/ListSyncConfigurationsCommand";
23
+ import { ListTagsForResourceCommand, } from "./commands/ListTagsForResourceCommand";
24
+ import { TagResourceCommand } from "./commands/TagResourceCommand";
25
+ import { UntagResourceCommand, } from "./commands/UntagResourceCommand";
26
+ import { UpdateHostCommand } from "./commands/UpdateHostCommand";
27
+ import { UpdateRepositoryLinkCommand, } from "./commands/UpdateRepositoryLinkCommand";
28
+ import { UpdateSyncBlockerCommand, } from "./commands/UpdateSyncBlockerCommand";
29
+ import { UpdateSyncConfigurationCommand, } from "./commands/UpdateSyncConfigurationCommand";
30
+ const commands = {
31
+ CreateConnectionCommand,
32
+ CreateHostCommand,
33
+ CreateRepositoryLinkCommand,
34
+ CreateSyncConfigurationCommand,
35
+ DeleteConnectionCommand,
36
+ DeleteHostCommand,
37
+ DeleteRepositoryLinkCommand,
38
+ DeleteSyncConfigurationCommand,
39
+ GetConnectionCommand,
40
+ GetHostCommand,
41
+ GetRepositoryLinkCommand,
42
+ GetRepositorySyncStatusCommand,
43
+ GetResourceSyncStatusCommand,
44
+ GetSyncBlockerSummaryCommand,
45
+ GetSyncConfigurationCommand,
46
+ ListConnectionsCommand,
47
+ ListHostsCommand,
48
+ ListRepositoryLinksCommand,
49
+ ListRepositorySyncDefinitionsCommand,
50
+ ListSyncConfigurationsCommand,
51
+ ListTagsForResourceCommand,
52
+ TagResourceCommand,
53
+ UntagResourceCommand,
54
+ UpdateHostCommand,
55
+ UpdateRepositoryLinkCommand,
56
+ UpdateSyncBlockerCommand,
57
+ UpdateSyncConfigurationCommand,
58
+ };
59
+ export class CodeConnections extends CodeConnectionsClient {
60
+ }
61
+ createAggregatedClient(commands, CodeConnections);
@@ -0,0 +1,52 @@
1
+ import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
2
+ import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
3
+ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
4
+ import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
+ import { resolveRegionConfig } from "@smithy/config-resolver";
6
+ import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
+ import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
+ import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
10
+ import { Client as __Client, } from "@smithy/smithy-client";
11
+ import { defaultCodeConnectionsHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
12
+ import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
13
+ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
14
+ import { resolveRuntimeExtensions } from "./runtimeExtensions";
15
+ export { __Client };
16
+ export class CodeConnectionsClient extends __Client {
17
+ constructor(...[configuration]) {
18
+ const _config_0 = __getRuntimeConfig(configuration || {});
19
+ const _config_1 = resolveClientEndpointParameters(_config_0);
20
+ const _config_2 = resolveRegionConfig(_config_1);
21
+ const _config_3 = resolveEndpointConfig(_config_2);
22
+ const _config_4 = resolveRetryConfig(_config_3);
23
+ const _config_5 = resolveHostHeaderConfig(_config_4);
24
+ const _config_6 = resolveUserAgentConfig(_config_5);
25
+ const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
26
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
27
+ super(_config_8);
28
+ this.config = _config_8;
29
+ this.middlewareStack.use(getRetryPlugin(this.config));
30
+ this.middlewareStack.use(getContentLengthPlugin(this.config));
31
+ this.middlewareStack.use(getHostHeaderPlugin(this.config));
32
+ this.middlewareStack.use(getLoggerPlugin(this.config));
33
+ this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
34
+ this.middlewareStack.use(getUserAgentPlugin(this.config));
35
+ this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
36
+ httpAuthSchemeParametersProvider: this.getDefaultHttpAuthSchemeParametersProvider(),
37
+ identityProviderConfigProvider: this.getIdentityProviderConfigProvider(),
38
+ }));
39
+ this.middlewareStack.use(getHttpSigningPlugin(this.config));
40
+ }
41
+ destroy() {
42
+ super.destroy();
43
+ }
44
+ getDefaultHttpAuthSchemeParametersProvider() {
45
+ return defaultCodeConnectionsHttpAuthSchemeParametersProvider;
46
+ }
47
+ getIdentityProviderConfigProvider() {
48
+ return async (config) => new DefaultIdentityProviderConfig({
49
+ "aws.auth#sigv4": config.credentials,
50
+ });
51
+ }
52
+ }
@@ -0,0 +1,38 @@
1
+ export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
2
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
3
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
4
+ let _credentials = runtimeConfig.credentials;
5
+ return {
6
+ setHttpAuthScheme(httpAuthScheme) {
7
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
8
+ if (index === -1) {
9
+ _httpAuthSchemes.push(httpAuthScheme);
10
+ }
11
+ else {
12
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
13
+ }
14
+ },
15
+ httpAuthSchemes() {
16
+ return _httpAuthSchemes;
17
+ },
18
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
19
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
20
+ },
21
+ httpAuthSchemeProvider() {
22
+ return _httpAuthSchemeProvider;
23
+ },
24
+ setCredentials(credentials) {
25
+ _credentials = credentials;
26
+ },
27
+ credentials() {
28
+ return _credentials;
29
+ },
30
+ };
31
+ };
32
+ export const resolveHttpAuthRuntimeConfig = (config) => {
33
+ return {
34
+ httpAuthSchemes: config.httpAuthSchemes(),
35
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
36
+ credentials: config.credentials(),
37
+ };
38
+ };
@@ -0,0 +1,41 @@
1
+ import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
2
+ import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
3
+ export const defaultCodeConnectionsHttpAuthSchemeParametersProvider = async (config, context, input) => {
4
+ return {
5
+ operation: getSmithyContext(context).operation,
6
+ region: (await normalizeProvider(config.region)()) ||
7
+ (() => {
8
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
9
+ })(),
10
+ };
11
+ };
12
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
13
+ return {
14
+ schemeId: "aws.auth#sigv4",
15
+ signingProperties: {
16
+ name: "codeconnections",
17
+ region: authParameters.region,
18
+ },
19
+ propertiesExtractor: (config, context) => ({
20
+ signingProperties: {
21
+ config,
22
+ context,
23
+ },
24
+ }),
25
+ };
26
+ }
27
+ export const defaultCodeConnectionsHttpAuthSchemeProvider = (authParameters) => {
28
+ const options = [];
29
+ switch (authParameters.operation) {
30
+ default: {
31
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
32
+ }
33
+ }
34
+ return options;
35
+ };
36
+ export const resolveHttpAuthSchemeConfig = (config) => {
37
+ const config_0 = resolveAwsSdkSigV4Config(config);
38
+ return {
39
+ ...config_0,
40
+ };
41
+ };
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateConnectionCommand, se_CreateConnectionCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class CreateConnectionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeConnections_20231201", "CreateConnection", {})
19
+ .n("CodeConnectionsClient", "CreateConnectionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateConnectionCommand)
22
+ .de(de_CreateConnectionCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateHostCommand, se_CreateHostCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class CreateHostCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeConnections_20231201", "CreateHost", {})
19
+ .n("CodeConnectionsClient", "CreateHostCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateHostCommand)
22
+ .de(de_CreateHostCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateRepositoryLinkCommand, se_CreateRepositoryLinkCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class CreateRepositoryLinkCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeConnections_20231201", "CreateRepositoryLink", {})
19
+ .n("CodeConnectionsClient", "CreateRepositoryLinkCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateRepositoryLinkCommand)
22
+ .de(de_CreateRepositoryLinkCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_CreateSyncConfigurationCommand, se_CreateSyncConfigurationCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class CreateSyncConfigurationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeConnections_20231201", "CreateSyncConfiguration", {})
19
+ .n("CodeConnectionsClient", "CreateSyncConfigurationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_CreateSyncConfigurationCommand)
22
+ .de(de_CreateSyncConfigurationCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteConnectionCommand, se_DeleteConnectionCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class DeleteConnectionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeConnections_20231201", "DeleteConnection", {})
19
+ .n("CodeConnectionsClient", "DeleteConnectionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteConnectionCommand)
22
+ .de(de_DeleteConnectionCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteHostCommand, se_DeleteHostCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class DeleteHostCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeConnections_20231201", "DeleteHost", {})
19
+ .n("CodeConnectionsClient", "DeleteHostCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteHostCommand)
22
+ .de(de_DeleteHostCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteRepositoryLinkCommand, se_DeleteRepositoryLinkCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class DeleteRepositoryLinkCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeConnections_20231201", "DeleteRepositoryLink", {})
19
+ .n("CodeConnectionsClient", "DeleteRepositoryLinkCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteRepositoryLinkCommand)
22
+ .de(de_DeleteRepositoryLinkCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_DeleteSyncConfigurationCommand, se_DeleteSyncConfigurationCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class DeleteSyncConfigurationCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeConnections_20231201", "DeleteSyncConfiguration", {})
19
+ .n("CodeConnectionsClient", "DeleteSyncConfigurationCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DeleteSyncConfigurationCommand)
22
+ .de(de_DeleteSyncConfigurationCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetConnectionCommand, se_GetConnectionCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class GetConnectionCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeConnections_20231201", "GetConnection", {})
19
+ .n("CodeConnectionsClient", "GetConnectionCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetConnectionCommand)
22
+ .de(de_GetConnectionCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetHostCommand, se_GetHostCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class GetHostCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeConnections_20231201", "GetHost", {})
19
+ .n("CodeConnectionsClient", "GetHostCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetHostCommand)
22
+ .de(de_GetHostCommand)
23
+ .build() {
24
+ }
@@ -0,0 +1,24 @@
1
+ import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
+ import { getSerdePlugin } from "@smithy/middleware-serde";
3
+ import { Command as $Command } from "@smithy/smithy-client";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
+ import { de_GetRepositoryLinkCommand, se_GetRepositoryLinkCommand } from "../protocols/Aws_json1_0";
6
+ export { $Command };
7
+ export class GetRepositoryLinkCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("CodeConnections_20231201", "GetRepositoryLink", {})
19
+ .n("CodeConnectionsClient", "GetRepositoryLinkCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_GetRepositoryLinkCommand)
22
+ .de(de_GetRepositoryLinkCommand)
23
+ .build() {
24
+ }