@aws-sdk/client-codecommit 3.378.0 → 3.382.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.
@@ -31,16 +31,19 @@ export type SortByEnum = (typeof SortByEnum)[keyof typeof SortByEnum];
31
31
  */
32
32
  export interface ListRepositoriesInput {
33
33
  /**
34
+ * @public
34
35
  * <p>An enumeration token that allows the operation to batch the results of the operation.
35
36
  * Batch sizes are 1,000 for list repository operations. When the client sends the token back to AWS CodeCommit,
36
37
  * another page of 1,000 records is retrieved.</p>
37
38
  */
38
39
  nextToken?: string;
39
40
  /**
41
+ * @public
40
42
  * <p>The criteria used to sort the results of a list repositories operation.</p>
41
43
  */
42
44
  sortBy?: SortByEnum | string;
43
45
  /**
46
+ * @public
44
47
  * <p>The order in which to sort the results of a list repositories operation.</p>
45
48
  */
46
49
  order?: OrderEnum | string;
@@ -51,10 +54,12 @@ export interface ListRepositoriesInput {
51
54
  */
52
55
  export interface RepositoryNameIdPair {
53
56
  /**
57
+ * @public
54
58
  * <p>The name associated with the repository.</p>
55
59
  */
56
60
  repositoryName?: string;
57
61
  /**
62
+ * @public
58
63
  * <p>The ID associated with the repository.</p>
59
64
  */
60
65
  repositoryId?: string;
@@ -65,10 +70,12 @@ export interface RepositoryNameIdPair {
65
70
  */
66
71
  export interface ListRepositoriesOutput {
67
72
  /**
73
+ * @public
68
74
  * <p>Lists the repositories called by the list repositories operation.</p>
69
75
  */
70
76
  repositories?: RepositoryNameIdPair[];
71
77
  /**
78
+ * @public
72
79
  * <p>An enumeration token that allows the operation to batch the results of the operation.
73
80
  * Batch sizes are 1,000 for list repository operations. When the client sends the token back to AWS CodeCommit,
74
81
  * another page of 1,000 records is retrieved.</p>
@@ -80,15 +87,18 @@ export interface ListRepositoriesOutput {
80
87
  */
81
88
  export interface ListRepositoriesForApprovalRuleTemplateInput {
82
89
  /**
90
+ * @public
83
91
  * <p>The name of the approval rule template for which you want to list repositories that are associated with that template.</p>
84
92
  */
85
93
  approvalRuleTemplateName: string | undefined;
86
94
  /**
95
+ * @public
87
96
  * <p>An enumeration token that, when provided in a request, returns the next batch of the
88
97
  * results.</p>
89
98
  */
90
99
  nextToken?: string;
91
100
  /**
101
+ * @public
92
102
  * <p>A non-zero, non-negative integer used to limit the number of returned results.</p>
93
103
  */
94
104
  maxResults?: number;
@@ -98,10 +108,12 @@ export interface ListRepositoriesForApprovalRuleTemplateInput {
98
108
  */
99
109
  export interface ListRepositoriesForApprovalRuleTemplateOutput {
100
110
  /**
111
+ * @public
101
112
  * <p>A list of repository names that are associated with the specified approval rule template.</p>
102
113
  */
103
114
  repositoryNames?: string[];
104
115
  /**
116
+ * @public
105
117
  * <p>An enumeration token that allows the operation to batch the next results of the operation.</p>
106
118
  */
107
119
  nextToken?: string;
@@ -125,11 +137,13 @@ export declare class InvalidResourceArnException extends __BaseException {
125
137
  */
126
138
  export interface ListTagsForResourceInput {
127
139
  /**
140
+ * @public
128
141
  * <p>The Amazon Resource Name (ARN) of the resource for which you want to get information
129
142
  * about tags, if any.</p>
130
143
  */
131
144
  resourceArn: string | undefined;
132
145
  /**
146
+ * @public
133
147
  * <p>An enumeration token that, when provided in a request, returns the next batch of the
134
148
  * results.</p>
135
149
  */
@@ -140,10 +154,12 @@ export interface ListTagsForResourceInput {
140
154
  */
141
155
  export interface ListTagsForResourceOutput {
142
156
  /**
157
+ * @public
143
158
  * <p>A list of tag key and value pairs associated with the specified resource.</p>
144
159
  */
145
160
  tags?: Record<string, string>;
146
161
  /**
162
+ * @public
147
163
  * <p>An enumeration token that allows the operation to batch the next results of the operation.</p>
148
164
  */
149
165
  nextToken?: string;
@@ -179,20 +195,24 @@ export declare class InvalidTargetBranchException extends __BaseException {
179
195
  */
180
196
  export interface MergeBranchesByFastForwardInput {
181
197
  /**
198
+ * @public
182
199
  * <p>The name of the repository where you want to merge two branches.</p>
183
200
  */
184
201
  repositoryName: string | undefined;
185
202
  /**
203
+ * @public
186
204
  * <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
187
205
  * (for example, a branch name or a full commit ID).</p>
188
206
  */
189
207
  sourceCommitSpecifier: string | undefined;
190
208
  /**
209
+ * @public
191
210
  * <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
192
211
  * (for example, a branch name or a full commit ID).</p>
193
212
  */
194
213
  destinationCommitSpecifier: string | undefined;
195
214
  /**
215
+ * @public
196
216
  * <p>The branch where the merge is applied.</p>
197
217
  */
198
218
  targetBranch?: string;
@@ -202,10 +222,12 @@ export interface MergeBranchesByFastForwardInput {
202
222
  */
203
223
  export interface MergeBranchesByFastForwardOutput {
204
224
  /**
225
+ * @public
205
226
  * <p>The commit ID of the merge in the destination or target branch.</p>
206
227
  */
207
228
  commitId?: string;
208
229
  /**
230
+ * @public
209
231
  * <p>The tree ID of the merge in the destination or target branch.</p>
210
232
  */
211
233
  treeId?: string;
@@ -215,24 +237,29 @@ export interface MergeBranchesByFastForwardOutput {
215
237
  */
216
238
  export interface MergeBranchesBySquashInput {
217
239
  /**
240
+ * @public
218
241
  * <p>The name of the repository where you want to merge two branches.</p>
219
242
  */
220
243
  repositoryName: string | undefined;
221
244
  /**
245
+ * @public
222
246
  * <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
223
247
  * (for example, a branch name or a full commit ID).</p>
224
248
  */
225
249
  sourceCommitSpecifier: string | undefined;
226
250
  /**
251
+ * @public
227
252
  * <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
228
253
  * (for example, a branch name or a full commit ID).</p>
229
254
  */
230
255
  destinationCommitSpecifier: string | undefined;
231
256
  /**
257
+ * @public
232
258
  * <p>The branch where the merge is applied. </p>
233
259
  */
234
260
  targetBranch?: string;
235
261
  /**
262
+ * @public
236
263
  * <p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used,
237
264
  * which returns a not-mergeable result if the same file has differences in both branches.
238
265
  * If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in
@@ -240,32 +267,38 @@ export interface MergeBranchesBySquashInput {
240
267
  */
241
268
  conflictDetailLevel?: ConflictDetailLevelTypeEnum | string;
242
269
  /**
270
+ * @public
243
271
  * <p>Specifies which branch to use when resolving conflicts, or whether to attempt
244
272
  * automatically merging two versions of a file. The default is NONE, which requires any
245
273
  * conflicts to be resolved manually before the merge operation is successful.</p>
246
274
  */
247
275
  conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | string;
248
276
  /**
277
+ * @public
249
278
  * <p>The name of the author who created the commit. This information is used as both the
250
279
  * author and committer for the commit.</p>
251
280
  */
252
281
  authorName?: string;
253
282
  /**
283
+ * @public
254
284
  * <p>The email address of the person merging the branches. This information is used in the
255
285
  * commit information for the merge.</p>
256
286
  */
257
287
  email?: string;
258
288
  /**
289
+ * @public
259
290
  * <p>The commit message for the merge.</p>
260
291
  */
261
292
  commitMessage?: string;
262
293
  /**
294
+ * @public
263
295
  * <p>If the commit contains deletions, whether to keep a folder or folder structure if the
264
296
  * changes leave the folders empty. If this is specified as true, a .gitkeep file is
265
297
  * created for empty folders. The default is false.</p>
266
298
  */
267
299
  keepEmptyFolders?: boolean;
268
300
  /**
301
+ * @public
269
302
  * <p>If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when
270
303
  * resolving conflicts during a merge.</p>
271
304
  */
@@ -276,10 +309,12 @@ export interface MergeBranchesBySquashInput {
276
309
  */
277
310
  export interface MergeBranchesBySquashOutput {
278
311
  /**
312
+ * @public
279
313
  * <p>The commit ID of the merge in the destination or target branch.</p>
280
314
  */
281
315
  commitId?: string;
282
316
  /**
317
+ * @public
283
318
  * <p>The tree ID of the merge in the destination or target branch.</p>
284
319
  */
285
320
  treeId?: string;
@@ -289,24 +324,29 @@ export interface MergeBranchesBySquashOutput {
289
324
  */
290
325
  export interface MergeBranchesByThreeWayInput {
291
326
  /**
327
+ * @public
292
328
  * <p>The name of the repository where you want to merge two branches.</p>
293
329
  */
294
330
  repositoryName: string | undefined;
295
331
  /**
332
+ * @public
296
333
  * <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
297
334
  * (for example, a branch name or a full commit ID).</p>
298
335
  */
299
336
  sourceCommitSpecifier: string | undefined;
300
337
  /**
338
+ * @public
301
339
  * <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
302
340
  * (for example, a branch name or a full commit ID).</p>
303
341
  */
304
342
  destinationCommitSpecifier: string | undefined;
305
343
  /**
344
+ * @public
306
345
  * <p>The branch where the merge is applied. </p>
307
346
  */
308
347
  targetBranch?: string;
309
348
  /**
349
+ * @public
310
350
  * <p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used,
311
351
  * which returns a not-mergeable result if the same file has differences in both branches.
312
352
  * If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in
@@ -314,32 +354,38 @@ export interface MergeBranchesByThreeWayInput {
314
354
  */
315
355
  conflictDetailLevel?: ConflictDetailLevelTypeEnum | string;
316
356
  /**
357
+ * @public
317
358
  * <p>Specifies which branch to use when resolving conflicts, or whether to attempt
318
359
  * automatically merging two versions of a file. The default is NONE, which requires any
319
360
  * conflicts to be resolved manually before the merge operation is successful.</p>
320
361
  */
321
362
  conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | string;
322
363
  /**
364
+ * @public
323
365
  * <p>The name of the author who created the commit. This information is used as both the
324
366
  * author and committer for the commit.</p>
325
367
  */
326
368
  authorName?: string;
327
369
  /**
370
+ * @public
328
371
  * <p>The email address of the person merging the branches. This information is used in the
329
372
  * commit information for the merge.</p>
330
373
  */
331
374
  email?: string;
332
375
  /**
376
+ * @public
333
377
  * <p>The commit message to include in the commit information for the merge.</p>
334
378
  */
335
379
  commitMessage?: string;
336
380
  /**
381
+ * @public
337
382
  * <p>If the commit contains deletions, whether to keep a folder or folder structure if the
338
383
  * changes leave the folders empty. If true, a .gitkeep file is created for empty folders.
339
384
  * The default is false.</p>
340
385
  */
341
386
  keepEmptyFolders?: boolean;
342
387
  /**
388
+ * @public
343
389
  * <p>If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when
344
390
  * resolving conflicts during a merge.</p>
345
391
  */
@@ -350,10 +396,12 @@ export interface MergeBranchesByThreeWayInput {
350
396
  */
351
397
  export interface MergeBranchesByThreeWayOutput {
352
398
  /**
399
+ * @public
353
400
  * <p>The commit ID of the merge in the destination or target branch.</p>
354
401
  */
355
402
  commitId?: string;
356
403
  /**
404
+ * @public
357
405
  * <p>The tree ID of the merge in the destination or target branch.</p>
358
406
  */
359
407
  treeId?: string;
@@ -363,14 +411,17 @@ export interface MergeBranchesByThreeWayOutput {
363
411
  */
364
412
  export interface MergePullRequestByFastForwardInput {
365
413
  /**
414
+ * @public
366
415
  * <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
367
416
  */
368
417
  pullRequestId: string | undefined;
369
418
  /**
419
+ * @public
370
420
  * <p>The name of the repository where the pull request was created.</p>
371
421
  */
372
422
  repositoryName: string | undefined;
373
423
  /**
424
+ * @public
374
425
  * <p>The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an
375
426
  * exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.</p>
376
427
  */
@@ -381,6 +432,7 @@ export interface MergePullRequestByFastForwardInput {
381
432
  */
382
433
  export interface MergePullRequestByFastForwardOutput {
383
434
  /**
435
+ * @public
384
436
  * <p>Information about the specified pull request, including the merge.</p>
385
437
  */
386
438
  pullRequest?: PullRequest;
@@ -415,19 +467,23 @@ export declare class TipOfSourceReferenceIsDifferentException extends __BaseExce
415
467
  */
416
468
  export interface MergePullRequestBySquashInput {
417
469
  /**
470
+ * @public
418
471
  * <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
419
472
  */
420
473
  pullRequestId: string | undefined;
421
474
  /**
475
+ * @public
422
476
  * <p>The name of the repository where the pull request was created.</p>
423
477
  */
424
478
  repositoryName: string | undefined;
425
479
  /**
480
+ * @public
426
481
  * <p>The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an
427
482
  * exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.</p>
428
483
  */
429
484
  sourceCommitId?: string;
430
485
  /**
486
+ * @public
431
487
  * <p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used,
432
488
  * which returns a not-mergeable result if the same file has differences in both branches.
433
489
  * If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in
@@ -435,32 +491,38 @@ export interface MergePullRequestBySquashInput {
435
491
  */
436
492
  conflictDetailLevel?: ConflictDetailLevelTypeEnum | string;
437
493
  /**
494
+ * @public
438
495
  * <p>Specifies which branch to use when resolving conflicts, or whether to attempt
439
496
  * automatically merging two versions of a file. The default is NONE, which requires any
440
497
  * conflicts to be resolved manually before the merge operation is successful.</p>
441
498
  */
442
499
  conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | string;
443
500
  /**
501
+ * @public
444
502
  * <p>The commit message to include in the commit information for the merge.</p>
445
503
  */
446
504
  commitMessage?: string;
447
505
  /**
506
+ * @public
448
507
  * <p>The name of the author who created the commit. This information is used as both the
449
508
  * author and committer for the commit.</p>
450
509
  */
451
510
  authorName?: string;
452
511
  /**
512
+ * @public
453
513
  * <p>The email address of the person merging the branches. This information is used in the
454
514
  * commit information for the merge.</p>
455
515
  */
456
516
  email?: string;
457
517
  /**
518
+ * @public
458
519
  * <p>If the commit contains deletions, whether to keep a folder or folder structure if the
459
520
  * changes leave the folders empty. If true, a .gitkeep file is created for empty folders.
460
521
  * The default is false.</p>
461
522
  */
462
523
  keepEmptyFolders?: boolean;
463
524
  /**
525
+ * @public
464
526
  * <p>If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when
465
527
  * resolving conflicts during a merge.</p>
466
528
  */
@@ -471,6 +533,7 @@ export interface MergePullRequestBySquashInput {
471
533
  */
472
534
  export interface MergePullRequestBySquashOutput {
473
535
  /**
536
+ * @public
474
537
  * <p>Returns information about a pull request.</p>
475
538
  */
476
539
  pullRequest?: PullRequest;
@@ -480,19 +543,23 @@ export interface MergePullRequestBySquashOutput {
480
543
  */
481
544
  export interface MergePullRequestByThreeWayInput {
482
545
  /**
546
+ * @public
483
547
  * <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
484
548
  */
485
549
  pullRequestId: string | undefined;
486
550
  /**
551
+ * @public
487
552
  * <p>The name of the repository where the pull request was created.</p>
488
553
  */
489
554
  repositoryName: string | undefined;
490
555
  /**
556
+ * @public
491
557
  * <p>The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an
492
558
  * exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.</p>
493
559
  */
494
560
  sourceCommitId?: string;
495
561
  /**
562
+ * @public
496
563
  * <p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used,
497
564
  * which returns a not-mergeable result if the same file has differences in both branches.
498
565
  * If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in
@@ -500,32 +567,38 @@ export interface MergePullRequestByThreeWayInput {
500
567
  */
501
568
  conflictDetailLevel?: ConflictDetailLevelTypeEnum | string;
502
569
  /**
570
+ * @public
503
571
  * <p>Specifies which branch to use when resolving conflicts, or whether to attempt
504
572
  * automatically merging two versions of a file. The default is NONE, which requires any
505
573
  * conflicts to be resolved manually before the merge operation is successful.</p>
506
574
  */
507
575
  conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | string;
508
576
  /**
577
+ * @public
509
578
  * <p>The commit message to include in the commit information for the merge.</p>
510
579
  */
511
580
  commitMessage?: string;
512
581
  /**
582
+ * @public
513
583
  * <p>The name of the author who created the commit. This information is used as both the
514
584
  * author and committer for the commit.</p>
515
585
  */
516
586
  authorName?: string;
517
587
  /**
588
+ * @public
518
589
  * <p>The email address of the person merging the branches. This information is used in the
519
590
  * commit information for the merge.</p>
520
591
  */
521
592
  email?: string;
522
593
  /**
594
+ * @public
523
595
  * <p>If the commit contains deletions, whether to keep a folder or folder structure if the
524
596
  * changes leave the folders empty. If true, a .gitkeep file is created for empty folders.
525
597
  * The default is false.</p>
526
598
  */
527
599
  keepEmptyFolders?: boolean;
528
600
  /**
601
+ * @public
529
602
  * <p>If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when
530
603
  * resolving conflicts during a merge.</p>
531
604
  */
@@ -536,6 +609,7 @@ export interface MergePullRequestByThreeWayInput {
536
609
  */
537
610
  export interface MergePullRequestByThreeWayOutput {
538
611
  /**
612
+ * @public
539
613
  * <p>Returns information about a pull request.</p>
540
614
  */
541
615
  pullRequest?: PullRequest;
@@ -569,17 +643,20 @@ export declare class OverrideAlreadySetException extends __BaseException {
569
643
  */
570
644
  export interface OverridePullRequestApprovalRulesInput {
571
645
  /**
646
+ * @public
572
647
  * <p>The system-generated ID of the pull request for which you want to override all
573
648
  * approval rule requirements. To get this information, use
574
649
  * <a>GetPullRequest</a>.</p>
575
650
  */
576
651
  pullRequestId: string | undefined;
577
652
  /**
653
+ * @public
578
654
  * <p>The system-generated ID of the most recent revision of the pull request. You cannot override approval rules for anything but the most recent revision of a pull request.
579
655
  * To get the revision ID, use GetPullRequest.</p>
580
656
  */
581
657
  revisionId: string | undefined;
582
658
  /**
659
+ * @public
583
660
  * <p>Whether you want to set aside approval rule requirements for the pull request (OVERRIDE) or revoke a previous override and apply
584
661
  * approval rule requirements (REVOKE). REVOKE status is not stored.</p>
585
662
  */
@@ -663,29 +740,35 @@ export declare class InvalidRelativeFileVersionEnumException extends __BaseExcep
663
740
  */
664
741
  export interface PostCommentForComparedCommitInput {
665
742
  /**
743
+ * @public
666
744
  * <p>The name of the repository where you want to post a comment on the comparison between commits.</p>
667
745
  */
668
746
  repositoryName: string | undefined;
669
747
  /**
748
+ * @public
670
749
  * <p>To establish the directionality of the comparison, the full commit ID of the before
671
750
  * commit. Required for commenting on any commit unless that commit is the initial
672
751
  * commit.</p>
673
752
  */
674
753
  beforeCommitId?: string;
675
754
  /**
755
+ * @public
676
756
  * <p>To establish the directionality of the comparison, the full commit ID of the after
677
757
  * commit.</p>
678
758
  */
679
759
  afterCommitId: string | undefined;
680
760
  /**
761
+ * @public
681
762
  * <p>The location of the comparison where you want to comment.</p>
682
763
  */
683
764
  location?: Location;
684
765
  /**
766
+ * @public
685
767
  * <p>The content of the comment you want to make.</p>
686
768
  */
687
769
  content: string | undefined;
688
770
  /**
771
+ * @public
689
772
  * <p>A unique, client-generated idempotency token that, when provided in a request, ensures
690
773
  * the request cannot be repeated with a changed parameter. If a request is received with
691
774
  * the same parameters and a token is included, the request returns information about the
@@ -698,30 +781,37 @@ export interface PostCommentForComparedCommitInput {
698
781
  */
699
782
  export interface PostCommentForComparedCommitOutput {
700
783
  /**
784
+ * @public
701
785
  * <p>The name of the repository where you posted a comment on the comparison between commits.</p>
702
786
  */
703
787
  repositoryName?: string;
704
788
  /**
789
+ * @public
705
790
  * <p>In the directionality you established, the full commit ID of the before commit.</p>
706
791
  */
707
792
  beforeCommitId?: string;
708
793
  /**
794
+ * @public
709
795
  * <p>In the directionality you established, the full commit ID of the after commit.</p>
710
796
  */
711
797
  afterCommitId?: string;
712
798
  /**
799
+ * @public
713
800
  * <p>In the directionality you established, the blob ID of the before blob.</p>
714
801
  */
715
802
  beforeBlobId?: string;
716
803
  /**
804
+ * @public
717
805
  * <p>In the directionality you established, the blob ID of the after blob.</p>
718
806
  */
719
807
  afterBlobId?: string;
720
808
  /**
809
+ * @public
721
810
  * <p>The location of the comment in the comparison between the two commits.</p>
722
811
  */
723
812
  location?: Location;
724
813
  /**
814
+ * @public
725
815
  * <p>The content of the comment you posted.</p>
726
816
  */
727
817
  comment?: Comment;
@@ -731,32 +821,39 @@ export interface PostCommentForComparedCommitOutput {
731
821
  */
732
822
  export interface PostCommentForPullRequestInput {
733
823
  /**
824
+ * @public
734
825
  * <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
735
826
  */
736
827
  pullRequestId: string | undefined;
737
828
  /**
829
+ * @public
738
830
  * <p>The name of the repository where you want to post a comment on a pull request.</p>
739
831
  */
740
832
  repositoryName: string | undefined;
741
833
  /**
834
+ * @public
742
835
  * <p>The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created.</p>
743
836
  */
744
837
  beforeCommitId: string | undefined;
745
838
  /**
839
+ * @public
746
840
  * <p>The full commit ID of the commit in the source branch that is the current tip of the branch for the pull request when you post the comment.</p>
747
841
  */
748
842
  afterCommitId: string | undefined;
749
843
  /**
844
+ * @public
750
845
  * <p>The location of the change where you want to post your comment. If no location is
751
846
  * provided, the comment is posted as a general comment on the pull request difference
752
847
  * between the before commit ID and the after commit ID.</p>
753
848
  */
754
849
  location?: Location;
755
850
  /**
851
+ * @public
756
852
  * <p>The content of your comment on the change.</p>
757
853
  */
758
854
  content: string | undefined;
759
855
  /**
856
+ * @public
760
857
  * <p>A unique, client-generated idempotency token that, when provided in a request, ensures
761
858
  * the request cannot be repeated with a changed parameter. If a request is received with
762
859
  * the same parameters and a token is included, the request returns information about the
@@ -769,36 +866,44 @@ export interface PostCommentForPullRequestInput {
769
866
  */
770
867
  export interface PostCommentForPullRequestOutput {
771
868
  /**
869
+ * @public
772
870
  * <p>The name of the repository where you posted a comment on a pull request.</p>
773
871
  */
774
872
  repositoryName?: string;
775
873
  /**
874
+ * @public
776
875
  * <p>The system-generated ID of the pull request. </p>
777
876
  */
778
877
  pullRequestId?: string;
779
878
  /**
879
+ * @public
780
880
  * <p>The full commit ID of the commit in the source branch used to create the pull request,
781
881
  * or in the case of an updated pull request, the full commit ID of the commit used to update the pull request.</p>
782
882
  */
783
883
  beforeCommitId?: string;
784
884
  /**
885
+ * @public
785
886
  * <p>The full commit ID of the commit in the destination branch where the pull request is
786
887
  * merged.</p>
787
888
  */
788
889
  afterCommitId?: string;
789
890
  /**
891
+ * @public
790
892
  * <p>In the directionality of the pull request, the blob ID of the before blob.</p>
791
893
  */
792
894
  beforeBlobId?: string;
793
895
  /**
896
+ * @public
794
897
  * <p>In the directionality of the pull request, the blob ID of the after blob.</p>
795
898
  */
796
899
  afterBlobId?: string;
797
900
  /**
901
+ * @public
798
902
  * <p>The location of the change where you posted your comment.</p>
799
903
  */
800
904
  location?: Location;
801
905
  /**
906
+ * @public
802
907
  * <p>The content of the comment you posted.</p>
803
908
  */
804
909
  comment?: Comment;
@@ -808,11 +913,13 @@ export interface PostCommentForPullRequestOutput {
808
913
  */
809
914
  export interface PostCommentReplyInput {
810
915
  /**
916
+ * @public
811
917
  * <p>The system-generated ID of the comment to which you want to reply. To get this ID, use <a>GetCommentsForComparedCommit</a>
812
918
  * or <a>GetCommentsForPullRequest</a>.</p>
813
919
  */
814
920
  inReplyTo: string | undefined;
815
921
  /**
922
+ * @public
816
923
  * <p>A unique, client-generated idempotency token that, when provided in a request, ensures
817
924
  * the request cannot be repeated with a changed parameter. If a request is received with
818
925
  * the same parameters and a token is included, the request returns information about the
@@ -820,6 +927,7 @@ export interface PostCommentReplyInput {
820
927
  */
821
928
  clientRequestToken?: string;
822
929
  /**
930
+ * @public
823
931
  * <p>The contents of your reply to a comment.</p>
824
932
  */
825
933
  content: string | undefined;
@@ -829,6 +937,7 @@ export interface PostCommentReplyInput {
829
937
  */
830
938
  export interface PostCommentReplyOutput {
831
939
  /**
940
+ * @public
832
941
  * <p>Information about the reply to a comment.</p>
833
942
  */
834
943
  comment?: Comment;
@@ -850,10 +959,12 @@ export declare class InvalidReactionValueException extends __BaseException {
850
959
  */
851
960
  export interface PutCommentReactionInput {
852
961
  /**
962
+ * @public
853
963
  * <p>The ID of the comment to which you want to add or update a reaction.</p>
854
964
  */
855
965
  commentId: string | undefined;
856
966
  /**
967
+ * @public
857
968
  * <p>The emoji reaction you want to add or update. To remove a reaction, provide a value of blank or null. You can also provide the value of none.
858
969
  * For information about emoji reaction values supported in AWS CodeCommit, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-commit-comment.html#emoji-reaction-table">AWS CodeCommit User Guide</a>.</p>
859
970
  */
@@ -900,19 +1011,23 @@ export declare class FileContentRequiredException extends __BaseException {
900
1011
  */
901
1012
  export interface PutFileInput {
902
1013
  /**
1014
+ * @public
903
1015
  * <p>The name of the repository where you want to add or update the file.</p>
904
1016
  */
905
1017
  repositoryName: string | undefined;
906
1018
  /**
1019
+ * @public
907
1020
  * <p>The name of the branch where you want to add or update the file. If this is an empty
908
1021
  * repository, this branch is created.</p>
909
1022
  */
910
1023
  branchName: string | undefined;
911
1024
  /**
1025
+ * @public
912
1026
  * <p>The content of the file, in binary object format. </p>
913
1027
  */
914
1028
  fileContent: Uint8Array | undefined;
915
1029
  /**
1030
+ * @public
916
1031
  * <p>The name of the file you want to add or update, including the relative path to the file in the repository.</p>
917
1032
  * <note>
918
1033
  * <p>If the path does not currently exist in the repository, the path is created as part of adding
@@ -921,11 +1036,13 @@ export interface PutFileInput {
921
1036
  */
922
1037
  filePath: string | undefined;
923
1038
  /**
1039
+ * @public
924
1040
  * <p>The file mode permissions of the blob. Valid file mode permissions are listed
925
1041
  * here.</p>
926
1042
  */
927
1043
  fileMode?: FileModeTypeEnum | string;
928
1044
  /**
1045
+ * @public
929
1046
  * <p>The full commit ID of the head commit in the branch where you want to add or update the file. If this is an empty repository,
930
1047
  * no commit ID is required. If this is not an empty repository, a commit ID is required. </p>
931
1048
  * <p>The commit ID must match the ID of the head commit at the time of the operation.
@@ -933,16 +1050,19 @@ export interface PutFileInput {
933
1050
  */
934
1051
  parentCommitId?: string;
935
1052
  /**
1053
+ * @public
936
1054
  * <p>A message about why this file was added or updated. Although it is optional, a message
937
1055
  * makes the commit history for your repository more useful.</p>
938
1056
  */
939
1057
  commitMessage?: string;
940
1058
  /**
1059
+ * @public
941
1060
  * <p>The name of the person adding or updating the file. Although it is optional, a name
942
1061
  * makes the commit history for your repository more useful.</p>
943
1062
  */
944
1063
  name?: string;
945
1064
  /**
1065
+ * @public
946
1066
  * <p>An email address for the person adding or updating the file.</p>
947
1067
  */
948
1068
  email?: string;
@@ -952,14 +1072,17 @@ export interface PutFileInput {
952
1072
  */
953
1073
  export interface PutFileOutput {
954
1074
  /**
1075
+ * @public
955
1076
  * <p>The full SHA ID of the commit that contains this file change.</p>
956
1077
  */
957
1078
  commitId: string | undefined;
958
1079
  /**
1080
+ * @public
959
1081
  * <p>The ID of the blob, which is its SHA-1 pointer.</p>
960
1082
  */
961
1083
  blobId: string | undefined;
962
1084
  /**
1085
+ * @public
963
1086
  * <p>The full SHA-1 pointer of the tree information for the commit that contains this file change.</p>
964
1087
  */
965
1088
  treeId: string | undefined;
@@ -1081,10 +1204,12 @@ export declare class MaximumRepositoryTriggersExceededException extends __BaseEx
1081
1204
  */
1082
1205
  export interface PutRepositoryTriggersInput {
1083
1206
  /**
1207
+ * @public
1084
1208
  * <p>The name of the repository where you want to create or update the trigger.</p>
1085
1209
  */
1086
1210
  repositoryName: string | undefined;
1087
1211
  /**
1212
+ * @public
1088
1213
  * <p>The JSON block of configuration information for each trigger.</p>
1089
1214
  */
1090
1215
  triggers: RepositoryTrigger[] | undefined;
@@ -1095,6 +1220,7 @@ export interface PutRepositoryTriggersInput {
1095
1220
  */
1096
1221
  export interface PutRepositoryTriggersOutput {
1097
1222
  /**
1223
+ * @public
1098
1224
  * <p>The system-generated unique ID for the create or update operation.</p>
1099
1225
  */
1100
1226
  configurationId?: string;
@@ -1166,10 +1292,12 @@ export declare class RepositoryTriggersListRequiredException extends __BaseExcep
1166
1292
  */
1167
1293
  export interface TagResourceInput {
1168
1294
  /**
1295
+ * @public
1169
1296
  * <p>The Amazon Resource Name (ARN) of the resource to which you want to add or update tags.</p>
1170
1297
  */
1171
1298
  resourceArn: string | undefined;
1172
1299
  /**
1300
+ * @public
1173
1301
  * <p>The key-value pair to use when tagging this repository.</p>
1174
1302
  */
1175
1303
  tags: Record<string, string> | undefined;
@@ -1192,10 +1320,12 @@ export declare class TagsMapRequiredException extends __BaseException {
1192
1320
  */
1193
1321
  export interface TestRepositoryTriggersInput {
1194
1322
  /**
1323
+ * @public
1195
1324
  * <p>The name of the repository in which to test the triggers.</p>
1196
1325
  */
1197
1326
  repositoryName: string | undefined;
1198
1327
  /**
1328
+ * @public
1199
1329
  * <p>The list of triggers to test.</p>
1200
1330
  */
1201
1331
  triggers: RepositoryTrigger[] | undefined;
@@ -1206,10 +1336,12 @@ export interface TestRepositoryTriggersInput {
1206
1336
  */
1207
1337
  export interface RepositoryTriggerExecutionFailure {
1208
1338
  /**
1339
+ * @public
1209
1340
  * <p>The name of the trigger that did not run.</p>
1210
1341
  */
1211
1342
  trigger?: string;
1212
1343
  /**
1344
+ * @public
1213
1345
  * <p>Message information about the trigger that did not run.</p>
1214
1346
  */
1215
1347
  failureMessage?: string;
@@ -1220,10 +1352,12 @@ export interface RepositoryTriggerExecutionFailure {
1220
1352
  */
1221
1353
  export interface TestRepositoryTriggersOutput {
1222
1354
  /**
1355
+ * @public
1223
1356
  * <p>The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.</p>
1224
1357
  */
1225
1358
  successfulExecutions?: string[];
1226
1359
  /**
1360
+ * @public
1227
1361
  * <p>The list of triggers that were not tested. This list provides the names of the
1228
1362
  * triggers that could not be tested, separated by commas.</p>
1229
1363
  */
@@ -1258,10 +1392,12 @@ export declare class TagKeysListRequiredException extends __BaseException {
1258
1392
  */
1259
1393
  export interface UntagResourceInput {
1260
1394
  /**
1395
+ * @public
1261
1396
  * <p>The Amazon Resource Name (ARN) of the resource to which you want to remove tags.</p>
1262
1397
  */
1263
1398
  resourceArn: string | undefined;
1264
1399
  /**
1400
+ * @public
1265
1401
  * <p>The tag key for each tag that you want to remove from the resource.</p>
1266
1402
  */
1267
1403
  tagKeys: string[] | undefined;
@@ -1283,15 +1419,18 @@ export declare class InvalidRuleContentSha256Exception extends __BaseException {
1283
1419
  */
1284
1420
  export interface UpdateApprovalRuleTemplateContentInput {
1285
1421
  /**
1422
+ * @public
1286
1423
  * <p>The name of the approval rule template where you want to update the content of the rule. </p>
1287
1424
  */
1288
1425
  approvalRuleTemplateName: string | undefined;
1289
1426
  /**
1427
+ * @public
1290
1428
  * <p>The content that replaces the existing content of the rule. Content statements must be
1291
1429
  * complete. You cannot provide only the changes.</p>
1292
1430
  */
1293
1431
  newRuleContent: string | undefined;
1294
1432
  /**
1433
+ * @public
1295
1434
  * <p>The SHA-256 hash signature for the content of the approval rule. You can retrieve this
1296
1435
  * information by using
1297
1436
  * <a>GetPullRequest</a>.</p>
@@ -1303,6 +1442,7 @@ export interface UpdateApprovalRuleTemplateContentInput {
1303
1442
  */
1304
1443
  export interface UpdateApprovalRuleTemplateContentOutput {
1305
1444
  /**
1445
+ * @public
1306
1446
  * <p>Returns information about an approval rule template.</p>
1307
1447
  */
1308
1448
  approvalRuleTemplate: ApprovalRuleTemplate | undefined;
@@ -1312,10 +1452,12 @@ export interface UpdateApprovalRuleTemplateContentOutput {
1312
1452
  */
1313
1453
  export interface UpdateApprovalRuleTemplateDescriptionInput {
1314
1454
  /**
1455
+ * @public
1315
1456
  * <p>The name of the template for which you want to update the description.</p>
1316
1457
  */
1317
1458
  approvalRuleTemplateName: string | undefined;
1318
1459
  /**
1460
+ * @public
1319
1461
  * <p>The updated description of the approval rule template.</p>
1320
1462
  */
1321
1463
  approvalRuleTemplateDescription: string | undefined;
@@ -1325,6 +1467,7 @@ export interface UpdateApprovalRuleTemplateDescriptionInput {
1325
1467
  */
1326
1468
  export interface UpdateApprovalRuleTemplateDescriptionOutput {
1327
1469
  /**
1470
+ * @public
1328
1471
  * <p>The structure and content of the updated approval rule template.</p>
1329
1472
  */
1330
1473
  approvalRuleTemplate: ApprovalRuleTemplate | undefined;
@@ -1334,10 +1477,12 @@ export interface UpdateApprovalRuleTemplateDescriptionOutput {
1334
1477
  */
1335
1478
  export interface UpdateApprovalRuleTemplateNameInput {
1336
1479
  /**
1480
+ * @public
1337
1481
  * <p>The current name of the approval rule template.</p>
1338
1482
  */
1339
1483
  oldApprovalRuleTemplateName: string | undefined;
1340
1484
  /**
1485
+ * @public
1341
1486
  * <p>The new name you want to apply to the approval rule template.</p>
1342
1487
  */
1343
1488
  newApprovalRuleTemplateName: string | undefined;
@@ -1347,6 +1492,7 @@ export interface UpdateApprovalRuleTemplateNameInput {
1347
1492
  */
1348
1493
  export interface UpdateApprovalRuleTemplateNameOutput {
1349
1494
  /**
1495
+ * @public
1350
1496
  * <p>The structure and content of the updated approval rule template.</p>
1351
1497
  */
1352
1498
  approvalRuleTemplate: ApprovalRuleTemplate | undefined;
@@ -1368,11 +1514,13 @@ export declare class CommentNotCreatedByCallerException extends __BaseException
1368
1514
  */
1369
1515
  export interface UpdateCommentInput {
1370
1516
  /**
1517
+ * @public
1371
1518
  * <p>The system-generated ID of the comment you want to update. To get this ID, use <a>GetCommentsForComparedCommit</a>
1372
1519
  * or <a>GetCommentsForPullRequest</a>.</p>
1373
1520
  */
1374
1521
  commentId: string | undefined;
1375
1522
  /**
1523
+ * @public
1376
1524
  * <p>The updated content to replace the existing content of the comment.</p>
1377
1525
  */
1378
1526
  content: string | undefined;
@@ -1382,6 +1530,7 @@ export interface UpdateCommentInput {
1382
1530
  */
1383
1531
  export interface UpdateCommentOutput {
1384
1532
  /**
1533
+ * @public
1385
1534
  * <p>Information about the updated comment.</p>
1386
1535
  */
1387
1536
  comment?: Comment;
@@ -1392,10 +1541,12 @@ export interface UpdateCommentOutput {
1392
1541
  */
1393
1542
  export interface UpdateDefaultBranchInput {
1394
1543
  /**
1544
+ * @public
1395
1545
  * <p>The name of the repository to set or change the default branch for.</p>
1396
1546
  */
1397
1547
  repositoryName: string | undefined;
1398
1548
  /**
1549
+ * @public
1399
1550
  * <p>The name of the branch to set as the default.</p>
1400
1551
  */
1401
1552
  defaultBranchName: string | undefined;
@@ -1405,20 +1556,24 @@ export interface UpdateDefaultBranchInput {
1405
1556
  */
1406
1557
  export interface UpdatePullRequestApprovalRuleContentInput {
1407
1558
  /**
1559
+ * @public
1408
1560
  * <p>The system-generated ID of the pull request.</p>
1409
1561
  */
1410
1562
  pullRequestId: string | undefined;
1411
1563
  /**
1564
+ * @public
1412
1565
  * <p>The name of the approval rule you want to update.</p>
1413
1566
  */
1414
1567
  approvalRuleName: string | undefined;
1415
1568
  /**
1569
+ * @public
1416
1570
  * <p>The SHA-256 hash signature for the content of the approval rule. You can retrieve this
1417
1571
  * information by using
1418
1572
  * <a>GetPullRequest</a>.</p>
1419
1573
  */
1420
1574
  existingRuleContentSha256?: string;
1421
1575
  /**
1576
+ * @public
1422
1577
  * <p>The updated content for the approval rule.</p>
1423
1578
  * <note>
1424
1579
  * <p>When you update the content of the approval rule, you can specify approvers in an
@@ -1468,6 +1623,7 @@ export interface UpdatePullRequestApprovalRuleContentInput {
1468
1623
  */
1469
1624
  export interface UpdatePullRequestApprovalRuleContentOutput {
1470
1625
  /**
1626
+ * @public
1471
1627
  * <p>Information about the updated approval rule.</p>
1472
1628
  */
1473
1629
  approvalRule: ApprovalRule | undefined;
@@ -1514,14 +1670,17 @@ export declare class PullRequestCannotBeApprovedByAuthorException extends __Base
1514
1670
  */
1515
1671
  export interface UpdatePullRequestApprovalStateInput {
1516
1672
  /**
1673
+ * @public
1517
1674
  * <p>The system-generated ID of the pull request.</p>
1518
1675
  */
1519
1676
  pullRequestId: string | undefined;
1520
1677
  /**
1678
+ * @public
1521
1679
  * <p>The system-generated ID of the revision.</p>
1522
1680
  */
1523
1681
  revisionId: string | undefined;
1524
1682
  /**
1683
+ * @public
1525
1684
  * <p>The approval state to associate with the user on the pull request.</p>
1526
1685
  */
1527
1686
  approvalState: ApprovalState | string | undefined;
@@ -1531,10 +1690,12 @@ export interface UpdatePullRequestApprovalStateInput {
1531
1690
  */
1532
1691
  export interface UpdatePullRequestDescriptionInput {
1533
1692
  /**
1693
+ * @public
1534
1694
  * <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
1535
1695
  */
1536
1696
  pullRequestId: string | undefined;
1537
1697
  /**
1698
+ * @public
1538
1699
  * <p>The updated content of the description for the pull request. This content replaces the
1539
1700
  * existing description.</p>
1540
1701
  */
@@ -1545,6 +1706,7 @@ export interface UpdatePullRequestDescriptionInput {
1545
1706
  */
1546
1707
  export interface UpdatePullRequestDescriptionOutput {
1547
1708
  /**
1709
+ * @public
1548
1710
  * <p>Information about the updated pull request.</p>
1549
1711
  */
1550
1712
  pullRequest: PullRequest | undefined;
@@ -1578,10 +1740,12 @@ export declare class PullRequestStatusRequiredException extends __BaseException
1578
1740
  */
1579
1741
  export interface UpdatePullRequestStatusInput {
1580
1742
  /**
1743
+ * @public
1581
1744
  * <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
1582
1745
  */
1583
1746
  pullRequestId: string | undefined;
1584
1747
  /**
1748
+ * @public
1585
1749
  * <p>The status of the pull request. The only valid operations are to update the status
1586
1750
  * from <code>OPEN</code> to <code>OPEN</code>, <code>OPEN</code> to <code>CLOSED</code> or
1587
1751
  * from <code>CLOSED</code> to <code>CLOSED</code>.</p>
@@ -1593,6 +1757,7 @@ export interface UpdatePullRequestStatusInput {
1593
1757
  */
1594
1758
  export interface UpdatePullRequestStatusOutput {
1595
1759
  /**
1760
+ * @public
1596
1761
  * <p>Information about the pull request.</p>
1597
1762
  */
1598
1763
  pullRequest: PullRequest | undefined;
@@ -1602,10 +1767,12 @@ export interface UpdatePullRequestStatusOutput {
1602
1767
  */
1603
1768
  export interface UpdatePullRequestTitleInput {
1604
1769
  /**
1770
+ * @public
1605
1771
  * <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
1606
1772
  */
1607
1773
  pullRequestId: string | undefined;
1608
1774
  /**
1775
+ * @public
1609
1776
  * <p>The updated title of the pull request. This replaces the existing title.</p>
1610
1777
  */
1611
1778
  title: string | undefined;
@@ -1615,6 +1782,7 @@ export interface UpdatePullRequestTitleInput {
1615
1782
  */
1616
1783
  export interface UpdatePullRequestTitleOutput {
1617
1784
  /**
1785
+ * @public
1618
1786
  * <p>Information about the updated pull request.</p>
1619
1787
  */
1620
1788
  pullRequest: PullRequest | undefined;
@@ -1625,10 +1793,12 @@ export interface UpdatePullRequestTitleOutput {
1625
1793
  */
1626
1794
  export interface UpdateRepositoryDescriptionInput {
1627
1795
  /**
1796
+ * @public
1628
1797
  * <p>The name of the repository to set or change the comment or description for.</p>
1629
1798
  */
1630
1799
  repositoryName: string | undefined;
1631
1800
  /**
1801
+ * @public
1632
1802
  * <p>The new comment or description for the specified repository. Repository descriptions are limited to 1,000 characters.</p>
1633
1803
  */
1634
1804
  repositoryDescription?: string;
@@ -1639,10 +1809,12 @@ export interface UpdateRepositoryDescriptionInput {
1639
1809
  */
1640
1810
  export interface UpdateRepositoryNameInput {
1641
1811
  /**
1812
+ * @public
1642
1813
  * <p>The current name of the repository.</p>
1643
1814
  */
1644
1815
  oldName: string | undefined;
1645
1816
  /**
1817
+ * @public
1646
1818
  * <p>The new name for the repository.</p>
1647
1819
  */
1648
1820
  newName: string | undefined;