@aws-sdk/client-codestar-connections 3.1075.0 → 3.1076.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.
package/dist-cjs/index.js CHANGED
@@ -1,21 +1,57 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  exports.__Client = Client;
7
- const { resolveRegionConfig } = require("@smithy/core/config");
8
- const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
- const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
- const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
- const { getSchemaSerdePlugin } = require("@smithy/core/schema");
12
- const { resolveHttpAuthSchemeConfig, defaultCodeStarConnectionsHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
13
- const { getRuntimeConfig } = require("./runtimeConfig");
14
- const { CreateConnection$, CreateHost$, CreateRepositoryLink$, CreateSyncConfiguration$, DeleteConnection$, DeleteHost$, DeleteRepositoryLink$, DeleteSyncConfiguration$, GetConnection$, GetHost$, GetRepositoryLink$, GetRepositorySyncStatus$, GetResourceSyncStatus$, GetSyncBlockerSummary$, GetSyncConfiguration$, ListConnections$, ListHosts$, ListRepositoryLinks$, ListRepositorySyncDefinitions$, ListSyncConfigurations$, ListTagsForResource$, TagResource$, UntagResource$, UpdateHost$, UpdateRepositoryLink$, UpdateSyncBlocker$, UpdateSyncConfiguration$ } = require("./schemas/schemas_0");
15
- __exportStar(require("./schemas/schemas_0"), exports);
16
- __exportStar(require("./models/errors"), exports);
17
- const { CodeStarConnectionsServiceException } = require("./models/CodeStarConnectionsServiceException");
18
- exports.CodeStarConnectionsServiceException = CodeStarConnectionsServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
9
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
10
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
11
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
12
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
13
+ const { toUtf8, fromUtf8, toBase64, fromBase64, Hash, calculateBodyLength } = require("@smithy/core/serde");
14
+ const { streamCollector, NodeHttpHandler } = require("@smithy/node-http-handler");
15
+ const { AwsJson1_0Protocol } = require("@aws-sdk/core/protocols");
16
+
17
+ const defaultCodeStarConnectionsHttpAuthSchemeParametersProvider = async (config, context, input) => {
18
+ return {
19
+ operation: getSmithyContext(context).operation,
20
+ region: await normalizeProvider(config.region)() || (() => {
21
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
22
+ })(),
23
+ };
24
+ };
25
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
26
+ return {
27
+ schemeId: "aws.auth#sigv4",
28
+ signingProperties: {
29
+ name: "codestar-connections",
30
+ region: authParameters.region,
31
+ },
32
+ propertiesExtractor: (config, context) => ({
33
+ signingProperties: {
34
+ config,
35
+ context,
36
+ },
37
+ }),
38
+ };
39
+ }
40
+ const defaultCodeStarConnectionsHttpAuthSchemeProvider = (authParameters) => {
41
+ const options = [];
42
+ switch (authParameters.operation) {
43
+ default: {
44
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
45
+ }
46
+ }
47
+ return options;
48
+ };
49
+ const resolveHttpAuthSchemeConfig = (config) => {
50
+ const config_0 = resolveAwsSdkSigV4Config(config);
51
+ return Object.assign(config_0, {
52
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
53
+ });
54
+ };
19
55
 
20
56
  const resolveClientEndpointParameters = (options) => {
21
57
  return Object.assign(options, {
@@ -31,6 +67,1140 @@ const commonParams = {
31
67
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
32
68
  };
33
69
 
70
+ var version = "3.1075.0";
71
+ var packageInfo = {
72
+ version: version};
73
+
74
+ const k = "ref";
75
+ const a = -1, b = true, c = "isSet", d = "PartitionResult", e = "booleanEquals", f = "getAttr", g = { [k]: "Endpoint" }, h = { [k]: d }, i = {}, j = [{ [k]: "Region" }];
76
+ const _data = {
77
+ conditions: [
78
+ [c, [g]],
79
+ [c, j],
80
+ ["aws.partition", j, d],
81
+ [e, [{ [k]: "UseFIPS" }, b]],
82
+ [e, [{ [k]: "UseDualStack" }, b]],
83
+ [e, [{ fn: f, argv: [h, "supportsDualStack"] }, b]],
84
+ [e, [{ fn: f, argv: [h, "supportsFIPS"] }, b]]
85
+ ],
86
+ results: [
87
+ [a],
88
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
89
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
90
+ [g, i],
91
+ ["https://codestar-connections-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
92
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
93
+ ["https://codestar-connections-fips.{Region}.{PartitionResult#dnsSuffix}", i],
94
+ [a, "FIPS is enabled but this partition does not support FIPS"],
95
+ ["https://codestar-connections.{Region}.{PartitionResult#dualStackDnsSuffix}", i],
96
+ [a, "DualStack is enabled but this partition does not support DualStack"],
97
+ ["https://codestar-connections.{Region}.{PartitionResult#dnsSuffix}", i],
98
+ [a, "Invalid Configuration: Missing Region"]
99
+ ]
100
+ };
101
+ const root = 2;
102
+ const r = 100_000_000;
103
+ const nodes = new Int32Array([
104
+ -1, 1, -1,
105
+ 0, 12, 3,
106
+ 1, 4, r + 11,
107
+ 2, 5, r + 11,
108
+ 3, 8, 6,
109
+ 4, 7, r + 10,
110
+ 5, r + 8, r + 9,
111
+ 4, 10, 9,
112
+ 6, r + 6, r + 7,
113
+ 5, 11, r + 5,
114
+ 6, r + 4, r + 5,
115
+ 3, r + 1, 13,
116
+ 4, r + 2, r + 3,
117
+ ]);
118
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
119
+
120
+ const cache = new EndpointCache({
121
+ size: 50,
122
+ params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
123
+ });
124
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
125
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
126
+ endpointParams: endpointParams,
127
+ logger: context.logger,
128
+ }));
129
+ };
130
+ customEndpointFunctions.aws = awsEndpointFunctions;
131
+
132
+ class CodeStarConnectionsServiceException extends ServiceException {
133
+ constructor(options) {
134
+ super(options);
135
+ Object.setPrototypeOf(this, CodeStarConnectionsServiceException.prototype);
136
+ }
137
+ }
138
+
139
+ class AccessDeniedException extends CodeStarConnectionsServiceException {
140
+ name = "AccessDeniedException";
141
+ $fault = "client";
142
+ Message;
143
+ constructor(opts) {
144
+ super({
145
+ name: "AccessDeniedException",
146
+ $fault: "client",
147
+ ...opts,
148
+ });
149
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
150
+ this.Message = opts.Message;
151
+ }
152
+ }
153
+ class LimitExceededException extends CodeStarConnectionsServiceException {
154
+ name = "LimitExceededException";
155
+ $fault = "client";
156
+ Message;
157
+ constructor(opts) {
158
+ super({
159
+ name: "LimitExceededException",
160
+ $fault: "client",
161
+ ...opts,
162
+ });
163
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
164
+ this.Message = opts.Message;
165
+ }
166
+ }
167
+ class ResourceNotFoundException extends CodeStarConnectionsServiceException {
168
+ name = "ResourceNotFoundException";
169
+ $fault = "client";
170
+ Message;
171
+ constructor(opts) {
172
+ super({
173
+ name: "ResourceNotFoundException",
174
+ $fault: "client",
175
+ ...opts,
176
+ });
177
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
178
+ this.Message = opts.Message;
179
+ }
180
+ }
181
+ class ResourceUnavailableException extends CodeStarConnectionsServiceException {
182
+ name = "ResourceUnavailableException";
183
+ $fault = "client";
184
+ Message;
185
+ constructor(opts) {
186
+ super({
187
+ name: "ResourceUnavailableException",
188
+ $fault: "client",
189
+ ...opts,
190
+ });
191
+ Object.setPrototypeOf(this, ResourceUnavailableException.prototype);
192
+ this.Message = opts.Message;
193
+ }
194
+ }
195
+ class ConcurrentModificationException extends CodeStarConnectionsServiceException {
196
+ name = "ConcurrentModificationException";
197
+ $fault = "client";
198
+ Message;
199
+ constructor(opts) {
200
+ super({
201
+ name: "ConcurrentModificationException",
202
+ $fault: "client",
203
+ ...opts,
204
+ });
205
+ Object.setPrototypeOf(this, ConcurrentModificationException.prototype);
206
+ this.Message = opts.Message;
207
+ }
208
+ }
209
+ class InternalServerException extends CodeStarConnectionsServiceException {
210
+ name = "InternalServerException";
211
+ $fault = "server";
212
+ Message;
213
+ constructor(opts) {
214
+ super({
215
+ name: "InternalServerException",
216
+ $fault: "server",
217
+ ...opts,
218
+ });
219
+ Object.setPrototypeOf(this, InternalServerException.prototype);
220
+ this.Message = opts.Message;
221
+ }
222
+ }
223
+ class InvalidInputException extends CodeStarConnectionsServiceException {
224
+ name = "InvalidInputException";
225
+ $fault = "client";
226
+ Message;
227
+ constructor(opts) {
228
+ super({
229
+ name: "InvalidInputException",
230
+ $fault: "client",
231
+ ...opts,
232
+ });
233
+ Object.setPrototypeOf(this, InvalidInputException.prototype);
234
+ this.Message = opts.Message;
235
+ }
236
+ }
237
+ class ResourceAlreadyExistsException extends CodeStarConnectionsServiceException {
238
+ name = "ResourceAlreadyExistsException";
239
+ $fault = "client";
240
+ Message;
241
+ constructor(opts) {
242
+ super({
243
+ name: "ResourceAlreadyExistsException",
244
+ $fault: "client",
245
+ ...opts,
246
+ });
247
+ Object.setPrototypeOf(this, ResourceAlreadyExistsException.prototype);
248
+ this.Message = opts.Message;
249
+ }
250
+ }
251
+ class ThrottlingException extends CodeStarConnectionsServiceException {
252
+ name = "ThrottlingException";
253
+ $fault = "client";
254
+ Message;
255
+ constructor(opts) {
256
+ super({
257
+ name: "ThrottlingException",
258
+ $fault: "client",
259
+ ...opts,
260
+ });
261
+ Object.setPrototypeOf(this, ThrottlingException.prototype);
262
+ this.Message = opts.Message;
263
+ }
264
+ }
265
+ class SyncConfigurationStillExistsException extends CodeStarConnectionsServiceException {
266
+ name = "SyncConfigurationStillExistsException";
267
+ $fault = "client";
268
+ Message;
269
+ constructor(opts) {
270
+ super({
271
+ name: "SyncConfigurationStillExistsException",
272
+ $fault: "client",
273
+ ...opts,
274
+ });
275
+ Object.setPrototypeOf(this, SyncConfigurationStillExistsException.prototype);
276
+ this.Message = opts.Message;
277
+ }
278
+ }
279
+ class UnsupportedProviderTypeException extends CodeStarConnectionsServiceException {
280
+ name = "UnsupportedProviderTypeException";
281
+ $fault = "client";
282
+ Message;
283
+ constructor(opts) {
284
+ super({
285
+ name: "UnsupportedProviderTypeException",
286
+ $fault: "client",
287
+ ...opts,
288
+ });
289
+ Object.setPrototypeOf(this, UnsupportedProviderTypeException.prototype);
290
+ this.Message = opts.Message;
291
+ }
292
+ }
293
+ class ConflictException extends CodeStarConnectionsServiceException {
294
+ name = "ConflictException";
295
+ $fault = "client";
296
+ Message;
297
+ constructor(opts) {
298
+ super({
299
+ name: "ConflictException",
300
+ $fault: "client",
301
+ ...opts,
302
+ });
303
+ Object.setPrototypeOf(this, ConflictException.prototype);
304
+ this.Message = opts.Message;
305
+ }
306
+ }
307
+ class UnsupportedOperationException extends CodeStarConnectionsServiceException {
308
+ name = "UnsupportedOperationException";
309
+ $fault = "client";
310
+ Message;
311
+ constructor(opts) {
312
+ super({
313
+ name: "UnsupportedOperationException",
314
+ $fault: "client",
315
+ ...opts,
316
+ });
317
+ Object.setPrototypeOf(this, UnsupportedOperationException.prototype);
318
+ this.Message = opts.Message;
319
+ }
320
+ }
321
+ class ConditionalCheckFailedException extends CodeStarConnectionsServiceException {
322
+ name = "ConditionalCheckFailedException";
323
+ $fault = "client";
324
+ Message;
325
+ constructor(opts) {
326
+ super({
327
+ name: "ConditionalCheckFailedException",
328
+ $fault: "client",
329
+ ...opts,
330
+ });
331
+ Object.setPrototypeOf(this, ConditionalCheckFailedException.prototype);
332
+ this.Message = opts.Message;
333
+ }
334
+ }
335
+ class UpdateOutOfSyncException extends CodeStarConnectionsServiceException {
336
+ name = "UpdateOutOfSyncException";
337
+ $fault = "client";
338
+ Message;
339
+ constructor(opts) {
340
+ super({
341
+ name: "UpdateOutOfSyncException",
342
+ $fault: "client",
343
+ ...opts,
344
+ });
345
+ Object.setPrototypeOf(this, UpdateOutOfSyncException.prototype);
346
+ this.Message = opts.Message;
347
+ }
348
+ }
349
+ class RetryLatestCommitFailedException extends CodeStarConnectionsServiceException {
350
+ name = "RetryLatestCommitFailedException";
351
+ $fault = "server";
352
+ Message;
353
+ constructor(opts) {
354
+ super({
355
+ name: "RetryLatestCommitFailedException",
356
+ $fault: "server",
357
+ ...opts,
358
+ });
359
+ Object.setPrototypeOf(this, RetryLatestCommitFailedException.prototype);
360
+ this.Message = opts.Message;
361
+ }
362
+ }
363
+ class SyncBlockerDoesNotExistException extends CodeStarConnectionsServiceException {
364
+ name = "SyncBlockerDoesNotExistException";
365
+ $fault = "client";
366
+ Message;
367
+ constructor(opts) {
368
+ super({
369
+ name: "SyncBlockerDoesNotExistException",
370
+ $fault: "client",
371
+ ...opts,
372
+ });
373
+ Object.setPrototypeOf(this, SyncBlockerDoesNotExistException.prototype);
374
+ this.Message = opts.Message;
375
+ }
376
+ }
377
+
378
+ const _ADE = "AccessDeniedException";
379
+ const _B = "Branch";
380
+ const _C = "Connection";
381
+ const _CA = "ConnectionArn";
382
+ const _CAr = "CreatedAt";
383
+ const _CC = "CreateConnection";
384
+ const _CCFE = "ConditionalCheckFailedException";
385
+ const _CCI = "CreateConnectionInput";
386
+ const _CCO = "CreateConnectionOutput";
387
+ const _CE = "ConflictException";
388
+ const _CF = "ConfigFile";
389
+ const _CH = "CreateHost";
390
+ const _CHI = "CreateHostInput";
391
+ const _CHO = "CreateHostOutput";
392
+ const _CL = "ConnectionList";
393
+ const _CME = "ConcurrentModificationException";
394
+ const _CN = "ConnectionName";
395
+ const _CR = "CreatedReason";
396
+ const _CRL = "CreateRepositoryLink";
397
+ const _CRLI = "CreateRepositoryLinkInput";
398
+ const _CRLO = "CreateRepositoryLinkOutput";
399
+ const _CS = "ConnectionStatus";
400
+ const _CSC = "CreateSyncConfiguration";
401
+ const _CSCI = "CreateSyncConfigurationInput";
402
+ const _CSCO = "CreateSyncConfigurationOutput";
403
+ const _Co = "Connections";
404
+ const _Con = "Contexts";
405
+ const _D = "Directory";
406
+ const _DC = "DeleteConnection";
407
+ const _DCI = "DeleteConnectionInput";
408
+ const _DCO = "DeleteConnectionOutput";
409
+ const _DH = "DeleteHost";
410
+ const _DHI = "DeleteHostInput";
411
+ const _DHO = "DeleteHostOutput";
412
+ const _DRL = "DeleteRepositoryLink";
413
+ const _DRLI = "DeleteRepositoryLinkInput";
414
+ const _DRLO = "DeleteRepositoryLinkOutput";
415
+ const _DS = "DesiredState";
416
+ const _DSC = "DeleteSyncConfiguration";
417
+ const _DSCI = "DeleteSyncConfigurationInput";
418
+ const _DSCO = "DeleteSyncConfigurationOutput";
419
+ const _E = "Events";
420
+ const _EI = "ExternalId";
421
+ const _EKA = "EncryptionKeyArn";
422
+ const _Ev = "Event";
423
+ const _GC = "GetConnection";
424
+ const _GCI = "GetConnectionInput";
425
+ const _GCO = "GetConnectionOutput";
426
+ const _GH = "GetHost";
427
+ const _GHI = "GetHostInput";
428
+ const _GHO = "GetHostOutput";
429
+ const _GRL = "GetRepositoryLink";
430
+ const _GRLI = "GetRepositoryLinkInput";
431
+ const _GRLO = "GetRepositoryLinkOutput";
432
+ const _GRSS = "GetRepositorySyncStatus";
433
+ const _GRSSI = "GetRepositorySyncStatusInput";
434
+ const _GRSSIe = "GetResourceSyncStatusInput";
435
+ const _GRSSO = "GetRepositorySyncStatusOutput";
436
+ const _GRSSOe = "GetResourceSyncStatusOutput";
437
+ const _GRSSe = "GetResourceSyncStatus";
438
+ const _GSBS = "GetSyncBlockerSummary";
439
+ const _GSBSI = "GetSyncBlockerSummaryInput";
440
+ const _GSBSO = "GetSyncBlockerSummaryOutput";
441
+ const _GSC = "GetSyncConfiguration";
442
+ const _GSCI = "GetSyncConfigurationInput";
443
+ const _GSCO = "GetSyncConfigurationOutput";
444
+ const _H = "Host";
445
+ const _HA = "HostArn";
446
+ const _HAF = "HostArnFilter";
447
+ const _HL = "HostList";
448
+ const _Ho = "Hosts";
449
+ const _I = "Id";
450
+ const _IIE = "InvalidInputException";
451
+ const _IR = "InitialRevision";
452
+ const _ISE = "InternalServerException";
453
+ const _K = "Key";
454
+ const _LB = "LatestBlockers";
455
+ const _LC = "ListConnections";
456
+ const _LCI = "ListConnectionsInput";
457
+ const _LCO = "ListConnectionsOutput";
458
+ const _LEE = "LimitExceededException";
459
+ const _LH = "ListHosts";
460
+ const _LHI = "ListHostsInput";
461
+ const _LHO = "ListHostsOutput";
462
+ const _LRL = "ListRepositoryLinks";
463
+ const _LRLI = "ListRepositoryLinksInput";
464
+ const _LRLO = "ListRepositoryLinksOutput";
465
+ const _LRSD = "ListRepositorySyncDefinitions";
466
+ const _LRSDI = "ListRepositorySyncDefinitionsInput";
467
+ const _LRSDO = "ListRepositorySyncDefinitionsOutput";
468
+ const _LS = "LatestSync";
469
+ const _LSBL = "LatestSyncBlockerList";
470
+ const _LSC = "ListSyncConfigurations";
471
+ const _LSCI = "ListSyncConfigurationsInput";
472
+ const _LSCO = "ListSyncConfigurationsOutput";
473
+ const _LSS = "LatestSuccessfulSync";
474
+ const _LTFR = "ListTagsForResource";
475
+ const _LTFRI = "ListTagsForResourceInput";
476
+ const _LTFRO = "ListTagsForResourceOutput";
477
+ const _M = "Message";
478
+ const _MR = "MaxResults";
479
+ const _N = "Name";
480
+ const _NT = "NextToken";
481
+ const _OAI = "OwnerAccountId";
482
+ const _OI = "OwnerId";
483
+ const _P = "Parent";
484
+ const _PDS = "PublishDeploymentStatus";
485
+ const _PE = "ProviderEndpoint";
486
+ const _PRN = "ParentResourceName";
487
+ const _PT = "ProviderType";
488
+ const _PTF = "ProviderTypeFilter";
489
+ const _R = "Revision";
490
+ const _RA = "RoleArn";
491
+ const _RAEE = "ResourceAlreadyExistsException";
492
+ const _RAe = "ResourceArn";
493
+ const _RAes = "ResolvedAt";
494
+ const _RL = "RepositoryLinks";
495
+ const _RLA = "RepositoryLinkArn";
496
+ const _RLCFE = "RetryLatestCommitFailedException";
497
+ const _RLI = "RepositoryLinkInfo";
498
+ const _RLIe = "RepositoryLinkId";
499
+ const _RLL = "RepositoryLinkList";
500
+ const _RN = "RepositoryName";
501
+ const _RNFE = "ResourceNotFoundException";
502
+ const _RNe = "ResourceName";
503
+ const _RR = "ResolvedReason";
504
+ const _RSA = "RepositorySyncAttempt";
505
+ const _RSAe = "ResourceSyncAttempt";
506
+ const _RSD = "RepositorySyncDefinitions";
507
+ const _RSDL = "RepositorySyncDefinitionList";
508
+ const _RSDe = "RepositorySyncDefinition";
509
+ const _RSE = "RepositorySyncEvent";
510
+ const _RSEL = "RepositorySyncEventList";
511
+ const _RSELe = "ResourceSyncEventList";
512
+ const _RSEe = "ResourceSyncEvent";
513
+ const _RUE = "ResourceUnavailableException";
514
+ const _S = "Status";
515
+ const _SA = "StartedAt";
516
+ const _SB = "SyncBlocker";
517
+ const _SBC = "SyncBlockerContext";
518
+ const _SBCL = "SyncBlockerContextList";
519
+ const _SBDNEE = "SyncBlockerDoesNotExistException";
520
+ const _SBS = "SyncBlockerSummary";
521
+ const _SC = "SyncConfiguration";
522
+ const _SCL = "SyncConfigurationList";
523
+ const _SCSEE = "SyncConfigurationStillExistsException";
524
+ const _SCy = "SyncConfigurations";
525
+ const _SGI = "SecurityGroupIds";
526
+ const _SI = "SubnetIds";
527
+ const _SM = "StatusMessage";
528
+ const _ST = "SyncType";
529
+ const _Sh = "Sha";
530
+ const _T = "Tags";
531
+ const _TC = "TlsCertificate";
532
+ const _TE = "ThrottlingException";
533
+ const _TK = "TagKeys";
534
+ const _TL = "TagList";
535
+ const _TR = "TargetRevision";
536
+ const _TRI = "TagResourceInput";
537
+ const _TRO = "TagResourceOutput";
538
+ const _TRUO = "TriggerResourceUpdateOn";
539
+ const _TRa = "TagResource";
540
+ const _Ta = "Target";
541
+ const _Tag = "Tag";
542
+ const _Ti = "Time";
543
+ const _Ty = "Type";
544
+ const _UH = "UpdateHost";
545
+ const _UHI = "UpdateHostInput";
546
+ const _UHO = "UpdateHostOutput";
547
+ const _UOE = "UnsupportedOperationException";
548
+ const _UOOSE = "UpdateOutOfSyncException";
549
+ const _UPTE = "UnsupportedProviderTypeException";
550
+ const _UR = "UntagResource";
551
+ const _URI = "UntagResourceInput";
552
+ const _URL = "UpdateRepositoryLink";
553
+ const _URLI = "UpdateRepositoryLinkInput";
554
+ const _URLO = "UpdateRepositoryLinkOutput";
555
+ const _URO = "UntagResourceOutput";
556
+ const _USB = "UpdateSyncBlocker";
557
+ const _USBI = "UpdateSyncBlockerInput";
558
+ const _USBO = "UpdateSyncBlockerOutput";
559
+ const _USC = "UpdateSyncConfiguration";
560
+ const _USCI = "UpdateSyncConfigurationInput";
561
+ const _USCO = "UpdateSyncConfigurationOutput";
562
+ const _V = "Value";
563
+ const _VC = "VpcConfiguration";
564
+ const _VI = "VpcId";
565
+ const _c = "client";
566
+ const _e = "error";
567
+ const _hE = "httpError";
568
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.codestarconnections";
569
+ const _se = "server";
570
+ const n0 = "com.amazonaws.codestarconnections";
571
+ const _s_registry = TypeRegistry.for(_s);
572
+ var CodeStarConnectionsServiceException$ = [-3, _s, "CodeStarConnectionsServiceException", 0, [], []];
573
+ _s_registry.registerError(CodeStarConnectionsServiceException$, CodeStarConnectionsServiceException);
574
+ const n0_registry = TypeRegistry.for(n0);
575
+ var AccessDeniedException$ = [-3, n0, _ADE,
576
+ { [_e]: _c, [_hE]: 403 },
577
+ [_M],
578
+ [0]
579
+ ];
580
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
581
+ var ConcurrentModificationException$ = [-3, n0, _CME,
582
+ { [_e]: _c, [_hE]: 409 },
583
+ [_M],
584
+ [0]
585
+ ];
586
+ n0_registry.registerError(ConcurrentModificationException$, ConcurrentModificationException);
587
+ var ConditionalCheckFailedException$ = [-3, n0, _CCFE,
588
+ { [_e]: _c, [_hE]: 409 },
589
+ [_M],
590
+ [0]
591
+ ];
592
+ n0_registry.registerError(ConditionalCheckFailedException$, ConditionalCheckFailedException);
593
+ var ConflictException$ = [-3, n0, _CE,
594
+ { [_e]: _c, [_hE]: 409 },
595
+ [_M],
596
+ [0]
597
+ ];
598
+ n0_registry.registerError(ConflictException$, ConflictException);
599
+ var InternalServerException$ = [-3, n0, _ISE,
600
+ { [_e]: _se, [_hE]: 503 },
601
+ [_M],
602
+ [0]
603
+ ];
604
+ n0_registry.registerError(InternalServerException$, InternalServerException);
605
+ var InvalidInputException$ = [-3, n0, _IIE,
606
+ { [_e]: _c, [_hE]: 400 },
607
+ [_M],
608
+ [0]
609
+ ];
610
+ n0_registry.registerError(InvalidInputException$, InvalidInputException);
611
+ var LimitExceededException$ = [-3, n0, _LEE,
612
+ { [_e]: _c, [_hE]: 429 },
613
+ [_M],
614
+ [0]
615
+ ];
616
+ n0_registry.registerError(LimitExceededException$, LimitExceededException);
617
+ var ResourceAlreadyExistsException$ = [-3, n0, _RAEE,
618
+ { [_e]: _c, [_hE]: 409 },
619
+ [_M],
620
+ [0]
621
+ ];
622
+ n0_registry.registerError(ResourceAlreadyExistsException$, ResourceAlreadyExistsException);
623
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
624
+ { [_e]: _c, [_hE]: 404 },
625
+ [_M],
626
+ [0]
627
+ ];
628
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
629
+ var ResourceUnavailableException$ = [-3, n0, _RUE,
630
+ { [_e]: _c, [_hE]: 400 },
631
+ [_M],
632
+ [0]
633
+ ];
634
+ n0_registry.registerError(ResourceUnavailableException$, ResourceUnavailableException);
635
+ var RetryLatestCommitFailedException$ = [-3, n0, _RLCFE,
636
+ { [_e]: _se, [_hE]: 503 },
637
+ [_M],
638
+ [0]
639
+ ];
640
+ n0_registry.registerError(RetryLatestCommitFailedException$, RetryLatestCommitFailedException);
641
+ var SyncBlockerDoesNotExistException$ = [-3, n0, _SBDNEE,
642
+ { [_e]: _c, [_hE]: 404 },
643
+ [_M],
644
+ [0]
645
+ ];
646
+ n0_registry.registerError(SyncBlockerDoesNotExistException$, SyncBlockerDoesNotExistException);
647
+ var SyncConfigurationStillExistsException$ = [-3, n0, _SCSEE,
648
+ { [_e]: _c, [_hE]: 409 },
649
+ [_M],
650
+ [0]
651
+ ];
652
+ n0_registry.registerError(SyncConfigurationStillExistsException$, SyncConfigurationStillExistsException);
653
+ var ThrottlingException$ = [-3, n0, _TE,
654
+ { [_e]: _c, [_hE]: 429 },
655
+ [_M],
656
+ [0]
657
+ ];
658
+ n0_registry.registerError(ThrottlingException$, ThrottlingException);
659
+ var UnsupportedOperationException$ = [-3, n0, _UOE,
660
+ { [_e]: _c, [_hE]: 400 },
661
+ [_M],
662
+ [0]
663
+ ];
664
+ n0_registry.registerError(UnsupportedOperationException$, UnsupportedOperationException);
665
+ var UnsupportedProviderTypeException$ = [-3, n0, _UPTE,
666
+ { [_e]: _c, [_hE]: 400 },
667
+ [_M],
668
+ [0]
669
+ ];
670
+ n0_registry.registerError(UnsupportedProviderTypeException$, UnsupportedProviderTypeException);
671
+ var UpdateOutOfSyncException$ = [-3, n0, _UOOSE,
672
+ { [_e]: _c, [_hE]: 409 },
673
+ [_M],
674
+ [0]
675
+ ];
676
+ n0_registry.registerError(UpdateOutOfSyncException$, UpdateOutOfSyncException);
677
+ const errorTypeRegistries = [
678
+ _s_registry,
679
+ n0_registry,
680
+ ];
681
+ var Connection$ = [3, n0, _C,
682
+ 0,
683
+ [_CN, _CA, _PT, _OAI, _CS, _HA],
684
+ [0, 0, 0, 0, 0, 0]
685
+ ];
686
+ var CreateConnectionInput$ = [3, n0, _CCI,
687
+ 0,
688
+ [_CN, _PT, _T, _HA],
689
+ [0, 0, () => TagList, 0], 1
690
+ ];
691
+ var CreateConnectionOutput$ = [3, n0, _CCO,
692
+ 0,
693
+ [_CA, _T],
694
+ [0, () => TagList], 1
695
+ ];
696
+ var CreateHostInput$ = [3, n0, _CHI,
697
+ 0,
698
+ [_N, _PT, _PE, _VC, _T],
699
+ [0, 0, 0, () => VpcConfiguration$, () => TagList], 3
700
+ ];
701
+ var CreateHostOutput$ = [3, n0, _CHO,
702
+ 0,
703
+ [_HA, _T],
704
+ [0, () => TagList]
705
+ ];
706
+ var CreateRepositoryLinkInput$ = [3, n0, _CRLI,
707
+ 0,
708
+ [_CA, _OI, _RN, _EKA, _T],
709
+ [0, 0, 0, 0, () => TagList], 3
710
+ ];
711
+ var CreateRepositoryLinkOutput$ = [3, n0, _CRLO,
712
+ 0,
713
+ [_RLI],
714
+ [() => RepositoryLinkInfo$], 1
715
+ ];
716
+ var CreateSyncConfigurationInput$ = [3, n0, _CSCI,
717
+ 0,
718
+ [_B, _CF, _RLIe, _RNe, _RA, _ST, _PDS, _TRUO],
719
+ [0, 0, 0, 0, 0, 0, 0, 0], 6
720
+ ];
721
+ var CreateSyncConfigurationOutput$ = [3, n0, _CSCO,
722
+ 0,
723
+ [_SC],
724
+ [() => SyncConfiguration$], 1
725
+ ];
726
+ var DeleteConnectionInput$ = [3, n0, _DCI,
727
+ 0,
728
+ [_CA],
729
+ [0], 1
730
+ ];
731
+ var DeleteConnectionOutput$ = [3, n0, _DCO,
732
+ 0,
733
+ [],
734
+ []
735
+ ];
736
+ var DeleteHostInput$ = [3, n0, _DHI,
737
+ 0,
738
+ [_HA],
739
+ [0], 1
740
+ ];
741
+ var DeleteHostOutput$ = [3, n0, _DHO,
742
+ 0,
743
+ [],
744
+ []
745
+ ];
746
+ var DeleteRepositoryLinkInput$ = [3, n0, _DRLI,
747
+ 0,
748
+ [_RLIe],
749
+ [0], 1
750
+ ];
751
+ var DeleteRepositoryLinkOutput$ = [3, n0, _DRLO,
752
+ 0,
753
+ [],
754
+ []
755
+ ];
756
+ var DeleteSyncConfigurationInput$ = [3, n0, _DSCI,
757
+ 0,
758
+ [_ST, _RNe],
759
+ [0, 0], 2
760
+ ];
761
+ var DeleteSyncConfigurationOutput$ = [3, n0, _DSCO,
762
+ 0,
763
+ [],
764
+ []
765
+ ];
766
+ var GetConnectionInput$ = [3, n0, _GCI,
767
+ 0,
768
+ [_CA],
769
+ [0], 1
770
+ ];
771
+ var GetConnectionOutput$ = [3, n0, _GCO,
772
+ 0,
773
+ [_C],
774
+ [() => Connection$]
775
+ ];
776
+ var GetHostInput$ = [3, n0, _GHI,
777
+ 0,
778
+ [_HA],
779
+ [0], 1
780
+ ];
781
+ var GetHostOutput$ = [3, n0, _GHO,
782
+ 0,
783
+ [_N, _S, _PT, _PE, _VC],
784
+ [0, 0, 0, 0, () => VpcConfiguration$]
785
+ ];
786
+ var GetRepositoryLinkInput$ = [3, n0, _GRLI,
787
+ 0,
788
+ [_RLIe],
789
+ [0], 1
790
+ ];
791
+ var GetRepositoryLinkOutput$ = [3, n0, _GRLO,
792
+ 0,
793
+ [_RLI],
794
+ [() => RepositoryLinkInfo$], 1
795
+ ];
796
+ var GetRepositorySyncStatusInput$ = [3, n0, _GRSSI,
797
+ 0,
798
+ [_B, _RLIe, _ST],
799
+ [0, 0, 0], 3
800
+ ];
801
+ var GetRepositorySyncStatusOutput$ = [3, n0, _GRSSO,
802
+ 0,
803
+ [_LS],
804
+ [() => RepositorySyncAttempt$], 1
805
+ ];
806
+ var GetResourceSyncStatusInput$ = [3, n0, _GRSSIe,
807
+ 0,
808
+ [_RNe, _ST],
809
+ [0, 0], 2
810
+ ];
811
+ var GetResourceSyncStatusOutput$ = [3, n0, _GRSSOe,
812
+ 0,
813
+ [_LS, _DS, _LSS],
814
+ [() => ResourceSyncAttempt$, () => Revision$, () => ResourceSyncAttempt$], 1
815
+ ];
816
+ var GetSyncBlockerSummaryInput$ = [3, n0, _GSBSI,
817
+ 0,
818
+ [_ST, _RNe],
819
+ [0, 0], 2
820
+ ];
821
+ var GetSyncBlockerSummaryOutput$ = [3, n0, _GSBSO,
822
+ 0,
823
+ [_SBS],
824
+ [() => SyncBlockerSummary$], 1
825
+ ];
826
+ var GetSyncConfigurationInput$ = [3, n0, _GSCI,
827
+ 0,
828
+ [_ST, _RNe],
829
+ [0, 0], 2
830
+ ];
831
+ var GetSyncConfigurationOutput$ = [3, n0, _GSCO,
832
+ 0,
833
+ [_SC],
834
+ [() => SyncConfiguration$], 1
835
+ ];
836
+ var Host$ = [3, n0, _H,
837
+ 0,
838
+ [_N, _HA, _PT, _PE, _VC, _S, _SM],
839
+ [0, 0, 0, 0, () => VpcConfiguration$, 0, 0]
840
+ ];
841
+ var ListConnectionsInput$ = [3, n0, _LCI,
842
+ 0,
843
+ [_PTF, _HAF, _MR, _NT],
844
+ [0, 0, 1, 0]
845
+ ];
846
+ var ListConnectionsOutput$ = [3, n0, _LCO,
847
+ 0,
848
+ [_Co, _NT],
849
+ [() => ConnectionList, 0]
850
+ ];
851
+ var ListHostsInput$ = [3, n0, _LHI,
852
+ 0,
853
+ [_MR, _NT],
854
+ [1, 0]
855
+ ];
856
+ var ListHostsOutput$ = [3, n0, _LHO,
857
+ 0,
858
+ [_Ho, _NT],
859
+ [() => HostList, 0]
860
+ ];
861
+ var ListRepositoryLinksInput$ = [3, n0, _LRLI,
862
+ 0,
863
+ [_MR, _NT],
864
+ [1, 0]
865
+ ];
866
+ var ListRepositoryLinksOutput$ = [3, n0, _LRLO,
867
+ 0,
868
+ [_RL, _NT],
869
+ [() => RepositoryLinkList, 0], 1
870
+ ];
871
+ var ListRepositorySyncDefinitionsInput$ = [3, n0, _LRSDI,
872
+ 0,
873
+ [_RLIe, _ST],
874
+ [0, 0], 2
875
+ ];
876
+ var ListRepositorySyncDefinitionsOutput$ = [3, n0, _LRSDO,
877
+ 0,
878
+ [_RSD, _NT],
879
+ [() => RepositorySyncDefinitionList, 0], 1
880
+ ];
881
+ var ListSyncConfigurationsInput$ = [3, n0, _LSCI,
882
+ 0,
883
+ [_RLIe, _ST, _MR, _NT],
884
+ [0, 0, 1, 0], 2
885
+ ];
886
+ var ListSyncConfigurationsOutput$ = [3, n0, _LSCO,
887
+ 0,
888
+ [_SCy, _NT],
889
+ [() => SyncConfigurationList, 0], 1
890
+ ];
891
+ var ListTagsForResourceInput$ = [3, n0, _LTFRI,
892
+ 0,
893
+ [_RAe],
894
+ [0], 1
895
+ ];
896
+ var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
897
+ 0,
898
+ [_T],
899
+ [() => TagList]
900
+ ];
901
+ var RepositoryLinkInfo$ = [3, n0, _RLI,
902
+ 0,
903
+ [_CA, _OI, _PT, _RLA, _RLIe, _RN, _EKA],
904
+ [0, 0, 0, 0, 0, 0, 0], 6
905
+ ];
906
+ var RepositorySyncAttempt$ = [3, n0, _RSA,
907
+ 0,
908
+ [_SA, _S, _E],
909
+ [4, 0, () => RepositorySyncEventList], 3
910
+ ];
911
+ var RepositorySyncDefinition$ = [3, n0, _RSDe,
912
+ 0,
913
+ [_B, _D, _P, _Ta],
914
+ [0, 0, 0, 0], 4
915
+ ];
916
+ var RepositorySyncEvent$ = [3, n0, _RSE,
917
+ 0,
918
+ [_Ev, _Ti, _Ty, _EI],
919
+ [0, 4, 0, 0], 3
920
+ ];
921
+ var ResourceSyncAttempt$ = [3, n0, _RSAe,
922
+ 0,
923
+ [_E, _IR, _SA, _S, _TR, _Ta],
924
+ [() => ResourceSyncEventList, () => Revision$, 4, 0, () => Revision$, 0], 6
925
+ ];
926
+ var ResourceSyncEvent$ = [3, n0, _RSEe,
927
+ 0,
928
+ [_Ev, _Ti, _Ty, _EI],
929
+ [0, 4, 0, 0], 3
930
+ ];
931
+ var Revision$ = [3, n0, _R,
932
+ 0,
933
+ [_B, _D, _OI, _RN, _PT, _Sh],
934
+ [0, 0, 0, 0, 0, 0], 6
935
+ ];
936
+ var SyncBlocker$ = [3, n0, _SB,
937
+ 0,
938
+ [_I, _Ty, _S, _CR, _CAr, _Con, _RR, _RAes],
939
+ [0, 0, 0, 0, 4, () => SyncBlockerContextList, 0, 4], 5
940
+ ];
941
+ var SyncBlockerContext$ = [3, n0, _SBC,
942
+ 0,
943
+ [_K, _V],
944
+ [0, 0], 2
945
+ ];
946
+ var SyncBlockerSummary$ = [3, n0, _SBS,
947
+ 0,
948
+ [_RNe, _PRN, _LB],
949
+ [0, 0, () => LatestSyncBlockerList], 1
950
+ ];
951
+ var SyncConfiguration$ = [3, n0, _SC,
952
+ 0,
953
+ [_B, _OI, _PT, _RLIe, _RN, _RNe, _RA, _ST, _CF, _PDS, _TRUO],
954
+ [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], 8
955
+ ];
956
+ var Tag$ = [3, n0, _Tag,
957
+ 0,
958
+ [_K, _V],
959
+ [0, 0], 2
960
+ ];
961
+ var TagResourceInput$ = [3, n0, _TRI,
962
+ 0,
963
+ [_RAe, _T],
964
+ [0, () => TagList], 2
965
+ ];
966
+ var TagResourceOutput$ = [3, n0, _TRO,
967
+ 0,
968
+ [],
969
+ []
970
+ ];
971
+ var UntagResourceInput$ = [3, n0, _URI,
972
+ 0,
973
+ [_RAe, _TK],
974
+ [0, 64 | 0], 2
975
+ ];
976
+ var UntagResourceOutput$ = [3, n0, _URO,
977
+ 0,
978
+ [],
979
+ []
980
+ ];
981
+ var UpdateHostInput$ = [3, n0, _UHI,
982
+ 0,
983
+ [_HA, _PE, _VC],
984
+ [0, 0, () => VpcConfiguration$], 1
985
+ ];
986
+ var UpdateHostOutput$ = [3, n0, _UHO,
987
+ 0,
988
+ [],
989
+ []
990
+ ];
991
+ var UpdateRepositoryLinkInput$ = [3, n0, _URLI,
992
+ 0,
993
+ [_RLIe, _CA, _EKA],
994
+ [0, 0, 0], 1
995
+ ];
996
+ var UpdateRepositoryLinkOutput$ = [3, n0, _URLO,
997
+ 0,
998
+ [_RLI],
999
+ [() => RepositoryLinkInfo$], 1
1000
+ ];
1001
+ var UpdateSyncBlockerInput$ = [3, n0, _USBI,
1002
+ 0,
1003
+ [_I, _ST, _RNe, _RR],
1004
+ [0, 0, 0, 0], 4
1005
+ ];
1006
+ var UpdateSyncBlockerOutput$ = [3, n0, _USBO,
1007
+ 0,
1008
+ [_RNe, _SB, _PRN],
1009
+ [0, () => SyncBlocker$, 0], 2
1010
+ ];
1011
+ var UpdateSyncConfigurationInput$ = [3, n0, _USCI,
1012
+ 0,
1013
+ [_RNe, _ST, _B, _CF, _RLIe, _RA, _PDS, _TRUO],
1014
+ [0, 0, 0, 0, 0, 0, 0, 0], 2
1015
+ ];
1016
+ var UpdateSyncConfigurationOutput$ = [3, n0, _USCO,
1017
+ 0,
1018
+ [_SC],
1019
+ [() => SyncConfiguration$], 1
1020
+ ];
1021
+ var VpcConfiguration$ = [3, n0, _VC,
1022
+ 0,
1023
+ [_VI, _SI, _SGI, _TC],
1024
+ [0, 64 | 0, 64 | 0, 0], 3
1025
+ ];
1026
+ var ConnectionList = [1, n0, _CL,
1027
+ 0, () => Connection$
1028
+ ];
1029
+ var HostList = [1, n0, _HL,
1030
+ 0, () => Host$
1031
+ ];
1032
+ var LatestSyncBlockerList = [1, n0, _LSBL,
1033
+ 0, () => SyncBlocker$
1034
+ ];
1035
+ var RepositoryLinkList = [1, n0, _RLL,
1036
+ 0, () => RepositoryLinkInfo$
1037
+ ];
1038
+ var RepositorySyncDefinitionList = [1, n0, _RSDL,
1039
+ 0, () => RepositorySyncDefinition$
1040
+ ];
1041
+ var RepositorySyncEventList = [1, n0, _RSEL,
1042
+ 0, () => RepositorySyncEvent$
1043
+ ];
1044
+ var ResourceSyncEventList = [1, n0, _RSELe,
1045
+ 0, () => ResourceSyncEvent$
1046
+ ];
1047
+ var SyncBlockerContextList = [1, n0, _SBCL,
1048
+ 0, () => SyncBlockerContext$
1049
+ ];
1050
+ var SyncConfigurationList = [1, n0, _SCL,
1051
+ 0, () => SyncConfiguration$
1052
+ ];
1053
+ var TagList = [1, n0, _TL,
1054
+ 0, () => Tag$
1055
+ ];
1056
+ var CreateConnection$ = [9, n0, _CC,
1057
+ 0, () => CreateConnectionInput$, () => CreateConnectionOutput$
1058
+ ];
1059
+ var CreateHost$ = [9, n0, _CH,
1060
+ 0, () => CreateHostInput$, () => CreateHostOutput$
1061
+ ];
1062
+ var CreateRepositoryLink$ = [9, n0, _CRL,
1063
+ 0, () => CreateRepositoryLinkInput$, () => CreateRepositoryLinkOutput$
1064
+ ];
1065
+ var CreateSyncConfiguration$ = [9, n0, _CSC,
1066
+ 0, () => CreateSyncConfigurationInput$, () => CreateSyncConfigurationOutput$
1067
+ ];
1068
+ var DeleteConnection$ = [9, n0, _DC,
1069
+ 0, () => DeleteConnectionInput$, () => DeleteConnectionOutput$
1070
+ ];
1071
+ var DeleteHost$ = [9, n0, _DH,
1072
+ 0, () => DeleteHostInput$, () => DeleteHostOutput$
1073
+ ];
1074
+ var DeleteRepositoryLink$ = [9, n0, _DRL,
1075
+ 0, () => DeleteRepositoryLinkInput$, () => DeleteRepositoryLinkOutput$
1076
+ ];
1077
+ var DeleteSyncConfiguration$ = [9, n0, _DSC,
1078
+ 0, () => DeleteSyncConfigurationInput$, () => DeleteSyncConfigurationOutput$
1079
+ ];
1080
+ var GetConnection$ = [9, n0, _GC,
1081
+ 0, () => GetConnectionInput$, () => GetConnectionOutput$
1082
+ ];
1083
+ var GetHost$ = [9, n0, _GH,
1084
+ 0, () => GetHostInput$, () => GetHostOutput$
1085
+ ];
1086
+ var GetRepositoryLink$ = [9, n0, _GRL,
1087
+ 0, () => GetRepositoryLinkInput$, () => GetRepositoryLinkOutput$
1088
+ ];
1089
+ var GetRepositorySyncStatus$ = [9, n0, _GRSS,
1090
+ 0, () => GetRepositorySyncStatusInput$, () => GetRepositorySyncStatusOutput$
1091
+ ];
1092
+ var GetResourceSyncStatus$ = [9, n0, _GRSSe,
1093
+ 0, () => GetResourceSyncStatusInput$, () => GetResourceSyncStatusOutput$
1094
+ ];
1095
+ var GetSyncBlockerSummary$ = [9, n0, _GSBS,
1096
+ 0, () => GetSyncBlockerSummaryInput$, () => GetSyncBlockerSummaryOutput$
1097
+ ];
1098
+ var GetSyncConfiguration$ = [9, n0, _GSC,
1099
+ 0, () => GetSyncConfigurationInput$, () => GetSyncConfigurationOutput$
1100
+ ];
1101
+ var ListConnections$ = [9, n0, _LC,
1102
+ 0, () => ListConnectionsInput$, () => ListConnectionsOutput$
1103
+ ];
1104
+ var ListHosts$ = [9, n0, _LH,
1105
+ 0, () => ListHostsInput$, () => ListHostsOutput$
1106
+ ];
1107
+ var ListRepositoryLinks$ = [9, n0, _LRL,
1108
+ 0, () => ListRepositoryLinksInput$, () => ListRepositoryLinksOutput$
1109
+ ];
1110
+ var ListRepositorySyncDefinitions$ = [9, n0, _LRSD,
1111
+ 0, () => ListRepositorySyncDefinitionsInput$, () => ListRepositorySyncDefinitionsOutput$
1112
+ ];
1113
+ var ListSyncConfigurations$ = [9, n0, _LSC,
1114
+ 0, () => ListSyncConfigurationsInput$, () => ListSyncConfigurationsOutput$
1115
+ ];
1116
+ var ListTagsForResource$ = [9, n0, _LTFR,
1117
+ 0, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
1118
+ ];
1119
+ var TagResource$ = [9, n0, _TRa,
1120
+ 0, () => TagResourceInput$, () => TagResourceOutput$
1121
+ ];
1122
+ var UntagResource$ = [9, n0, _UR,
1123
+ 0, () => UntagResourceInput$, () => UntagResourceOutput$
1124
+ ];
1125
+ var UpdateHost$ = [9, n0, _UH,
1126
+ 0, () => UpdateHostInput$, () => UpdateHostOutput$
1127
+ ];
1128
+ var UpdateRepositoryLink$ = [9, n0, _URL,
1129
+ 0, () => UpdateRepositoryLinkInput$, () => UpdateRepositoryLinkOutput$
1130
+ ];
1131
+ var UpdateSyncBlocker$ = [9, n0, _USB,
1132
+ 0, () => UpdateSyncBlockerInput$, () => UpdateSyncBlockerOutput$
1133
+ ];
1134
+ var UpdateSyncConfiguration$ = [9, n0, _USC,
1135
+ 0, () => UpdateSyncConfigurationInput$, () => UpdateSyncConfigurationOutput$
1136
+ ];
1137
+
1138
+ const getRuntimeConfig$1 = (config) => {
1139
+ return {
1140
+ apiVersion: "2019-12-01",
1141
+ base64Decoder: config?.base64Decoder ?? fromBase64,
1142
+ base64Encoder: config?.base64Encoder ?? toBase64,
1143
+ disableHostPrefix: config?.disableHostPrefix ?? false,
1144
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
1145
+ extensions: config?.extensions ?? [],
1146
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultCodeStarConnectionsHttpAuthSchemeProvider,
1147
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
1148
+ {
1149
+ schemeId: "aws.auth#sigv4",
1150
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
1151
+ signer: new AwsSdkSigV4Signer(),
1152
+ },
1153
+ ],
1154
+ logger: config?.logger ?? new NoOpLogger(),
1155
+ protocol: config?.protocol ?? AwsJson1_0Protocol,
1156
+ protocolSettings: config?.protocolSettings ?? {
1157
+ defaultNamespace: "com.amazonaws.codestarconnections",
1158
+ errorTypeRegistries,
1159
+ version: "2019-12-01",
1160
+ serviceTarget: "CodeStar_connections_20191201",
1161
+ },
1162
+ serviceId: config?.serviceId ?? "CodeStar connections",
1163
+ urlParser: config?.urlParser ?? parseUrl,
1164
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1165
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1166
+ };
1167
+ };
1168
+
1169
+ const getRuntimeConfig = (config) => {
1170
+ emitWarningIfUnsupportedVersion(process.version);
1171
+ const defaultsMode = resolveDefaultsModeConfig(config);
1172
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1173
+ const clientSharedValues = getRuntimeConfig$1(config);
1174
+ emitWarningIfUnsupportedVersion$1(process.version);
1175
+ const loaderConfig = {
1176
+ profile: config?.profile,
1177
+ logger: clientSharedValues.logger,
1178
+ };
1179
+ return {
1180
+ ...clientSharedValues,
1181
+ ...config,
1182
+ runtime: "node",
1183
+ defaultsMode,
1184
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1185
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1186
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1187
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1188
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1189
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1190
+ requestHandler: NodeHttpHandler.create(config?.requestHandler ?? defaultConfigProvider),
1191
+ retryMode: config?.retryMode ??
1192
+ loadConfig({
1193
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1194
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1195
+ }, config),
1196
+ sha256: config?.sha256 ?? Hash.bind(null, "sha256"),
1197
+ streamCollector: config?.streamCollector ?? streamCollector,
1198
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1199
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1200
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1201
+ };
1202
+ };
1203
+
34
1204
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
35
1205
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
36
1206
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -526,44 +1696,177 @@ const ResourceSyncStatus = {
526
1696
  SUCCEEDED: "SUCCEEDED",
527
1697
  };
528
1698
 
1699
+ exports.AccessDeniedException = AccessDeniedException;
1700
+ exports.AccessDeniedException$ = AccessDeniedException$;
529
1701
  exports.BlockerStatus = BlockerStatus;
530
1702
  exports.BlockerType = BlockerType;
531
1703
  exports.CodeStarConnections = CodeStarConnections;
532
1704
  exports.CodeStarConnectionsClient = CodeStarConnectionsClient;
1705
+ exports.CodeStarConnectionsServiceException = CodeStarConnectionsServiceException;
1706
+ exports.CodeStarConnectionsServiceException$ = CodeStarConnectionsServiceException$;
1707
+ exports.ConcurrentModificationException = ConcurrentModificationException;
1708
+ exports.ConcurrentModificationException$ = ConcurrentModificationException$;
1709
+ exports.ConditionalCheckFailedException = ConditionalCheckFailedException;
1710
+ exports.ConditionalCheckFailedException$ = ConditionalCheckFailedException$;
1711
+ exports.ConflictException = ConflictException;
1712
+ exports.ConflictException$ = ConflictException$;
1713
+ exports.Connection$ = Connection$;
533
1714
  exports.ConnectionStatus = ConnectionStatus;
1715
+ exports.CreateConnection$ = CreateConnection$;
534
1716
  exports.CreateConnectionCommand = CreateConnectionCommand;
1717
+ exports.CreateConnectionInput$ = CreateConnectionInput$;
1718
+ exports.CreateConnectionOutput$ = CreateConnectionOutput$;
1719
+ exports.CreateHost$ = CreateHost$;
535
1720
  exports.CreateHostCommand = CreateHostCommand;
1721
+ exports.CreateHostInput$ = CreateHostInput$;
1722
+ exports.CreateHostOutput$ = CreateHostOutput$;
1723
+ exports.CreateRepositoryLink$ = CreateRepositoryLink$;
536
1724
  exports.CreateRepositoryLinkCommand = CreateRepositoryLinkCommand;
1725
+ exports.CreateRepositoryLinkInput$ = CreateRepositoryLinkInput$;
1726
+ exports.CreateRepositoryLinkOutput$ = CreateRepositoryLinkOutput$;
1727
+ exports.CreateSyncConfiguration$ = CreateSyncConfiguration$;
537
1728
  exports.CreateSyncConfigurationCommand = CreateSyncConfigurationCommand;
1729
+ exports.CreateSyncConfigurationInput$ = CreateSyncConfigurationInput$;
1730
+ exports.CreateSyncConfigurationOutput$ = CreateSyncConfigurationOutput$;
1731
+ exports.DeleteConnection$ = DeleteConnection$;
538
1732
  exports.DeleteConnectionCommand = DeleteConnectionCommand;
1733
+ exports.DeleteConnectionInput$ = DeleteConnectionInput$;
1734
+ exports.DeleteConnectionOutput$ = DeleteConnectionOutput$;
1735
+ exports.DeleteHost$ = DeleteHost$;
539
1736
  exports.DeleteHostCommand = DeleteHostCommand;
1737
+ exports.DeleteHostInput$ = DeleteHostInput$;
1738
+ exports.DeleteHostOutput$ = DeleteHostOutput$;
1739
+ exports.DeleteRepositoryLink$ = DeleteRepositoryLink$;
540
1740
  exports.DeleteRepositoryLinkCommand = DeleteRepositoryLinkCommand;
1741
+ exports.DeleteRepositoryLinkInput$ = DeleteRepositoryLinkInput$;
1742
+ exports.DeleteRepositoryLinkOutput$ = DeleteRepositoryLinkOutput$;
1743
+ exports.DeleteSyncConfiguration$ = DeleteSyncConfiguration$;
541
1744
  exports.DeleteSyncConfigurationCommand = DeleteSyncConfigurationCommand;
1745
+ exports.DeleteSyncConfigurationInput$ = DeleteSyncConfigurationInput$;
1746
+ exports.DeleteSyncConfigurationOutput$ = DeleteSyncConfigurationOutput$;
1747
+ exports.GetConnection$ = GetConnection$;
542
1748
  exports.GetConnectionCommand = GetConnectionCommand;
1749
+ exports.GetConnectionInput$ = GetConnectionInput$;
1750
+ exports.GetConnectionOutput$ = GetConnectionOutput$;
1751
+ exports.GetHost$ = GetHost$;
543
1752
  exports.GetHostCommand = GetHostCommand;
1753
+ exports.GetHostInput$ = GetHostInput$;
1754
+ exports.GetHostOutput$ = GetHostOutput$;
1755
+ exports.GetRepositoryLink$ = GetRepositoryLink$;
544
1756
  exports.GetRepositoryLinkCommand = GetRepositoryLinkCommand;
1757
+ exports.GetRepositoryLinkInput$ = GetRepositoryLinkInput$;
1758
+ exports.GetRepositoryLinkOutput$ = GetRepositoryLinkOutput$;
1759
+ exports.GetRepositorySyncStatus$ = GetRepositorySyncStatus$;
545
1760
  exports.GetRepositorySyncStatusCommand = GetRepositorySyncStatusCommand;
1761
+ exports.GetRepositorySyncStatusInput$ = GetRepositorySyncStatusInput$;
1762
+ exports.GetRepositorySyncStatusOutput$ = GetRepositorySyncStatusOutput$;
1763
+ exports.GetResourceSyncStatus$ = GetResourceSyncStatus$;
546
1764
  exports.GetResourceSyncStatusCommand = GetResourceSyncStatusCommand;
1765
+ exports.GetResourceSyncStatusInput$ = GetResourceSyncStatusInput$;
1766
+ exports.GetResourceSyncStatusOutput$ = GetResourceSyncStatusOutput$;
1767
+ exports.GetSyncBlockerSummary$ = GetSyncBlockerSummary$;
547
1768
  exports.GetSyncBlockerSummaryCommand = GetSyncBlockerSummaryCommand;
1769
+ exports.GetSyncBlockerSummaryInput$ = GetSyncBlockerSummaryInput$;
1770
+ exports.GetSyncBlockerSummaryOutput$ = GetSyncBlockerSummaryOutput$;
1771
+ exports.GetSyncConfiguration$ = GetSyncConfiguration$;
548
1772
  exports.GetSyncConfigurationCommand = GetSyncConfigurationCommand;
1773
+ exports.GetSyncConfigurationInput$ = GetSyncConfigurationInput$;
1774
+ exports.GetSyncConfigurationOutput$ = GetSyncConfigurationOutput$;
1775
+ exports.Host$ = Host$;
1776
+ exports.InternalServerException = InternalServerException;
1777
+ exports.InternalServerException$ = InternalServerException$;
1778
+ exports.InvalidInputException = InvalidInputException;
1779
+ exports.InvalidInputException$ = InvalidInputException$;
1780
+ exports.LimitExceededException = LimitExceededException;
1781
+ exports.LimitExceededException$ = LimitExceededException$;
1782
+ exports.ListConnections$ = ListConnections$;
549
1783
  exports.ListConnectionsCommand = ListConnectionsCommand;
1784
+ exports.ListConnectionsInput$ = ListConnectionsInput$;
1785
+ exports.ListConnectionsOutput$ = ListConnectionsOutput$;
1786
+ exports.ListHosts$ = ListHosts$;
550
1787
  exports.ListHostsCommand = ListHostsCommand;
1788
+ exports.ListHostsInput$ = ListHostsInput$;
1789
+ exports.ListHostsOutput$ = ListHostsOutput$;
1790
+ exports.ListRepositoryLinks$ = ListRepositoryLinks$;
551
1791
  exports.ListRepositoryLinksCommand = ListRepositoryLinksCommand;
1792
+ exports.ListRepositoryLinksInput$ = ListRepositoryLinksInput$;
1793
+ exports.ListRepositoryLinksOutput$ = ListRepositoryLinksOutput$;
1794
+ exports.ListRepositorySyncDefinitions$ = ListRepositorySyncDefinitions$;
552
1795
  exports.ListRepositorySyncDefinitionsCommand = ListRepositorySyncDefinitionsCommand;
1796
+ exports.ListRepositorySyncDefinitionsInput$ = ListRepositorySyncDefinitionsInput$;
1797
+ exports.ListRepositorySyncDefinitionsOutput$ = ListRepositorySyncDefinitionsOutput$;
1798
+ exports.ListSyncConfigurations$ = ListSyncConfigurations$;
553
1799
  exports.ListSyncConfigurationsCommand = ListSyncConfigurationsCommand;
1800
+ exports.ListSyncConfigurationsInput$ = ListSyncConfigurationsInput$;
1801
+ exports.ListSyncConfigurationsOutput$ = ListSyncConfigurationsOutput$;
1802
+ exports.ListTagsForResource$ = ListTagsForResource$;
554
1803
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
1804
+ exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
1805
+ exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
555
1806
  exports.ProviderType = ProviderType;
556
1807
  exports.PublishDeploymentStatus = PublishDeploymentStatus;
1808
+ exports.RepositoryLinkInfo$ = RepositoryLinkInfo$;
1809
+ exports.RepositorySyncAttempt$ = RepositorySyncAttempt$;
1810
+ exports.RepositorySyncDefinition$ = RepositorySyncDefinition$;
1811
+ exports.RepositorySyncEvent$ = RepositorySyncEvent$;
557
1812
  exports.RepositorySyncStatus = RepositorySyncStatus;
1813
+ exports.ResourceAlreadyExistsException = ResourceAlreadyExistsException;
1814
+ exports.ResourceAlreadyExistsException$ = ResourceAlreadyExistsException$;
1815
+ exports.ResourceNotFoundException = ResourceNotFoundException;
1816
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
1817
+ exports.ResourceSyncAttempt$ = ResourceSyncAttempt$;
1818
+ exports.ResourceSyncEvent$ = ResourceSyncEvent$;
558
1819
  exports.ResourceSyncStatus = ResourceSyncStatus;
1820
+ exports.ResourceUnavailableException = ResourceUnavailableException;
1821
+ exports.ResourceUnavailableException$ = ResourceUnavailableException$;
1822
+ exports.RetryLatestCommitFailedException = RetryLatestCommitFailedException;
1823
+ exports.RetryLatestCommitFailedException$ = RetryLatestCommitFailedException$;
1824
+ exports.Revision$ = Revision$;
1825
+ exports.SyncBlocker$ = SyncBlocker$;
1826
+ exports.SyncBlockerContext$ = SyncBlockerContext$;
1827
+ exports.SyncBlockerDoesNotExistException = SyncBlockerDoesNotExistException;
1828
+ exports.SyncBlockerDoesNotExistException$ = SyncBlockerDoesNotExistException$;
1829
+ exports.SyncBlockerSummary$ = SyncBlockerSummary$;
1830
+ exports.SyncConfiguration$ = SyncConfiguration$;
1831
+ exports.SyncConfigurationStillExistsException = SyncConfigurationStillExistsException;
1832
+ exports.SyncConfigurationStillExistsException$ = SyncConfigurationStillExistsException$;
559
1833
  exports.SyncConfigurationType = SyncConfigurationType;
1834
+ exports.Tag$ = Tag$;
1835
+ exports.TagResource$ = TagResource$;
560
1836
  exports.TagResourceCommand = TagResourceCommand;
1837
+ exports.TagResourceInput$ = TagResourceInput$;
1838
+ exports.TagResourceOutput$ = TagResourceOutput$;
1839
+ exports.ThrottlingException = ThrottlingException;
1840
+ exports.ThrottlingException$ = ThrottlingException$;
561
1841
  exports.TriggerResourceUpdateOn = TriggerResourceUpdateOn;
1842
+ exports.UnsupportedOperationException = UnsupportedOperationException;
1843
+ exports.UnsupportedOperationException$ = UnsupportedOperationException$;
1844
+ exports.UnsupportedProviderTypeException = UnsupportedProviderTypeException;
1845
+ exports.UnsupportedProviderTypeException$ = UnsupportedProviderTypeException$;
1846
+ exports.UntagResource$ = UntagResource$;
562
1847
  exports.UntagResourceCommand = UntagResourceCommand;
1848
+ exports.UntagResourceInput$ = UntagResourceInput$;
1849
+ exports.UntagResourceOutput$ = UntagResourceOutput$;
1850
+ exports.UpdateHost$ = UpdateHost$;
563
1851
  exports.UpdateHostCommand = UpdateHostCommand;
1852
+ exports.UpdateHostInput$ = UpdateHostInput$;
1853
+ exports.UpdateHostOutput$ = UpdateHostOutput$;
1854
+ exports.UpdateOutOfSyncException = UpdateOutOfSyncException;
1855
+ exports.UpdateOutOfSyncException$ = UpdateOutOfSyncException$;
1856
+ exports.UpdateRepositoryLink$ = UpdateRepositoryLink$;
564
1857
  exports.UpdateRepositoryLinkCommand = UpdateRepositoryLinkCommand;
1858
+ exports.UpdateRepositoryLinkInput$ = UpdateRepositoryLinkInput$;
1859
+ exports.UpdateRepositoryLinkOutput$ = UpdateRepositoryLinkOutput$;
1860
+ exports.UpdateSyncBlocker$ = UpdateSyncBlocker$;
565
1861
  exports.UpdateSyncBlockerCommand = UpdateSyncBlockerCommand;
1862
+ exports.UpdateSyncBlockerInput$ = UpdateSyncBlockerInput$;
1863
+ exports.UpdateSyncBlockerOutput$ = UpdateSyncBlockerOutput$;
1864
+ exports.UpdateSyncConfiguration$ = UpdateSyncConfiguration$;
566
1865
  exports.UpdateSyncConfigurationCommand = UpdateSyncConfigurationCommand;
1866
+ exports.UpdateSyncConfigurationInput$ = UpdateSyncConfigurationInput$;
1867
+ exports.UpdateSyncConfigurationOutput$ = UpdateSyncConfigurationOutput$;
1868
+ exports.VpcConfiguration$ = VpcConfiguration$;
1869
+ exports.errorTypeRegistries = errorTypeRegistries;
567
1870
  exports.paginateListConnections = paginateListConnections;
568
1871
  exports.paginateListHosts = paginateListHosts;
569
1872
  exports.paginateListRepositoryLinks = paginateListRepositoryLinks;