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