@aws-sdk/client-codestar-connections 3.454.0 → 3.455.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 (92) hide show
  1. package/README.md +0 -120
  2. package/dist-cjs/CodeStarConnections.js +0 -30
  3. package/dist-cjs/commands/index.js +0 -15
  4. package/dist-cjs/models/models_0.js +1 -192
  5. package/dist-cjs/pagination/index.js +0 -2
  6. package/dist-cjs/protocols/Aws_json1_0.js +46 -1083
  7. package/dist-es/CodeStarConnections.js +0 -30
  8. package/dist-es/commands/index.js +0 -15
  9. package/dist-es/models/models_0.js +0 -179
  10. package/dist-es/pagination/index.js +0 -2
  11. package/dist-es/protocols/Aws_json1_0.js +49 -1055
  12. package/dist-types/CodeStarConnections.d.ts +0 -105
  13. package/dist-types/CodeStarConnectionsClient.d.ts +2 -17
  14. package/dist-types/commands/index.d.ts +0 -15
  15. package/dist-types/models/models_0.d.ts +6 -1107
  16. package/dist-types/pagination/index.d.ts +0 -2
  17. package/dist-types/protocols/Aws_json1_0.d.ts +0 -135
  18. package/dist-types/ts3.4/CodeStarConnections.d.ts +0 -255
  19. package/dist-types/ts3.4/CodeStarConnectionsClient.d.ts +2 -92
  20. package/dist-types/ts3.4/commands/index.d.ts +0 -15
  21. package/dist-types/ts3.4/models/models_0.d.ts +0 -346
  22. package/dist-types/ts3.4/pagination/index.d.ts +0 -2
  23. package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -180
  24. package/package.json +1 -1
  25. package/dist-cjs/commands/CreateRepositoryLinkCommand.js +0 -51
  26. package/dist-cjs/commands/CreateSyncConfigurationCommand.js +0 -51
  27. package/dist-cjs/commands/DeleteRepositoryLinkCommand.js +0 -51
  28. package/dist-cjs/commands/DeleteSyncConfigurationCommand.js +0 -51
  29. package/dist-cjs/commands/GetRepositoryLinkCommand.js +0 -51
  30. package/dist-cjs/commands/GetRepositorySyncStatusCommand.js +0 -51
  31. package/dist-cjs/commands/GetResourceSyncStatusCommand.js +0 -51
  32. package/dist-cjs/commands/GetSyncBlockerSummaryCommand.js +0 -51
  33. package/dist-cjs/commands/GetSyncConfigurationCommand.js +0 -51
  34. package/dist-cjs/commands/ListRepositoryLinksCommand.js +0 -51
  35. package/dist-cjs/commands/ListRepositorySyncDefinitionsCommand.js +0 -51
  36. package/dist-cjs/commands/ListSyncConfigurationsCommand.js +0 -51
  37. package/dist-cjs/commands/UpdateRepositoryLinkCommand.js +0 -51
  38. package/dist-cjs/commands/UpdateSyncBlockerCommand.js +0 -51
  39. package/dist-cjs/commands/UpdateSyncConfigurationCommand.js +0 -51
  40. package/dist-cjs/pagination/ListRepositoryLinksPaginator.js +0 -29
  41. package/dist-cjs/pagination/ListSyncConfigurationsPaginator.js +0 -29
  42. package/dist-es/commands/CreateRepositoryLinkCommand.js +0 -47
  43. package/dist-es/commands/CreateSyncConfigurationCommand.js +0 -47
  44. package/dist-es/commands/DeleteRepositoryLinkCommand.js +0 -47
  45. package/dist-es/commands/DeleteSyncConfigurationCommand.js +0 -47
  46. package/dist-es/commands/GetRepositoryLinkCommand.js +0 -47
  47. package/dist-es/commands/GetRepositorySyncStatusCommand.js +0 -47
  48. package/dist-es/commands/GetResourceSyncStatusCommand.js +0 -47
  49. package/dist-es/commands/GetSyncBlockerSummaryCommand.js +0 -47
  50. package/dist-es/commands/GetSyncConfigurationCommand.js +0 -47
  51. package/dist-es/commands/ListRepositoryLinksCommand.js +0 -47
  52. package/dist-es/commands/ListRepositorySyncDefinitionsCommand.js +0 -47
  53. package/dist-es/commands/ListSyncConfigurationsCommand.js +0 -47
  54. package/dist-es/commands/UpdateRepositoryLinkCommand.js +0 -47
  55. package/dist-es/commands/UpdateSyncBlockerCommand.js +0 -47
  56. package/dist-es/commands/UpdateSyncConfigurationCommand.js +0 -47
  57. package/dist-es/pagination/ListRepositoryLinksPaginator.js +0 -25
  58. package/dist-es/pagination/ListSyncConfigurationsPaginator.js +0 -25
  59. package/dist-types/commands/CreateRepositoryLinkCommand.d.ts +0 -111
  60. package/dist-types/commands/CreateSyncConfigurationCommand.d.ts +0 -111
  61. package/dist-types/commands/DeleteRepositoryLinkCommand.d.ts +0 -95
  62. package/dist-types/commands/DeleteSyncConfigurationCommand.d.ts +0 -90
  63. package/dist-types/commands/GetRepositoryLinkCommand.d.ts +0 -100
  64. package/dist-types/commands/GetRepositorySyncStatusCommand.d.ts +0 -102
  65. package/dist-types/commands/GetResourceSyncStatusCommand.d.ts +0 -155
  66. package/dist-types/commands/GetSyncBlockerSummaryCommand.d.ts +0 -109
  67. package/dist-types/commands/GetSyncConfigurationCommand.d.ts +0 -99
  68. package/dist-types/commands/ListRepositoryLinksCommand.d.ts +0 -103
  69. package/dist-types/commands/ListRepositorySyncDefinitionsCommand.d.ts +0 -97
  70. package/dist-types/commands/ListSyncConfigurationsCommand.d.ts +0 -104
  71. package/dist-types/commands/UpdateRepositoryLinkCommand.d.ts +0 -106
  72. package/dist-types/commands/UpdateSyncBlockerCommand.d.ts +0 -113
  73. package/dist-types/commands/UpdateSyncConfigurationCommand.d.ts +0 -109
  74. package/dist-types/pagination/ListRepositoryLinksPaginator.d.ts +0 -7
  75. package/dist-types/pagination/ListSyncConfigurationsPaginator.d.ts +0 -7
  76. package/dist-types/ts3.4/commands/CreateRepositoryLinkCommand.d.ts +0 -42
  77. package/dist-types/ts3.4/commands/CreateSyncConfigurationCommand.d.ts +0 -42
  78. package/dist-types/ts3.4/commands/DeleteRepositoryLinkCommand.d.ts +0 -42
  79. package/dist-types/ts3.4/commands/DeleteSyncConfigurationCommand.d.ts +0 -42
  80. package/dist-types/ts3.4/commands/GetRepositoryLinkCommand.d.ts +0 -38
  81. package/dist-types/ts3.4/commands/GetRepositorySyncStatusCommand.d.ts +0 -42
  82. package/dist-types/ts3.4/commands/GetResourceSyncStatusCommand.d.ts +0 -42
  83. package/dist-types/ts3.4/commands/GetSyncBlockerSummaryCommand.d.ts +0 -42
  84. package/dist-types/ts3.4/commands/GetSyncConfigurationCommand.d.ts +0 -42
  85. package/dist-types/ts3.4/commands/ListRepositoryLinksCommand.d.ts +0 -39
  86. package/dist-types/ts3.4/commands/ListRepositorySyncDefinitionsCommand.d.ts +0 -42
  87. package/dist-types/ts3.4/commands/ListSyncConfigurationsCommand.d.ts +0 -42
  88. package/dist-types/ts3.4/commands/UpdateRepositoryLinkCommand.d.ts +0 -42
  89. package/dist-types/ts3.4/commands/UpdateSyncBlockerCommand.d.ts +0 -38
  90. package/dist-types/ts3.4/commands/UpdateSyncConfigurationCommand.d.ts +0 -42
  91. package/dist-types/ts3.4/pagination/ListRepositoryLinksPaginator.d.ts +0 -11
  92. package/dist-types/ts3.4/pagination/ListSyncConfigurationsPaginator.d.ts +0 -11
@@ -1,41 +1,5 @@
1
1
  import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
2
  import { CodeStarConnectionsServiceException as __BaseException } from "./CodeStarConnectionsServiceException";
3
- /**
4
- * @public
5
- * <p>You do not have sufficient access to perform this action.</p>
6
- */
7
- export declare class AccessDeniedException extends __BaseException {
8
- readonly name: "AccessDeniedException";
9
- readonly $fault: "client";
10
- Message?: string;
11
- /**
12
- * @internal
13
- */
14
- constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
15
- }
16
- /**
17
- * @public
18
- * @enum
19
- */
20
- export declare const BlockerStatus: {
21
- readonly ACTIVE: "ACTIVE";
22
- readonly RESOLVED: "RESOLVED";
23
- };
24
- /**
25
- * @public
26
- */
27
- export type BlockerStatus = (typeof BlockerStatus)[keyof typeof BlockerStatus];
28
- /**
29
- * @public
30
- * @enum
31
- */
32
- export declare const BlockerType: {
33
- readonly AUTOMATED: "AUTOMATED";
34
- };
35
- /**
36
- * @public
37
- */
38
- export type BlockerType = (typeof BlockerType)[keyof typeof BlockerType];
39
3
  /**
40
4
  * @public
41
5
  * @enum
@@ -208,10 +172,6 @@ export interface CreateHostInput {
208
172
  * infrastructure to be represented by the host must already be connected to the VPC.</p>
209
173
  */
210
174
  VpcConfiguration?: VpcConfiguration;
211
- /**
212
- * @public
213
- * <p>Tags for the host to be created.</p>
214
- */
215
175
  Tags?: Tag[];
216
176
  }
217
177
  /**
@@ -223,273 +183,8 @@ export interface CreateHostOutput {
223
183
  * <p>The Amazon Resource Name (ARN) of the host to be created.</p>
224
184
  */
225
185
  HostArn?: string;
226
- /**
227
- * @public
228
- * <p>Tags for the created host.</p>
229
- */
230
- Tags?: Tag[];
231
- }
232
- /**
233
- * @public
234
- * <p>Exception thrown as a result of concurrent modification to an application. For example, two individuals attempting to edit the same application at the same time. </p>
235
- */
236
- export declare class ConcurrentModificationException extends __BaseException {
237
- readonly name: "ConcurrentModificationException";
238
- readonly $fault: "client";
239
- Message?: string;
240
- /**
241
- * @internal
242
- */
243
- constructor(opts: __ExceptionOptionType<ConcurrentModificationException, __BaseException>);
244
- }
245
- /**
246
- * @public
247
- */
248
- export interface CreateRepositoryLinkInput {
249
- /**
250
- * @public
251
- * <p>The Amazon Resource Name (ARN) of the connection to be associated with the repository link.</p>
252
- */
253
- ConnectionArn: string | undefined;
254
- /**
255
- * @public
256
- * <p>The owner ID for the repository associated with a specific sync configuration, such as
257
- * the owner ID in GitHub.</p>
258
- */
259
- OwnerId: string | undefined;
260
- /**
261
- * @public
262
- * <p>The name of the repository to be associated with the repository link.</p>
263
- */
264
- RepositoryName: string | undefined;
265
- /**
266
- * @public
267
- * <p>The Amazon Resource Name (ARN) encryption key for the repository to be associated with the repository link.</p>
268
- */
269
- EncryptionKeyArn?: string;
270
- /**
271
- * @public
272
- * <p>The tags for the repository to be associated with the repository link.</p>
273
- */
274
186
  Tags?: Tag[];
275
187
  }
276
- /**
277
- * @public
278
- * <p>Information about the repository link resource, such as the repository link ARN, the associated connection ARN, encryption key ARN, and owner ID.</p>
279
- */
280
- export interface RepositoryLinkInfo {
281
- /**
282
- * @public
283
- * <p>The Amazon Resource Name (ARN) of the connection associated with the repository link.</p>
284
- */
285
- ConnectionArn: string | undefined;
286
- /**
287
- * @public
288
- * <p>The Amazon Resource Name (ARN) of the encryption key for the repository associated with the repository link.</p>
289
- */
290
- EncryptionKeyArn?: string;
291
- /**
292
- * @public
293
- * <p>The owner ID for the repository associated with the repository link, such as the owner
294
- * ID in GitHub.</p>
295
- */
296
- OwnerId: string | undefined;
297
- /**
298
- * @public
299
- * <p>The provider type for the connection, such as GitHub, associated with the repository link.</p>
300
- */
301
- ProviderType: ProviderType | undefined;
302
- /**
303
- * @public
304
- * <p>The Amazon Resource Name (ARN) of the repository link.</p>
305
- */
306
- RepositoryLinkArn: string | undefined;
307
- /**
308
- * @public
309
- * <p>The ID of the repository link.</p>
310
- */
311
- RepositoryLinkId: string | undefined;
312
- /**
313
- * @public
314
- * <p>The name of the repository associated with the repository link.</p>
315
- */
316
- RepositoryName: string | undefined;
317
- }
318
- /**
319
- * @public
320
- */
321
- export interface CreateRepositoryLinkOutput {
322
- /**
323
- * @public
324
- * <p>The returned information about the created repository link.</p>
325
- */
326
- RepositoryLinkInfo: RepositoryLinkInfo | undefined;
327
- }
328
- /**
329
- * @public
330
- * <p>Received an internal server exception. Try again later.</p>
331
- */
332
- export declare class InternalServerException extends __BaseException {
333
- readonly name: "InternalServerException";
334
- readonly $fault: "server";
335
- Message?: string;
336
- /**
337
- * @internal
338
- */
339
- constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
340
- }
341
- /**
342
- * @public
343
- * <p>The input is not valid. Verify that the action is typed correctly.</p>
344
- */
345
- export declare class InvalidInputException extends __BaseException {
346
- readonly name: "InvalidInputException";
347
- readonly $fault: "client";
348
- Message?: string;
349
- /**
350
- * @internal
351
- */
352
- constructor(opts: __ExceptionOptionType<InvalidInputException, __BaseException>);
353
- }
354
- /**
355
- * @public
356
- * <p>Unable to create resource. Resource already exists.</p>
357
- */
358
- export declare class ResourceAlreadyExistsException extends __BaseException {
359
- readonly name: "ResourceAlreadyExistsException";
360
- readonly $fault: "client";
361
- Message?: string;
362
- /**
363
- * @internal
364
- */
365
- constructor(opts: __ExceptionOptionType<ResourceAlreadyExistsException, __BaseException>);
366
- }
367
- /**
368
- * @public
369
- * <p>The request was denied due to request throttling.</p>
370
- */
371
- export declare class ThrottlingException extends __BaseException {
372
- readonly name: "ThrottlingException";
373
- readonly $fault: "client";
374
- Message?: string;
375
- /**
376
- * @internal
377
- */
378
- constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
379
- }
380
- /**
381
- * @public
382
- * @enum
383
- */
384
- export declare const SyncConfigurationType: {
385
- readonly CFN_STACK_SYNC: "CFN_STACK_SYNC";
386
- };
387
- /**
388
- * @public
389
- */
390
- export type SyncConfigurationType = (typeof SyncConfigurationType)[keyof typeof SyncConfigurationType];
391
- /**
392
- * @public
393
- */
394
- export interface CreateSyncConfigurationInput {
395
- /**
396
- * @public
397
- * <p>The branch in the repository from which changes will be synced.</p>
398
- */
399
- Branch: string | undefined;
400
- /**
401
- * @public
402
- * <p>The file name of the configuration file that manages syncing between the connection and the repository. This configuration file is stored in the repository.</p>
403
- */
404
- ConfigFile: string | undefined;
405
- /**
406
- * @public
407
- * <p>The ID of the repository link created for the connection. A repository link allows Git
408
- * sync to monitor and sync changes to files in a specified Git repository.</p>
409
- */
410
- RepositoryLinkId: string | undefined;
411
- /**
412
- * @public
413
- * <p>The name of the Amazon Web Services resource (for example, a CloudFormation stack in the
414
- * case of CFN_STACK_SYNC) that will be synchronized from the linked repository.</p>
415
- */
416
- ResourceName: string | undefined;
417
- /**
418
- * @public
419
- * <p>The ARN of the IAM role that grants permission for Amazon Web Services to use Git sync to
420
- * update a given Amazon Web Services resource on your behalf.</p>
421
- */
422
- RoleArn: string | undefined;
423
- /**
424
- * @public
425
- * <p>The type of sync configuration.</p>
426
- */
427
- SyncType: SyncConfigurationType | undefined;
428
- }
429
- /**
430
- * @public
431
- * <p>Information, such as repository, branch, provider, and resource names for a specific sync configuration.</p>
432
- */
433
- export interface SyncConfiguration {
434
- /**
435
- * @public
436
- * <p>The branch associated with a specific sync configuration.</p>
437
- */
438
- Branch: string | undefined;
439
- /**
440
- * @public
441
- * <p>The file path to the configuration file associated with a specific sync configuration. The path should point to an actual file in the sync configurations linked repository.</p>
442
- */
443
- ConfigFile?: string;
444
- /**
445
- * @public
446
- * <p>The owner ID for the repository associated with a specific sync configuration, such as
447
- * the owner ID in GitHub.</p>
448
- */
449
- OwnerId: string | undefined;
450
- /**
451
- * @public
452
- * <p>The connection provider type associated with a specific sync configuration, such as
453
- * GitHub.</p>
454
- */
455
- ProviderType: ProviderType | undefined;
456
- /**
457
- * @public
458
- * <p>The ID of the repository link associated with a specific sync configuration.</p>
459
- */
460
- RepositoryLinkId: string | undefined;
461
- /**
462
- * @public
463
- * <p>The name of the repository associated with a specific sync configuration.</p>
464
- */
465
- RepositoryName: string | undefined;
466
- /**
467
- * @public
468
- * <p>The name of the connection resource associated with a specific sync configuration.</p>
469
- */
470
- ResourceName: string | undefined;
471
- /**
472
- * @public
473
- * <p>The Amazon Resource Name (ARN) of the IAM role associated with a specific sync configuration.</p>
474
- */
475
- RoleArn: string | undefined;
476
- /**
477
- * @public
478
- * <p>The type of sync for a specific sync configuration.</p>
479
- */
480
- SyncType: SyncConfigurationType | undefined;
481
- }
482
- /**
483
- * @public
484
- */
485
- export interface CreateSyncConfigurationOutput {
486
- /**
487
- * @public
488
- * <p>The created sync configuration for the connection. A sync configuration allows Amazon Web Services to sync content from a Git repository to update a specified Amazon Web Services
489
- * resource. </p>
490
- */
491
- SyncConfiguration: SyncConfiguration | undefined;
492
- }
493
188
  /**
494
189
  * @public
495
190
  */
@@ -523,68 +218,6 @@ export interface DeleteHostInput {
523
218
  */
524
219
  export interface DeleteHostOutput {
525
220
  }
526
- /**
527
- * @public
528
- */
529
- export interface DeleteRepositoryLinkInput {
530
- /**
531
- * @public
532
- * <p>The ID of the repository link to be deleted.</p>
533
- */
534
- RepositoryLinkId: string | undefined;
535
- }
536
- /**
537
- * @public
538
- */
539
- export interface DeleteRepositoryLinkOutput {
540
- }
541
- /**
542
- * @public
543
- * <p>Unable to continue. The sync blocker still exists.</p>
544
- */
545
- export declare class SyncConfigurationStillExistsException extends __BaseException {
546
- readonly name: "SyncConfigurationStillExistsException";
547
- readonly $fault: "client";
548
- Message?: string;
549
- /**
550
- * @internal
551
- */
552
- constructor(opts: __ExceptionOptionType<SyncConfigurationStillExistsException, __BaseException>);
553
- }
554
- /**
555
- * @public
556
- * <p>The specified provider type is not supported for connections.</p>
557
- */
558
- export declare class UnsupportedProviderTypeException extends __BaseException {
559
- readonly name: "UnsupportedProviderTypeException";
560
- readonly $fault: "client";
561
- Message?: string;
562
- /**
563
- * @internal
564
- */
565
- constructor(opts: __ExceptionOptionType<UnsupportedProviderTypeException, __BaseException>);
566
- }
567
- /**
568
- * @public
569
- */
570
- export interface DeleteSyncConfigurationInput {
571
- /**
572
- * @public
573
- * <p>The type of sync configuration to be deleted.</p>
574
- */
575
- SyncType: SyncConfigurationType | undefined;
576
- /**
577
- * @public
578
- * <p>The name of the Amazon Web Services resource associated with the sync configuration to be
579
- * deleted.</p>
580
- */
581
- ResourceName: string | undefined;
582
- }
583
- /**
584
- * @public
585
- */
586
- export interface DeleteSyncConfigurationOutput {
587
- }
588
221
  /**
589
222
  * @public
590
223
  */
@@ -705,447 +338,18 @@ export interface GetHostOutput {
705
338
  /**
706
339
  * @public
707
340
  */
708
- export interface GetRepositoryLinkInput {
341
+ export interface ListConnectionsInput {
709
342
  /**
710
343
  * @public
711
- * <p>The ID of the repository link to get.</p>
344
+ * <p>Filters the list of connections to those associated with a specified provider, such as
345
+ * Bitbucket.</p>
712
346
  */
713
- RepositoryLinkId: string | undefined;
714
- }
715
- /**
716
- * @public
717
- */
718
- export interface GetRepositoryLinkOutput {
347
+ ProviderTypeFilter?: ProviderType;
719
348
  /**
720
349
  * @public
721
- * <p>The information returned for a specified repository link.</p>
350
+ * <p>Filters the list of connections to those associated with a specified host.</p>
722
351
  */
723
- RepositoryLinkInfo: RepositoryLinkInfo | undefined;
724
- }
725
- /**
726
- * @public
727
- */
728
- export interface GetRepositorySyncStatusInput {
729
- /**
730
- * @public
731
- * <p>The branch of the repository link for the requested repository sync status.</p>
732
- */
733
- Branch: string | undefined;
734
- /**
735
- * @public
736
- * <p>The repository link ID for the requested repository sync status.</p>
737
- */
738
- RepositoryLinkId: string | undefined;
739
- /**
740
- * @public
741
- * <p>The sync type of the requested sync status.</p>
742
- */
743
- SyncType: SyncConfigurationType | undefined;
744
- }
745
- /**
746
- * @public
747
- * <p>Information about a repository sync event.</p>
748
- */
749
- export interface RepositorySyncEvent {
750
- /**
751
- * @public
752
- * <p>A description of a repository sync event.</p>
753
- */
754
- Event: string | undefined;
755
- /**
756
- * @public
757
- * <p>The ID for a repository sync event.</p>
758
- */
759
- ExternalId?: string;
760
- /**
761
- * @public
762
- * <p>The time that a repository sync event occurred.</p>
763
- */
764
- Time: Date | undefined;
765
- /**
766
- * @public
767
- * <p>The event type for a repository sync event.</p>
768
- */
769
- Type: string | undefined;
770
- }
771
- /**
772
- * @public
773
- * @enum
774
- */
775
- export declare const RepositorySyncStatus: {
776
- readonly FAILED: "FAILED";
777
- readonly INITIATED: "INITIATED";
778
- readonly IN_PROGRESS: "IN_PROGRESS";
779
- readonly QUEUED: "QUEUED";
780
- readonly SUCCEEDED: "SUCCEEDED";
781
- };
782
- /**
783
- * @public
784
- */
785
- export type RepositorySyncStatus = (typeof RepositorySyncStatus)[keyof typeof RepositorySyncStatus];
786
- /**
787
- * @public
788
- * <p>Information about a repository sync attempt for a repository with a sync configuration.</p>
789
- */
790
- export interface RepositorySyncAttempt {
791
- /**
792
- * @public
793
- * <p>The start time of a specific sync attempt.</p>
794
- */
795
- StartedAt: Date | undefined;
796
- /**
797
- * @public
798
- * <p>The status of a specific sync attempt. The following are valid statuses:</p>
799
- * <ul>
800
- * <li>
801
- * <p>INITIATED - A repository sync attempt has been created and will begin soon.</p>
802
- * </li>
803
- * <li>
804
- * <p>IN_PROGRESS - A repository sync attempt has started and work is being done to
805
- * reconcile the branch.</p>
806
- * </li>
807
- * <li>
808
- * <p>SUCCEEDED - The repository sync attempt has completed successfully.</p>
809
- * </li>
810
- * <li>
811
- * <p>FAILED - The repository sync attempt has failed.</p>
812
- * </li>
813
- * <li>
814
- * <p>QUEUED - The repository sync attempt didn't execute and was queued.</p>
815
- * </li>
816
- * </ul>
817
- */
818
- Status: RepositorySyncStatus | undefined;
819
- /**
820
- * @public
821
- * <p>The events associated with a specific sync attempt.</p>
822
- */
823
- Events: RepositorySyncEvent[] | undefined;
824
- }
825
- /**
826
- * @public
827
- */
828
- export interface GetRepositorySyncStatusOutput {
829
- /**
830
- * @public
831
- * <p>The status of the latest sync returned for a specified repository and branch.</p>
832
- */
833
- LatestSync: RepositorySyncAttempt | undefined;
834
- }
835
- /**
836
- * @public
837
- */
838
- export interface GetResourceSyncStatusInput {
839
- /**
840
- * @public
841
- * <p>The name of the Amazon Web Services resource for the sync status with the Git
842
- * repository.</p>
843
- */
844
- ResourceName: string | undefined;
845
- /**
846
- * @public
847
- * <p>The sync type for the sync status with the Git repository.</p>
848
- */
849
- SyncType: SyncConfigurationType | undefined;
850
- }
851
- /**
852
- * @public
853
- * <p>Information about the revision for a specific sync event, such as the branch, owner ID, and name of the repository.</p>
854
- */
855
- export interface Revision {
856
- /**
857
- * @public
858
- * <p>The branch name for a specific revision.</p>
859
- */
860
- Branch: string | undefined;
861
- /**
862
- * @public
863
- * <p>The directory, if any, for a specific revision.</p>
864
- */
865
- Directory: string | undefined;
866
- /**
867
- * @public
868
- * <p>The owner ID for a specific revision, such as the GitHub owner ID for a GitHub repository.</p>
869
- */
870
- OwnerId: string | undefined;
871
- /**
872
- * @public
873
- * <p>The repository name for a specific revision.</p>
874
- */
875
- RepositoryName: string | undefined;
876
- /**
877
- * @public
878
- * <p>The provider type for a revision, such as GitHub.</p>
879
- */
880
- ProviderType: ProviderType | undefined;
881
- /**
882
- * @public
883
- * <p>The SHA, such as the commit ID, for a specific revision.</p>
884
- */
885
- Sha: string | undefined;
886
- }
887
- /**
888
- * @public
889
- * <p>Information about a resource sync event for the resource associated with a sync configuration.</p>
890
- */
891
- export interface ResourceSyncEvent {
892
- /**
893
- * @public
894
- * <p>The event for a resource sync event.</p>
895
- */
896
- Event: string | undefined;
897
- /**
898
- * @public
899
- * <p>The ID for a resource sync event.</p>
900
- */
901
- ExternalId?: string;
902
- /**
903
- * @public
904
- * <p>The time that a resource sync event occurred.</p>
905
- */
906
- Time: Date | undefined;
907
- /**
908
- * @public
909
- * <p>The type of resource sync event.</p>
910
- */
911
- Type: string | undefined;
912
- }
913
- /**
914
- * @public
915
- * @enum
916
- */
917
- export declare const ResourceSyncStatus: {
918
- readonly FAILED: "FAILED";
919
- readonly INITIATED: "INITIATED";
920
- readonly IN_PROGRESS: "IN_PROGRESS";
921
- readonly SUCCEEDED: "SUCCEEDED";
922
- };
923
- /**
924
- * @public
925
- */
926
- export type ResourceSyncStatus = (typeof ResourceSyncStatus)[keyof typeof ResourceSyncStatus];
927
- /**
928
- * @public
929
- * <p>Information about a resource sync attempt.</p>
930
- */
931
- export interface ResourceSyncAttempt {
932
- /**
933
- * @public
934
- * <p>The events related to a resource sync attempt.</p>
935
- */
936
- Events: ResourceSyncEvent[] | undefined;
937
- /**
938
- * @public
939
- * <p>The current state of the resource as defined in the resource's <code>config-file</code>
940
- * in the linked repository.</p>
941
- */
942
- InitialRevision: Revision | undefined;
943
- /**
944
- * @public
945
- * <p>The start time for a resource sync attempt.</p>
946
- */
947
- StartedAt: Date | undefined;
948
- /**
949
- * @public
950
- * <p>The status for a resource sync attempt. The follow are valid statuses:</p>
951
- * <ul>
952
- * <li>
953
- * <p>SYNC-INITIATED - A resource sync attempt has been created and will begin soon.</p>
954
- * </li>
955
- * <li>
956
- * <p>SYNCING - Syncing has started and work is being done to reconcile state.</p>
957
- * </li>
958
- * <li>
959
- * <p>SYNCED - Syncing has completed successfully.</p>
960
- * </li>
961
- * <li>
962
- * <p>SYNC_FAILED - A resource sync attempt has failed.</p>
963
- * </li>
964
- * </ul>
965
- */
966
- Status: ResourceSyncStatus | undefined;
967
- /**
968
- * @public
969
- * <p>The desired state of the resource as defined in the resource's <code>config-file</code>
970
- * in the linked repository. Git sync attempts to update the resource to this state.</p>
971
- */
972
- TargetRevision: Revision | undefined;
973
- /**
974
- * @public
975
- * <p>The name of the Amazon Web Services resource that is attempted to be synchronized.</p>
976
- */
977
- Target: string | undefined;
978
- }
979
- /**
980
- * @public
981
- */
982
- export interface GetResourceSyncStatusOutput {
983
- /**
984
- * @public
985
- * <p>The desired state of the Amazon Web Services resource for the sync status with the Git
986
- * repository.</p>
987
- */
988
- DesiredState?: Revision;
989
- /**
990
- * @public
991
- * <p>The latest successful sync for the sync status with the Git repository.</p>
992
- */
993
- LatestSuccessfulSync?: ResourceSyncAttempt;
994
- /**
995
- * @public
996
- * <p>The latest sync for the sync status with the Git repository, whether successful or not.</p>
997
- */
998
- LatestSync: ResourceSyncAttempt | undefined;
999
- }
1000
- /**
1001
- * @public
1002
- */
1003
- export interface GetSyncBlockerSummaryInput {
1004
- /**
1005
- * @public
1006
- * <p>The sync type for the sync blocker summary.</p>
1007
- */
1008
- SyncType: SyncConfigurationType | undefined;
1009
- /**
1010
- * @public
1011
- * <p>The name of the Amazon Web Services resource currently blocked from automatically being synced from a Git repository.</p>
1012
- */
1013
- ResourceName: string | undefined;
1014
- }
1015
- /**
1016
- * @public
1017
- * <p>The context for a specific sync blocker.</p>
1018
- */
1019
- export interface SyncBlockerContext {
1020
- /**
1021
- * @public
1022
- * <p>The key provided for a context key-value pair for a specific sync blocker.</p>
1023
- */
1024
- Key: string | undefined;
1025
- /**
1026
- * @public
1027
- * <p>The value provided for a context key-value pair for a specific sync blocker.</p>
1028
- */
1029
- Value: string | undefined;
1030
- }
1031
- /**
1032
- * @public
1033
- * <p>Information about a blocker for a sync event.</p>
1034
- */
1035
- export interface SyncBlocker {
1036
- /**
1037
- * @public
1038
- * <p>The ID for a specific sync blocker.</p>
1039
- */
1040
- Id: string | undefined;
1041
- /**
1042
- * @public
1043
- * <p>The sync blocker type.</p>
1044
- */
1045
- Type: BlockerType | undefined;
1046
- /**
1047
- * @public
1048
- * <p>The status for a specific sync blocker.</p>
1049
- */
1050
- Status: BlockerStatus | undefined;
1051
- /**
1052
- * @public
1053
- * <p>The provided reason for a specific sync blocker.</p>
1054
- */
1055
- CreatedReason: string | undefined;
1056
- /**
1057
- * @public
1058
- * <p>The creation time for a specific sync blocker.</p>
1059
- */
1060
- CreatedAt: Date | undefined;
1061
- /**
1062
- * @public
1063
- * <p>The contexts for a specific sync blocker.</p>
1064
- */
1065
- Contexts?: SyncBlockerContext[];
1066
- /**
1067
- * @public
1068
- * <p>The resolved reason for a specific sync blocker.</p>
1069
- */
1070
- ResolvedReason?: string;
1071
- /**
1072
- * @public
1073
- * <p>The time that a specific sync blocker was resolved.</p>
1074
- */
1075
- ResolvedAt?: Date;
1076
- }
1077
- /**
1078
- * @public
1079
- * <p>A summary for sync blockers.</p>
1080
- */
1081
- export interface SyncBlockerSummary {
1082
- /**
1083
- * @public
1084
- * <p>The resource name for sync blocker summary.</p>
1085
- */
1086
- ResourceName: string | undefined;
1087
- /**
1088
- * @public
1089
- * <p>The parent resource name for a sync blocker summary.</p>
1090
- */
1091
- ParentResourceName?: string;
1092
- /**
1093
- * @public
1094
- * <p>The latest events for a sync blocker summary.</p>
1095
- */
1096
- LatestBlockers?: SyncBlocker[];
1097
- }
1098
- /**
1099
- * @public
1100
- */
1101
- export interface GetSyncBlockerSummaryOutput {
1102
- /**
1103
- * @public
1104
- * <p>The list of sync blockers for a specified resource.</p>
1105
- */
1106
- SyncBlockerSummary: SyncBlockerSummary | undefined;
1107
- }
1108
- /**
1109
- * @public
1110
- */
1111
- export interface GetSyncConfigurationInput {
1112
- /**
1113
- * @public
1114
- * <p>The sync type for the sync configuration for which you want to retrieve information.</p>
1115
- */
1116
- SyncType: SyncConfigurationType | undefined;
1117
- /**
1118
- * @public
1119
- * <p>The name of the Amazon Web Services resource for the sync configuration for which you
1120
- * want to retrieve information.</p>
1121
- */
1122
- ResourceName: string | undefined;
1123
- }
1124
- /**
1125
- * @public
1126
- */
1127
- export interface GetSyncConfigurationOutput {
1128
- /**
1129
- * @public
1130
- * <p>The details about the sync configuration for which you want to retrieve information.</p>
1131
- */
1132
- SyncConfiguration: SyncConfiguration | undefined;
1133
- }
1134
- /**
1135
- * @public
1136
- */
1137
- export interface ListConnectionsInput {
1138
- /**
1139
- * @public
1140
- * <p>Filters the list of connections to those associated with a specified provider, such as
1141
- * Bitbucket.</p>
1142
- */
1143
- ProviderTypeFilter?: ProviderType;
1144
- /**
1145
- * @public
1146
- * <p>Filters the list of connections to those associated with a specified host.</p>
1147
- */
1148
- HostArnFilter?: string;
352
+ HostArnFilter?: string;
1149
353
  /**
1150
354
  * @public
1151
355
  * <p>The maximum number of results to return in a single call. To retrieve the remaining
@@ -1261,138 +465,6 @@ export interface ListHostsOutput {
1261
465
  */
1262
466
  NextToken?: string;
1263
467
  }
1264
- /**
1265
- * @public
1266
- */
1267
- export interface ListRepositoryLinksInput {
1268
- /**
1269
- * @public
1270
- * <p>
1271
- * A non-zero, non-negative integer used to limit the number of returned results.</p>
1272
- */
1273
- MaxResults?: number;
1274
- /**
1275
- * @public
1276
- * <p>
1277
- * An enumeration token that, when provided in a request, returns the next batch of the results.</p>
1278
- */
1279
- NextToken?: string;
1280
- }
1281
- /**
1282
- * @public
1283
- */
1284
- export interface ListRepositoryLinksOutput {
1285
- /**
1286
- * @public
1287
- * <p>Lists the repository links called by the list repository links operation.</p>
1288
- */
1289
- RepositoryLinks: RepositoryLinkInfo[] | undefined;
1290
- /**
1291
- * @public
1292
- * <p>An enumeration token that allows the operation to batch the results of the operation. </p>
1293
- */
1294
- NextToken?: string;
1295
- }
1296
- /**
1297
- * @public
1298
- */
1299
- export interface ListRepositorySyncDefinitionsInput {
1300
- /**
1301
- * @public
1302
- * <p>The ID of the repository link for the sync definition for which you want to retrieve information.</p>
1303
- */
1304
- RepositoryLinkId: string | undefined;
1305
- /**
1306
- * @public
1307
- * <p>The sync type of the repository link for the the sync definition for which you want to retrieve information.</p>
1308
- */
1309
- SyncType: SyncConfigurationType | undefined;
1310
- }
1311
- /**
1312
- * @public
1313
- * <p>The definition for a repository with a sync configuration.</p>
1314
- */
1315
- export interface RepositorySyncDefinition {
1316
- /**
1317
- * @public
1318
- * <p>The branch specified for a repository sync definition.</p>
1319
- */
1320
- Branch: string | undefined;
1321
- /**
1322
- * @public
1323
- * <p>The configuration file for a repository sync definition. This value comes from creating
1324
- * or updating the <code>config-file</code> field of a <code>sync-configuration</code>.</p>
1325
- */
1326
- Directory: string | undefined;
1327
- /**
1328
- * @public
1329
- * <p>The parent resource specified for a repository sync definition.</p>
1330
- */
1331
- Parent: string | undefined;
1332
- /**
1333
- * @public
1334
- * <p>The target resource specified for a repository sync definition. In some cases, such as CFN_STACK_SYNC, the parent and target resource are the same.</p>
1335
- */
1336
- Target: string | undefined;
1337
- }
1338
- /**
1339
- * @public
1340
- */
1341
- export interface ListRepositorySyncDefinitionsOutput {
1342
- /**
1343
- * @public
1344
- * <p>The list of repository sync definitions returned by the request. A
1345
- * <code>RepositorySyncDefinition</code> is a mapping from a repository branch to all the
1346
- * Amazon Web Services resources that are being synced from that branch.</p>
1347
- */
1348
- RepositorySyncDefinitions: RepositorySyncDefinition[] | undefined;
1349
- /**
1350
- * @public
1351
- * <p>An enumeration token that, when provided in a request, returns the next batch of the
1352
- * results.</p>
1353
- */
1354
- NextToken?: string;
1355
- }
1356
- /**
1357
- * @public
1358
- */
1359
- export interface ListSyncConfigurationsInput {
1360
- /**
1361
- * @public
1362
- * <p>A non-zero, non-negative integer used to limit the number of returned results.</p>
1363
- */
1364
- MaxResults?: number;
1365
- /**
1366
- * @public
1367
- * <p>An enumeration token that allows the operation to batch the results of the operation.</p>
1368
- */
1369
- NextToken?: string;
1370
- /**
1371
- * @public
1372
- * <p>The ID of the repository link for the requested list of sync configurations.</p>
1373
- */
1374
- RepositoryLinkId: string | undefined;
1375
- /**
1376
- * @public
1377
- * <p>The sync type for the requested list of sync configurations.</p>
1378
- */
1379
- SyncType: SyncConfigurationType | undefined;
1380
- }
1381
- /**
1382
- * @public
1383
- */
1384
- export interface ListSyncConfigurationsOutput {
1385
- /**
1386
- * @public
1387
- * <p>The list of repository sync definitions returned by the request.</p>
1388
- */
1389
- SyncConfigurations: SyncConfiguration[] | undefined;
1390
- /**
1391
- * @public
1392
- * <p>An enumeration token that allows the operation to batch the next results of the operation.</p>
1393
- */
1394
- NextToken?: string;
1395
- }
1396
468
  /**
1397
469
  * @public
1398
470
  */
@@ -1505,176 +577,3 @@ export interface UpdateHostInput {
1505
577
  */
1506
578
  export interface UpdateHostOutput {
1507
579
  }
1508
- /**
1509
- * @public
1510
- * <p>The conditional check failed. Try again later.</p>
1511
- */
1512
- export declare class ConditionalCheckFailedException extends __BaseException {
1513
- readonly name: "ConditionalCheckFailedException";
1514
- readonly $fault: "client";
1515
- Message?: string;
1516
- /**
1517
- * @internal
1518
- */
1519
- constructor(opts: __ExceptionOptionType<ConditionalCheckFailedException, __BaseException>);
1520
- }
1521
- /**
1522
- * @public
1523
- * <p>The update is out of sync. Try syncing again.</p>
1524
- */
1525
- export declare class UpdateOutOfSyncException extends __BaseException {
1526
- readonly name: "UpdateOutOfSyncException";
1527
- readonly $fault: "client";
1528
- Message?: string;
1529
- /**
1530
- * @internal
1531
- */
1532
- constructor(opts: __ExceptionOptionType<UpdateOutOfSyncException, __BaseException>);
1533
- }
1534
- /**
1535
- * @public
1536
- */
1537
- export interface UpdateRepositoryLinkInput {
1538
- /**
1539
- * @public
1540
- * <p>The Amazon Resource Name (ARN) of the connection for the repository link to be updated. The updated connection ARN must have the same providerType (such as GitHub) as the original connection ARN for the repo link.</p>
1541
- */
1542
- ConnectionArn?: string;
1543
- /**
1544
- * @public
1545
- * <p>The Amazon Resource Name (ARN) of the encryption key for the repository link to be updated.</p>
1546
- */
1547
- EncryptionKeyArn?: string;
1548
- /**
1549
- * @public
1550
- * <p>The ID of the repository link to be updated.</p>
1551
- */
1552
- RepositoryLinkId: string | undefined;
1553
- }
1554
- /**
1555
- * @public
1556
- */
1557
- export interface UpdateRepositoryLinkOutput {
1558
- /**
1559
- * @public
1560
- * <p>Information about the repository link to be updated.</p>
1561
- */
1562
- RepositoryLinkInfo: RepositoryLinkInfo | undefined;
1563
- }
1564
- /**
1565
- * @public
1566
- * <p>Retrying the latest commit failed. Try again later.</p>
1567
- */
1568
- export declare class RetryLatestCommitFailedException extends __BaseException {
1569
- readonly name: "RetryLatestCommitFailedException";
1570
- readonly $fault: "server";
1571
- Message?: string;
1572
- /**
1573
- * @internal
1574
- */
1575
- constructor(opts: __ExceptionOptionType<RetryLatestCommitFailedException, __BaseException>);
1576
- }
1577
- /**
1578
- * @public
1579
- * <p>Unable to continue. The sync blocker does not exist.</p>
1580
- */
1581
- export declare class SyncBlockerDoesNotExistException extends __BaseException {
1582
- readonly name: "SyncBlockerDoesNotExistException";
1583
- readonly $fault: "client";
1584
- Message?: string;
1585
- /**
1586
- * @internal
1587
- */
1588
- constructor(opts: __ExceptionOptionType<SyncBlockerDoesNotExistException, __BaseException>);
1589
- }
1590
- /**
1591
- * @public
1592
- */
1593
- export interface UpdateSyncBlockerInput {
1594
- /**
1595
- * @public
1596
- * <p>The ID of the sync blocker to be updated.</p>
1597
- */
1598
- Id: string | undefined;
1599
- /**
1600
- * @public
1601
- * <p>The sync type of the sync blocker to be updated.</p>
1602
- */
1603
- SyncType: SyncConfigurationType | undefined;
1604
- /**
1605
- * @public
1606
- * <p>The name of the resource for the sync blocker to be updated.</p>
1607
- */
1608
- ResourceName: string | undefined;
1609
- /**
1610
- * @public
1611
- * <p>The reason for resolving the sync blocker.</p>
1612
- */
1613
- ResolvedReason: string | undefined;
1614
- }
1615
- /**
1616
- * @public
1617
- */
1618
- export interface UpdateSyncBlockerOutput {
1619
- /**
1620
- * @public
1621
- * <p>The resource name for the sync blocker.</p>
1622
- */
1623
- ResourceName: string | undefined;
1624
- /**
1625
- * @public
1626
- * <p>The parent resource name for the sync blocker.</p>
1627
- */
1628
- ParentResourceName?: string;
1629
- /**
1630
- * @public
1631
- * <p>Information about the sync blocker to be updated.</p>
1632
- */
1633
- SyncBlocker: SyncBlocker | undefined;
1634
- }
1635
- /**
1636
- * @public
1637
- */
1638
- export interface UpdateSyncConfigurationInput {
1639
- /**
1640
- * @public
1641
- * <p>The branch for the sync configuration to be updated.</p>
1642
- */
1643
- Branch?: string;
1644
- /**
1645
- * @public
1646
- * <p>The configuration file for the sync configuration to be updated.</p>
1647
- */
1648
- ConfigFile?: string;
1649
- /**
1650
- * @public
1651
- * <p>The ID of the repository link for the sync configuration to be updated.</p>
1652
- */
1653
- RepositoryLinkId?: string;
1654
- /**
1655
- * @public
1656
- * <p>The name of the Amazon Web Services resource for the sync configuration to be
1657
- * updated.</p>
1658
- */
1659
- ResourceName: string | undefined;
1660
- /**
1661
- * @public
1662
- * <p>The ARN of the IAM role for the sync configuration to be updated.</p>
1663
- */
1664
- RoleArn?: string;
1665
- /**
1666
- * @public
1667
- * <p>The sync type for the sync configuration to be updated.</p>
1668
- */
1669
- SyncType: SyncConfigurationType | undefined;
1670
- }
1671
- /**
1672
- * @public
1673
- */
1674
- export interface UpdateSyncConfigurationOutput {
1675
- /**
1676
- * @public
1677
- * <p>The information returned for the sync configuration to be updated.</p>
1678
- */
1679
- SyncConfiguration: SyncConfiguration | undefined;
1680
- }