@aws-sdk/client-codeconnections 3.891.0 → 3.894.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 (46) hide show
  1. package/dist-cjs/index.js +2029 -10
  2. package/package.json +19 -19
  3. package/dist-cjs/CodeConnections.js +0 -65
  4. package/dist-cjs/CodeConnectionsClient.js +0 -52
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
  6. package/dist-cjs/commands/CreateConnectionCommand.js +0 -26
  7. package/dist-cjs/commands/CreateHostCommand.js +0 -26
  8. package/dist-cjs/commands/CreateRepositoryLinkCommand.js +0 -26
  9. package/dist-cjs/commands/CreateSyncConfigurationCommand.js +0 -26
  10. package/dist-cjs/commands/DeleteConnectionCommand.js +0 -26
  11. package/dist-cjs/commands/DeleteHostCommand.js +0 -26
  12. package/dist-cjs/commands/DeleteRepositoryLinkCommand.js +0 -26
  13. package/dist-cjs/commands/DeleteSyncConfigurationCommand.js +0 -26
  14. package/dist-cjs/commands/GetConnectionCommand.js +0 -26
  15. package/dist-cjs/commands/GetHostCommand.js +0 -26
  16. package/dist-cjs/commands/GetRepositoryLinkCommand.js +0 -26
  17. package/dist-cjs/commands/GetRepositorySyncStatusCommand.js +0 -26
  18. package/dist-cjs/commands/GetResourceSyncStatusCommand.js +0 -26
  19. package/dist-cjs/commands/GetSyncBlockerSummaryCommand.js +0 -26
  20. package/dist-cjs/commands/GetSyncConfigurationCommand.js +0 -26
  21. package/dist-cjs/commands/ListConnectionsCommand.js +0 -26
  22. package/dist-cjs/commands/ListHostsCommand.js +0 -26
  23. package/dist-cjs/commands/ListRepositoryLinksCommand.js +0 -26
  24. package/dist-cjs/commands/ListRepositorySyncDefinitionsCommand.js +0 -26
  25. package/dist-cjs/commands/ListSyncConfigurationsCommand.js +0 -26
  26. package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
  27. package/dist-cjs/commands/TagResourceCommand.js +0 -26
  28. package/dist-cjs/commands/UntagResourceCommand.js +0 -26
  29. package/dist-cjs/commands/UpdateHostCommand.js +0 -26
  30. package/dist-cjs/commands/UpdateRepositoryLinkCommand.js +0 -26
  31. package/dist-cjs/commands/UpdateSyncBlockerCommand.js +0 -26
  32. package/dist-cjs/commands/UpdateSyncConfigurationCommand.js +0 -26
  33. package/dist-cjs/commands/index.js +0 -30
  34. package/dist-cjs/endpoint/EndpointParameters.js +0 -17
  35. package/dist-cjs/extensionConfiguration.js +0 -2
  36. package/dist-cjs/models/CodeConnectionsServiceException.js +0 -12
  37. package/dist-cjs/models/index.js +0 -4
  38. package/dist-cjs/models/models_0.js +0 -307
  39. package/dist-cjs/pagination/Interfaces.js +0 -2
  40. package/dist-cjs/pagination/ListConnectionsPaginator.js +0 -7
  41. package/dist-cjs/pagination/ListHostsPaginator.js +0 -7
  42. package/dist-cjs/pagination/ListRepositoryLinksPaginator.js +0 -7
  43. package/dist-cjs/pagination/ListSyncConfigurationsPaginator.js +0 -7
  44. package/dist-cjs/pagination/index.js +0 -8
  45. package/dist-cjs/protocols/Aws_json1_0.js +0 -928
  46. package/dist-cjs/runtimeExtensions.js +0 -13
package/dist-cjs/index.js CHANGED
@@ -1,11 +1,2030 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CodeConnectionsServiceException = void 0;
4
- const tslib_1 = require("tslib");
5
- tslib_1.__exportStar(require("./CodeConnectionsClient"), exports);
6
- tslib_1.__exportStar(require("./CodeConnections"), exports);
7
- tslib_1.__exportStar(require("./commands"), exports);
8
- tslib_1.__exportStar(require("./pagination"), exports);
9
- tslib_1.__exportStar(require("./models"), exports);
10
- var CodeConnectionsServiceException_1 = require("./models/CodeConnectionsServiceException");
11
- Object.defineProperty(exports, "CodeConnectionsServiceException", { enumerable: true, get: function () { return CodeConnectionsServiceException_1.CodeConnectionsServiceException; } });
2
+ var __defProp = Object.defineProperty;
3
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
+ var __getOwnPropNames = Object.getOwnPropertyNames;
5
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
6
+ var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
7
+ var __export = (target, all) => {
8
+ for (var name in all)
9
+ __defProp(target, name, { get: all[name], enumerable: true });
10
+ };
11
+ var __copyProps = (to, from, except, desc) => {
12
+ if (from && typeof from === "object" || typeof from === "function") {
13
+ for (let key of __getOwnPropNames(from))
14
+ if (!__hasOwnProp.call(to, key) && key !== except)
15
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
16
+ }
17
+ return to;
18
+ };
19
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
+
21
+ // src/index.ts
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
+ AccessDeniedException: () => AccessDeniedException,
25
+ BlockerStatus: () => BlockerStatus,
26
+ BlockerType: () => BlockerType,
27
+ CodeConnections: () => CodeConnections,
28
+ CodeConnectionsClient: () => CodeConnectionsClient,
29
+ CodeConnectionsServiceException: () => CodeConnectionsServiceException,
30
+ ConcurrentModificationException: () => ConcurrentModificationException,
31
+ ConditionalCheckFailedException: () => ConditionalCheckFailedException,
32
+ ConflictException: () => ConflictException,
33
+ ConnectionStatus: () => ConnectionStatus,
34
+ CreateConnectionCommand: () => CreateConnectionCommand,
35
+ CreateHostCommand: () => CreateHostCommand,
36
+ CreateRepositoryLinkCommand: () => CreateRepositoryLinkCommand,
37
+ CreateSyncConfigurationCommand: () => CreateSyncConfigurationCommand,
38
+ DeleteConnectionCommand: () => DeleteConnectionCommand,
39
+ DeleteHostCommand: () => DeleteHostCommand,
40
+ DeleteRepositoryLinkCommand: () => DeleteRepositoryLinkCommand,
41
+ DeleteSyncConfigurationCommand: () => DeleteSyncConfigurationCommand,
42
+ GetConnectionCommand: () => GetConnectionCommand,
43
+ GetHostCommand: () => GetHostCommand,
44
+ GetRepositoryLinkCommand: () => GetRepositoryLinkCommand,
45
+ GetRepositorySyncStatusCommand: () => GetRepositorySyncStatusCommand,
46
+ GetResourceSyncStatusCommand: () => GetResourceSyncStatusCommand,
47
+ GetSyncBlockerSummaryCommand: () => GetSyncBlockerSummaryCommand,
48
+ GetSyncConfigurationCommand: () => GetSyncConfigurationCommand,
49
+ InternalServerException: () => InternalServerException,
50
+ InvalidInputException: () => InvalidInputException,
51
+ LimitExceededException: () => LimitExceededException,
52
+ ListConnectionsCommand: () => ListConnectionsCommand,
53
+ ListHostsCommand: () => ListHostsCommand,
54
+ ListRepositoryLinksCommand: () => ListRepositoryLinksCommand,
55
+ ListRepositorySyncDefinitionsCommand: () => ListRepositorySyncDefinitionsCommand,
56
+ ListSyncConfigurationsCommand: () => ListSyncConfigurationsCommand,
57
+ ListTagsForResourceCommand: () => ListTagsForResourceCommand,
58
+ ProviderType: () => ProviderType,
59
+ PublishDeploymentStatus: () => PublishDeploymentStatus,
60
+ PullRequestComment: () => PullRequestComment,
61
+ RepositorySyncStatus: () => RepositorySyncStatus,
62
+ ResourceAlreadyExistsException: () => ResourceAlreadyExistsException,
63
+ ResourceNotFoundException: () => ResourceNotFoundException,
64
+ ResourceSyncStatus: () => ResourceSyncStatus,
65
+ ResourceUnavailableException: () => ResourceUnavailableException,
66
+ RetryLatestCommitFailedException: () => RetryLatestCommitFailedException,
67
+ SyncBlockerDoesNotExistException: () => SyncBlockerDoesNotExistException,
68
+ SyncConfigurationStillExistsException: () => SyncConfigurationStillExistsException,
69
+ SyncConfigurationType: () => SyncConfigurationType,
70
+ TagResourceCommand: () => TagResourceCommand,
71
+ ThrottlingException: () => ThrottlingException,
72
+ TriggerResourceUpdateOn: () => TriggerResourceUpdateOn,
73
+ UnsupportedOperationException: () => UnsupportedOperationException,
74
+ UnsupportedProviderTypeException: () => UnsupportedProviderTypeException,
75
+ UntagResourceCommand: () => UntagResourceCommand,
76
+ UpdateHostCommand: () => UpdateHostCommand,
77
+ UpdateOutOfSyncException: () => UpdateOutOfSyncException,
78
+ UpdateRepositoryLinkCommand: () => UpdateRepositoryLinkCommand,
79
+ UpdateSyncBlockerCommand: () => UpdateSyncBlockerCommand,
80
+ UpdateSyncConfigurationCommand: () => UpdateSyncConfigurationCommand,
81
+ __Client: () => import_smithy_client.Client,
82
+ paginateListConnections: () => paginateListConnections,
83
+ paginateListHosts: () => paginateListHosts,
84
+ paginateListRepositoryLinks: () => paginateListRepositoryLinks,
85
+ paginateListSyncConfigurations: () => paginateListSyncConfigurations
86
+ });
87
+ module.exports = __toCommonJS(index_exports);
88
+
89
+ // src/CodeConnectionsClient.ts
90
+ var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
91
+ var import_middleware_logger = require("@aws-sdk/middleware-logger");
92
+ var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
93
+ var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
94
+ var import_config_resolver = require("@smithy/config-resolver");
95
+ var import_core = require("@smithy/core");
96
+ var import_middleware_content_length = require("@smithy/middleware-content-length");
97
+ var import_middleware_endpoint = require("@smithy/middleware-endpoint");
98
+ var import_middleware_retry = require("@smithy/middleware-retry");
99
+
100
+ var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
101
+
102
+ // src/endpoint/EndpointParameters.ts
103
+ var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
104
+ return Object.assign(options, {
105
+ useDualstackEndpoint: options.useDualstackEndpoint ?? false,
106
+ useFipsEndpoint: options.useFipsEndpoint ?? false,
107
+ defaultSigningName: "codeconnections"
108
+ });
109
+ }, "resolveClientEndpointParameters");
110
+ var commonParams = {
111
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
112
+ Endpoint: { type: "builtInParams", name: "endpoint" },
113
+ Region: { type: "builtInParams", name: "region" },
114
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
115
+ };
116
+
117
+ // src/CodeConnectionsClient.ts
118
+ var import_runtimeConfig = require("././runtimeConfig");
119
+
120
+ // src/runtimeExtensions.ts
121
+ var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
122
+ var import_protocol_http = require("@smithy/protocol-http");
123
+ var import_smithy_client = require("@smithy/smithy-client");
124
+
125
+ // src/auth/httpAuthExtensionConfiguration.ts
126
+ var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
127
+ const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
128
+ let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
129
+ let _credentials = runtimeConfig.credentials;
130
+ return {
131
+ setHttpAuthScheme(httpAuthScheme) {
132
+ const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
133
+ if (index === -1) {
134
+ _httpAuthSchemes.push(httpAuthScheme);
135
+ } else {
136
+ _httpAuthSchemes.splice(index, 1, httpAuthScheme);
137
+ }
138
+ },
139
+ httpAuthSchemes() {
140
+ return _httpAuthSchemes;
141
+ },
142
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
143
+ _httpAuthSchemeProvider = httpAuthSchemeProvider;
144
+ },
145
+ httpAuthSchemeProvider() {
146
+ return _httpAuthSchemeProvider;
147
+ },
148
+ setCredentials(credentials) {
149
+ _credentials = credentials;
150
+ },
151
+ credentials() {
152
+ return _credentials;
153
+ }
154
+ };
155
+ }, "getHttpAuthExtensionConfiguration");
156
+ var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
157
+ return {
158
+ httpAuthSchemes: config.httpAuthSchemes(),
159
+ httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
160
+ credentials: config.credentials()
161
+ };
162
+ }, "resolveHttpAuthRuntimeConfig");
163
+
164
+ // src/runtimeExtensions.ts
165
+ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
166
+ const extensionConfiguration = Object.assign(
167
+ (0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
168
+ (0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
169
+ (0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
170
+ getHttpAuthExtensionConfiguration(runtimeConfig)
171
+ );
172
+ extensions.forEach((extension) => extension.configure(extensionConfiguration));
173
+ return Object.assign(
174
+ runtimeConfig,
175
+ (0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
176
+ (0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
177
+ (0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
178
+ resolveHttpAuthRuntimeConfig(extensionConfiguration)
179
+ );
180
+ }, "resolveRuntimeExtensions");
181
+
182
+ // src/CodeConnectionsClient.ts
183
+ var CodeConnectionsClient = class extends import_smithy_client.Client {
184
+ static {
185
+ __name(this, "CodeConnectionsClient");
186
+ }
187
+ /**
188
+ * The resolved configuration of CodeConnectionsClient class. This is resolved and normalized from the {@link CodeConnectionsClientConfig | constructor configuration interface}.
189
+ */
190
+ config;
191
+ constructor(...[configuration]) {
192
+ const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
193
+ super(_config_0);
194
+ this.initConfig = _config_0;
195
+ const _config_1 = resolveClientEndpointParameters(_config_0);
196
+ const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
197
+ const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
198
+ const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
199
+ const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
200
+ const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
201
+ const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
202
+ const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
203
+ this.config = _config_8;
204
+ this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
205
+ this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
206
+ this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
207
+ this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
208
+ this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
209
+ this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
210
+ this.middlewareStack.use(
211
+ (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
212
+ httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultCodeConnectionsHttpAuthSchemeParametersProvider,
213
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
214
+ "aws.auth#sigv4": config.credentials
215
+ }), "identityProviderConfigProvider")
216
+ })
217
+ );
218
+ this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
219
+ }
220
+ /**
221
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
222
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
223
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
224
+ */
225
+ destroy() {
226
+ super.destroy();
227
+ }
228
+ };
229
+
230
+ // src/CodeConnections.ts
231
+
232
+
233
+ // src/commands/CreateConnectionCommand.ts
234
+
235
+ var import_middleware_serde = require("@smithy/middleware-serde");
236
+
237
+
238
+ // src/protocols/Aws_json1_0.ts
239
+ var import_core2 = require("@aws-sdk/core");
240
+
241
+
242
+
243
+ // src/models/CodeConnectionsServiceException.ts
244
+
245
+ var CodeConnectionsServiceException = class _CodeConnectionsServiceException extends import_smithy_client.ServiceException {
246
+ static {
247
+ __name(this, "CodeConnectionsServiceException");
248
+ }
249
+ /**
250
+ * @internal
251
+ */
252
+ constructor(options) {
253
+ super(options);
254
+ Object.setPrototypeOf(this, _CodeConnectionsServiceException.prototype);
255
+ }
256
+ };
257
+
258
+ // src/models/models_0.ts
259
+ var AccessDeniedException = class _AccessDeniedException extends CodeConnectionsServiceException {
260
+ static {
261
+ __name(this, "AccessDeniedException");
262
+ }
263
+ name = "AccessDeniedException";
264
+ $fault = "client";
265
+ Message;
266
+ /**
267
+ * @internal
268
+ */
269
+ constructor(opts) {
270
+ super({
271
+ name: "AccessDeniedException",
272
+ $fault: "client",
273
+ ...opts
274
+ });
275
+ Object.setPrototypeOf(this, _AccessDeniedException.prototype);
276
+ this.Message = opts.Message;
277
+ }
278
+ };
279
+ var BlockerStatus = {
280
+ ACTIVE: "ACTIVE",
281
+ RESOLVED: "RESOLVED"
282
+ };
283
+ var BlockerType = {
284
+ AUTOMATED: "AUTOMATED"
285
+ };
286
+ var ProviderType = {
287
+ AZURE_DEV_OPS: "AzureDevOps",
288
+ BITBUCKET: "Bitbucket",
289
+ GITHUB: "GitHub",
290
+ GITHUB_ENTERPRISE_SERVER: "GitHubEnterpriseServer",
291
+ GITLAB: "GitLab",
292
+ GITLAB_SELF_MANAGED: "GitLabSelfManaged"
293
+ };
294
+ var LimitExceededException = class _LimitExceededException extends CodeConnectionsServiceException {
295
+ static {
296
+ __name(this, "LimitExceededException");
297
+ }
298
+ name = "LimitExceededException";
299
+ $fault = "client";
300
+ Message;
301
+ /**
302
+ * @internal
303
+ */
304
+ constructor(opts) {
305
+ super({
306
+ name: "LimitExceededException",
307
+ $fault: "client",
308
+ ...opts
309
+ });
310
+ Object.setPrototypeOf(this, _LimitExceededException.prototype);
311
+ this.Message = opts.Message;
312
+ }
313
+ };
314
+ var ResourceNotFoundException = class _ResourceNotFoundException extends CodeConnectionsServiceException {
315
+ static {
316
+ __name(this, "ResourceNotFoundException");
317
+ }
318
+ name = "ResourceNotFoundException";
319
+ $fault = "client";
320
+ Message;
321
+ /**
322
+ * @internal
323
+ */
324
+ constructor(opts) {
325
+ super({
326
+ name: "ResourceNotFoundException",
327
+ $fault: "client",
328
+ ...opts
329
+ });
330
+ Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
331
+ this.Message = opts.Message;
332
+ }
333
+ };
334
+ var ResourceUnavailableException = class _ResourceUnavailableException extends CodeConnectionsServiceException {
335
+ static {
336
+ __name(this, "ResourceUnavailableException");
337
+ }
338
+ name = "ResourceUnavailableException";
339
+ $fault = "client";
340
+ Message;
341
+ /**
342
+ * @internal
343
+ */
344
+ constructor(opts) {
345
+ super({
346
+ name: "ResourceUnavailableException",
347
+ $fault: "client",
348
+ ...opts
349
+ });
350
+ Object.setPrototypeOf(this, _ResourceUnavailableException.prototype);
351
+ this.Message = opts.Message;
352
+ }
353
+ };
354
+ var ConcurrentModificationException = class _ConcurrentModificationException extends CodeConnectionsServiceException {
355
+ static {
356
+ __name(this, "ConcurrentModificationException");
357
+ }
358
+ name = "ConcurrentModificationException";
359
+ $fault = "client";
360
+ Message;
361
+ /**
362
+ * @internal
363
+ */
364
+ constructor(opts) {
365
+ super({
366
+ name: "ConcurrentModificationException",
367
+ $fault: "client",
368
+ ...opts
369
+ });
370
+ Object.setPrototypeOf(this, _ConcurrentModificationException.prototype);
371
+ this.Message = opts.Message;
372
+ }
373
+ };
374
+ var InternalServerException = class _InternalServerException extends CodeConnectionsServiceException {
375
+ static {
376
+ __name(this, "InternalServerException");
377
+ }
378
+ name = "InternalServerException";
379
+ $fault = "server";
380
+ Message;
381
+ /**
382
+ * @internal
383
+ */
384
+ constructor(opts) {
385
+ super({
386
+ name: "InternalServerException",
387
+ $fault: "server",
388
+ ...opts
389
+ });
390
+ Object.setPrototypeOf(this, _InternalServerException.prototype);
391
+ this.Message = opts.Message;
392
+ }
393
+ };
394
+ var InvalidInputException = class _InvalidInputException extends CodeConnectionsServiceException {
395
+ static {
396
+ __name(this, "InvalidInputException");
397
+ }
398
+ name = "InvalidInputException";
399
+ $fault = "client";
400
+ Message;
401
+ /**
402
+ * @internal
403
+ */
404
+ constructor(opts) {
405
+ super({
406
+ name: "InvalidInputException",
407
+ $fault: "client",
408
+ ...opts
409
+ });
410
+ Object.setPrototypeOf(this, _InvalidInputException.prototype);
411
+ this.Message = opts.Message;
412
+ }
413
+ };
414
+ var ResourceAlreadyExistsException = class _ResourceAlreadyExistsException extends CodeConnectionsServiceException {
415
+ static {
416
+ __name(this, "ResourceAlreadyExistsException");
417
+ }
418
+ name = "ResourceAlreadyExistsException";
419
+ $fault = "client";
420
+ Message;
421
+ /**
422
+ * @internal
423
+ */
424
+ constructor(opts) {
425
+ super({
426
+ name: "ResourceAlreadyExistsException",
427
+ $fault: "client",
428
+ ...opts
429
+ });
430
+ Object.setPrototypeOf(this, _ResourceAlreadyExistsException.prototype);
431
+ this.Message = opts.Message;
432
+ }
433
+ };
434
+ var ThrottlingException = class _ThrottlingException extends CodeConnectionsServiceException {
435
+ static {
436
+ __name(this, "ThrottlingException");
437
+ }
438
+ name = "ThrottlingException";
439
+ $fault = "client";
440
+ Message;
441
+ /**
442
+ * @internal
443
+ */
444
+ constructor(opts) {
445
+ super({
446
+ name: "ThrottlingException",
447
+ $fault: "client",
448
+ ...opts
449
+ });
450
+ Object.setPrototypeOf(this, _ThrottlingException.prototype);
451
+ this.Message = opts.Message;
452
+ }
453
+ };
454
+ var PublishDeploymentStatus = {
455
+ DISABLED: "DISABLED",
456
+ ENABLED: "ENABLED"
457
+ };
458
+ var PullRequestComment = {
459
+ DISABLED: "DISABLED",
460
+ ENABLED: "ENABLED"
461
+ };
462
+ var SyncConfigurationType = {
463
+ CFN_STACK_SYNC: "CFN_STACK_SYNC"
464
+ };
465
+ var TriggerResourceUpdateOn = {
466
+ ANY_CHANGE: "ANY_CHANGE",
467
+ FILE_CHANGE: "FILE_CHANGE"
468
+ };
469
+ var SyncConfigurationStillExistsException = class _SyncConfigurationStillExistsException extends CodeConnectionsServiceException {
470
+ static {
471
+ __name(this, "SyncConfigurationStillExistsException");
472
+ }
473
+ name = "SyncConfigurationStillExistsException";
474
+ $fault = "client";
475
+ Message;
476
+ /**
477
+ * @internal
478
+ */
479
+ constructor(opts) {
480
+ super({
481
+ name: "SyncConfigurationStillExistsException",
482
+ $fault: "client",
483
+ ...opts
484
+ });
485
+ Object.setPrototypeOf(this, _SyncConfigurationStillExistsException.prototype);
486
+ this.Message = opts.Message;
487
+ }
488
+ };
489
+ var UnsupportedProviderTypeException = class _UnsupportedProviderTypeException extends CodeConnectionsServiceException {
490
+ static {
491
+ __name(this, "UnsupportedProviderTypeException");
492
+ }
493
+ name = "UnsupportedProviderTypeException";
494
+ $fault = "client";
495
+ Message;
496
+ /**
497
+ * @internal
498
+ */
499
+ constructor(opts) {
500
+ super({
501
+ name: "UnsupportedProviderTypeException",
502
+ $fault: "client",
503
+ ...opts
504
+ });
505
+ Object.setPrototypeOf(this, _UnsupportedProviderTypeException.prototype);
506
+ this.Message = opts.Message;
507
+ }
508
+ };
509
+ var ConnectionStatus = {
510
+ AVAILABLE: "AVAILABLE",
511
+ ERROR: "ERROR",
512
+ PENDING: "PENDING"
513
+ };
514
+ var RepositorySyncStatus = {
515
+ FAILED: "FAILED",
516
+ INITIATED: "INITIATED",
517
+ IN_PROGRESS: "IN_PROGRESS",
518
+ QUEUED: "QUEUED",
519
+ SUCCEEDED: "SUCCEEDED"
520
+ };
521
+ var ResourceSyncStatus = {
522
+ FAILED: "FAILED",
523
+ INITIATED: "INITIATED",
524
+ IN_PROGRESS: "IN_PROGRESS",
525
+ SUCCEEDED: "SUCCEEDED"
526
+ };
527
+ var ConflictException = class _ConflictException extends CodeConnectionsServiceException {
528
+ static {
529
+ __name(this, "ConflictException");
530
+ }
531
+ name = "ConflictException";
532
+ $fault = "client";
533
+ Message;
534
+ /**
535
+ * @internal
536
+ */
537
+ constructor(opts) {
538
+ super({
539
+ name: "ConflictException",
540
+ $fault: "client",
541
+ ...opts
542
+ });
543
+ Object.setPrototypeOf(this, _ConflictException.prototype);
544
+ this.Message = opts.Message;
545
+ }
546
+ };
547
+ var UnsupportedOperationException = class _UnsupportedOperationException extends CodeConnectionsServiceException {
548
+ static {
549
+ __name(this, "UnsupportedOperationException");
550
+ }
551
+ name = "UnsupportedOperationException";
552
+ $fault = "client";
553
+ Message;
554
+ /**
555
+ * @internal
556
+ */
557
+ constructor(opts) {
558
+ super({
559
+ name: "UnsupportedOperationException",
560
+ $fault: "client",
561
+ ...opts
562
+ });
563
+ Object.setPrototypeOf(this, _UnsupportedOperationException.prototype);
564
+ this.Message = opts.Message;
565
+ }
566
+ };
567
+ var ConditionalCheckFailedException = class _ConditionalCheckFailedException extends CodeConnectionsServiceException {
568
+ static {
569
+ __name(this, "ConditionalCheckFailedException");
570
+ }
571
+ name = "ConditionalCheckFailedException";
572
+ $fault = "client";
573
+ Message;
574
+ /**
575
+ * @internal
576
+ */
577
+ constructor(opts) {
578
+ super({
579
+ name: "ConditionalCheckFailedException",
580
+ $fault: "client",
581
+ ...opts
582
+ });
583
+ Object.setPrototypeOf(this, _ConditionalCheckFailedException.prototype);
584
+ this.Message = opts.Message;
585
+ }
586
+ };
587
+ var UpdateOutOfSyncException = class _UpdateOutOfSyncException extends CodeConnectionsServiceException {
588
+ static {
589
+ __name(this, "UpdateOutOfSyncException");
590
+ }
591
+ name = "UpdateOutOfSyncException";
592
+ $fault = "client";
593
+ Message;
594
+ /**
595
+ * @internal
596
+ */
597
+ constructor(opts) {
598
+ super({
599
+ name: "UpdateOutOfSyncException",
600
+ $fault: "client",
601
+ ...opts
602
+ });
603
+ Object.setPrototypeOf(this, _UpdateOutOfSyncException.prototype);
604
+ this.Message = opts.Message;
605
+ }
606
+ };
607
+ var RetryLatestCommitFailedException = class _RetryLatestCommitFailedException extends CodeConnectionsServiceException {
608
+ static {
609
+ __name(this, "RetryLatestCommitFailedException");
610
+ }
611
+ name = "RetryLatestCommitFailedException";
612
+ $fault = "server";
613
+ Message;
614
+ /**
615
+ * @internal
616
+ */
617
+ constructor(opts) {
618
+ super({
619
+ name: "RetryLatestCommitFailedException",
620
+ $fault: "server",
621
+ ...opts
622
+ });
623
+ Object.setPrototypeOf(this, _RetryLatestCommitFailedException.prototype);
624
+ this.Message = opts.Message;
625
+ }
626
+ };
627
+ var SyncBlockerDoesNotExistException = class _SyncBlockerDoesNotExistException extends CodeConnectionsServiceException {
628
+ static {
629
+ __name(this, "SyncBlockerDoesNotExistException");
630
+ }
631
+ name = "SyncBlockerDoesNotExistException";
632
+ $fault = "client";
633
+ Message;
634
+ /**
635
+ * @internal
636
+ */
637
+ constructor(opts) {
638
+ super({
639
+ name: "SyncBlockerDoesNotExistException",
640
+ $fault: "client",
641
+ ...opts
642
+ });
643
+ Object.setPrototypeOf(this, _SyncBlockerDoesNotExistException.prototype);
644
+ this.Message = opts.Message;
645
+ }
646
+ };
647
+
648
+ // src/protocols/Aws_json1_0.ts
649
+ var se_CreateConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
650
+ const headers = sharedHeaders("CreateConnection");
651
+ let body;
652
+ body = JSON.stringify((0, import_smithy_client._json)(input));
653
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
654
+ }, "se_CreateConnectionCommand");
655
+ var se_CreateHostCommand = /* @__PURE__ */ __name(async (input, context) => {
656
+ const headers = sharedHeaders("CreateHost");
657
+ let body;
658
+ body = JSON.stringify((0, import_smithy_client._json)(input));
659
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
660
+ }, "se_CreateHostCommand");
661
+ var se_CreateRepositoryLinkCommand = /* @__PURE__ */ __name(async (input, context) => {
662
+ const headers = sharedHeaders("CreateRepositoryLink");
663
+ let body;
664
+ body = JSON.stringify((0, import_smithy_client._json)(input));
665
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
666
+ }, "se_CreateRepositoryLinkCommand");
667
+ var se_CreateSyncConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
668
+ const headers = sharedHeaders("CreateSyncConfiguration");
669
+ let body;
670
+ body = JSON.stringify((0, import_smithy_client._json)(input));
671
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
672
+ }, "se_CreateSyncConfigurationCommand");
673
+ var se_DeleteConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
674
+ const headers = sharedHeaders("DeleteConnection");
675
+ let body;
676
+ body = JSON.stringify((0, import_smithy_client._json)(input));
677
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
678
+ }, "se_DeleteConnectionCommand");
679
+ var se_DeleteHostCommand = /* @__PURE__ */ __name(async (input, context) => {
680
+ const headers = sharedHeaders("DeleteHost");
681
+ let body;
682
+ body = JSON.stringify((0, import_smithy_client._json)(input));
683
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
684
+ }, "se_DeleteHostCommand");
685
+ var se_DeleteRepositoryLinkCommand = /* @__PURE__ */ __name(async (input, context) => {
686
+ const headers = sharedHeaders("DeleteRepositoryLink");
687
+ let body;
688
+ body = JSON.stringify((0, import_smithy_client._json)(input));
689
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
690
+ }, "se_DeleteRepositoryLinkCommand");
691
+ var se_DeleteSyncConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
692
+ const headers = sharedHeaders("DeleteSyncConfiguration");
693
+ let body;
694
+ body = JSON.stringify((0, import_smithy_client._json)(input));
695
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
696
+ }, "se_DeleteSyncConfigurationCommand");
697
+ var se_GetConnectionCommand = /* @__PURE__ */ __name(async (input, context) => {
698
+ const headers = sharedHeaders("GetConnection");
699
+ let body;
700
+ body = JSON.stringify((0, import_smithy_client._json)(input));
701
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
702
+ }, "se_GetConnectionCommand");
703
+ var se_GetHostCommand = /* @__PURE__ */ __name(async (input, context) => {
704
+ const headers = sharedHeaders("GetHost");
705
+ let body;
706
+ body = JSON.stringify((0, import_smithy_client._json)(input));
707
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
708
+ }, "se_GetHostCommand");
709
+ var se_GetRepositoryLinkCommand = /* @__PURE__ */ __name(async (input, context) => {
710
+ const headers = sharedHeaders("GetRepositoryLink");
711
+ let body;
712
+ body = JSON.stringify((0, import_smithy_client._json)(input));
713
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
714
+ }, "se_GetRepositoryLinkCommand");
715
+ var se_GetRepositorySyncStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
716
+ const headers = sharedHeaders("GetRepositorySyncStatus");
717
+ let body;
718
+ body = JSON.stringify((0, import_smithy_client._json)(input));
719
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
720
+ }, "se_GetRepositorySyncStatusCommand");
721
+ var se_GetResourceSyncStatusCommand = /* @__PURE__ */ __name(async (input, context) => {
722
+ const headers = sharedHeaders("GetResourceSyncStatus");
723
+ let body;
724
+ body = JSON.stringify((0, import_smithy_client._json)(input));
725
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
726
+ }, "se_GetResourceSyncStatusCommand");
727
+ var se_GetSyncBlockerSummaryCommand = /* @__PURE__ */ __name(async (input, context) => {
728
+ const headers = sharedHeaders("GetSyncBlockerSummary");
729
+ let body;
730
+ body = JSON.stringify((0, import_smithy_client._json)(input));
731
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
732
+ }, "se_GetSyncBlockerSummaryCommand");
733
+ var se_GetSyncConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
734
+ const headers = sharedHeaders("GetSyncConfiguration");
735
+ let body;
736
+ body = JSON.stringify((0, import_smithy_client._json)(input));
737
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
738
+ }, "se_GetSyncConfigurationCommand");
739
+ var se_ListConnectionsCommand = /* @__PURE__ */ __name(async (input, context) => {
740
+ const headers = sharedHeaders("ListConnections");
741
+ let body;
742
+ body = JSON.stringify((0, import_smithy_client._json)(input));
743
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
744
+ }, "se_ListConnectionsCommand");
745
+ var se_ListHostsCommand = /* @__PURE__ */ __name(async (input, context) => {
746
+ const headers = sharedHeaders("ListHosts");
747
+ let body;
748
+ body = JSON.stringify((0, import_smithy_client._json)(input));
749
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
750
+ }, "se_ListHostsCommand");
751
+ var se_ListRepositoryLinksCommand = /* @__PURE__ */ __name(async (input, context) => {
752
+ const headers = sharedHeaders("ListRepositoryLinks");
753
+ let body;
754
+ body = JSON.stringify((0, import_smithy_client._json)(input));
755
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
756
+ }, "se_ListRepositoryLinksCommand");
757
+ var se_ListRepositorySyncDefinitionsCommand = /* @__PURE__ */ __name(async (input, context) => {
758
+ const headers = sharedHeaders("ListRepositorySyncDefinitions");
759
+ let body;
760
+ body = JSON.stringify((0, import_smithy_client._json)(input));
761
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
762
+ }, "se_ListRepositorySyncDefinitionsCommand");
763
+ var se_ListSyncConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
764
+ const headers = sharedHeaders("ListSyncConfigurations");
765
+ let body;
766
+ body = JSON.stringify((0, import_smithy_client._json)(input));
767
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
768
+ }, "se_ListSyncConfigurationsCommand");
769
+ var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
770
+ const headers = sharedHeaders("ListTagsForResource");
771
+ let body;
772
+ body = JSON.stringify((0, import_smithy_client._json)(input));
773
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
774
+ }, "se_ListTagsForResourceCommand");
775
+ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
776
+ const headers = sharedHeaders("TagResource");
777
+ let body;
778
+ body = JSON.stringify((0, import_smithy_client._json)(input));
779
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
780
+ }, "se_TagResourceCommand");
781
+ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
782
+ const headers = sharedHeaders("UntagResource");
783
+ let body;
784
+ body = JSON.stringify((0, import_smithy_client._json)(input));
785
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
786
+ }, "se_UntagResourceCommand");
787
+ var se_UpdateHostCommand = /* @__PURE__ */ __name(async (input, context) => {
788
+ const headers = sharedHeaders("UpdateHost");
789
+ let body;
790
+ body = JSON.stringify((0, import_smithy_client._json)(input));
791
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
792
+ }, "se_UpdateHostCommand");
793
+ var se_UpdateRepositoryLinkCommand = /* @__PURE__ */ __name(async (input, context) => {
794
+ const headers = sharedHeaders("UpdateRepositoryLink");
795
+ let body;
796
+ body = JSON.stringify((0, import_smithy_client._json)(input));
797
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
798
+ }, "se_UpdateRepositoryLinkCommand");
799
+ var se_UpdateSyncBlockerCommand = /* @__PURE__ */ __name(async (input, context) => {
800
+ const headers = sharedHeaders("UpdateSyncBlocker");
801
+ let body;
802
+ body = JSON.stringify((0, import_smithy_client._json)(input));
803
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
804
+ }, "se_UpdateSyncBlockerCommand");
805
+ var se_UpdateSyncConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
806
+ const headers = sharedHeaders("UpdateSyncConfiguration");
807
+ let body;
808
+ body = JSON.stringify((0, import_smithy_client._json)(input));
809
+ return buildHttpRpcRequest(context, headers, "/", void 0, body);
810
+ }, "se_UpdateSyncConfigurationCommand");
811
+ var de_CreateConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
812
+ if (output.statusCode >= 300) {
813
+ return de_CommandError(output, context);
814
+ }
815
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
816
+ let contents = {};
817
+ contents = (0, import_smithy_client._json)(data);
818
+ const response = {
819
+ $metadata: deserializeMetadata(output),
820
+ ...contents
821
+ };
822
+ return response;
823
+ }, "de_CreateConnectionCommand");
824
+ var de_CreateHostCommand = /* @__PURE__ */ __name(async (output, context) => {
825
+ if (output.statusCode >= 300) {
826
+ return de_CommandError(output, context);
827
+ }
828
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
829
+ let contents = {};
830
+ contents = (0, import_smithy_client._json)(data);
831
+ const response = {
832
+ $metadata: deserializeMetadata(output),
833
+ ...contents
834
+ };
835
+ return response;
836
+ }, "de_CreateHostCommand");
837
+ var de_CreateRepositoryLinkCommand = /* @__PURE__ */ __name(async (output, context) => {
838
+ if (output.statusCode >= 300) {
839
+ return de_CommandError(output, context);
840
+ }
841
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
842
+ let contents = {};
843
+ contents = (0, import_smithy_client._json)(data);
844
+ const response = {
845
+ $metadata: deserializeMetadata(output),
846
+ ...contents
847
+ };
848
+ return response;
849
+ }, "de_CreateRepositoryLinkCommand");
850
+ var de_CreateSyncConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
851
+ if (output.statusCode >= 300) {
852
+ return de_CommandError(output, context);
853
+ }
854
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
855
+ let contents = {};
856
+ contents = (0, import_smithy_client._json)(data);
857
+ const response = {
858
+ $metadata: deserializeMetadata(output),
859
+ ...contents
860
+ };
861
+ return response;
862
+ }, "de_CreateSyncConfigurationCommand");
863
+ var de_DeleteConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
864
+ if (output.statusCode >= 300) {
865
+ return de_CommandError(output, context);
866
+ }
867
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
868
+ let contents = {};
869
+ contents = (0, import_smithy_client._json)(data);
870
+ const response = {
871
+ $metadata: deserializeMetadata(output),
872
+ ...contents
873
+ };
874
+ return response;
875
+ }, "de_DeleteConnectionCommand");
876
+ var de_DeleteHostCommand = /* @__PURE__ */ __name(async (output, context) => {
877
+ if (output.statusCode >= 300) {
878
+ return de_CommandError(output, context);
879
+ }
880
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
881
+ let contents = {};
882
+ contents = (0, import_smithy_client._json)(data);
883
+ const response = {
884
+ $metadata: deserializeMetadata(output),
885
+ ...contents
886
+ };
887
+ return response;
888
+ }, "de_DeleteHostCommand");
889
+ var de_DeleteRepositoryLinkCommand = /* @__PURE__ */ __name(async (output, context) => {
890
+ if (output.statusCode >= 300) {
891
+ return de_CommandError(output, context);
892
+ }
893
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
894
+ let contents = {};
895
+ contents = (0, import_smithy_client._json)(data);
896
+ const response = {
897
+ $metadata: deserializeMetadata(output),
898
+ ...contents
899
+ };
900
+ return response;
901
+ }, "de_DeleteRepositoryLinkCommand");
902
+ var de_DeleteSyncConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
903
+ if (output.statusCode >= 300) {
904
+ return de_CommandError(output, context);
905
+ }
906
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
907
+ let contents = {};
908
+ contents = (0, import_smithy_client._json)(data);
909
+ const response = {
910
+ $metadata: deserializeMetadata(output),
911
+ ...contents
912
+ };
913
+ return response;
914
+ }, "de_DeleteSyncConfigurationCommand");
915
+ var de_GetConnectionCommand = /* @__PURE__ */ __name(async (output, context) => {
916
+ if (output.statusCode >= 300) {
917
+ return de_CommandError(output, context);
918
+ }
919
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
920
+ let contents = {};
921
+ contents = (0, import_smithy_client._json)(data);
922
+ const response = {
923
+ $metadata: deserializeMetadata(output),
924
+ ...contents
925
+ };
926
+ return response;
927
+ }, "de_GetConnectionCommand");
928
+ var de_GetHostCommand = /* @__PURE__ */ __name(async (output, context) => {
929
+ if (output.statusCode >= 300) {
930
+ return de_CommandError(output, context);
931
+ }
932
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
933
+ let contents = {};
934
+ contents = (0, import_smithy_client._json)(data);
935
+ const response = {
936
+ $metadata: deserializeMetadata(output),
937
+ ...contents
938
+ };
939
+ return response;
940
+ }, "de_GetHostCommand");
941
+ var de_GetRepositoryLinkCommand = /* @__PURE__ */ __name(async (output, context) => {
942
+ if (output.statusCode >= 300) {
943
+ return de_CommandError(output, context);
944
+ }
945
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
946
+ let contents = {};
947
+ contents = (0, import_smithy_client._json)(data);
948
+ const response = {
949
+ $metadata: deserializeMetadata(output),
950
+ ...contents
951
+ };
952
+ return response;
953
+ }, "de_GetRepositoryLinkCommand");
954
+ var de_GetRepositorySyncStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
955
+ if (output.statusCode >= 300) {
956
+ return de_CommandError(output, context);
957
+ }
958
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
959
+ let contents = {};
960
+ contents = de_GetRepositorySyncStatusOutput(data, context);
961
+ const response = {
962
+ $metadata: deserializeMetadata(output),
963
+ ...contents
964
+ };
965
+ return response;
966
+ }, "de_GetRepositorySyncStatusCommand");
967
+ var de_GetResourceSyncStatusCommand = /* @__PURE__ */ __name(async (output, context) => {
968
+ if (output.statusCode >= 300) {
969
+ return de_CommandError(output, context);
970
+ }
971
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
972
+ let contents = {};
973
+ contents = de_GetResourceSyncStatusOutput(data, context);
974
+ const response = {
975
+ $metadata: deserializeMetadata(output),
976
+ ...contents
977
+ };
978
+ return response;
979
+ }, "de_GetResourceSyncStatusCommand");
980
+ var de_GetSyncBlockerSummaryCommand = /* @__PURE__ */ __name(async (output, context) => {
981
+ if (output.statusCode >= 300) {
982
+ return de_CommandError(output, context);
983
+ }
984
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
985
+ let contents = {};
986
+ contents = de_GetSyncBlockerSummaryOutput(data, context);
987
+ const response = {
988
+ $metadata: deserializeMetadata(output),
989
+ ...contents
990
+ };
991
+ return response;
992
+ }, "de_GetSyncBlockerSummaryCommand");
993
+ var de_GetSyncConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
994
+ if (output.statusCode >= 300) {
995
+ return de_CommandError(output, context);
996
+ }
997
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
998
+ let contents = {};
999
+ contents = (0, import_smithy_client._json)(data);
1000
+ const response = {
1001
+ $metadata: deserializeMetadata(output),
1002
+ ...contents
1003
+ };
1004
+ return response;
1005
+ }, "de_GetSyncConfigurationCommand");
1006
+ var de_ListConnectionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1007
+ if (output.statusCode >= 300) {
1008
+ return de_CommandError(output, context);
1009
+ }
1010
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1011
+ let contents = {};
1012
+ contents = (0, import_smithy_client._json)(data);
1013
+ const response = {
1014
+ $metadata: deserializeMetadata(output),
1015
+ ...contents
1016
+ };
1017
+ return response;
1018
+ }, "de_ListConnectionsCommand");
1019
+ var de_ListHostsCommand = /* @__PURE__ */ __name(async (output, context) => {
1020
+ if (output.statusCode >= 300) {
1021
+ return de_CommandError(output, context);
1022
+ }
1023
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1024
+ let contents = {};
1025
+ contents = (0, import_smithy_client._json)(data);
1026
+ const response = {
1027
+ $metadata: deserializeMetadata(output),
1028
+ ...contents
1029
+ };
1030
+ return response;
1031
+ }, "de_ListHostsCommand");
1032
+ var de_ListRepositoryLinksCommand = /* @__PURE__ */ __name(async (output, context) => {
1033
+ if (output.statusCode >= 300) {
1034
+ return de_CommandError(output, context);
1035
+ }
1036
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1037
+ let contents = {};
1038
+ contents = (0, import_smithy_client._json)(data);
1039
+ const response = {
1040
+ $metadata: deserializeMetadata(output),
1041
+ ...contents
1042
+ };
1043
+ return response;
1044
+ }, "de_ListRepositoryLinksCommand");
1045
+ var de_ListRepositorySyncDefinitionsCommand = /* @__PURE__ */ __name(async (output, context) => {
1046
+ if (output.statusCode >= 300) {
1047
+ return de_CommandError(output, context);
1048
+ }
1049
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1050
+ let contents = {};
1051
+ contents = (0, import_smithy_client._json)(data);
1052
+ const response = {
1053
+ $metadata: deserializeMetadata(output),
1054
+ ...contents
1055
+ };
1056
+ return response;
1057
+ }, "de_ListRepositorySyncDefinitionsCommand");
1058
+ var de_ListSyncConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
1059
+ if (output.statusCode >= 300) {
1060
+ return de_CommandError(output, context);
1061
+ }
1062
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1063
+ let contents = {};
1064
+ contents = (0, import_smithy_client._json)(data);
1065
+ const response = {
1066
+ $metadata: deserializeMetadata(output),
1067
+ ...contents
1068
+ };
1069
+ return response;
1070
+ }, "de_ListSyncConfigurationsCommand");
1071
+ var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1072
+ if (output.statusCode >= 300) {
1073
+ return de_CommandError(output, context);
1074
+ }
1075
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1076
+ let contents = {};
1077
+ contents = (0, import_smithy_client._json)(data);
1078
+ const response = {
1079
+ $metadata: deserializeMetadata(output),
1080
+ ...contents
1081
+ };
1082
+ return response;
1083
+ }, "de_ListTagsForResourceCommand");
1084
+ var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1085
+ if (output.statusCode >= 300) {
1086
+ return de_CommandError(output, context);
1087
+ }
1088
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1089
+ let contents = {};
1090
+ contents = (0, import_smithy_client._json)(data);
1091
+ const response = {
1092
+ $metadata: deserializeMetadata(output),
1093
+ ...contents
1094
+ };
1095
+ return response;
1096
+ }, "de_TagResourceCommand");
1097
+ var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1098
+ if (output.statusCode >= 300) {
1099
+ return de_CommandError(output, context);
1100
+ }
1101
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1102
+ let contents = {};
1103
+ contents = (0, import_smithy_client._json)(data);
1104
+ const response = {
1105
+ $metadata: deserializeMetadata(output),
1106
+ ...contents
1107
+ };
1108
+ return response;
1109
+ }, "de_UntagResourceCommand");
1110
+ var de_UpdateHostCommand = /* @__PURE__ */ __name(async (output, context) => {
1111
+ if (output.statusCode >= 300) {
1112
+ return de_CommandError(output, context);
1113
+ }
1114
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1115
+ let contents = {};
1116
+ contents = (0, import_smithy_client._json)(data);
1117
+ const response = {
1118
+ $metadata: deserializeMetadata(output),
1119
+ ...contents
1120
+ };
1121
+ return response;
1122
+ }, "de_UpdateHostCommand");
1123
+ var de_UpdateRepositoryLinkCommand = /* @__PURE__ */ __name(async (output, context) => {
1124
+ if (output.statusCode >= 300) {
1125
+ return de_CommandError(output, context);
1126
+ }
1127
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1128
+ let contents = {};
1129
+ contents = (0, import_smithy_client._json)(data);
1130
+ const response = {
1131
+ $metadata: deserializeMetadata(output),
1132
+ ...contents
1133
+ };
1134
+ return response;
1135
+ }, "de_UpdateRepositoryLinkCommand");
1136
+ var de_UpdateSyncBlockerCommand = /* @__PURE__ */ __name(async (output, context) => {
1137
+ if (output.statusCode >= 300) {
1138
+ return de_CommandError(output, context);
1139
+ }
1140
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1141
+ let contents = {};
1142
+ contents = de_UpdateSyncBlockerOutput(data, context);
1143
+ const response = {
1144
+ $metadata: deserializeMetadata(output),
1145
+ ...contents
1146
+ };
1147
+ return response;
1148
+ }, "de_UpdateSyncBlockerCommand");
1149
+ var de_UpdateSyncConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
1150
+ if (output.statusCode >= 300) {
1151
+ return de_CommandError(output, context);
1152
+ }
1153
+ const data = await (0, import_core2.parseJsonBody)(output.body, context);
1154
+ let contents = {};
1155
+ contents = (0, import_smithy_client._json)(data);
1156
+ const response = {
1157
+ $metadata: deserializeMetadata(output),
1158
+ ...contents
1159
+ };
1160
+ return response;
1161
+ }, "de_UpdateSyncConfigurationCommand");
1162
+ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1163
+ const parsedOutput = {
1164
+ ...output,
1165
+ body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
1166
+ };
1167
+ const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
1168
+ switch (errorCode) {
1169
+ case "LimitExceededException":
1170
+ case "com.amazonaws.codeconnections#LimitExceededException":
1171
+ throw await de_LimitExceededExceptionRes(parsedOutput, context);
1172
+ case "ResourceNotFoundException":
1173
+ case "com.amazonaws.codeconnections#ResourceNotFoundException":
1174
+ throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
1175
+ case "ResourceUnavailableException":
1176
+ case "com.amazonaws.codeconnections#ResourceUnavailableException":
1177
+ throw await de_ResourceUnavailableExceptionRes(parsedOutput, context);
1178
+ case "AccessDeniedException":
1179
+ case "com.amazonaws.codeconnections#AccessDeniedException":
1180
+ throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1181
+ case "ConcurrentModificationException":
1182
+ case "com.amazonaws.codeconnections#ConcurrentModificationException":
1183
+ throw await de_ConcurrentModificationExceptionRes(parsedOutput, context);
1184
+ case "InternalServerException":
1185
+ case "com.amazonaws.codeconnections#InternalServerException":
1186
+ throw await de_InternalServerExceptionRes(parsedOutput, context);
1187
+ case "InvalidInputException":
1188
+ case "com.amazonaws.codeconnections#InvalidInputException":
1189
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1190
+ case "ResourceAlreadyExistsException":
1191
+ case "com.amazonaws.codeconnections#ResourceAlreadyExistsException":
1192
+ throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput, context);
1193
+ case "ThrottlingException":
1194
+ case "com.amazonaws.codeconnections#ThrottlingException":
1195
+ throw await de_ThrottlingExceptionRes(parsedOutput, context);
1196
+ case "SyncConfigurationStillExistsException":
1197
+ case "com.amazonaws.codeconnections#SyncConfigurationStillExistsException":
1198
+ throw await de_SyncConfigurationStillExistsExceptionRes(parsedOutput, context);
1199
+ case "UnsupportedProviderTypeException":
1200
+ case "com.amazonaws.codeconnections#UnsupportedProviderTypeException":
1201
+ throw await de_UnsupportedProviderTypeExceptionRes(parsedOutput, context);
1202
+ case "ConflictException":
1203
+ case "com.amazonaws.codeconnections#ConflictException":
1204
+ throw await de_ConflictExceptionRes(parsedOutput, context);
1205
+ case "UnsupportedOperationException":
1206
+ case "com.amazonaws.codeconnections#UnsupportedOperationException":
1207
+ throw await de_UnsupportedOperationExceptionRes(parsedOutput, context);
1208
+ case "ConditionalCheckFailedException":
1209
+ case "com.amazonaws.codeconnections#ConditionalCheckFailedException":
1210
+ throw await de_ConditionalCheckFailedExceptionRes(parsedOutput, context);
1211
+ case "UpdateOutOfSyncException":
1212
+ case "com.amazonaws.codeconnections#UpdateOutOfSyncException":
1213
+ throw await de_UpdateOutOfSyncExceptionRes(parsedOutput, context);
1214
+ case "RetryLatestCommitFailedException":
1215
+ case "com.amazonaws.codeconnections#RetryLatestCommitFailedException":
1216
+ throw await de_RetryLatestCommitFailedExceptionRes(parsedOutput, context);
1217
+ case "SyncBlockerDoesNotExistException":
1218
+ case "com.amazonaws.codeconnections#SyncBlockerDoesNotExistException":
1219
+ throw await de_SyncBlockerDoesNotExistExceptionRes(parsedOutput, context);
1220
+ default:
1221
+ const parsedBody = parsedOutput.body;
1222
+ return throwDefaultError({
1223
+ output,
1224
+ parsedBody,
1225
+ errorCode
1226
+ });
1227
+ }
1228
+ }, "de_CommandError");
1229
+ var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1230
+ const body = parsedOutput.body;
1231
+ const deserialized = (0, import_smithy_client._json)(body);
1232
+ const exception = new AccessDeniedException({
1233
+ $metadata: deserializeMetadata(parsedOutput),
1234
+ ...deserialized
1235
+ });
1236
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1237
+ }, "de_AccessDeniedExceptionRes");
1238
+ var de_ConcurrentModificationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1239
+ const body = parsedOutput.body;
1240
+ const deserialized = (0, import_smithy_client._json)(body);
1241
+ const exception = new ConcurrentModificationException({
1242
+ $metadata: deserializeMetadata(parsedOutput),
1243
+ ...deserialized
1244
+ });
1245
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1246
+ }, "de_ConcurrentModificationExceptionRes");
1247
+ var de_ConditionalCheckFailedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1248
+ const body = parsedOutput.body;
1249
+ const deserialized = (0, import_smithy_client._json)(body);
1250
+ const exception = new ConditionalCheckFailedException({
1251
+ $metadata: deserializeMetadata(parsedOutput),
1252
+ ...deserialized
1253
+ });
1254
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1255
+ }, "de_ConditionalCheckFailedExceptionRes");
1256
+ var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1257
+ const body = parsedOutput.body;
1258
+ const deserialized = (0, import_smithy_client._json)(body);
1259
+ const exception = new ConflictException({
1260
+ $metadata: deserializeMetadata(parsedOutput),
1261
+ ...deserialized
1262
+ });
1263
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1264
+ }, "de_ConflictExceptionRes");
1265
+ var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1266
+ const body = parsedOutput.body;
1267
+ const deserialized = (0, import_smithy_client._json)(body);
1268
+ const exception = new InternalServerException({
1269
+ $metadata: deserializeMetadata(parsedOutput),
1270
+ ...deserialized
1271
+ });
1272
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1273
+ }, "de_InternalServerExceptionRes");
1274
+ var de_InvalidInputExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1275
+ const body = parsedOutput.body;
1276
+ const deserialized = (0, import_smithy_client._json)(body);
1277
+ const exception = new InvalidInputException({
1278
+ $metadata: deserializeMetadata(parsedOutput),
1279
+ ...deserialized
1280
+ });
1281
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1282
+ }, "de_InvalidInputExceptionRes");
1283
+ var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1284
+ const body = parsedOutput.body;
1285
+ const deserialized = (0, import_smithy_client._json)(body);
1286
+ const exception = new LimitExceededException({
1287
+ $metadata: deserializeMetadata(parsedOutput),
1288
+ ...deserialized
1289
+ });
1290
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1291
+ }, "de_LimitExceededExceptionRes");
1292
+ var de_ResourceAlreadyExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1293
+ const body = parsedOutput.body;
1294
+ const deserialized = (0, import_smithy_client._json)(body);
1295
+ const exception = new ResourceAlreadyExistsException({
1296
+ $metadata: deserializeMetadata(parsedOutput),
1297
+ ...deserialized
1298
+ });
1299
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1300
+ }, "de_ResourceAlreadyExistsExceptionRes");
1301
+ var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1302
+ const body = parsedOutput.body;
1303
+ const deserialized = (0, import_smithy_client._json)(body);
1304
+ const exception = new ResourceNotFoundException({
1305
+ $metadata: deserializeMetadata(parsedOutput),
1306
+ ...deserialized
1307
+ });
1308
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1309
+ }, "de_ResourceNotFoundExceptionRes");
1310
+ var de_ResourceUnavailableExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1311
+ const body = parsedOutput.body;
1312
+ const deserialized = (0, import_smithy_client._json)(body);
1313
+ const exception = new ResourceUnavailableException({
1314
+ $metadata: deserializeMetadata(parsedOutput),
1315
+ ...deserialized
1316
+ });
1317
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1318
+ }, "de_ResourceUnavailableExceptionRes");
1319
+ var de_RetryLatestCommitFailedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1320
+ const body = parsedOutput.body;
1321
+ const deserialized = (0, import_smithy_client._json)(body);
1322
+ const exception = new RetryLatestCommitFailedException({
1323
+ $metadata: deserializeMetadata(parsedOutput),
1324
+ ...deserialized
1325
+ });
1326
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1327
+ }, "de_RetryLatestCommitFailedExceptionRes");
1328
+ var de_SyncBlockerDoesNotExistExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1329
+ const body = parsedOutput.body;
1330
+ const deserialized = (0, import_smithy_client._json)(body);
1331
+ const exception = new SyncBlockerDoesNotExistException({
1332
+ $metadata: deserializeMetadata(parsedOutput),
1333
+ ...deserialized
1334
+ });
1335
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1336
+ }, "de_SyncBlockerDoesNotExistExceptionRes");
1337
+ var de_SyncConfigurationStillExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1338
+ const body = parsedOutput.body;
1339
+ const deserialized = (0, import_smithy_client._json)(body);
1340
+ const exception = new SyncConfigurationStillExistsException({
1341
+ $metadata: deserializeMetadata(parsedOutput),
1342
+ ...deserialized
1343
+ });
1344
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1345
+ }, "de_SyncConfigurationStillExistsExceptionRes");
1346
+ var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1347
+ const body = parsedOutput.body;
1348
+ const deserialized = (0, import_smithy_client._json)(body);
1349
+ const exception = new ThrottlingException({
1350
+ $metadata: deserializeMetadata(parsedOutput),
1351
+ ...deserialized
1352
+ });
1353
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1354
+ }, "de_ThrottlingExceptionRes");
1355
+ var de_UnsupportedOperationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1356
+ const body = parsedOutput.body;
1357
+ const deserialized = (0, import_smithy_client._json)(body);
1358
+ const exception = new UnsupportedOperationException({
1359
+ $metadata: deserializeMetadata(parsedOutput),
1360
+ ...deserialized
1361
+ });
1362
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1363
+ }, "de_UnsupportedOperationExceptionRes");
1364
+ var de_UnsupportedProviderTypeExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1365
+ const body = parsedOutput.body;
1366
+ const deserialized = (0, import_smithy_client._json)(body);
1367
+ const exception = new UnsupportedProviderTypeException({
1368
+ $metadata: deserializeMetadata(parsedOutput),
1369
+ ...deserialized
1370
+ });
1371
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1372
+ }, "de_UnsupportedProviderTypeExceptionRes");
1373
+ var de_UpdateOutOfSyncExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
1374
+ const body = parsedOutput.body;
1375
+ const deserialized = (0, import_smithy_client._json)(body);
1376
+ const exception = new UpdateOutOfSyncException({
1377
+ $metadata: deserializeMetadata(parsedOutput),
1378
+ ...deserialized
1379
+ });
1380
+ return (0, import_smithy_client.decorateServiceException)(exception, body);
1381
+ }, "de_UpdateOutOfSyncExceptionRes");
1382
+ var de_GetRepositorySyncStatusOutput = /* @__PURE__ */ __name((output, context) => {
1383
+ return (0, import_smithy_client.take)(output, {
1384
+ LatestSync: /* @__PURE__ */ __name((_) => de_RepositorySyncAttempt(_, context), "LatestSync")
1385
+ });
1386
+ }, "de_GetRepositorySyncStatusOutput");
1387
+ var de_GetResourceSyncStatusOutput = /* @__PURE__ */ __name((output, context) => {
1388
+ return (0, import_smithy_client.take)(output, {
1389
+ DesiredState: import_smithy_client._json,
1390
+ LatestSuccessfulSync: /* @__PURE__ */ __name((_) => de_ResourceSyncAttempt(_, context), "LatestSuccessfulSync"),
1391
+ LatestSync: /* @__PURE__ */ __name((_) => de_ResourceSyncAttempt(_, context), "LatestSync")
1392
+ });
1393
+ }, "de_GetResourceSyncStatusOutput");
1394
+ var de_GetSyncBlockerSummaryOutput = /* @__PURE__ */ __name((output, context) => {
1395
+ return (0, import_smithy_client.take)(output, {
1396
+ SyncBlockerSummary: /* @__PURE__ */ __name((_) => de_SyncBlockerSummary(_, context), "SyncBlockerSummary")
1397
+ });
1398
+ }, "de_GetSyncBlockerSummaryOutput");
1399
+ var de_LatestSyncBlockerList = /* @__PURE__ */ __name((output, context) => {
1400
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1401
+ return de_SyncBlocker(entry, context);
1402
+ });
1403
+ return retVal;
1404
+ }, "de_LatestSyncBlockerList");
1405
+ var de_RepositorySyncAttempt = /* @__PURE__ */ __name((output, context) => {
1406
+ return (0, import_smithy_client.take)(output, {
1407
+ Events: /* @__PURE__ */ __name((_) => de_RepositorySyncEventList(_, context), "Events"),
1408
+ StartedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartedAt"),
1409
+ Status: import_smithy_client.expectString
1410
+ });
1411
+ }, "de_RepositorySyncAttempt");
1412
+ var de_RepositorySyncEvent = /* @__PURE__ */ __name((output, context) => {
1413
+ return (0, import_smithy_client.take)(output, {
1414
+ Event: import_smithy_client.expectString,
1415
+ ExternalId: import_smithy_client.expectString,
1416
+ Time: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Time"),
1417
+ Type: import_smithy_client.expectString
1418
+ });
1419
+ }, "de_RepositorySyncEvent");
1420
+ var de_RepositorySyncEventList = /* @__PURE__ */ __name((output, context) => {
1421
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1422
+ return de_RepositorySyncEvent(entry, context);
1423
+ });
1424
+ return retVal;
1425
+ }, "de_RepositorySyncEventList");
1426
+ var de_ResourceSyncAttempt = /* @__PURE__ */ __name((output, context) => {
1427
+ return (0, import_smithy_client.take)(output, {
1428
+ Events: /* @__PURE__ */ __name((_) => de_ResourceSyncEventList(_, context), "Events"),
1429
+ InitialRevision: import_smithy_client._json,
1430
+ StartedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "StartedAt"),
1431
+ Status: import_smithy_client.expectString,
1432
+ Target: import_smithy_client.expectString,
1433
+ TargetRevision: import_smithy_client._json
1434
+ });
1435
+ }, "de_ResourceSyncAttempt");
1436
+ var de_ResourceSyncEvent = /* @__PURE__ */ __name((output, context) => {
1437
+ return (0, import_smithy_client.take)(output, {
1438
+ Event: import_smithy_client.expectString,
1439
+ ExternalId: import_smithy_client.expectString,
1440
+ Time: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "Time"),
1441
+ Type: import_smithy_client.expectString
1442
+ });
1443
+ }, "de_ResourceSyncEvent");
1444
+ var de_ResourceSyncEventList = /* @__PURE__ */ __name((output, context) => {
1445
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
1446
+ return de_ResourceSyncEvent(entry, context);
1447
+ });
1448
+ return retVal;
1449
+ }, "de_ResourceSyncEventList");
1450
+ var de_SyncBlocker = /* @__PURE__ */ __name((output, context) => {
1451
+ return (0, import_smithy_client.take)(output, {
1452
+ Contexts: import_smithy_client._json,
1453
+ CreatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "CreatedAt"),
1454
+ CreatedReason: import_smithy_client.expectString,
1455
+ Id: import_smithy_client.expectString,
1456
+ ResolvedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "ResolvedAt"),
1457
+ ResolvedReason: import_smithy_client.expectString,
1458
+ Status: import_smithy_client.expectString,
1459
+ Type: import_smithy_client.expectString
1460
+ });
1461
+ }, "de_SyncBlocker");
1462
+ var de_SyncBlockerSummary = /* @__PURE__ */ __name((output, context) => {
1463
+ return (0, import_smithy_client.take)(output, {
1464
+ LatestBlockers: /* @__PURE__ */ __name((_) => de_LatestSyncBlockerList(_, context), "LatestBlockers"),
1465
+ ParentResourceName: import_smithy_client.expectString,
1466
+ ResourceName: import_smithy_client.expectString
1467
+ });
1468
+ }, "de_SyncBlockerSummary");
1469
+ var de_UpdateSyncBlockerOutput = /* @__PURE__ */ __name((output, context) => {
1470
+ return (0, import_smithy_client.take)(output, {
1471
+ ParentResourceName: import_smithy_client.expectString,
1472
+ ResourceName: import_smithy_client.expectString,
1473
+ SyncBlocker: /* @__PURE__ */ __name((_) => de_SyncBlocker(_, context), "SyncBlocker")
1474
+ });
1475
+ }, "de_UpdateSyncBlockerOutput");
1476
+ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
1477
+ httpStatusCode: output.statusCode,
1478
+ requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1479
+ extendedRequestId: output.headers["x-amz-id-2"],
1480
+ cfId: output.headers["x-amz-cf-id"]
1481
+ }), "deserializeMetadata");
1482
+ var throwDefaultError = (0, import_smithy_client.withBaseException)(CodeConnectionsServiceException);
1483
+ var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
1484
+ const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1485
+ const contents = {
1486
+ protocol,
1487
+ hostname,
1488
+ port,
1489
+ method: "POST",
1490
+ path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1491
+ headers
1492
+ };
1493
+ if (resolvedHostname !== void 0) {
1494
+ contents.hostname = resolvedHostname;
1495
+ }
1496
+ if (body !== void 0) {
1497
+ contents.body = body;
1498
+ }
1499
+ return new import_protocol_http.HttpRequest(contents);
1500
+ }, "buildHttpRpcRequest");
1501
+ function sharedHeaders(operation) {
1502
+ return {
1503
+ "content-type": "application/x-amz-json-1.0",
1504
+ "x-amz-target": `CodeConnections_20231201.${operation}`
1505
+ };
1506
+ }
1507
+ __name(sharedHeaders, "sharedHeaders");
1508
+
1509
+ // src/commands/CreateConnectionCommand.ts
1510
+ var CreateConnectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1511
+ return [
1512
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1513
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1514
+ ];
1515
+ }).s("CodeConnections_20231201", "CreateConnection", {}).n("CodeConnectionsClient", "CreateConnectionCommand").f(void 0, void 0).ser(se_CreateConnectionCommand).de(de_CreateConnectionCommand).build() {
1516
+ static {
1517
+ __name(this, "CreateConnectionCommand");
1518
+ }
1519
+ };
1520
+
1521
+ // src/commands/CreateHostCommand.ts
1522
+
1523
+
1524
+
1525
+ var CreateHostCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1526
+ return [
1527
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1528
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1529
+ ];
1530
+ }).s("CodeConnections_20231201", "CreateHost", {}).n("CodeConnectionsClient", "CreateHostCommand").f(void 0, void 0).ser(se_CreateHostCommand).de(de_CreateHostCommand).build() {
1531
+ static {
1532
+ __name(this, "CreateHostCommand");
1533
+ }
1534
+ };
1535
+
1536
+ // src/commands/CreateRepositoryLinkCommand.ts
1537
+
1538
+
1539
+
1540
+ var CreateRepositoryLinkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1541
+ return [
1542
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1543
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1544
+ ];
1545
+ }).s("CodeConnections_20231201", "CreateRepositoryLink", {}).n("CodeConnectionsClient", "CreateRepositoryLinkCommand").f(void 0, void 0).ser(se_CreateRepositoryLinkCommand).de(de_CreateRepositoryLinkCommand).build() {
1546
+ static {
1547
+ __name(this, "CreateRepositoryLinkCommand");
1548
+ }
1549
+ };
1550
+
1551
+ // src/commands/CreateSyncConfigurationCommand.ts
1552
+
1553
+
1554
+
1555
+ var CreateSyncConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1556
+ return [
1557
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1558
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1559
+ ];
1560
+ }).s("CodeConnections_20231201", "CreateSyncConfiguration", {}).n("CodeConnectionsClient", "CreateSyncConfigurationCommand").f(void 0, void 0).ser(se_CreateSyncConfigurationCommand).de(de_CreateSyncConfigurationCommand).build() {
1561
+ static {
1562
+ __name(this, "CreateSyncConfigurationCommand");
1563
+ }
1564
+ };
1565
+
1566
+ // src/commands/DeleteConnectionCommand.ts
1567
+
1568
+
1569
+
1570
+ var DeleteConnectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1571
+ return [
1572
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1573
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1574
+ ];
1575
+ }).s("CodeConnections_20231201", "DeleteConnection", {}).n("CodeConnectionsClient", "DeleteConnectionCommand").f(void 0, void 0).ser(se_DeleteConnectionCommand).de(de_DeleteConnectionCommand).build() {
1576
+ static {
1577
+ __name(this, "DeleteConnectionCommand");
1578
+ }
1579
+ };
1580
+
1581
+ // src/commands/DeleteHostCommand.ts
1582
+
1583
+
1584
+
1585
+ var DeleteHostCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1586
+ return [
1587
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1588
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1589
+ ];
1590
+ }).s("CodeConnections_20231201", "DeleteHost", {}).n("CodeConnectionsClient", "DeleteHostCommand").f(void 0, void 0).ser(se_DeleteHostCommand).de(de_DeleteHostCommand).build() {
1591
+ static {
1592
+ __name(this, "DeleteHostCommand");
1593
+ }
1594
+ };
1595
+
1596
+ // src/commands/DeleteRepositoryLinkCommand.ts
1597
+
1598
+
1599
+
1600
+ var DeleteRepositoryLinkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1601
+ return [
1602
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1603
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1604
+ ];
1605
+ }).s("CodeConnections_20231201", "DeleteRepositoryLink", {}).n("CodeConnectionsClient", "DeleteRepositoryLinkCommand").f(void 0, void 0).ser(se_DeleteRepositoryLinkCommand).de(de_DeleteRepositoryLinkCommand).build() {
1606
+ static {
1607
+ __name(this, "DeleteRepositoryLinkCommand");
1608
+ }
1609
+ };
1610
+
1611
+ // src/commands/DeleteSyncConfigurationCommand.ts
1612
+
1613
+
1614
+
1615
+ var DeleteSyncConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1616
+ return [
1617
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1618
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1619
+ ];
1620
+ }).s("CodeConnections_20231201", "DeleteSyncConfiguration", {}).n("CodeConnectionsClient", "DeleteSyncConfigurationCommand").f(void 0, void 0).ser(se_DeleteSyncConfigurationCommand).de(de_DeleteSyncConfigurationCommand).build() {
1621
+ static {
1622
+ __name(this, "DeleteSyncConfigurationCommand");
1623
+ }
1624
+ };
1625
+
1626
+ // src/commands/GetConnectionCommand.ts
1627
+
1628
+
1629
+
1630
+ var GetConnectionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1631
+ return [
1632
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1633
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1634
+ ];
1635
+ }).s("CodeConnections_20231201", "GetConnection", {}).n("CodeConnectionsClient", "GetConnectionCommand").f(void 0, void 0).ser(se_GetConnectionCommand).de(de_GetConnectionCommand).build() {
1636
+ static {
1637
+ __name(this, "GetConnectionCommand");
1638
+ }
1639
+ };
1640
+
1641
+ // src/commands/GetHostCommand.ts
1642
+
1643
+
1644
+
1645
+ var GetHostCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1646
+ return [
1647
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1648
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1649
+ ];
1650
+ }).s("CodeConnections_20231201", "GetHost", {}).n("CodeConnectionsClient", "GetHostCommand").f(void 0, void 0).ser(se_GetHostCommand).de(de_GetHostCommand).build() {
1651
+ static {
1652
+ __name(this, "GetHostCommand");
1653
+ }
1654
+ };
1655
+
1656
+ // src/commands/GetRepositoryLinkCommand.ts
1657
+
1658
+
1659
+
1660
+ var GetRepositoryLinkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1661
+ return [
1662
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1663
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1664
+ ];
1665
+ }).s("CodeConnections_20231201", "GetRepositoryLink", {}).n("CodeConnectionsClient", "GetRepositoryLinkCommand").f(void 0, void 0).ser(se_GetRepositoryLinkCommand).de(de_GetRepositoryLinkCommand).build() {
1666
+ static {
1667
+ __name(this, "GetRepositoryLinkCommand");
1668
+ }
1669
+ };
1670
+
1671
+ // src/commands/GetRepositorySyncStatusCommand.ts
1672
+
1673
+
1674
+
1675
+ var GetRepositorySyncStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1676
+ return [
1677
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1678
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1679
+ ];
1680
+ }).s("CodeConnections_20231201", "GetRepositorySyncStatus", {}).n("CodeConnectionsClient", "GetRepositorySyncStatusCommand").f(void 0, void 0).ser(se_GetRepositorySyncStatusCommand).de(de_GetRepositorySyncStatusCommand).build() {
1681
+ static {
1682
+ __name(this, "GetRepositorySyncStatusCommand");
1683
+ }
1684
+ };
1685
+
1686
+ // src/commands/GetResourceSyncStatusCommand.ts
1687
+
1688
+
1689
+
1690
+ var GetResourceSyncStatusCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1691
+ return [
1692
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1693
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1694
+ ];
1695
+ }).s("CodeConnections_20231201", "GetResourceSyncStatus", {}).n("CodeConnectionsClient", "GetResourceSyncStatusCommand").f(void 0, void 0).ser(se_GetResourceSyncStatusCommand).de(de_GetResourceSyncStatusCommand).build() {
1696
+ static {
1697
+ __name(this, "GetResourceSyncStatusCommand");
1698
+ }
1699
+ };
1700
+
1701
+ // src/commands/GetSyncBlockerSummaryCommand.ts
1702
+
1703
+
1704
+
1705
+ var GetSyncBlockerSummaryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1706
+ return [
1707
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1708
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1709
+ ];
1710
+ }).s("CodeConnections_20231201", "GetSyncBlockerSummary", {}).n("CodeConnectionsClient", "GetSyncBlockerSummaryCommand").f(void 0, void 0).ser(se_GetSyncBlockerSummaryCommand).de(de_GetSyncBlockerSummaryCommand).build() {
1711
+ static {
1712
+ __name(this, "GetSyncBlockerSummaryCommand");
1713
+ }
1714
+ };
1715
+
1716
+ // src/commands/GetSyncConfigurationCommand.ts
1717
+
1718
+
1719
+
1720
+ var GetSyncConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1721
+ return [
1722
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1723
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1724
+ ];
1725
+ }).s("CodeConnections_20231201", "GetSyncConfiguration", {}).n("CodeConnectionsClient", "GetSyncConfigurationCommand").f(void 0, void 0).ser(se_GetSyncConfigurationCommand).de(de_GetSyncConfigurationCommand).build() {
1726
+ static {
1727
+ __name(this, "GetSyncConfigurationCommand");
1728
+ }
1729
+ };
1730
+
1731
+ // src/commands/ListConnectionsCommand.ts
1732
+
1733
+
1734
+
1735
+ var ListConnectionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1736
+ return [
1737
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1738
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1739
+ ];
1740
+ }).s("CodeConnections_20231201", "ListConnections", {}).n("CodeConnectionsClient", "ListConnectionsCommand").f(void 0, void 0).ser(se_ListConnectionsCommand).de(de_ListConnectionsCommand).build() {
1741
+ static {
1742
+ __name(this, "ListConnectionsCommand");
1743
+ }
1744
+ };
1745
+
1746
+ // src/commands/ListHostsCommand.ts
1747
+
1748
+
1749
+
1750
+ var ListHostsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1751
+ return [
1752
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1753
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1754
+ ];
1755
+ }).s("CodeConnections_20231201", "ListHosts", {}).n("CodeConnectionsClient", "ListHostsCommand").f(void 0, void 0).ser(se_ListHostsCommand).de(de_ListHostsCommand).build() {
1756
+ static {
1757
+ __name(this, "ListHostsCommand");
1758
+ }
1759
+ };
1760
+
1761
+ // src/commands/ListRepositoryLinksCommand.ts
1762
+
1763
+
1764
+
1765
+ var ListRepositoryLinksCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1766
+ return [
1767
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1768
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1769
+ ];
1770
+ }).s("CodeConnections_20231201", "ListRepositoryLinks", {}).n("CodeConnectionsClient", "ListRepositoryLinksCommand").f(void 0, void 0).ser(se_ListRepositoryLinksCommand).de(de_ListRepositoryLinksCommand).build() {
1771
+ static {
1772
+ __name(this, "ListRepositoryLinksCommand");
1773
+ }
1774
+ };
1775
+
1776
+ // src/commands/ListRepositorySyncDefinitionsCommand.ts
1777
+
1778
+
1779
+
1780
+ var ListRepositorySyncDefinitionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1781
+ return [
1782
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1783
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1784
+ ];
1785
+ }).s("CodeConnections_20231201", "ListRepositorySyncDefinitions", {}).n("CodeConnectionsClient", "ListRepositorySyncDefinitionsCommand").f(void 0, void 0).ser(se_ListRepositorySyncDefinitionsCommand).de(de_ListRepositorySyncDefinitionsCommand).build() {
1786
+ static {
1787
+ __name(this, "ListRepositorySyncDefinitionsCommand");
1788
+ }
1789
+ };
1790
+
1791
+ // src/commands/ListSyncConfigurationsCommand.ts
1792
+
1793
+
1794
+
1795
+ var ListSyncConfigurationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1796
+ return [
1797
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1798
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1799
+ ];
1800
+ }).s("CodeConnections_20231201", "ListSyncConfigurations", {}).n("CodeConnectionsClient", "ListSyncConfigurationsCommand").f(void 0, void 0).ser(se_ListSyncConfigurationsCommand).de(de_ListSyncConfigurationsCommand).build() {
1801
+ static {
1802
+ __name(this, "ListSyncConfigurationsCommand");
1803
+ }
1804
+ };
1805
+
1806
+ // src/commands/ListTagsForResourceCommand.ts
1807
+
1808
+
1809
+
1810
+ var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1811
+ return [
1812
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1813
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1814
+ ];
1815
+ }).s("CodeConnections_20231201", "ListTagsForResource", {}).n("CodeConnectionsClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
1816
+ static {
1817
+ __name(this, "ListTagsForResourceCommand");
1818
+ }
1819
+ };
1820
+
1821
+ // src/commands/TagResourceCommand.ts
1822
+
1823
+
1824
+
1825
+ var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1826
+ return [
1827
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1828
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1829
+ ];
1830
+ }).s("CodeConnections_20231201", "TagResource", {}).n("CodeConnectionsClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
1831
+ static {
1832
+ __name(this, "TagResourceCommand");
1833
+ }
1834
+ };
1835
+
1836
+ // src/commands/UntagResourceCommand.ts
1837
+
1838
+
1839
+
1840
+ var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1841
+ return [
1842
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1843
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1844
+ ];
1845
+ }).s("CodeConnections_20231201", "UntagResource", {}).n("CodeConnectionsClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
1846
+ static {
1847
+ __name(this, "UntagResourceCommand");
1848
+ }
1849
+ };
1850
+
1851
+ // src/commands/UpdateHostCommand.ts
1852
+
1853
+
1854
+
1855
+ var UpdateHostCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1856
+ return [
1857
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1858
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1859
+ ];
1860
+ }).s("CodeConnections_20231201", "UpdateHost", {}).n("CodeConnectionsClient", "UpdateHostCommand").f(void 0, void 0).ser(se_UpdateHostCommand).de(de_UpdateHostCommand).build() {
1861
+ static {
1862
+ __name(this, "UpdateHostCommand");
1863
+ }
1864
+ };
1865
+
1866
+ // src/commands/UpdateRepositoryLinkCommand.ts
1867
+
1868
+
1869
+
1870
+ var UpdateRepositoryLinkCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1871
+ return [
1872
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1873
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1874
+ ];
1875
+ }).s("CodeConnections_20231201", "UpdateRepositoryLink", {}).n("CodeConnectionsClient", "UpdateRepositoryLinkCommand").f(void 0, void 0).ser(se_UpdateRepositoryLinkCommand).de(de_UpdateRepositoryLinkCommand).build() {
1876
+ static {
1877
+ __name(this, "UpdateRepositoryLinkCommand");
1878
+ }
1879
+ };
1880
+
1881
+ // src/commands/UpdateSyncBlockerCommand.ts
1882
+
1883
+
1884
+
1885
+ var UpdateSyncBlockerCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1886
+ return [
1887
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1888
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1889
+ ];
1890
+ }).s("CodeConnections_20231201", "UpdateSyncBlocker", {}).n("CodeConnectionsClient", "UpdateSyncBlockerCommand").f(void 0, void 0).ser(se_UpdateSyncBlockerCommand).de(de_UpdateSyncBlockerCommand).build() {
1891
+ static {
1892
+ __name(this, "UpdateSyncBlockerCommand");
1893
+ }
1894
+ };
1895
+
1896
+ // src/commands/UpdateSyncConfigurationCommand.ts
1897
+
1898
+
1899
+
1900
+ var UpdateSyncConfigurationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
1901
+ return [
1902
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
1903
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
1904
+ ];
1905
+ }).s("CodeConnections_20231201", "UpdateSyncConfiguration", {}).n("CodeConnectionsClient", "UpdateSyncConfigurationCommand").f(void 0, void 0).ser(se_UpdateSyncConfigurationCommand).de(de_UpdateSyncConfigurationCommand).build() {
1906
+ static {
1907
+ __name(this, "UpdateSyncConfigurationCommand");
1908
+ }
1909
+ };
1910
+
1911
+ // src/CodeConnections.ts
1912
+ var commands = {
1913
+ CreateConnectionCommand,
1914
+ CreateHostCommand,
1915
+ CreateRepositoryLinkCommand,
1916
+ CreateSyncConfigurationCommand,
1917
+ DeleteConnectionCommand,
1918
+ DeleteHostCommand,
1919
+ DeleteRepositoryLinkCommand,
1920
+ DeleteSyncConfigurationCommand,
1921
+ GetConnectionCommand,
1922
+ GetHostCommand,
1923
+ GetRepositoryLinkCommand,
1924
+ GetRepositorySyncStatusCommand,
1925
+ GetResourceSyncStatusCommand,
1926
+ GetSyncBlockerSummaryCommand,
1927
+ GetSyncConfigurationCommand,
1928
+ ListConnectionsCommand,
1929
+ ListHostsCommand,
1930
+ ListRepositoryLinksCommand,
1931
+ ListRepositorySyncDefinitionsCommand,
1932
+ ListSyncConfigurationsCommand,
1933
+ ListTagsForResourceCommand,
1934
+ TagResourceCommand,
1935
+ UntagResourceCommand,
1936
+ UpdateHostCommand,
1937
+ UpdateRepositoryLinkCommand,
1938
+ UpdateSyncBlockerCommand,
1939
+ UpdateSyncConfigurationCommand
1940
+ };
1941
+ var CodeConnections = class extends CodeConnectionsClient {
1942
+ static {
1943
+ __name(this, "CodeConnections");
1944
+ }
1945
+ };
1946
+ (0, import_smithy_client.createAggregatedClient)(commands, CodeConnections);
1947
+
1948
+ // src/pagination/ListConnectionsPaginator.ts
1949
+
1950
+ var paginateListConnections = (0, import_core.createPaginator)(CodeConnectionsClient, ListConnectionsCommand, "NextToken", "NextToken", "MaxResults");
1951
+
1952
+ // src/pagination/ListHostsPaginator.ts
1953
+
1954
+ var paginateListHosts = (0, import_core.createPaginator)(CodeConnectionsClient, ListHostsCommand, "NextToken", "NextToken", "MaxResults");
1955
+
1956
+ // src/pagination/ListRepositoryLinksPaginator.ts
1957
+
1958
+ var paginateListRepositoryLinks = (0, import_core.createPaginator)(CodeConnectionsClient, ListRepositoryLinksCommand, "NextToken", "NextToken", "MaxResults");
1959
+
1960
+ // src/pagination/ListSyncConfigurationsPaginator.ts
1961
+
1962
+ var paginateListSyncConfigurations = (0, import_core.createPaginator)(CodeConnectionsClient, ListSyncConfigurationsCommand, "NextToken", "NextToken", "MaxResults");
1963
+ // Annotate the CommonJS export names for ESM import in node:
1964
+
1965
+ 0 && (module.exports = {
1966
+ CodeConnectionsServiceException,
1967
+ __Client,
1968
+ CodeConnectionsClient,
1969
+ CodeConnections,
1970
+ $Command,
1971
+ CreateConnectionCommand,
1972
+ CreateHostCommand,
1973
+ CreateRepositoryLinkCommand,
1974
+ CreateSyncConfigurationCommand,
1975
+ DeleteConnectionCommand,
1976
+ DeleteHostCommand,
1977
+ DeleteRepositoryLinkCommand,
1978
+ DeleteSyncConfigurationCommand,
1979
+ GetConnectionCommand,
1980
+ GetHostCommand,
1981
+ GetRepositoryLinkCommand,
1982
+ GetRepositorySyncStatusCommand,
1983
+ GetResourceSyncStatusCommand,
1984
+ GetSyncBlockerSummaryCommand,
1985
+ GetSyncConfigurationCommand,
1986
+ ListConnectionsCommand,
1987
+ ListHostsCommand,
1988
+ ListRepositoryLinksCommand,
1989
+ ListRepositorySyncDefinitionsCommand,
1990
+ ListSyncConfigurationsCommand,
1991
+ ListTagsForResourceCommand,
1992
+ TagResourceCommand,
1993
+ UntagResourceCommand,
1994
+ UpdateHostCommand,
1995
+ UpdateRepositoryLinkCommand,
1996
+ UpdateSyncBlockerCommand,
1997
+ UpdateSyncConfigurationCommand,
1998
+ paginateListConnections,
1999
+ paginateListHosts,
2000
+ paginateListRepositoryLinks,
2001
+ paginateListSyncConfigurations,
2002
+ AccessDeniedException,
2003
+ BlockerStatus,
2004
+ BlockerType,
2005
+ ProviderType,
2006
+ LimitExceededException,
2007
+ ResourceNotFoundException,
2008
+ ResourceUnavailableException,
2009
+ ConcurrentModificationException,
2010
+ InternalServerException,
2011
+ InvalidInputException,
2012
+ ResourceAlreadyExistsException,
2013
+ ThrottlingException,
2014
+ PublishDeploymentStatus,
2015
+ PullRequestComment,
2016
+ SyncConfigurationType,
2017
+ TriggerResourceUpdateOn,
2018
+ SyncConfigurationStillExistsException,
2019
+ UnsupportedProviderTypeException,
2020
+ ConnectionStatus,
2021
+ RepositorySyncStatus,
2022
+ ResourceSyncStatus,
2023
+ ConflictException,
2024
+ UnsupportedOperationException,
2025
+ ConditionalCheckFailedException,
2026
+ UpdateOutOfSyncException,
2027
+ RetryLatestCommitFailedException,
2028
+ SyncBlockerDoesNotExistException
2029
+ });
2030
+