@aws-sdk/client-codeconnections 3.926.0 → 3.928.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 (48) hide show
  1. package/dist-cjs/index.js +882 -1106
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/CodeConnectionsClient.js +2 -0
  4. package/dist-es/commands/CreateConnectionCommand.js +3 -9
  5. package/dist-es/commands/CreateHostCommand.js +3 -9
  6. package/dist-es/commands/CreateRepositoryLinkCommand.js +3 -9
  7. package/dist-es/commands/CreateSyncConfigurationCommand.js +3 -9
  8. package/dist-es/commands/DeleteConnectionCommand.js +3 -9
  9. package/dist-es/commands/DeleteHostCommand.js +3 -9
  10. package/dist-es/commands/DeleteRepositoryLinkCommand.js +3 -9
  11. package/dist-es/commands/DeleteSyncConfigurationCommand.js +3 -9
  12. package/dist-es/commands/GetConnectionCommand.js +3 -9
  13. package/dist-es/commands/GetHostCommand.js +3 -9
  14. package/dist-es/commands/GetRepositoryLinkCommand.js +3 -9
  15. package/dist-es/commands/GetRepositorySyncStatusCommand.js +3 -9
  16. package/dist-es/commands/GetResourceSyncStatusCommand.js +3 -9
  17. package/dist-es/commands/GetSyncBlockerSummaryCommand.js +3 -9
  18. package/dist-es/commands/GetSyncConfigurationCommand.js +3 -9
  19. package/dist-es/commands/ListConnectionsCommand.js +3 -9
  20. package/dist-es/commands/ListHostsCommand.js +3 -9
  21. package/dist-es/commands/ListRepositoryLinksCommand.js +3 -9
  22. package/dist-es/commands/ListRepositorySyncDefinitionsCommand.js +3 -9
  23. package/dist-es/commands/ListSyncConfigurationsCommand.js +3 -9
  24. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  25. package/dist-es/commands/TagResourceCommand.js +3 -9
  26. package/dist-es/commands/UntagResourceCommand.js +3 -9
  27. package/dist-es/commands/UpdateHostCommand.js +3 -9
  28. package/dist-es/commands/UpdateRepositoryLinkCommand.js +3 -9
  29. package/dist-es/commands/UpdateSyncBlockerCommand.js +3 -9
  30. package/dist-es/commands/UpdateSyncConfigurationCommand.js +3 -9
  31. package/dist-es/runtimeConfig.shared.js +7 -0
  32. package/dist-es/schemas/schemas_0.js +779 -0
  33. package/dist-types/CodeConnectionsClient.d.ts +10 -1
  34. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  35. package/dist-types/runtimeConfig.d.ts +1 -0
  36. package/dist-types/runtimeConfig.native.d.ts +1 -0
  37. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  38. package/dist-types/schemas/schemas_0.d.ts +129 -0
  39. package/dist-types/ts3.4/CodeConnectionsClient.d.ts +4 -0
  40. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  41. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  42. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  43. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  44. package/dist-types/ts3.4/schemas/schemas_0.d.ts +134 -0
  45. package/package.json +5 -5
  46. package/dist-es/protocols/Aws_json1_0.js +0 -870
  47. package/dist-types/protocols/Aws_json1_0.d.ts +0 -245
  48. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -329
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var middlewareContentLength = require('@smithy/middleware-content-length');
10
11
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
11
12
  var middlewareRetry = require('@smithy/middleware-retry');
@@ -14,8 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
14
15
  var runtimeConfig = require('./runtimeConfig');
15
16
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
16
17
  var protocolHttp = require('@smithy/protocol-http');
17
- var middlewareSerde = require('@smithy/middleware-serde');
18
- var core$1 = require('@aws-sdk/core');
19
18
 
20
19
  const resolveClientEndpointParameters = (options) => {
21
20
  return Object.assign(options, {
@@ -91,6 +90,7 @@ class CodeConnectionsClient extends smithyClient.Client {
91
90
  const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
92
91
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
93
92
  this.config = _config_8;
93
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
94
94
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
95
95
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
96
96
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -110,14 +110,14 @@ class CodeConnectionsClient extends smithyClient.Client {
110
110
  }
111
111
  }
112
112
 
113
- class CodeConnectionsServiceException extends smithyClient.ServiceException {
113
+ let CodeConnectionsServiceException$1 = class CodeConnectionsServiceException extends smithyClient.ServiceException {
114
114
  constructor(options) {
115
115
  super(options);
116
116
  Object.setPrototypeOf(this, CodeConnectionsServiceException.prototype);
117
117
  }
118
- }
118
+ };
119
119
 
120
- class AccessDeniedException extends CodeConnectionsServiceException {
120
+ let AccessDeniedException$1 = class AccessDeniedException extends CodeConnectionsServiceException$1 {
121
121
  name = "AccessDeniedException";
122
122
  $fault = "client";
123
123
  Message;
@@ -130,7 +130,7 @@ class AccessDeniedException extends CodeConnectionsServiceException {
130
130
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
131
131
  this.Message = opts.Message;
132
132
  }
133
- }
133
+ };
134
134
  const BlockerStatus = {
135
135
  ACTIVE: "ACTIVE",
136
136
  RESOLVED: "RESOLVED",
@@ -146,7 +146,7 @@ const ProviderType = {
146
146
  GITLAB: "GitLab",
147
147
  GITLAB_SELF_MANAGED: "GitLabSelfManaged",
148
148
  };
149
- class LimitExceededException extends CodeConnectionsServiceException {
149
+ let LimitExceededException$1 = class LimitExceededException extends CodeConnectionsServiceException$1 {
150
150
  name = "LimitExceededException";
151
151
  $fault = "client";
152
152
  Message;
@@ -159,8 +159,8 @@ class LimitExceededException extends CodeConnectionsServiceException {
159
159
  Object.setPrototypeOf(this, LimitExceededException.prototype);
160
160
  this.Message = opts.Message;
161
161
  }
162
- }
163
- class ResourceNotFoundException extends CodeConnectionsServiceException {
162
+ };
163
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends CodeConnectionsServiceException$1 {
164
164
  name = "ResourceNotFoundException";
165
165
  $fault = "client";
166
166
  Message;
@@ -173,8 +173,8 @@ class ResourceNotFoundException extends CodeConnectionsServiceException {
173
173
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
174
174
  this.Message = opts.Message;
175
175
  }
176
- }
177
- class ResourceUnavailableException extends CodeConnectionsServiceException {
176
+ };
177
+ let ResourceUnavailableException$1 = class ResourceUnavailableException extends CodeConnectionsServiceException$1 {
178
178
  name = "ResourceUnavailableException";
179
179
  $fault = "client";
180
180
  Message;
@@ -187,8 +187,8 @@ class ResourceUnavailableException extends CodeConnectionsServiceException {
187
187
  Object.setPrototypeOf(this, ResourceUnavailableException.prototype);
188
188
  this.Message = opts.Message;
189
189
  }
190
- }
191
- class ConcurrentModificationException extends CodeConnectionsServiceException {
190
+ };
191
+ let ConcurrentModificationException$1 = class ConcurrentModificationException extends CodeConnectionsServiceException$1 {
192
192
  name = "ConcurrentModificationException";
193
193
  $fault = "client";
194
194
  Message;
@@ -201,8 +201,8 @@ class ConcurrentModificationException extends CodeConnectionsServiceException {
201
201
  Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
202
202
  this.Message = opts.Message;
203
203
  }
204
- }
205
- class InternalServerException extends CodeConnectionsServiceException {
204
+ };
205
+ let InternalServerException$1 = class InternalServerException extends CodeConnectionsServiceException$1 {
206
206
  name = "InternalServerException";
207
207
  $fault = "server";
208
208
  Message;
@@ -215,8 +215,8 @@ class InternalServerException extends CodeConnectionsServiceException {
215
215
  Object.setPrototypeOf(this, InternalServerException.prototype);
216
216
  this.Message = opts.Message;
217
217
  }
218
- }
219
- class InvalidInputException extends CodeConnectionsServiceException {
218
+ };
219
+ let InvalidInputException$1 = class InvalidInputException extends CodeConnectionsServiceException$1 {
220
220
  name = "InvalidInputException";
221
221
  $fault = "client";
222
222
  Message;
@@ -229,8 +229,8 @@ class InvalidInputException extends CodeConnectionsServiceException {
229
229
  Object.setPrototypeOf(this, InvalidInputException.prototype);
230
230
  this.Message = opts.Message;
231
231
  }
232
- }
233
- class ResourceAlreadyExistsException extends CodeConnectionsServiceException {
232
+ };
233
+ let ResourceAlreadyExistsException$1 = class ResourceAlreadyExistsException extends CodeConnectionsServiceException$1 {
234
234
  name = "ResourceAlreadyExistsException";
235
235
  $fault = "client";
236
236
  Message;
@@ -243,8 +243,8 @@ class ResourceAlreadyExistsException extends CodeConnectionsServiceException {
243
243
  Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
244
244
  this.Message = opts.Message;
245
245
  }
246
- }
247
- class ThrottlingException extends CodeConnectionsServiceException {
246
+ };
247
+ let ThrottlingException$1 = class ThrottlingException extends CodeConnectionsServiceException$1 {
248
248
  name = "ThrottlingException";
249
249
  $fault = "client";
250
250
  Message;
@@ -257,7 +257,7 @@ class ThrottlingException extends CodeConnectionsServiceException {
257
257
  Object.setPrototypeOf(this, ThrottlingException.prototype);
258
258
  this.Message = opts.Message;
259
259
  }
260
- }
260
+ };
261
261
  const PublishDeploymentStatus = {
262
262
  DISABLED: "DISABLED",
263
263
  ENABLED: "ENABLED",
@@ -273,7 +273,7 @@ const TriggerResourceUpdateOn = {
273
273
  ANY_CHANGE: "ANY_CHANGE",
274
274
  FILE_CHANGE: "FILE_CHANGE",
275
275
  };
276
- class SyncConfigurationStillExistsException extends CodeConnectionsServiceException {
276
+ let SyncConfigurationStillExistsException$1 = class SyncConfigurationStillExistsException extends CodeConnectionsServiceException$1 {
277
277
  name = "SyncConfigurationStillExistsException";
278
278
  $fault = "client";
279
279
  Message;
@@ -286,8 +286,8 @@ class SyncConfigurationStillExistsException extends CodeConnectionsServiceExcept
286
286
  Object.setPrototypeOf(this, SyncConfigurationStillExistsException.prototype);
287
287
  this.Message = opts.Message;
288
288
  }
289
- }
290
- class UnsupportedProviderTypeException extends CodeConnectionsServiceException {
289
+ };
290
+ let UnsupportedProviderTypeException$1 = class UnsupportedProviderTypeException extends CodeConnectionsServiceException$1 {
291
291
  name = "UnsupportedProviderTypeException";
292
292
  $fault = "client";
293
293
  Message;
@@ -300,7 +300,7 @@ class UnsupportedProviderTypeException extends CodeConnectionsServiceException {
300
300
  Object.setPrototypeOf(this, UnsupportedProviderTypeException.prototype);
301
301
  this.Message = opts.Message;
302
302
  }
303
- }
303
+ };
304
304
  const ConnectionStatus = {
305
305
  AVAILABLE: "AVAILABLE",
306
306
  ERROR: "ERROR",
@@ -319,7 +319,7 @@ const ResourceSyncStatus = {
319
319
  IN_PROGRESS: "IN_PROGRESS",
320
320
  SUCCEEDED: "SUCCEEDED",
321
321
  };
322
- class ConflictException extends CodeConnectionsServiceException {
322
+ let ConflictException$1 = class ConflictException extends CodeConnectionsServiceException$1 {
323
323
  name = "ConflictException";
324
324
  $fault = "client";
325
325
  Message;
@@ -332,8 +332,8 @@ class ConflictException extends CodeConnectionsServiceException {
332
332
  Object.setPrototypeOf(this, ConflictException.prototype);
333
333
  this.Message = opts.Message;
334
334
  }
335
- }
336
- class UnsupportedOperationException extends CodeConnectionsServiceException {
335
+ };
336
+ let UnsupportedOperationException$1 = class UnsupportedOperationException extends CodeConnectionsServiceException$1 {
337
337
  name = "UnsupportedOperationException";
338
338
  $fault = "client";
339
339
  Message;
@@ -346,8 +346,8 @@ class UnsupportedOperationException extends CodeConnectionsServiceException {
346
346
  Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
347
347
  this.Message = opts.Message;
348
348
  }
349
- }
350
- class ConditionalCheckFailedException extends CodeConnectionsServiceException {
349
+ };
350
+ let ConditionalCheckFailedException$1 = class ConditionalCheckFailedException extends CodeConnectionsServiceException$1 {
351
351
  name = "ConditionalCheckFailedException";
352
352
  $fault = "client";
353
353
  Message;
@@ -360,8 +360,8 @@ class ConditionalCheckFailedException extends CodeConnectionsServiceException {
360
360
  Object.setPrototypeOf(this, ConditionalCheckFailedException.prototype);
361
361
  this.Message = opts.Message;
362
362
  }
363
- }
364
- class UpdateOutOfSyncException extends CodeConnectionsServiceException {
363
+ };
364
+ let UpdateOutOfSyncException$1 = class UpdateOutOfSyncException extends CodeConnectionsServiceException$1 {
365
365
  name = "UpdateOutOfSyncException";
366
366
  $fault = "client";
367
367
  Message;
@@ -374,8 +374,8 @@ class UpdateOutOfSyncException extends CodeConnectionsServiceException {
374
374
  Object.setPrototypeOf(this, UpdateOutOfSyncException.prototype);
375
375
  this.Message = opts.Message;
376
376
  }
377
- }
378
- class RetryLatestCommitFailedException extends CodeConnectionsServiceException {
377
+ };
378
+ let RetryLatestCommitFailedException$1 = class RetryLatestCommitFailedException extends CodeConnectionsServiceException$1 {
379
379
  name = "RetryLatestCommitFailedException";
380
380
  $fault = "server";
381
381
  Message;
@@ -388,8 +388,8 @@ class RetryLatestCommitFailedException extends CodeConnectionsServiceException {
388
388
  Object.setPrototypeOf(this, RetryLatestCommitFailedException.prototype);
389
389
  this.Message = opts.Message;
390
390
  }
391
- }
392
- class SyncBlockerDoesNotExistException extends CodeConnectionsServiceException {
391
+ };
392
+ let SyncBlockerDoesNotExistException$1 = class SyncBlockerDoesNotExistException extends CodeConnectionsServiceException$1 {
393
393
  name = "SyncBlockerDoesNotExistException";
394
394
  $fault = "client";
395
395
  Message;
@@ -402,884 +402,790 @@ class SyncBlockerDoesNotExistException extends CodeConnectionsServiceException {
402
402
  Object.setPrototypeOf(this, SyncBlockerDoesNotExistException.prototype);
403
403
  this.Message = opts.Message;
404
404
  }
405
- }
406
-
407
- const se_CreateConnectionCommand = async (input, context) => {
408
- const headers = sharedHeaders("CreateConnection");
409
- let body;
410
- body = JSON.stringify(smithyClient._json(input));
411
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
412
- };
413
- const se_CreateHostCommand = async (input, context) => {
414
- const headers = sharedHeaders("CreateHost");
415
- let body;
416
- body = JSON.stringify(smithyClient._json(input));
417
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
418
- };
419
- const se_CreateRepositoryLinkCommand = async (input, context) => {
420
- const headers = sharedHeaders("CreateRepositoryLink");
421
- let body;
422
- body = JSON.stringify(smithyClient._json(input));
423
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
424
- };
425
- const se_CreateSyncConfigurationCommand = async (input, context) => {
426
- const headers = sharedHeaders("CreateSyncConfiguration");
427
- let body;
428
- body = JSON.stringify(smithyClient._json(input));
429
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
430
- };
431
- const se_DeleteConnectionCommand = async (input, context) => {
432
- const headers = sharedHeaders("DeleteConnection");
433
- let body;
434
- body = JSON.stringify(smithyClient._json(input));
435
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
436
- };
437
- const se_DeleteHostCommand = async (input, context) => {
438
- const headers = sharedHeaders("DeleteHost");
439
- let body;
440
- body = JSON.stringify(smithyClient._json(input));
441
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
442
- };
443
- const se_DeleteRepositoryLinkCommand = async (input, context) => {
444
- const headers = sharedHeaders("DeleteRepositoryLink");
445
- let body;
446
- body = JSON.stringify(smithyClient._json(input));
447
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
448
- };
449
- const se_DeleteSyncConfigurationCommand = async (input, context) => {
450
- const headers = sharedHeaders("DeleteSyncConfiguration");
451
- let body;
452
- body = JSON.stringify(smithyClient._json(input));
453
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
454
- };
455
- const se_GetConnectionCommand = async (input, context) => {
456
- const headers = sharedHeaders("GetConnection");
457
- let body;
458
- body = JSON.stringify(smithyClient._json(input));
459
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
460
- };
461
- const se_GetHostCommand = async (input, context) => {
462
- const headers = sharedHeaders("GetHost");
463
- let body;
464
- body = JSON.stringify(smithyClient._json(input));
465
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
466
- };
467
- const se_GetRepositoryLinkCommand = async (input, context) => {
468
- const headers = sharedHeaders("GetRepositoryLink");
469
- let body;
470
- body = JSON.stringify(smithyClient._json(input));
471
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
472
- };
473
- const se_GetRepositorySyncStatusCommand = async (input, context) => {
474
- const headers = sharedHeaders("GetRepositorySyncStatus");
475
- let body;
476
- body = JSON.stringify(smithyClient._json(input));
477
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
478
- };
479
- const se_GetResourceSyncStatusCommand = async (input, context) => {
480
- const headers = sharedHeaders("GetResourceSyncStatus");
481
- let body;
482
- body = JSON.stringify(smithyClient._json(input));
483
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
484
- };
485
- const se_GetSyncBlockerSummaryCommand = async (input, context) => {
486
- const headers = sharedHeaders("GetSyncBlockerSummary");
487
- let body;
488
- body = JSON.stringify(smithyClient._json(input));
489
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
490
- };
491
- const se_GetSyncConfigurationCommand = async (input, context) => {
492
- const headers = sharedHeaders("GetSyncConfiguration");
493
- let body;
494
- body = JSON.stringify(smithyClient._json(input));
495
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
496
- };
497
- const se_ListConnectionsCommand = async (input, context) => {
498
- const headers = sharedHeaders("ListConnections");
499
- let body;
500
- body = JSON.stringify(smithyClient._json(input));
501
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
502
- };
503
- const se_ListHostsCommand = async (input, context) => {
504
- const headers = sharedHeaders("ListHosts");
505
- let body;
506
- body = JSON.stringify(smithyClient._json(input));
507
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
508
- };
509
- const se_ListRepositoryLinksCommand = async (input, context) => {
510
- const headers = sharedHeaders("ListRepositoryLinks");
511
- let body;
512
- body = JSON.stringify(smithyClient._json(input));
513
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
514
- };
515
- const se_ListRepositorySyncDefinitionsCommand = async (input, context) => {
516
- const headers = sharedHeaders("ListRepositorySyncDefinitions");
517
- let body;
518
- body = JSON.stringify(smithyClient._json(input));
519
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
520
- };
521
- const se_ListSyncConfigurationsCommand = async (input, context) => {
522
- const headers = sharedHeaders("ListSyncConfigurations");
523
- let body;
524
- body = JSON.stringify(smithyClient._json(input));
525
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
526
- };
527
- const se_ListTagsForResourceCommand = async (input, context) => {
528
- const headers = sharedHeaders("ListTagsForResource");
529
- let body;
530
- body = JSON.stringify(smithyClient._json(input));
531
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
532
- };
533
- const se_TagResourceCommand = async (input, context) => {
534
- const headers = sharedHeaders("TagResource");
535
- let body;
536
- body = JSON.stringify(smithyClient._json(input));
537
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
538
- };
539
- const se_UntagResourceCommand = async (input, context) => {
540
- const headers = sharedHeaders("UntagResource");
541
- let body;
542
- body = JSON.stringify(smithyClient._json(input));
543
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
544
- };
545
- const se_UpdateHostCommand = async (input, context) => {
546
- const headers = sharedHeaders("UpdateHost");
547
- let body;
548
- body = JSON.stringify(smithyClient._json(input));
549
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
550
- };
551
- const se_UpdateRepositoryLinkCommand = async (input, context) => {
552
- const headers = sharedHeaders("UpdateRepositoryLink");
553
- let body;
554
- body = JSON.stringify(smithyClient._json(input));
555
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
556
- };
557
- const se_UpdateSyncBlockerCommand = async (input, context) => {
558
- const headers = sharedHeaders("UpdateSyncBlocker");
559
- let body;
560
- body = JSON.stringify(smithyClient._json(input));
561
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
562
- };
563
- const se_UpdateSyncConfigurationCommand = async (input, context) => {
564
- const headers = sharedHeaders("UpdateSyncConfiguration");
565
- let body;
566
- body = JSON.stringify(smithyClient._json(input));
567
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
568
- };
569
- const de_CreateConnectionCommand = async (output, context) => {
570
- if (output.statusCode >= 300) {
571
- return de_CommandError(output, context);
572
- }
573
- const data = await core$1.parseJsonBody(output.body, context);
574
- let contents = {};
575
- contents = smithyClient._json(data);
576
- const response = {
577
- $metadata: deserializeMetadata(output),
578
- ...contents,
579
- };
580
- return response;
581
- };
582
- const de_CreateHostCommand = async (output, context) => {
583
- if (output.statusCode >= 300) {
584
- return de_CommandError(output, context);
585
- }
586
- const data = await core$1.parseJsonBody(output.body, context);
587
- let contents = {};
588
- contents = smithyClient._json(data);
589
- const response = {
590
- $metadata: deserializeMetadata(output),
591
- ...contents,
592
- };
593
- return response;
594
- };
595
- const de_CreateRepositoryLinkCommand = async (output, context) => {
596
- if (output.statusCode >= 300) {
597
- return de_CommandError(output, context);
598
- }
599
- const data = await core$1.parseJsonBody(output.body, context);
600
- let contents = {};
601
- contents = smithyClient._json(data);
602
- const response = {
603
- $metadata: deserializeMetadata(output),
604
- ...contents,
605
- };
606
- return response;
607
- };
608
- const de_CreateSyncConfigurationCommand = async (output, context) => {
609
- if (output.statusCode >= 300) {
610
- return de_CommandError(output, context);
611
- }
612
- const data = await core$1.parseJsonBody(output.body, context);
613
- let contents = {};
614
- contents = smithyClient._json(data);
615
- const response = {
616
- $metadata: deserializeMetadata(output),
617
- ...contents,
618
- };
619
- return response;
620
- };
621
- const de_DeleteConnectionCommand = async (output, context) => {
622
- if (output.statusCode >= 300) {
623
- return de_CommandError(output, context);
624
- }
625
- const data = await core$1.parseJsonBody(output.body, context);
626
- let contents = {};
627
- contents = smithyClient._json(data);
628
- const response = {
629
- $metadata: deserializeMetadata(output),
630
- ...contents,
631
- };
632
- return response;
633
- };
634
- const de_DeleteHostCommand = async (output, context) => {
635
- if (output.statusCode >= 300) {
636
- return de_CommandError(output, context);
637
- }
638
- const data = await core$1.parseJsonBody(output.body, context);
639
- let contents = {};
640
- contents = smithyClient._json(data);
641
- const response = {
642
- $metadata: deserializeMetadata(output),
643
- ...contents,
644
- };
645
- return response;
646
- };
647
- const de_DeleteRepositoryLinkCommand = async (output, context) => {
648
- if (output.statusCode >= 300) {
649
- return de_CommandError(output, context);
650
- }
651
- const data = await core$1.parseJsonBody(output.body, context);
652
- let contents = {};
653
- contents = smithyClient._json(data);
654
- const response = {
655
- $metadata: deserializeMetadata(output),
656
- ...contents,
657
- };
658
- return response;
659
- };
660
- const de_DeleteSyncConfigurationCommand = async (output, context) => {
661
- if (output.statusCode >= 300) {
662
- return de_CommandError(output, context);
663
- }
664
- const data = await core$1.parseJsonBody(output.body, context);
665
- let contents = {};
666
- contents = smithyClient._json(data);
667
- const response = {
668
- $metadata: deserializeMetadata(output),
669
- ...contents,
670
- };
671
- return response;
672
- };
673
- const de_GetConnectionCommand = async (output, context) => {
674
- if (output.statusCode >= 300) {
675
- return de_CommandError(output, context);
676
- }
677
- const data = await core$1.parseJsonBody(output.body, context);
678
- let contents = {};
679
- contents = smithyClient._json(data);
680
- const response = {
681
- $metadata: deserializeMetadata(output),
682
- ...contents,
683
- };
684
- return response;
685
- };
686
- const de_GetHostCommand = async (output, context) => {
687
- if (output.statusCode >= 300) {
688
- return de_CommandError(output, context);
689
- }
690
- const data = await core$1.parseJsonBody(output.body, context);
691
- let contents = {};
692
- contents = smithyClient._json(data);
693
- const response = {
694
- $metadata: deserializeMetadata(output),
695
- ...contents,
696
- };
697
- return response;
698
- };
699
- const de_GetRepositoryLinkCommand = async (output, context) => {
700
- if (output.statusCode >= 300) {
701
- return de_CommandError(output, context);
702
- }
703
- const data = await core$1.parseJsonBody(output.body, context);
704
- let contents = {};
705
- contents = smithyClient._json(data);
706
- const response = {
707
- $metadata: deserializeMetadata(output),
708
- ...contents,
709
- };
710
- return response;
711
- };
712
- const de_GetRepositorySyncStatusCommand = async (output, context) => {
713
- if (output.statusCode >= 300) {
714
- return de_CommandError(output, context);
715
- }
716
- const data = await core$1.parseJsonBody(output.body, context);
717
- let contents = {};
718
- contents = de_GetRepositorySyncStatusOutput(data);
719
- const response = {
720
- $metadata: deserializeMetadata(output),
721
- ...contents,
722
- };
723
- return response;
724
- };
725
- const de_GetResourceSyncStatusCommand = async (output, context) => {
726
- if (output.statusCode >= 300) {
727
- return de_CommandError(output, context);
728
- }
729
- const data = await core$1.parseJsonBody(output.body, context);
730
- let contents = {};
731
- contents = de_GetResourceSyncStatusOutput(data);
732
- const response = {
733
- $metadata: deserializeMetadata(output),
734
- ...contents,
735
- };
736
- return response;
737
- };
738
- const de_GetSyncBlockerSummaryCommand = async (output, context) => {
739
- if (output.statusCode >= 300) {
740
- return de_CommandError(output, context);
741
- }
742
- const data = await core$1.parseJsonBody(output.body, context);
743
- let contents = {};
744
- contents = de_GetSyncBlockerSummaryOutput(data);
745
- const response = {
746
- $metadata: deserializeMetadata(output),
747
- ...contents,
748
- };
749
- return response;
750
- };
751
- const de_GetSyncConfigurationCommand = async (output, context) => {
752
- if (output.statusCode >= 300) {
753
- return de_CommandError(output, context);
754
- }
755
- const data = await core$1.parseJsonBody(output.body, context);
756
- let contents = {};
757
- contents = smithyClient._json(data);
758
- const response = {
759
- $metadata: deserializeMetadata(output),
760
- ...contents,
761
- };
762
- return response;
763
- };
764
- const de_ListConnectionsCommand = async (output, context) => {
765
- if (output.statusCode >= 300) {
766
- return de_CommandError(output, context);
767
- }
768
- const data = await core$1.parseJsonBody(output.body, context);
769
- let contents = {};
770
- contents = smithyClient._json(data);
771
- const response = {
772
- $metadata: deserializeMetadata(output),
773
- ...contents,
774
- };
775
- return response;
776
- };
777
- const de_ListHostsCommand = async (output, context) => {
778
- if (output.statusCode >= 300) {
779
- return de_CommandError(output, context);
780
- }
781
- const data = await core$1.parseJsonBody(output.body, context);
782
- let contents = {};
783
- contents = smithyClient._json(data);
784
- const response = {
785
- $metadata: deserializeMetadata(output),
786
- ...contents,
787
- };
788
- return response;
789
- };
790
- const de_ListRepositoryLinksCommand = async (output, context) => {
791
- if (output.statusCode >= 300) {
792
- return de_CommandError(output, context);
793
- }
794
- const data = await core$1.parseJsonBody(output.body, context);
795
- let contents = {};
796
- contents = smithyClient._json(data);
797
- const response = {
798
- $metadata: deserializeMetadata(output),
799
- ...contents,
800
- };
801
- return response;
802
- };
803
- const de_ListRepositorySyncDefinitionsCommand = async (output, context) => {
804
- if (output.statusCode >= 300) {
805
- return de_CommandError(output, context);
806
- }
807
- const data = await core$1.parseJsonBody(output.body, context);
808
- let contents = {};
809
- contents = smithyClient._json(data);
810
- const response = {
811
- $metadata: deserializeMetadata(output),
812
- ...contents,
813
- };
814
- return response;
815
- };
816
- const de_ListSyncConfigurationsCommand = async (output, context) => {
817
- if (output.statusCode >= 300) {
818
- return de_CommandError(output, context);
819
- }
820
- const data = await core$1.parseJsonBody(output.body, context);
821
- let contents = {};
822
- contents = smithyClient._json(data);
823
- const response = {
824
- $metadata: deserializeMetadata(output),
825
- ...contents,
826
- };
827
- return response;
828
- };
829
- const de_ListTagsForResourceCommand = async (output, context) => {
830
- if (output.statusCode >= 300) {
831
- return de_CommandError(output, context);
832
- }
833
- const data = await core$1.parseJsonBody(output.body, context);
834
- let contents = {};
835
- contents = smithyClient._json(data);
836
- const response = {
837
- $metadata: deserializeMetadata(output),
838
- ...contents,
839
- };
840
- return response;
841
- };
842
- const de_TagResourceCommand = async (output, context) => {
843
- if (output.statusCode >= 300) {
844
- return de_CommandError(output, context);
845
- }
846
- const data = await core$1.parseJsonBody(output.body, context);
847
- let contents = {};
848
- contents = smithyClient._json(data);
849
- const response = {
850
- $metadata: deserializeMetadata(output),
851
- ...contents,
852
- };
853
- return response;
854
- };
855
- const de_UntagResourceCommand = async (output, context) => {
856
- if (output.statusCode >= 300) {
857
- return de_CommandError(output, context);
858
- }
859
- const data = await core$1.parseJsonBody(output.body, context);
860
- let contents = {};
861
- contents = smithyClient._json(data);
862
- const response = {
863
- $metadata: deserializeMetadata(output),
864
- ...contents,
865
- };
866
- return response;
867
- };
868
- const de_UpdateHostCommand = async (output, context) => {
869
- if (output.statusCode >= 300) {
870
- return de_CommandError(output, context);
871
- }
872
- const data = await core$1.parseJsonBody(output.body, context);
873
- let contents = {};
874
- contents = smithyClient._json(data);
875
- const response = {
876
- $metadata: deserializeMetadata(output),
877
- ...contents,
878
- };
879
- return response;
880
- };
881
- const de_UpdateRepositoryLinkCommand = async (output, context) => {
882
- if (output.statusCode >= 300) {
883
- return de_CommandError(output, context);
884
- }
885
- const data = await core$1.parseJsonBody(output.body, context);
886
- let contents = {};
887
- contents = smithyClient._json(data);
888
- const response = {
889
- $metadata: deserializeMetadata(output),
890
- ...contents,
891
- };
892
- return response;
893
- };
894
- const de_UpdateSyncBlockerCommand = async (output, context) => {
895
- if (output.statusCode >= 300) {
896
- return de_CommandError(output, context);
897
- }
898
- const data = await core$1.parseJsonBody(output.body, context);
899
- let contents = {};
900
- contents = de_UpdateSyncBlockerOutput(data);
901
- const response = {
902
- $metadata: deserializeMetadata(output),
903
- ...contents,
904
- };
905
- return response;
906
- };
907
- const de_UpdateSyncConfigurationCommand = async (output, context) => {
908
- if (output.statusCode >= 300) {
909
- return de_CommandError(output, context);
910
- }
911
- const data = await core$1.parseJsonBody(output.body, context);
912
- let contents = {};
913
- contents = smithyClient._json(data);
914
- const response = {
915
- $metadata: deserializeMetadata(output),
916
- ...contents,
917
- };
918
- return response;
919
- };
920
- const de_CommandError = async (output, context) => {
921
- const parsedOutput = {
922
- ...output,
923
- body: await core$1.parseJsonErrorBody(output.body, context),
924
- };
925
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
926
- switch (errorCode) {
927
- case "LimitExceededException":
928
- case "com.amazonaws.codeconnections#LimitExceededException":
929
- throw await de_LimitExceededExceptionRes(parsedOutput);
930
- case "ResourceNotFoundException":
931
- case "com.amazonaws.codeconnections#ResourceNotFoundException":
932
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
933
- case "ResourceUnavailableException":
934
- case "com.amazonaws.codeconnections#ResourceUnavailableException":
935
- throw await de_ResourceUnavailableExceptionRes(parsedOutput);
936
- case "AccessDeniedException":
937
- case "com.amazonaws.codeconnections#AccessDeniedException":
938
- throw await de_AccessDeniedExceptionRes(parsedOutput);
939
- case "ConcurrentModificationException":
940
- case "com.amazonaws.codeconnections#ConcurrentModificationException":
941
- throw await de_ConcurrentModificationExceptionRes(parsedOutput);
942
- case "InternalServerException":
943
- case "com.amazonaws.codeconnections#InternalServerException":
944
- throw await de_InternalServerExceptionRes(parsedOutput);
945
- case "InvalidInputException":
946
- case "com.amazonaws.codeconnections#InvalidInputException":
947
- throw await de_InvalidInputExceptionRes(parsedOutput);
948
- case "ResourceAlreadyExistsException":
949
- case "com.amazonaws.codeconnections#ResourceAlreadyExistsException":
950
- throw await de_ResourceAlreadyExistsExceptionRes(parsedOutput);
951
- case "ThrottlingException":
952
- case "com.amazonaws.codeconnections#ThrottlingException":
953
- throw await de_ThrottlingExceptionRes(parsedOutput);
954
- case "SyncConfigurationStillExistsException":
955
- case "com.amazonaws.codeconnections#SyncConfigurationStillExistsException":
956
- throw await de_SyncConfigurationStillExistsExceptionRes(parsedOutput);
957
- case "UnsupportedProviderTypeException":
958
- case "com.amazonaws.codeconnections#UnsupportedProviderTypeException":
959
- throw await de_UnsupportedProviderTypeExceptionRes(parsedOutput);
960
- case "ConflictException":
961
- case "com.amazonaws.codeconnections#ConflictException":
962
- throw await de_ConflictExceptionRes(parsedOutput);
963
- case "UnsupportedOperationException":
964
- case "com.amazonaws.codeconnections#UnsupportedOperationException":
965
- throw await de_UnsupportedOperationExceptionRes(parsedOutput);
966
- case "ConditionalCheckFailedException":
967
- case "com.amazonaws.codeconnections#ConditionalCheckFailedException":
968
- throw await de_ConditionalCheckFailedExceptionRes(parsedOutput);
969
- case "UpdateOutOfSyncException":
970
- case "com.amazonaws.codeconnections#UpdateOutOfSyncException":
971
- throw await de_UpdateOutOfSyncExceptionRes(parsedOutput);
972
- case "RetryLatestCommitFailedException":
973
- case "com.amazonaws.codeconnections#RetryLatestCommitFailedException":
974
- throw await de_RetryLatestCommitFailedExceptionRes(parsedOutput);
975
- case "SyncBlockerDoesNotExistException":
976
- case "com.amazonaws.codeconnections#SyncBlockerDoesNotExistException":
977
- throw await de_SyncBlockerDoesNotExistExceptionRes(parsedOutput);
978
- default:
979
- const parsedBody = parsedOutput.body;
980
- return throwDefaultError({
981
- output,
982
- parsedBody,
983
- errorCode,
984
- });
985
- }
986
- };
987
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
988
- const body = parsedOutput.body;
989
- const deserialized = smithyClient._json(body);
990
- const exception = new AccessDeniedException({
991
- $metadata: deserializeMetadata(parsedOutput),
992
- ...deserialized,
993
- });
994
- return smithyClient.decorateServiceException(exception, body);
995
405
  };
996
- const de_ConcurrentModificationExceptionRes = async (parsedOutput, context) => {
997
- const body = parsedOutput.body;
998
- const deserialized = smithyClient._json(body);
999
- const exception = new ConcurrentModificationException({
1000
- $metadata: deserializeMetadata(parsedOutput),
1001
- ...deserialized,
1002
- });
1003
- return smithyClient.decorateServiceException(exception, body);
1004
- };
1005
- const de_ConditionalCheckFailedExceptionRes = async (parsedOutput, context) => {
1006
- const body = parsedOutput.body;
1007
- const deserialized = smithyClient._json(body);
1008
- const exception = new ConditionalCheckFailedException({
1009
- $metadata: deserializeMetadata(parsedOutput),
1010
- ...deserialized,
1011
- });
1012
- return smithyClient.decorateServiceException(exception, body);
1013
- };
1014
- const de_ConflictExceptionRes = async (parsedOutput, context) => {
1015
- const body = parsedOutput.body;
1016
- const deserialized = smithyClient._json(body);
1017
- const exception = new ConflictException({
1018
- $metadata: deserializeMetadata(parsedOutput),
1019
- ...deserialized,
1020
- });
1021
- return smithyClient.decorateServiceException(exception, body);
1022
- };
1023
- const de_InternalServerExceptionRes = async (parsedOutput, context) => {
1024
- const body = parsedOutput.body;
1025
- const deserialized = smithyClient._json(body);
1026
- const exception = new InternalServerException({
1027
- $metadata: deserializeMetadata(parsedOutput),
1028
- ...deserialized,
1029
- });
1030
- return smithyClient.decorateServiceException(exception, body);
1031
- };
1032
- const de_InvalidInputExceptionRes = async (parsedOutput, context) => {
1033
- const body = parsedOutput.body;
1034
- const deserialized = smithyClient._json(body);
1035
- const exception = new InvalidInputException({
1036
- $metadata: deserializeMetadata(parsedOutput),
1037
- ...deserialized,
1038
- });
1039
- return smithyClient.decorateServiceException(exception, body);
1040
- };
1041
- const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
1042
- const body = parsedOutput.body;
1043
- const deserialized = smithyClient._json(body);
1044
- const exception = new LimitExceededException({
1045
- $metadata: deserializeMetadata(parsedOutput),
1046
- ...deserialized,
1047
- });
1048
- return smithyClient.decorateServiceException(exception, body);
1049
- };
1050
- const de_ResourceAlreadyExistsExceptionRes = async (parsedOutput, context) => {
1051
- const body = parsedOutput.body;
1052
- const deserialized = smithyClient._json(body);
1053
- const exception = new ResourceAlreadyExistsException({
1054
- $metadata: deserializeMetadata(parsedOutput),
1055
- ...deserialized,
1056
- });
1057
- return smithyClient.decorateServiceException(exception, body);
1058
- };
1059
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1060
- const body = parsedOutput.body;
1061
- const deserialized = smithyClient._json(body);
1062
- const exception = new ResourceNotFoundException({
1063
- $metadata: deserializeMetadata(parsedOutput),
1064
- ...deserialized,
1065
- });
1066
- return smithyClient.decorateServiceException(exception, body);
1067
- };
1068
- const de_ResourceUnavailableExceptionRes = async (parsedOutput, context) => {
1069
- const body = parsedOutput.body;
1070
- const deserialized = smithyClient._json(body);
1071
- const exception = new ResourceUnavailableException({
1072
- $metadata: deserializeMetadata(parsedOutput),
1073
- ...deserialized,
1074
- });
1075
- return smithyClient.decorateServiceException(exception, body);
1076
- };
1077
- const de_RetryLatestCommitFailedExceptionRes = async (parsedOutput, context) => {
1078
- const body = parsedOutput.body;
1079
- const deserialized = smithyClient._json(body);
1080
- const exception = new RetryLatestCommitFailedException({
1081
- $metadata: deserializeMetadata(parsedOutput),
1082
- ...deserialized,
1083
- });
1084
- return smithyClient.decorateServiceException(exception, body);
1085
- };
1086
- const de_SyncBlockerDoesNotExistExceptionRes = async (parsedOutput, context) => {
1087
- const body = parsedOutput.body;
1088
- const deserialized = smithyClient._json(body);
1089
- const exception = new SyncBlockerDoesNotExistException({
1090
- $metadata: deserializeMetadata(parsedOutput),
1091
- ...deserialized,
1092
- });
1093
- return smithyClient.decorateServiceException(exception, body);
1094
- };
1095
- const de_SyncConfigurationStillExistsExceptionRes = async (parsedOutput, context) => {
1096
- const body = parsedOutput.body;
1097
- const deserialized = smithyClient._json(body);
1098
- const exception = new SyncConfigurationStillExistsException({
1099
- $metadata: deserializeMetadata(parsedOutput),
1100
- ...deserialized,
1101
- });
1102
- return smithyClient.decorateServiceException(exception, body);
1103
- };
1104
- const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
1105
- const body = parsedOutput.body;
1106
- const deserialized = smithyClient._json(body);
1107
- const exception = new ThrottlingException({
1108
- $metadata: deserializeMetadata(parsedOutput),
1109
- ...deserialized,
1110
- });
1111
- return smithyClient.decorateServiceException(exception, body);
1112
- };
1113
- const de_UnsupportedOperationExceptionRes = async (parsedOutput, context) => {
1114
- const body = parsedOutput.body;
1115
- const deserialized = smithyClient._json(body);
1116
- const exception = new UnsupportedOperationException({
1117
- $metadata: deserializeMetadata(parsedOutput),
1118
- ...deserialized,
1119
- });
1120
- return smithyClient.decorateServiceException(exception, body);
1121
- };
1122
- const de_UnsupportedProviderTypeExceptionRes = async (parsedOutput, context) => {
1123
- const body = parsedOutput.body;
1124
- const deserialized = smithyClient._json(body);
1125
- const exception = new UnsupportedProviderTypeException({
1126
- $metadata: deserializeMetadata(parsedOutput),
1127
- ...deserialized,
1128
- });
1129
- return smithyClient.decorateServiceException(exception, body);
1130
- };
1131
- const de_UpdateOutOfSyncExceptionRes = async (parsedOutput, context) => {
1132
- const body = parsedOutput.body;
1133
- const deserialized = smithyClient._json(body);
1134
- const exception = new UpdateOutOfSyncException({
1135
- $metadata: deserializeMetadata(parsedOutput),
1136
- ...deserialized,
1137
- });
1138
- return smithyClient.decorateServiceException(exception, body);
1139
- };
1140
- const de_GetRepositorySyncStatusOutput = (output, context) => {
1141
- return smithyClient.take(output, {
1142
- LatestSync: (_) => de_RepositorySyncAttempt(_),
1143
- });
1144
- };
1145
- const de_GetResourceSyncStatusOutput = (output, context) => {
1146
- return smithyClient.take(output, {
1147
- DesiredState: smithyClient._json,
1148
- LatestSuccessfulSync: (_) => de_ResourceSyncAttempt(_),
1149
- LatestSync: (_) => de_ResourceSyncAttempt(_),
1150
- });
1151
- };
1152
- const de_GetSyncBlockerSummaryOutput = (output, context) => {
1153
- return smithyClient.take(output, {
1154
- SyncBlockerSummary: (_) => de_SyncBlockerSummary(_),
1155
- });
1156
- };
1157
- const de_LatestSyncBlockerList = (output, context) => {
1158
- const retVal = (output || [])
1159
- .filter((e) => e != null)
1160
- .map((entry) => {
1161
- return de_SyncBlocker(entry);
1162
- });
1163
- return retVal;
1164
- };
1165
- const de_RepositorySyncAttempt = (output, context) => {
1166
- return smithyClient.take(output, {
1167
- Events: (_) => de_RepositorySyncEventList(_),
1168
- StartedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1169
- Status: smithyClient.expectString,
1170
- });
1171
- };
1172
- const de_RepositorySyncEvent = (output, context) => {
1173
- return smithyClient.take(output, {
1174
- Event: smithyClient.expectString,
1175
- ExternalId: smithyClient.expectString,
1176
- Time: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1177
- Type: smithyClient.expectString,
1178
- });
1179
- };
1180
- const de_RepositorySyncEventList = (output, context) => {
1181
- const retVal = (output || [])
1182
- .filter((e) => e != null)
1183
- .map((entry) => {
1184
- return de_RepositorySyncEvent(entry);
1185
- });
1186
- return retVal;
1187
- };
1188
- const de_ResourceSyncAttempt = (output, context) => {
1189
- return smithyClient.take(output, {
1190
- Events: (_) => de_ResourceSyncEventList(_),
1191
- InitialRevision: smithyClient._json,
1192
- StartedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1193
- Status: smithyClient.expectString,
1194
- Target: smithyClient.expectString,
1195
- TargetRevision: smithyClient._json,
1196
- });
1197
- };
1198
- const de_ResourceSyncEvent = (output, context) => {
1199
- return smithyClient.take(output, {
1200
- Event: smithyClient.expectString,
1201
- ExternalId: smithyClient.expectString,
1202
- Time: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1203
- Type: smithyClient.expectString,
1204
- });
1205
- };
1206
- const de_ResourceSyncEventList = (output, context) => {
1207
- const retVal = (output || [])
1208
- .filter((e) => e != null)
1209
- .map((entry) => {
1210
- return de_ResourceSyncEvent(entry);
1211
- });
1212
- return retVal;
1213
- };
1214
- const de_SyncBlocker = (output, context) => {
1215
- return smithyClient.take(output, {
1216
- Contexts: smithyClient._json,
1217
- CreatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1218
- CreatedReason: smithyClient.expectString,
1219
- Id: smithyClient.expectString,
1220
- ResolvedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1221
- ResolvedReason: smithyClient.expectString,
1222
- Status: smithyClient.expectString,
1223
- Type: smithyClient.expectString,
1224
- });
1225
- };
1226
- const de_SyncBlockerSummary = (output, context) => {
1227
- return smithyClient.take(output, {
1228
- LatestBlockers: (_) => de_LatestSyncBlockerList(_),
1229
- ParentResourceName: smithyClient.expectString,
1230
- ResourceName: smithyClient.expectString,
1231
- });
1232
- };
1233
- const de_UpdateSyncBlockerOutput = (output, context) => {
1234
- return smithyClient.take(output, {
1235
- ParentResourceName: smithyClient.expectString,
1236
- ResourceName: smithyClient.expectString,
1237
- SyncBlocker: (_) => de_SyncBlocker(_),
1238
- });
1239
- };
1240
- const deserializeMetadata = (output) => ({
1241
- httpStatusCode: output.statusCode,
1242
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1243
- extendedRequestId: output.headers["x-amz-id-2"],
1244
- cfId: output.headers["x-amz-cf-id"],
1245
- });
1246
- const throwDefaultError = smithyClient.withBaseException(CodeConnectionsServiceException);
1247
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
1248
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1249
- const contents = {
1250
- protocol,
1251
- hostname,
1252
- port,
1253
- method: "POST",
1254
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1255
- headers,
1256
- };
1257
- if (body !== undefined) {
1258
- contents.body = body;
1259
- }
1260
- return new protocolHttp.HttpRequest(contents);
1261
- };
1262
- function sharedHeaders(operation) {
1263
- return {
1264
- "content-type": "application/x-amz-json-1.0",
1265
- "x-amz-target": `CodeConnections_20231201.${operation}`,
1266
- };
1267
- }
406
+
407
+ const _ADE = "AccessDeniedException";
408
+ const _B = "Branch";
409
+ const _C = "Connection";
410
+ const _CA = "ConnectionArn";
411
+ const _CAr = "CreatedAt";
412
+ const _CC = "CreateConnection";
413
+ const _CCFE = "ConditionalCheckFailedException";
414
+ const _CCI = "CreateConnectionInput";
415
+ const _CCO = "CreateConnectionOutput";
416
+ const _CE = "ConflictException";
417
+ const _CF = "ConfigFile";
418
+ const _CH = "CreateHost";
419
+ const _CHI = "CreateHostInput";
420
+ const _CHO = "CreateHostOutput";
421
+ const _CL = "ConnectionList";
422
+ const _CME = "ConcurrentModificationException";
423
+ const _CN = "ConnectionName";
424
+ const _CR = "CreatedReason";
425
+ const _CRL = "CreateRepositoryLink";
426
+ const _CRLI = "CreateRepositoryLinkInput";
427
+ const _CRLO = "CreateRepositoryLinkOutput";
428
+ const _CS = "ConnectionStatus";
429
+ const _CSC = "CreateSyncConfiguration";
430
+ const _CSCI = "CreateSyncConfigurationInput";
431
+ const _CSCO = "CreateSyncConfigurationOutput";
432
+ const _Co = "Connections";
433
+ const _Con = "Contexts";
434
+ const _D = "Directory";
435
+ const _DC = "DeleteConnection";
436
+ const _DCI = "DeleteConnectionInput";
437
+ const _DCO = "DeleteConnectionOutput";
438
+ const _DH = "DeleteHost";
439
+ const _DHI = "DeleteHostInput";
440
+ const _DHO = "DeleteHostOutput";
441
+ const _DRL = "DeleteRepositoryLink";
442
+ const _DRLI = "DeleteRepositoryLinkInput";
443
+ const _DRLO = "DeleteRepositoryLinkOutput";
444
+ const _DS = "DesiredState";
445
+ const _DSC = "DeleteSyncConfiguration";
446
+ const _DSCI = "DeleteSyncConfigurationInput";
447
+ const _DSCO = "DeleteSyncConfigurationOutput";
448
+ const _E = "Events";
449
+ const _EI = "ExternalId";
450
+ const _EKA = "EncryptionKeyArn";
451
+ const _Ev = "Event";
452
+ const _GC = "GetConnection";
453
+ const _GCI = "GetConnectionInput";
454
+ const _GCO = "GetConnectionOutput";
455
+ const _GH = "GetHost";
456
+ const _GHI = "GetHostInput";
457
+ const _GHO = "GetHostOutput";
458
+ const _GRL = "GetRepositoryLink";
459
+ const _GRLI = "GetRepositoryLinkInput";
460
+ const _GRLO = "GetRepositoryLinkOutput";
461
+ const _GRSS = "GetRepositorySyncStatus";
462
+ const _GRSSI = "GetRepositorySyncStatusInput";
463
+ const _GRSSIe = "GetResourceSyncStatusInput";
464
+ const _GRSSO = "GetRepositorySyncStatusOutput";
465
+ const _GRSSOe = "GetResourceSyncStatusOutput";
466
+ const _GRSSe = "GetResourceSyncStatus";
467
+ const _GSBS = "GetSyncBlockerSummary";
468
+ const _GSBSI = "GetSyncBlockerSummaryInput";
469
+ const _GSBSO = "GetSyncBlockerSummaryOutput";
470
+ const _GSC = "GetSyncConfiguration";
471
+ const _GSCI = "GetSyncConfigurationInput";
472
+ const _GSCO = "GetSyncConfigurationOutput";
473
+ const _H = "Host";
474
+ const _HA = "HostArn";
475
+ const _HAF = "HostArnFilter";
476
+ const _HL = "HostList";
477
+ const _Ho = "Hosts";
478
+ const _I = "Id";
479
+ const _IIE = "InvalidInputException";
480
+ const _IR = "InitialRevision";
481
+ const _ISE = "InternalServerException";
482
+ const _K = "Key";
483
+ const _LB = "LatestBlockers";
484
+ const _LC = "ListConnections";
485
+ const _LCI = "ListConnectionsInput";
486
+ const _LCO = "ListConnectionsOutput";
487
+ const _LEE = "LimitExceededException";
488
+ const _LH = "ListHosts";
489
+ const _LHI = "ListHostsInput";
490
+ const _LHO = "ListHostsOutput";
491
+ const _LRL = "ListRepositoryLinks";
492
+ const _LRLI = "ListRepositoryLinksInput";
493
+ const _LRLO = "ListRepositoryLinksOutput";
494
+ const _LRSD = "ListRepositorySyncDefinitions";
495
+ const _LRSDI = "ListRepositorySyncDefinitionsInput";
496
+ const _LRSDO = "ListRepositorySyncDefinitionsOutput";
497
+ const _LS = "LatestSync";
498
+ const _LSBL = "LatestSyncBlockerList";
499
+ const _LSC = "ListSyncConfigurations";
500
+ const _LSCI = "ListSyncConfigurationsInput";
501
+ const _LSCO = "ListSyncConfigurationsOutput";
502
+ const _LSS = "LatestSuccessfulSync";
503
+ const _LTFR = "ListTagsForResource";
504
+ const _LTFRI = "ListTagsForResourceInput";
505
+ const _LTFRO = "ListTagsForResourceOutput";
506
+ const _M = "Message";
507
+ const _MR = "MaxResults";
508
+ const _N = "Name";
509
+ const _NT = "NextToken";
510
+ const _OAI = "OwnerAccountId";
511
+ const _OI = "OwnerId";
512
+ const _P = "Parent";
513
+ const _PDS = "PublishDeploymentStatus";
514
+ const _PE = "ProviderEndpoint";
515
+ const _PRC = "PullRequestComment";
516
+ const _PRN = "ParentResourceName";
517
+ const _PT = "ProviderType";
518
+ const _PTF = "ProviderTypeFilter";
519
+ const _R = "Revision";
520
+ const _RA = "RoleArn";
521
+ const _RAEE = "ResourceAlreadyExistsException";
522
+ const _RAe = "ResourceArn";
523
+ const _RAes = "ResolvedAt";
524
+ const _RL = "RepositoryLinks";
525
+ const _RLA = "RepositoryLinkArn";
526
+ const _RLCFE = "RetryLatestCommitFailedException";
527
+ const _RLI = "RepositoryLinkInfo";
528
+ const _RLIe = "RepositoryLinkId";
529
+ const _RLL = "RepositoryLinkList";
530
+ const _RN = "RepositoryName";
531
+ const _RNFE = "ResourceNotFoundException";
532
+ const _RNe = "ResourceName";
533
+ const _RR = "ResolvedReason";
534
+ const _RSA = "RepositorySyncAttempt";
535
+ const _RSAe = "ResourceSyncAttempt";
536
+ const _RSD = "RepositorySyncDefinitions";
537
+ const _RSDL = "RepositorySyncDefinitionList";
538
+ const _RSDe = "RepositorySyncDefinition";
539
+ const _RSE = "RepositorySyncEvent";
540
+ const _RSEL = "RepositorySyncEventList";
541
+ const _RSELe = "ResourceSyncEventList";
542
+ const _RSEe = "ResourceSyncEvent";
543
+ const _RUE = "ResourceUnavailableException";
544
+ const _S = "Status";
545
+ const _SA = "StartedAt";
546
+ const _SB = "SyncBlocker";
547
+ const _SBC = "SyncBlockerContext";
548
+ const _SBCL = "SyncBlockerContextList";
549
+ const _SBDNEE = "SyncBlockerDoesNotExistException";
550
+ const _SBS = "SyncBlockerSummary";
551
+ const _SC = "SyncConfiguration";
552
+ const _SCL = "SyncConfigurationList";
553
+ const _SCSEE = "SyncConfigurationStillExistsException";
554
+ const _SCy = "SyncConfigurations";
555
+ const _SGI = "SecurityGroupIds";
556
+ const _SI = "SubnetIds";
557
+ const _SM = "StatusMessage";
558
+ const _ST = "SyncType";
559
+ const _Sh = "Sha";
560
+ const _T = "Tags";
561
+ const _TC = "TlsCertificate";
562
+ const _TE = "ThrottlingException";
563
+ const _TK = "TagKeys";
564
+ const _TL = "TagList";
565
+ const _TR = "TargetRevision";
566
+ const _TRI = "TagResourceInput";
567
+ const _TRO = "TagResourceOutput";
568
+ const _TRUO = "TriggerResourceUpdateOn";
569
+ const _TRa = "TagResource";
570
+ const _Ta = "Target";
571
+ const _Tag = "Tag";
572
+ const _Ti = "Time";
573
+ const _Ty = "Type";
574
+ const _UH = "UpdateHost";
575
+ const _UHI = "UpdateHostInput";
576
+ const _UHO = "UpdateHostOutput";
577
+ const _UOE = "UnsupportedOperationException";
578
+ const _UOOSE = "UpdateOutOfSyncException";
579
+ const _UPTE = "UnsupportedProviderTypeException";
580
+ const _UR = "UntagResource";
581
+ const _URI = "UntagResourceInput";
582
+ const _URL = "UpdateRepositoryLink";
583
+ const _URLI = "UpdateRepositoryLinkInput";
584
+ const _URLO = "UpdateRepositoryLinkOutput";
585
+ const _URO = "UntagResourceOutput";
586
+ const _USB = "UpdateSyncBlocker";
587
+ const _USBI = "UpdateSyncBlockerInput";
588
+ const _USBO = "UpdateSyncBlockerOutput";
589
+ const _USC = "UpdateSyncConfiguration";
590
+ const _USCI = "UpdateSyncConfigurationInput";
591
+ const _USCO = "UpdateSyncConfigurationOutput";
592
+ const _V = "Value";
593
+ const _VC = "VpcConfiguration";
594
+ const _VI = "VpcId";
595
+ const _c = "client";
596
+ const _e = "error";
597
+ const _hE = "httpError";
598
+ const _s = "server";
599
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.codeconnections";
600
+ const n0 = "com.amazonaws.codeconnections";
601
+ var AccessDeniedException = [
602
+ -3,
603
+ n0,
604
+ _ADE,
605
+ {
606
+ [_e]: _c,
607
+ [_hE]: 403,
608
+ },
609
+ [_M],
610
+ [0],
611
+ ];
612
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
613
+ var ConcurrentModificationException = [
614
+ -3,
615
+ n0,
616
+ _CME,
617
+ {
618
+ [_e]: _c,
619
+ [_hE]: 409,
620
+ },
621
+ [_M],
622
+ [0],
623
+ ];
624
+ schema.TypeRegistry.for(n0).registerError(ConcurrentModificationException, ConcurrentModificationException$1);
625
+ var ConditionalCheckFailedException = [
626
+ -3,
627
+ n0,
628
+ _CCFE,
629
+ {
630
+ [_e]: _c,
631
+ [_hE]: 409,
632
+ },
633
+ [_M],
634
+ [0],
635
+ ];
636
+ schema.TypeRegistry.for(n0).registerError(ConditionalCheckFailedException, ConditionalCheckFailedException$1);
637
+ var ConflictException = [
638
+ -3,
639
+ n0,
640
+ _CE,
641
+ {
642
+ [_e]: _c,
643
+ [_hE]: 409,
644
+ },
645
+ [_M],
646
+ [0],
647
+ ];
648
+ schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
649
+ var Connection = [3, n0, _C, 0, [_CN, _CA, _PT, _OAI, _CS, _HA], [0, 0, 0, 0, 0, 0]];
650
+ var CreateConnectionInput = [
651
+ 3,
652
+ n0,
653
+ _CCI,
654
+ 0,
655
+ [_PT, _CN, _T, _HA],
656
+ [0, 0, () => TagList, 0],
657
+ ];
658
+ var CreateConnectionOutput = [3, n0, _CCO, 0, [_CA, _T], [0, () => TagList]];
659
+ var CreateHostInput = [
660
+ 3,
661
+ n0,
662
+ _CHI,
663
+ 0,
664
+ [_N, _PT, _PE, _VC, _T],
665
+ [0, 0, 0, () => VpcConfiguration, () => TagList],
666
+ ];
667
+ var CreateHostOutput = [3, n0, _CHO, 0, [_HA, _T], [0, () => TagList]];
668
+ var CreateRepositoryLinkInput = [
669
+ 3,
670
+ n0,
671
+ _CRLI,
672
+ 0,
673
+ [_CA, _OI, _RN, _EKA, _T],
674
+ [0, 0, 0, 0, () => TagList],
675
+ ];
676
+ var CreateRepositoryLinkOutput = [3, n0, _CRLO, 0, [_RLI], [() => RepositoryLinkInfo]];
677
+ var CreateSyncConfigurationInput = [
678
+ 3,
679
+ n0,
680
+ _CSCI,
681
+ 0,
682
+ [_B, _CF, _RLIe, _RNe, _RA, _ST, _PDS, _TRUO, _PRC],
683
+ [0, 0, 0, 0, 0, 0, 0, 0, 0],
684
+ ];
685
+ var CreateSyncConfigurationOutput = [3, n0, _CSCO, 0, [_SC], [() => SyncConfiguration]];
686
+ var DeleteConnectionInput = [3, n0, _DCI, 0, [_CA], [0]];
687
+ var DeleteConnectionOutput = [3, n0, _DCO, 0, [], []];
688
+ var DeleteHostInput = [3, n0, _DHI, 0, [_HA], [0]];
689
+ var DeleteHostOutput = [3, n0, _DHO, 0, [], []];
690
+ var DeleteRepositoryLinkInput = [3, n0, _DRLI, 0, [_RLIe], [0]];
691
+ var DeleteRepositoryLinkOutput = [3, n0, _DRLO, 0, [], []];
692
+ var DeleteSyncConfigurationInput = [3, n0, _DSCI, 0, [_ST, _RNe], [0, 0]];
693
+ var DeleteSyncConfigurationOutput = [3, n0, _DSCO, 0, [], []];
694
+ var GetConnectionInput = [3, n0, _GCI, 0, [_CA], [0]];
695
+ var GetConnectionOutput = [3, n0, _GCO, 0, [_C], [() => Connection]];
696
+ var GetHostInput = [3, n0, _GHI, 0, [_HA], [0]];
697
+ var GetHostOutput = [
698
+ 3,
699
+ n0,
700
+ _GHO,
701
+ 0,
702
+ [_N, _S, _PT, _PE, _VC],
703
+ [0, 0, 0, 0, () => VpcConfiguration],
704
+ ];
705
+ var GetRepositoryLinkInput = [3, n0, _GRLI, 0, [_RLIe], [0]];
706
+ var GetRepositoryLinkOutput = [3, n0, _GRLO, 0, [_RLI], [() => RepositoryLinkInfo]];
707
+ var GetRepositorySyncStatusInput = [3, n0, _GRSSI, 0, [_B, _RLIe, _ST], [0, 0, 0]];
708
+ var GetRepositorySyncStatusOutput = [
709
+ 3,
710
+ n0,
711
+ _GRSSO,
712
+ 0,
713
+ [_LS],
714
+ [() => RepositorySyncAttempt],
715
+ ];
716
+ var GetResourceSyncStatusInput = [3, n0, _GRSSIe, 0, [_RNe, _ST], [0, 0]];
717
+ var GetResourceSyncStatusOutput = [
718
+ 3,
719
+ n0,
720
+ _GRSSOe,
721
+ 0,
722
+ [_DS, _LSS, _LS],
723
+ [() => Revision, () => ResourceSyncAttempt, () => ResourceSyncAttempt],
724
+ ];
725
+ var GetSyncBlockerSummaryInput = [3, n0, _GSBSI, 0, [_ST, _RNe], [0, 0]];
726
+ var GetSyncBlockerSummaryOutput = [3, n0, _GSBSO, 0, [_SBS], [() => SyncBlockerSummary]];
727
+ var GetSyncConfigurationInput = [3, n0, _GSCI, 0, [_ST, _RNe], [0, 0]];
728
+ var GetSyncConfigurationOutput = [3, n0, _GSCO, 0, [_SC], [() => SyncConfiguration]];
729
+ var Host = [
730
+ 3,
731
+ n0,
732
+ _H,
733
+ 0,
734
+ [_N, _HA, _PT, _PE, _VC, _S, _SM],
735
+ [0, 0, 0, 0, () => VpcConfiguration, 0, 0],
736
+ ];
737
+ var InternalServerException = [
738
+ -3,
739
+ n0,
740
+ _ISE,
741
+ {
742
+ [_e]: _s,
743
+ [_hE]: 503,
744
+ },
745
+ [_M],
746
+ [0],
747
+ ];
748
+ schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
749
+ var InvalidInputException = [
750
+ -3,
751
+ n0,
752
+ _IIE,
753
+ {
754
+ [_e]: _c,
755
+ [_hE]: 400,
756
+ },
757
+ [_M],
758
+ [0],
759
+ ];
760
+ schema.TypeRegistry.for(n0).registerError(InvalidInputException, InvalidInputException$1);
761
+ var LimitExceededException = [
762
+ -3,
763
+ n0,
764
+ _LEE,
765
+ {
766
+ [_e]: _c,
767
+ [_hE]: 429,
768
+ },
769
+ [_M],
770
+ [0],
771
+ ];
772
+ schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
773
+ var ListConnectionsInput = [3, n0, _LCI, 0, [_PTF, _HAF, _MR, _NT], [0, 0, 1, 0]];
774
+ var ListConnectionsOutput = [3, n0, _LCO, 0, [_Co, _NT], [() => ConnectionList, 0]];
775
+ var ListHostsInput = [3, n0, _LHI, 0, [_MR, _NT], [1, 0]];
776
+ var ListHostsOutput = [3, n0, _LHO, 0, [_Ho, _NT], [() => HostList, 0]];
777
+ var ListRepositoryLinksInput = [3, n0, _LRLI, 0, [_MR, _NT], [1, 0]];
778
+ var ListRepositoryLinksOutput = [
779
+ 3,
780
+ n0,
781
+ _LRLO,
782
+ 0,
783
+ [_RL, _NT],
784
+ [() => RepositoryLinkList, 0],
785
+ ];
786
+ var ListRepositorySyncDefinitionsInput = [3, n0, _LRSDI, 0, [_RLIe, _ST], [0, 0]];
787
+ var ListRepositorySyncDefinitionsOutput = [
788
+ 3,
789
+ n0,
790
+ _LRSDO,
791
+ 0,
792
+ [_RSD, _NT],
793
+ [() => RepositorySyncDefinitionList, 0],
794
+ ];
795
+ var ListSyncConfigurationsInput = [3, n0, _LSCI, 0, [_MR, _NT, _RLIe, _ST], [1, 0, 0, 0]];
796
+ var ListSyncConfigurationsOutput = [
797
+ 3,
798
+ n0,
799
+ _LSCO,
800
+ 0,
801
+ [_SCy, _NT],
802
+ [() => SyncConfigurationList, 0],
803
+ ];
804
+ var ListTagsForResourceInput = [3, n0, _LTFRI, 0, [_RAe], [0]];
805
+ var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_T], [() => TagList]];
806
+ var RepositoryLinkInfo = [
807
+ 3,
808
+ n0,
809
+ _RLI,
810
+ 0,
811
+ [_CA, _EKA, _OI, _PT, _RLA, _RLIe, _RN],
812
+ [0, 0, 0, 0, 0, 0, 0],
813
+ ];
814
+ var RepositorySyncAttempt = [
815
+ 3,
816
+ n0,
817
+ _RSA,
818
+ 0,
819
+ [_SA, _S, _E],
820
+ [4, 0, () => RepositorySyncEventList],
821
+ ];
822
+ var RepositorySyncDefinition = [3, n0, _RSDe, 0, [_B, _D, _P, _Ta], [0, 0, 0, 0]];
823
+ var RepositorySyncEvent = [3, n0, _RSE, 0, [_Ev, _EI, _Ti, _Ty], [0, 0, 4, 0]];
824
+ var ResourceAlreadyExistsException = [
825
+ -3,
826
+ n0,
827
+ _RAEE,
828
+ {
829
+ [_e]: _c,
830
+ [_hE]: 409,
831
+ },
832
+ [_M],
833
+ [0],
834
+ ];
835
+ schema.TypeRegistry.for(n0).registerError(ResourceAlreadyExistsException, ResourceAlreadyExistsException$1);
836
+ var ResourceNotFoundException = [
837
+ -3,
838
+ n0,
839
+ _RNFE,
840
+ {
841
+ [_e]: _c,
842
+ [_hE]: 404,
843
+ },
844
+ [_M],
845
+ [0],
846
+ ];
847
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
848
+ var ResourceSyncAttempt = [
849
+ 3,
850
+ n0,
851
+ _RSAe,
852
+ 0,
853
+ [_E, _IR, _SA, _S, _TR, _Ta],
854
+ [() => ResourceSyncEventList, () => Revision, 4, 0, () => Revision, 0],
855
+ ];
856
+ var ResourceSyncEvent = [3, n0, _RSEe, 0, [_Ev, _EI, _Ti, _Ty], [0, 0, 4, 0]];
857
+ var ResourceUnavailableException = [
858
+ -3,
859
+ n0,
860
+ _RUE,
861
+ {
862
+ [_e]: _c,
863
+ [_hE]: 400,
864
+ },
865
+ [_M],
866
+ [0],
867
+ ];
868
+ schema.TypeRegistry.for(n0).registerError(ResourceUnavailableException, ResourceUnavailableException$1);
869
+ var RetryLatestCommitFailedException = [
870
+ -3,
871
+ n0,
872
+ _RLCFE,
873
+ {
874
+ [_e]: _s,
875
+ [_hE]: 503,
876
+ },
877
+ [_M],
878
+ [0],
879
+ ];
880
+ schema.TypeRegistry.for(n0).registerError(RetryLatestCommitFailedException, RetryLatestCommitFailedException$1);
881
+ var Revision = [3, n0, _R, 0, [_B, _D, _OI, _RN, _PT, _Sh], [0, 0, 0, 0, 0, 0]];
882
+ var SyncBlocker = [
883
+ 3,
884
+ n0,
885
+ _SB,
886
+ 0,
887
+ [_I, _Ty, _S, _CR, _CAr, _Con, _RR, _RAes],
888
+ [0, 0, 0, 0, 4, () => SyncBlockerContextList, 0, 4],
889
+ ];
890
+ var SyncBlockerContext = [3, n0, _SBC, 0, [_K, _V], [0, 0]];
891
+ var SyncBlockerDoesNotExistException = [
892
+ -3,
893
+ n0,
894
+ _SBDNEE,
895
+ {
896
+ [_e]: _c,
897
+ [_hE]: 404,
898
+ },
899
+ [_M],
900
+ [0],
901
+ ];
902
+ schema.TypeRegistry.for(n0).registerError(SyncBlockerDoesNotExistException, SyncBlockerDoesNotExistException$1);
903
+ var SyncBlockerSummary = [
904
+ 3,
905
+ n0,
906
+ _SBS,
907
+ 0,
908
+ [_RNe, _PRN, _LB],
909
+ [0, 0, () => LatestSyncBlockerList],
910
+ ];
911
+ var SyncConfiguration = [
912
+ 3,
913
+ n0,
914
+ _SC,
915
+ 0,
916
+ [_B, _CF, _OI, _PT, _RLIe, _RN, _RNe, _RA, _ST, _PDS, _TRUO, _PRC],
917
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0],
918
+ ];
919
+ var SyncConfigurationStillExistsException = [
920
+ -3,
921
+ n0,
922
+ _SCSEE,
923
+ {
924
+ [_e]: _c,
925
+ [_hE]: 409,
926
+ },
927
+ [_M],
928
+ [0],
929
+ ];
930
+ schema.TypeRegistry.for(n0).registerError(SyncConfigurationStillExistsException, SyncConfigurationStillExistsException$1);
931
+ var Tag = [3, n0, _Tag, 0, [_K, _V], [0, 0]];
932
+ var TagResourceInput = [3, n0, _TRI, 0, [_RAe, _T], [0, () => TagList]];
933
+ var TagResourceOutput = [3, n0, _TRO, 0, [], []];
934
+ var ThrottlingException = [
935
+ -3,
936
+ n0,
937
+ _TE,
938
+ {
939
+ [_e]: _c,
940
+ [_hE]: 429,
941
+ },
942
+ [_M],
943
+ [0],
944
+ ];
945
+ schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
946
+ var UnsupportedOperationException = [
947
+ -3,
948
+ n0,
949
+ _UOE,
950
+ {
951
+ [_e]: _c,
952
+ [_hE]: 400,
953
+ },
954
+ [_M],
955
+ [0],
956
+ ];
957
+ schema.TypeRegistry.for(n0).registerError(UnsupportedOperationException, UnsupportedOperationException$1);
958
+ var UnsupportedProviderTypeException = [
959
+ -3,
960
+ n0,
961
+ _UPTE,
962
+ {
963
+ [_e]: _c,
964
+ [_hE]: 400,
965
+ },
966
+ [_M],
967
+ [0],
968
+ ];
969
+ schema.TypeRegistry.for(n0).registerError(UnsupportedProviderTypeException, UnsupportedProviderTypeException$1);
970
+ var UntagResourceInput = [3, n0, _URI, 0, [_RAe, _TK], [0, 64 | 0]];
971
+ var UntagResourceOutput = [3, n0, _URO, 0, [], []];
972
+ var UpdateHostInput = [3, n0, _UHI, 0, [_HA, _PE, _VC], [0, 0, () => VpcConfiguration]];
973
+ var UpdateHostOutput = [3, n0, _UHO, 0, [], []];
974
+ var UpdateOutOfSyncException = [
975
+ -3,
976
+ n0,
977
+ _UOOSE,
978
+ {
979
+ [_e]: _c,
980
+ [_hE]: 409,
981
+ },
982
+ [_M],
983
+ [0],
984
+ ];
985
+ schema.TypeRegistry.for(n0).registerError(UpdateOutOfSyncException, UpdateOutOfSyncException$1);
986
+ var UpdateRepositoryLinkInput = [3, n0, _URLI, 0, [_CA, _EKA, _RLIe], [0, 0, 0]];
987
+ var UpdateRepositoryLinkOutput = [3, n0, _URLO, 0, [_RLI], [() => RepositoryLinkInfo]];
988
+ var UpdateSyncBlockerInput = [3, n0, _USBI, 0, [_I, _ST, _RNe, _RR], [0, 0, 0, 0]];
989
+ var UpdateSyncBlockerOutput = [
990
+ 3,
991
+ n0,
992
+ _USBO,
993
+ 0,
994
+ [_RNe, _PRN, _SB],
995
+ [0, 0, () => SyncBlocker],
996
+ ];
997
+ var UpdateSyncConfigurationInput = [
998
+ 3,
999
+ n0,
1000
+ _USCI,
1001
+ 0,
1002
+ [_B, _CF, _RLIe, _RNe, _RA, _ST, _PDS, _TRUO, _PRC],
1003
+ [0, 0, 0, 0, 0, 0, 0, 0, 0],
1004
+ ];
1005
+ var UpdateSyncConfigurationOutput = [3, n0, _USCO, 0, [_SC], [() => SyncConfiguration]];
1006
+ var VpcConfiguration = [3, n0, _VC, 0, [_VI, _SI, _SGI, _TC], [0, 64 | 0, 64 | 0, 0]];
1007
+ var CodeConnectionsServiceException = [-3, _sm, "CodeConnectionsServiceException", 0, [], []];
1008
+ schema.TypeRegistry.for(_sm).registerError(CodeConnectionsServiceException, CodeConnectionsServiceException$1);
1009
+ var ConnectionList = [1, n0, _CL, 0, () => Connection];
1010
+ var HostList = [1, n0, _HL, 0, () => Host];
1011
+ var LatestSyncBlockerList = [1, n0, _LSBL, 0, () => SyncBlocker];
1012
+ var RepositoryLinkList = [1, n0, _RLL, 0, () => RepositoryLinkInfo];
1013
+ var RepositorySyncDefinitionList = [1, n0, _RSDL, 0, () => RepositorySyncDefinition];
1014
+ var RepositorySyncEventList = [1, n0, _RSEL, 0, () => RepositorySyncEvent];
1015
+ var ResourceSyncEventList = [1, n0, _RSELe, 0, () => ResourceSyncEvent];
1016
+ var SyncBlockerContextList = [1, n0, _SBCL, 0, () => SyncBlockerContext];
1017
+ var SyncConfigurationList = [1, n0, _SCL, 0, () => SyncConfiguration];
1018
+ var TagList = [1, n0, _TL, 0, () => Tag];
1019
+ var CreateConnection = [
1020
+ 9,
1021
+ n0,
1022
+ _CC,
1023
+ 0,
1024
+ () => CreateConnectionInput,
1025
+ () => CreateConnectionOutput,
1026
+ ];
1027
+ var CreateHost = [9, n0, _CH, 0, () => CreateHostInput, () => CreateHostOutput];
1028
+ var CreateRepositoryLink = [
1029
+ 9,
1030
+ n0,
1031
+ _CRL,
1032
+ 0,
1033
+ () => CreateRepositoryLinkInput,
1034
+ () => CreateRepositoryLinkOutput,
1035
+ ];
1036
+ var CreateSyncConfiguration = [
1037
+ 9,
1038
+ n0,
1039
+ _CSC,
1040
+ 0,
1041
+ () => CreateSyncConfigurationInput,
1042
+ () => CreateSyncConfigurationOutput,
1043
+ ];
1044
+ var DeleteConnection = [
1045
+ 9,
1046
+ n0,
1047
+ _DC,
1048
+ 0,
1049
+ () => DeleteConnectionInput,
1050
+ () => DeleteConnectionOutput,
1051
+ ];
1052
+ var DeleteHost = [9, n0, _DH, 0, () => DeleteHostInput, () => DeleteHostOutput];
1053
+ var DeleteRepositoryLink = [
1054
+ 9,
1055
+ n0,
1056
+ _DRL,
1057
+ 0,
1058
+ () => DeleteRepositoryLinkInput,
1059
+ () => DeleteRepositoryLinkOutput,
1060
+ ];
1061
+ var DeleteSyncConfiguration = [
1062
+ 9,
1063
+ n0,
1064
+ _DSC,
1065
+ 0,
1066
+ () => DeleteSyncConfigurationInput,
1067
+ () => DeleteSyncConfigurationOutput,
1068
+ ];
1069
+ var GetConnection = [9, n0, _GC, 0, () => GetConnectionInput, () => GetConnectionOutput];
1070
+ var GetHost = [9, n0, _GH, 0, () => GetHostInput, () => GetHostOutput];
1071
+ var GetRepositoryLink = [
1072
+ 9,
1073
+ n0,
1074
+ _GRL,
1075
+ 0,
1076
+ () => GetRepositoryLinkInput,
1077
+ () => GetRepositoryLinkOutput,
1078
+ ];
1079
+ var GetRepositorySyncStatus = [
1080
+ 9,
1081
+ n0,
1082
+ _GRSS,
1083
+ 0,
1084
+ () => GetRepositorySyncStatusInput,
1085
+ () => GetRepositorySyncStatusOutput,
1086
+ ];
1087
+ var GetResourceSyncStatus = [
1088
+ 9,
1089
+ n0,
1090
+ _GRSSe,
1091
+ 0,
1092
+ () => GetResourceSyncStatusInput,
1093
+ () => GetResourceSyncStatusOutput,
1094
+ ];
1095
+ var GetSyncBlockerSummary = [
1096
+ 9,
1097
+ n0,
1098
+ _GSBS,
1099
+ 0,
1100
+ () => GetSyncBlockerSummaryInput,
1101
+ () => GetSyncBlockerSummaryOutput,
1102
+ ];
1103
+ var GetSyncConfiguration = [
1104
+ 9,
1105
+ n0,
1106
+ _GSC,
1107
+ 0,
1108
+ () => GetSyncConfigurationInput,
1109
+ () => GetSyncConfigurationOutput,
1110
+ ];
1111
+ var ListConnections = [
1112
+ 9,
1113
+ n0,
1114
+ _LC,
1115
+ 0,
1116
+ () => ListConnectionsInput,
1117
+ () => ListConnectionsOutput,
1118
+ ];
1119
+ var ListHosts = [9, n0, _LH, 0, () => ListHostsInput, () => ListHostsOutput];
1120
+ var ListRepositoryLinks = [
1121
+ 9,
1122
+ n0,
1123
+ _LRL,
1124
+ 0,
1125
+ () => ListRepositoryLinksInput,
1126
+ () => ListRepositoryLinksOutput,
1127
+ ];
1128
+ var ListRepositorySyncDefinitions = [
1129
+ 9,
1130
+ n0,
1131
+ _LRSD,
1132
+ 0,
1133
+ () => ListRepositorySyncDefinitionsInput,
1134
+ () => ListRepositorySyncDefinitionsOutput,
1135
+ ];
1136
+ var ListSyncConfigurations = [
1137
+ 9,
1138
+ n0,
1139
+ _LSC,
1140
+ 0,
1141
+ () => ListSyncConfigurationsInput,
1142
+ () => ListSyncConfigurationsOutput,
1143
+ ];
1144
+ var ListTagsForResource = [
1145
+ 9,
1146
+ n0,
1147
+ _LTFR,
1148
+ 0,
1149
+ () => ListTagsForResourceInput,
1150
+ () => ListTagsForResourceOutput,
1151
+ ];
1152
+ var TagResource = [9, n0, _TRa, 0, () => TagResourceInput, () => TagResourceOutput];
1153
+ var UntagResource = [9, n0, _UR, 0, () => UntagResourceInput, () => UntagResourceOutput];
1154
+ var UpdateHost = [9, n0, _UH, 0, () => UpdateHostInput, () => UpdateHostOutput];
1155
+ var UpdateRepositoryLink = [
1156
+ 9,
1157
+ n0,
1158
+ _URL,
1159
+ 0,
1160
+ () => UpdateRepositoryLinkInput,
1161
+ () => UpdateRepositoryLinkOutput,
1162
+ ];
1163
+ var UpdateSyncBlocker = [
1164
+ 9,
1165
+ n0,
1166
+ _USB,
1167
+ 0,
1168
+ () => UpdateSyncBlockerInput,
1169
+ () => UpdateSyncBlockerOutput,
1170
+ ];
1171
+ var UpdateSyncConfiguration = [
1172
+ 9,
1173
+ n0,
1174
+ _USC,
1175
+ 0,
1176
+ () => UpdateSyncConfigurationInput,
1177
+ () => UpdateSyncConfigurationOutput,
1178
+ ];
1268
1179
 
1269
1180
  class CreateConnectionCommand extends smithyClient.Command
1270
1181
  .classBuilder()
1271
1182
  .ep(commonParams)
1272
1183
  .m(function (Command, cs, config, o) {
1273
- return [
1274
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1275
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1276
- ];
1184
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1277
1185
  })
1278
1186
  .s("CodeConnections_20231201", "CreateConnection", {})
1279
1187
  .n("CodeConnectionsClient", "CreateConnectionCommand")
1280
- .f(void 0, void 0)
1281
- .ser(se_CreateConnectionCommand)
1282
- .de(de_CreateConnectionCommand)
1188
+ .sc(CreateConnection)
1283
1189
  .build() {
1284
1190
  }
1285
1191
 
@@ -1287,16 +1193,11 @@ class CreateHostCommand extends smithyClient.Command
1287
1193
  .classBuilder()
1288
1194
  .ep(commonParams)
1289
1195
  .m(function (Command, cs, config, o) {
1290
- return [
1291
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1292
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1293
- ];
1196
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1294
1197
  })
1295
1198
  .s("CodeConnections_20231201", "CreateHost", {})
1296
1199
  .n("CodeConnectionsClient", "CreateHostCommand")
1297
- .f(void 0, void 0)
1298
- .ser(se_CreateHostCommand)
1299
- .de(de_CreateHostCommand)
1200
+ .sc(CreateHost)
1300
1201
  .build() {
1301
1202
  }
1302
1203
 
@@ -1304,16 +1205,11 @@ class CreateRepositoryLinkCommand extends smithyClient.Command
1304
1205
  .classBuilder()
1305
1206
  .ep(commonParams)
1306
1207
  .m(function (Command, cs, config, o) {
1307
- return [
1308
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1309
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1310
- ];
1208
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1311
1209
  })
1312
1210
  .s("CodeConnections_20231201", "CreateRepositoryLink", {})
1313
1211
  .n("CodeConnectionsClient", "CreateRepositoryLinkCommand")
1314
- .f(void 0, void 0)
1315
- .ser(se_CreateRepositoryLinkCommand)
1316
- .de(de_CreateRepositoryLinkCommand)
1212
+ .sc(CreateRepositoryLink)
1317
1213
  .build() {
1318
1214
  }
1319
1215
 
@@ -1321,16 +1217,11 @@ class CreateSyncConfigurationCommand extends smithyClient.Command
1321
1217
  .classBuilder()
1322
1218
  .ep(commonParams)
1323
1219
  .m(function (Command, cs, config, o) {
1324
- return [
1325
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1326
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1327
- ];
1220
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1328
1221
  })
1329
1222
  .s("CodeConnections_20231201", "CreateSyncConfiguration", {})
1330
1223
  .n("CodeConnectionsClient", "CreateSyncConfigurationCommand")
1331
- .f(void 0, void 0)
1332
- .ser(se_CreateSyncConfigurationCommand)
1333
- .de(de_CreateSyncConfigurationCommand)
1224
+ .sc(CreateSyncConfiguration)
1334
1225
  .build() {
1335
1226
  }
1336
1227
 
@@ -1338,16 +1229,11 @@ class DeleteConnectionCommand extends smithyClient.Command
1338
1229
  .classBuilder()
1339
1230
  .ep(commonParams)
1340
1231
  .m(function (Command, cs, config, o) {
1341
- return [
1342
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1343
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1344
- ];
1232
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1345
1233
  })
1346
1234
  .s("CodeConnections_20231201", "DeleteConnection", {})
1347
1235
  .n("CodeConnectionsClient", "DeleteConnectionCommand")
1348
- .f(void 0, void 0)
1349
- .ser(se_DeleteConnectionCommand)
1350
- .de(de_DeleteConnectionCommand)
1236
+ .sc(DeleteConnection)
1351
1237
  .build() {
1352
1238
  }
1353
1239
 
@@ -1355,16 +1241,11 @@ class DeleteHostCommand extends smithyClient.Command
1355
1241
  .classBuilder()
1356
1242
  .ep(commonParams)
1357
1243
  .m(function (Command, cs, config, o) {
1358
- return [
1359
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1360
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1361
- ];
1244
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1362
1245
  })
1363
1246
  .s("CodeConnections_20231201", "DeleteHost", {})
1364
1247
  .n("CodeConnectionsClient", "DeleteHostCommand")
1365
- .f(void 0, void 0)
1366
- .ser(se_DeleteHostCommand)
1367
- .de(de_DeleteHostCommand)
1248
+ .sc(DeleteHost)
1368
1249
  .build() {
1369
1250
  }
1370
1251
 
@@ -1372,16 +1253,11 @@ class DeleteRepositoryLinkCommand extends smithyClient.Command
1372
1253
  .classBuilder()
1373
1254
  .ep(commonParams)
1374
1255
  .m(function (Command, cs, config, o) {
1375
- return [
1376
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1377
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1378
- ];
1256
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1379
1257
  })
1380
1258
  .s("CodeConnections_20231201", "DeleteRepositoryLink", {})
1381
1259
  .n("CodeConnectionsClient", "DeleteRepositoryLinkCommand")
1382
- .f(void 0, void 0)
1383
- .ser(se_DeleteRepositoryLinkCommand)
1384
- .de(de_DeleteRepositoryLinkCommand)
1260
+ .sc(DeleteRepositoryLink)
1385
1261
  .build() {
1386
1262
  }
1387
1263
 
@@ -1389,16 +1265,11 @@ class DeleteSyncConfigurationCommand extends smithyClient.Command
1389
1265
  .classBuilder()
1390
1266
  .ep(commonParams)
1391
1267
  .m(function (Command, cs, config, o) {
1392
- return [
1393
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1394
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1395
- ];
1268
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1396
1269
  })
1397
1270
  .s("CodeConnections_20231201", "DeleteSyncConfiguration", {})
1398
1271
  .n("CodeConnectionsClient", "DeleteSyncConfigurationCommand")
1399
- .f(void 0, void 0)
1400
- .ser(se_DeleteSyncConfigurationCommand)
1401
- .de(de_DeleteSyncConfigurationCommand)
1272
+ .sc(DeleteSyncConfiguration)
1402
1273
  .build() {
1403
1274
  }
1404
1275
 
@@ -1406,16 +1277,11 @@ class GetConnectionCommand extends smithyClient.Command
1406
1277
  .classBuilder()
1407
1278
  .ep(commonParams)
1408
1279
  .m(function (Command, cs, config, o) {
1409
- return [
1410
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1411
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1412
- ];
1280
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1413
1281
  })
1414
1282
  .s("CodeConnections_20231201", "GetConnection", {})
1415
1283
  .n("CodeConnectionsClient", "GetConnectionCommand")
1416
- .f(void 0, void 0)
1417
- .ser(se_GetConnectionCommand)
1418
- .de(de_GetConnectionCommand)
1284
+ .sc(GetConnection)
1419
1285
  .build() {
1420
1286
  }
1421
1287
 
@@ -1423,16 +1289,11 @@ class GetHostCommand extends smithyClient.Command
1423
1289
  .classBuilder()
1424
1290
  .ep(commonParams)
1425
1291
  .m(function (Command, cs, config, o) {
1426
- return [
1427
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1428
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1429
- ];
1292
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1430
1293
  })
1431
1294
  .s("CodeConnections_20231201", "GetHost", {})
1432
1295
  .n("CodeConnectionsClient", "GetHostCommand")
1433
- .f(void 0, void 0)
1434
- .ser(se_GetHostCommand)
1435
- .de(de_GetHostCommand)
1296
+ .sc(GetHost)
1436
1297
  .build() {
1437
1298
  }
1438
1299
 
@@ -1440,16 +1301,11 @@ class GetRepositoryLinkCommand extends smithyClient.Command
1440
1301
  .classBuilder()
1441
1302
  .ep(commonParams)
1442
1303
  .m(function (Command, cs, config, o) {
1443
- return [
1444
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1445
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1446
- ];
1304
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1447
1305
  })
1448
1306
  .s("CodeConnections_20231201", "GetRepositoryLink", {})
1449
1307
  .n("CodeConnectionsClient", "GetRepositoryLinkCommand")
1450
- .f(void 0, void 0)
1451
- .ser(se_GetRepositoryLinkCommand)
1452
- .de(de_GetRepositoryLinkCommand)
1308
+ .sc(GetRepositoryLink)
1453
1309
  .build() {
1454
1310
  }
1455
1311
 
@@ -1457,16 +1313,11 @@ class GetRepositorySyncStatusCommand extends smithyClient.Command
1457
1313
  .classBuilder()
1458
1314
  .ep(commonParams)
1459
1315
  .m(function (Command, cs, config, o) {
1460
- return [
1461
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1462
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1463
- ];
1316
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1464
1317
  })
1465
1318
  .s("CodeConnections_20231201", "GetRepositorySyncStatus", {})
1466
1319
  .n("CodeConnectionsClient", "GetRepositorySyncStatusCommand")
1467
- .f(void 0, void 0)
1468
- .ser(se_GetRepositorySyncStatusCommand)
1469
- .de(de_GetRepositorySyncStatusCommand)
1320
+ .sc(GetRepositorySyncStatus)
1470
1321
  .build() {
1471
1322
  }
1472
1323
 
@@ -1474,16 +1325,11 @@ class GetResourceSyncStatusCommand extends smithyClient.Command
1474
1325
  .classBuilder()
1475
1326
  .ep(commonParams)
1476
1327
  .m(function (Command, cs, config, o) {
1477
- return [
1478
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1479
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1480
- ];
1328
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1481
1329
  })
1482
1330
  .s("CodeConnections_20231201", "GetResourceSyncStatus", {})
1483
1331
  .n("CodeConnectionsClient", "GetResourceSyncStatusCommand")
1484
- .f(void 0, void 0)
1485
- .ser(se_GetResourceSyncStatusCommand)
1486
- .de(de_GetResourceSyncStatusCommand)
1332
+ .sc(GetResourceSyncStatus)
1487
1333
  .build() {
1488
1334
  }
1489
1335
 
@@ -1491,16 +1337,11 @@ class GetSyncBlockerSummaryCommand extends smithyClient.Command
1491
1337
  .classBuilder()
1492
1338
  .ep(commonParams)
1493
1339
  .m(function (Command, cs, config, o) {
1494
- return [
1495
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1496
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1497
- ];
1340
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1498
1341
  })
1499
1342
  .s("CodeConnections_20231201", "GetSyncBlockerSummary", {})
1500
1343
  .n("CodeConnectionsClient", "GetSyncBlockerSummaryCommand")
1501
- .f(void 0, void 0)
1502
- .ser(se_GetSyncBlockerSummaryCommand)
1503
- .de(de_GetSyncBlockerSummaryCommand)
1344
+ .sc(GetSyncBlockerSummary)
1504
1345
  .build() {
1505
1346
  }
1506
1347
 
@@ -1508,16 +1349,11 @@ class GetSyncConfigurationCommand extends smithyClient.Command
1508
1349
  .classBuilder()
1509
1350
  .ep(commonParams)
1510
1351
  .m(function (Command, cs, config, o) {
1511
- return [
1512
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1513
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1514
- ];
1352
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1515
1353
  })
1516
1354
  .s("CodeConnections_20231201", "GetSyncConfiguration", {})
1517
1355
  .n("CodeConnectionsClient", "GetSyncConfigurationCommand")
1518
- .f(void 0, void 0)
1519
- .ser(se_GetSyncConfigurationCommand)
1520
- .de(de_GetSyncConfigurationCommand)
1356
+ .sc(GetSyncConfiguration)
1521
1357
  .build() {
1522
1358
  }
1523
1359
 
@@ -1525,16 +1361,11 @@ class ListConnectionsCommand extends smithyClient.Command
1525
1361
  .classBuilder()
1526
1362
  .ep(commonParams)
1527
1363
  .m(function (Command, cs, config, o) {
1528
- return [
1529
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1530
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1531
- ];
1364
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1532
1365
  })
1533
1366
  .s("CodeConnections_20231201", "ListConnections", {})
1534
1367
  .n("CodeConnectionsClient", "ListConnectionsCommand")
1535
- .f(void 0, void 0)
1536
- .ser(se_ListConnectionsCommand)
1537
- .de(de_ListConnectionsCommand)
1368
+ .sc(ListConnections)
1538
1369
  .build() {
1539
1370
  }
1540
1371
 
@@ -1542,16 +1373,11 @@ class ListHostsCommand extends smithyClient.Command
1542
1373
  .classBuilder()
1543
1374
  .ep(commonParams)
1544
1375
  .m(function (Command, cs, config, o) {
1545
- return [
1546
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1547
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1548
- ];
1376
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1549
1377
  })
1550
1378
  .s("CodeConnections_20231201", "ListHosts", {})
1551
1379
  .n("CodeConnectionsClient", "ListHostsCommand")
1552
- .f(void 0, void 0)
1553
- .ser(se_ListHostsCommand)
1554
- .de(de_ListHostsCommand)
1380
+ .sc(ListHosts)
1555
1381
  .build() {
1556
1382
  }
1557
1383
 
@@ -1559,16 +1385,11 @@ class ListRepositoryLinksCommand extends smithyClient.Command
1559
1385
  .classBuilder()
1560
1386
  .ep(commonParams)
1561
1387
  .m(function (Command, cs, config, o) {
1562
- return [
1563
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1564
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1565
- ];
1388
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1566
1389
  })
1567
1390
  .s("CodeConnections_20231201", "ListRepositoryLinks", {})
1568
1391
  .n("CodeConnectionsClient", "ListRepositoryLinksCommand")
1569
- .f(void 0, void 0)
1570
- .ser(se_ListRepositoryLinksCommand)
1571
- .de(de_ListRepositoryLinksCommand)
1392
+ .sc(ListRepositoryLinks)
1572
1393
  .build() {
1573
1394
  }
1574
1395
 
@@ -1576,16 +1397,11 @@ class ListRepositorySyncDefinitionsCommand extends smithyClient.Command
1576
1397
  .classBuilder()
1577
1398
  .ep(commonParams)
1578
1399
  .m(function (Command, cs, config, o) {
1579
- return [
1580
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1581
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1582
- ];
1400
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1583
1401
  })
1584
1402
  .s("CodeConnections_20231201", "ListRepositorySyncDefinitions", {})
1585
1403
  .n("CodeConnectionsClient", "ListRepositorySyncDefinitionsCommand")
1586
- .f(void 0, void 0)
1587
- .ser(se_ListRepositorySyncDefinitionsCommand)
1588
- .de(de_ListRepositorySyncDefinitionsCommand)
1404
+ .sc(ListRepositorySyncDefinitions)
1589
1405
  .build() {
1590
1406
  }
1591
1407
 
@@ -1593,16 +1409,11 @@ class ListSyncConfigurationsCommand extends smithyClient.Command
1593
1409
  .classBuilder()
1594
1410
  .ep(commonParams)
1595
1411
  .m(function (Command, cs, config, o) {
1596
- return [
1597
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1598
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1599
- ];
1412
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1600
1413
  })
1601
1414
  .s("CodeConnections_20231201", "ListSyncConfigurations", {})
1602
1415
  .n("CodeConnectionsClient", "ListSyncConfigurationsCommand")
1603
- .f(void 0, void 0)
1604
- .ser(se_ListSyncConfigurationsCommand)
1605
- .de(de_ListSyncConfigurationsCommand)
1416
+ .sc(ListSyncConfigurations)
1606
1417
  .build() {
1607
1418
  }
1608
1419
 
@@ -1610,16 +1421,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
1610
1421
  .classBuilder()
1611
1422
  .ep(commonParams)
1612
1423
  .m(function (Command, cs, config, o) {
1613
- return [
1614
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1615
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1616
- ];
1424
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1617
1425
  })
1618
1426
  .s("CodeConnections_20231201", "ListTagsForResource", {})
1619
1427
  .n("CodeConnectionsClient", "ListTagsForResourceCommand")
1620
- .f(void 0, void 0)
1621
- .ser(se_ListTagsForResourceCommand)
1622
- .de(de_ListTagsForResourceCommand)
1428
+ .sc(ListTagsForResource)
1623
1429
  .build() {
1624
1430
  }
1625
1431
 
@@ -1627,16 +1433,11 @@ class TagResourceCommand extends smithyClient.Command
1627
1433
  .classBuilder()
1628
1434
  .ep(commonParams)
1629
1435
  .m(function (Command, cs, config, o) {
1630
- return [
1631
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1632
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1633
- ];
1436
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1634
1437
  })
1635
1438
  .s("CodeConnections_20231201", "TagResource", {})
1636
1439
  .n("CodeConnectionsClient", "TagResourceCommand")
1637
- .f(void 0, void 0)
1638
- .ser(se_TagResourceCommand)
1639
- .de(de_TagResourceCommand)
1440
+ .sc(TagResource)
1640
1441
  .build() {
1641
1442
  }
1642
1443
 
@@ -1644,16 +1445,11 @@ class UntagResourceCommand extends smithyClient.Command
1644
1445
  .classBuilder()
1645
1446
  .ep(commonParams)
1646
1447
  .m(function (Command, cs, config, o) {
1647
- return [
1648
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1649
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1650
- ];
1448
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1651
1449
  })
1652
1450
  .s("CodeConnections_20231201", "UntagResource", {})
1653
1451
  .n("CodeConnectionsClient", "UntagResourceCommand")
1654
- .f(void 0, void 0)
1655
- .ser(se_UntagResourceCommand)
1656
- .de(de_UntagResourceCommand)
1452
+ .sc(UntagResource)
1657
1453
  .build() {
1658
1454
  }
1659
1455
 
@@ -1661,16 +1457,11 @@ class UpdateHostCommand extends smithyClient.Command
1661
1457
  .classBuilder()
1662
1458
  .ep(commonParams)
1663
1459
  .m(function (Command, cs, config, o) {
1664
- return [
1665
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1666
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1667
- ];
1460
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1668
1461
  })
1669
1462
  .s("CodeConnections_20231201", "UpdateHost", {})
1670
1463
  .n("CodeConnectionsClient", "UpdateHostCommand")
1671
- .f(void 0, void 0)
1672
- .ser(se_UpdateHostCommand)
1673
- .de(de_UpdateHostCommand)
1464
+ .sc(UpdateHost)
1674
1465
  .build() {
1675
1466
  }
1676
1467
 
@@ -1678,16 +1469,11 @@ class UpdateRepositoryLinkCommand extends smithyClient.Command
1678
1469
  .classBuilder()
1679
1470
  .ep(commonParams)
1680
1471
  .m(function (Command, cs, config, o) {
1681
- return [
1682
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1683
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1684
- ];
1472
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1685
1473
  })
1686
1474
  .s("CodeConnections_20231201", "UpdateRepositoryLink", {})
1687
1475
  .n("CodeConnectionsClient", "UpdateRepositoryLinkCommand")
1688
- .f(void 0, void 0)
1689
- .ser(se_UpdateRepositoryLinkCommand)
1690
- .de(de_UpdateRepositoryLinkCommand)
1476
+ .sc(UpdateRepositoryLink)
1691
1477
  .build() {
1692
1478
  }
1693
1479
 
@@ -1695,16 +1481,11 @@ class UpdateSyncBlockerCommand extends smithyClient.Command
1695
1481
  .classBuilder()
1696
1482
  .ep(commonParams)
1697
1483
  .m(function (Command, cs, config, o) {
1698
- return [
1699
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1700
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1701
- ];
1484
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1702
1485
  })
1703
1486
  .s("CodeConnections_20231201", "UpdateSyncBlocker", {})
1704
1487
  .n("CodeConnectionsClient", "UpdateSyncBlockerCommand")
1705
- .f(void 0, void 0)
1706
- .ser(se_UpdateSyncBlockerCommand)
1707
- .de(de_UpdateSyncBlockerCommand)
1488
+ .sc(UpdateSyncBlocker)
1708
1489
  .build() {
1709
1490
  }
1710
1491
 
@@ -1712,16 +1493,11 @@ class UpdateSyncConfigurationCommand extends smithyClient.Command
1712
1493
  .classBuilder()
1713
1494
  .ep(commonParams)
1714
1495
  .m(function (Command, cs, config, o) {
1715
- return [
1716
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1717
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1718
- ];
1496
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1719
1497
  })
1720
1498
  .s("CodeConnections_20231201", "UpdateSyncConfiguration", {})
1721
1499
  .n("CodeConnectionsClient", "UpdateSyncConfigurationCommand")
1722
- .f(void 0, void 0)
1723
- .ser(se_UpdateSyncConfigurationCommand)
1724
- .de(de_UpdateSyncConfigurationCommand)
1500
+ .sc(UpdateSyncConfiguration)
1725
1501
  .build() {
1726
1502
  }
1727
1503
 
@@ -1774,15 +1550,15 @@ Object.defineProperty(exports, "__Client", {
1774
1550
  enumerable: true,
1775
1551
  get: function () { return smithyClient.Client; }
1776
1552
  });
1777
- exports.AccessDeniedException = AccessDeniedException;
1553
+ exports.AccessDeniedException = AccessDeniedException$1;
1778
1554
  exports.BlockerStatus = BlockerStatus;
1779
1555
  exports.BlockerType = BlockerType;
1780
1556
  exports.CodeConnections = CodeConnections;
1781
1557
  exports.CodeConnectionsClient = CodeConnectionsClient;
1782
- exports.CodeConnectionsServiceException = CodeConnectionsServiceException;
1783
- exports.ConcurrentModificationException = ConcurrentModificationException;
1784
- exports.ConditionalCheckFailedException = ConditionalCheckFailedException;
1785
- exports.ConflictException = ConflictException;
1558
+ exports.CodeConnectionsServiceException = CodeConnectionsServiceException$1;
1559
+ exports.ConcurrentModificationException = ConcurrentModificationException$1;
1560
+ exports.ConditionalCheckFailedException = ConditionalCheckFailedException$1;
1561
+ exports.ConflictException = ConflictException$1;
1786
1562
  exports.ConnectionStatus = ConnectionStatus;
1787
1563
  exports.CreateConnectionCommand = CreateConnectionCommand;
1788
1564
  exports.CreateHostCommand = CreateHostCommand;
@@ -1799,9 +1575,9 @@ exports.GetRepositorySyncStatusCommand = GetRepositorySyncStatusCommand;
1799
1575
  exports.GetResourceSyncStatusCommand = GetResourceSyncStatusCommand;
1800
1576
  exports.GetSyncBlockerSummaryCommand = GetSyncBlockerSummaryCommand;
1801
1577
  exports.GetSyncConfigurationCommand = GetSyncConfigurationCommand;
1802
- exports.InternalServerException = InternalServerException;
1803
- exports.InvalidInputException = InvalidInputException;
1804
- exports.LimitExceededException = LimitExceededException;
1578
+ exports.InternalServerException = InternalServerException$1;
1579
+ exports.InvalidInputException = InvalidInputException$1;
1580
+ exports.LimitExceededException = LimitExceededException$1;
1805
1581
  exports.ListConnectionsCommand = ListConnectionsCommand;
1806
1582
  exports.ListHostsCommand = ListHostsCommand;
1807
1583
  exports.ListRepositoryLinksCommand = ListRepositoryLinksCommand;
@@ -1812,22 +1588,22 @@ exports.ProviderType = ProviderType;
1812
1588
  exports.PublishDeploymentStatus = PublishDeploymentStatus;
1813
1589
  exports.PullRequestComment = PullRequestComment;
1814
1590
  exports.RepositorySyncStatus = RepositorySyncStatus;
1815
- exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
1816
- exports.ResourceNotFoundException = ResourceNotFoundException;
1591
+ exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException$1;
1592
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
1817
1593
  exports.ResourceSyncStatus = ResourceSyncStatus;
1818
- exports.ResourceUnavailableException = ResourceUnavailableException;
1819
- exports.RetryLatestCommitFailedException = RetryLatestCommitFailedException;
1820
- exports.SyncBlockerDoesNotExistException = SyncBlockerDoesNotExistException;
1821
- exports.SyncConfigurationStillExistsException = SyncConfigurationStillExistsException;
1594
+ exports.ResourceUnavailableException = ResourceUnavailableException$1;
1595
+ exports.RetryLatestCommitFailedException = RetryLatestCommitFailedException$1;
1596
+ exports.SyncBlockerDoesNotExistException = SyncBlockerDoesNotExistException$1;
1597
+ exports.SyncConfigurationStillExistsException = SyncConfigurationStillExistsException$1;
1822
1598
  exports.SyncConfigurationType = SyncConfigurationType;
1823
1599
  exports.TagResourceCommand = TagResourceCommand;
1824
- exports.ThrottlingException = ThrottlingException;
1600
+ exports.ThrottlingException = ThrottlingException$1;
1825
1601
  exports.TriggerResourceUpdateOn = TriggerResourceUpdateOn;
1826
- exports.UnsupportedOperationException = UnsupportedOperationException;
1827
- exports.UnsupportedProviderTypeException = UnsupportedProviderTypeException;
1602
+ exports.UnsupportedOperationException = UnsupportedOperationException$1;
1603
+ exports.UnsupportedProviderTypeException = UnsupportedProviderTypeException$1;
1828
1604
  exports.UntagResourceCommand = UntagResourceCommand;
1829
1605
  exports.UpdateHostCommand = UpdateHostCommand;
1830
- exports.UpdateOutOfSyncException = UpdateOutOfSyncException;
1606
+ exports.UpdateOutOfSyncException = UpdateOutOfSyncException$1;
1831
1607
  exports.UpdateRepositoryLinkCommand = UpdateRepositoryLinkCommand;
1832
1608
  exports.UpdateSyncBlockerCommand = UpdateSyncBlockerCommand;
1833
1609
  exports.UpdateSyncConfigurationCommand = UpdateSyncConfigurationCommand;