@aws-sdk/client-codecommit 3.379.1 → 3.385.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.
|
@@ -30,10 +30,12 @@ export type ApprovalState = (typeof ApprovalState)[keyof typeof ApprovalState];
|
|
|
30
30
|
*/
|
|
31
31
|
export interface Approval {
|
|
32
32
|
/**
|
|
33
|
+
* @public
|
|
33
34
|
* <p>The Amazon Resource Name (ARN) of the user.</p>
|
|
34
35
|
*/
|
|
35
36
|
userArn?: string;
|
|
36
37
|
/**
|
|
38
|
+
* @public
|
|
37
39
|
* <p>The state of the approval, APPROVE or REVOKE. REVOKE states are not stored.</p>
|
|
38
40
|
*/
|
|
39
41
|
approvalState?: ApprovalState | string;
|
|
@@ -44,10 +46,12 @@ export interface Approval {
|
|
|
44
46
|
*/
|
|
45
47
|
export interface OriginApprovalRuleTemplate {
|
|
46
48
|
/**
|
|
49
|
+
* @public
|
|
47
50
|
* <p>The ID of the template that created the approval rule.</p>
|
|
48
51
|
*/
|
|
49
52
|
approvalRuleTemplateId?: string;
|
|
50
53
|
/**
|
|
54
|
+
* @public
|
|
51
55
|
* <p>The name of the template that created the approval rule.</p>
|
|
52
56
|
*/
|
|
53
57
|
approvalRuleTemplateName?: string;
|
|
@@ -58,34 +62,42 @@ export interface OriginApprovalRuleTemplate {
|
|
|
58
62
|
*/
|
|
59
63
|
export interface ApprovalRule {
|
|
60
64
|
/**
|
|
65
|
+
* @public
|
|
61
66
|
* <p>The system-generated ID of the approval rule.</p>
|
|
62
67
|
*/
|
|
63
68
|
approvalRuleId?: string;
|
|
64
69
|
/**
|
|
70
|
+
* @public
|
|
65
71
|
* <p>The name of the approval rule.</p>
|
|
66
72
|
*/
|
|
67
73
|
approvalRuleName?: string;
|
|
68
74
|
/**
|
|
75
|
+
* @public
|
|
69
76
|
* <p>The content of the approval rule.</p>
|
|
70
77
|
*/
|
|
71
78
|
approvalRuleContent?: string;
|
|
72
79
|
/**
|
|
80
|
+
* @public
|
|
73
81
|
* <p>The SHA-256 hash signature for the content of the approval rule.</p>
|
|
74
82
|
*/
|
|
75
83
|
ruleContentSha256?: string;
|
|
76
84
|
/**
|
|
85
|
+
* @public
|
|
77
86
|
* <p>The date the approval rule was most recently changed, in timestamp format.</p>
|
|
78
87
|
*/
|
|
79
88
|
lastModifiedDate?: Date;
|
|
80
89
|
/**
|
|
90
|
+
* @public
|
|
81
91
|
* <p>The date the approval rule was created, in timestamp format.</p>
|
|
82
92
|
*/
|
|
83
93
|
creationDate?: Date;
|
|
84
94
|
/**
|
|
95
|
+
* @public
|
|
85
96
|
* <p>The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule.</p>
|
|
86
97
|
*/
|
|
87
98
|
lastModifiedUser?: string;
|
|
88
99
|
/**
|
|
100
|
+
* @public
|
|
89
101
|
* <p>The approval rule template used to create the rule.</p>
|
|
90
102
|
*/
|
|
91
103
|
originApprovalRuleTemplate?: OriginApprovalRuleTemplate;
|
|
@@ -120,14 +132,17 @@ export declare class ApprovalRuleDoesNotExistException extends __BaseException {
|
|
|
120
132
|
*/
|
|
121
133
|
export interface ApprovalRuleEventMetadata {
|
|
122
134
|
/**
|
|
135
|
+
* @public
|
|
123
136
|
* <p>The name of the approval rule.</p>
|
|
124
137
|
*/
|
|
125
138
|
approvalRuleName?: string;
|
|
126
139
|
/**
|
|
140
|
+
* @public
|
|
127
141
|
* <p>The system-generated ID of the approval rule.</p>
|
|
128
142
|
*/
|
|
129
143
|
approvalRuleId?: string;
|
|
130
144
|
/**
|
|
145
|
+
* @public
|
|
131
146
|
* <p>The content of the approval rule.</p>
|
|
132
147
|
*/
|
|
133
148
|
approvalRuleContent?: string;
|
|
@@ -175,10 +190,12 @@ export type OverrideStatus = (typeof OverrideStatus)[keyof typeof OverrideStatus
|
|
|
175
190
|
*/
|
|
176
191
|
export interface ApprovalRuleOverriddenEventMetadata {
|
|
177
192
|
/**
|
|
193
|
+
* @public
|
|
178
194
|
* <p>The revision ID of the pull request when the override event occurred.</p>
|
|
179
195
|
*/
|
|
180
196
|
revisionId?: string;
|
|
181
197
|
/**
|
|
198
|
+
* @public
|
|
182
199
|
* <p>The status of the override event.</p>
|
|
183
200
|
*/
|
|
184
201
|
overrideStatus?: OverrideStatus | string;
|
|
@@ -189,34 +206,42 @@ export interface ApprovalRuleOverriddenEventMetadata {
|
|
|
189
206
|
*/
|
|
190
207
|
export interface ApprovalRuleTemplate {
|
|
191
208
|
/**
|
|
209
|
+
* @public
|
|
192
210
|
* <p>The system-generated ID of the approval rule template.</p>
|
|
193
211
|
*/
|
|
194
212
|
approvalRuleTemplateId?: string;
|
|
195
213
|
/**
|
|
214
|
+
* @public
|
|
196
215
|
* <p>The name of the approval rule template.</p>
|
|
197
216
|
*/
|
|
198
217
|
approvalRuleTemplateName?: string;
|
|
199
218
|
/**
|
|
219
|
+
* @public
|
|
200
220
|
* <p>The description of the approval rule template.</p>
|
|
201
221
|
*/
|
|
202
222
|
approvalRuleTemplateDescription?: string;
|
|
203
223
|
/**
|
|
224
|
+
* @public
|
|
204
225
|
* <p>The content of the approval rule template.</p>
|
|
205
226
|
*/
|
|
206
227
|
approvalRuleTemplateContent?: string;
|
|
207
228
|
/**
|
|
229
|
+
* @public
|
|
208
230
|
* <p>The SHA-256 hash signature for the content of the approval rule template.</p>
|
|
209
231
|
*/
|
|
210
232
|
ruleContentSha256?: string;
|
|
211
233
|
/**
|
|
234
|
+
* @public
|
|
212
235
|
* <p>The date the approval rule template was most recently changed, in timestamp format.</p>
|
|
213
236
|
*/
|
|
214
237
|
lastModifiedDate?: Date;
|
|
215
238
|
/**
|
|
239
|
+
* @public
|
|
216
240
|
* <p>The date the approval rule template was created, in timestamp format.</p>
|
|
217
241
|
*/
|
|
218
242
|
creationDate?: Date;
|
|
219
243
|
/**
|
|
244
|
+
* @public
|
|
220
245
|
* <p>The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule template.</p>
|
|
221
246
|
*/
|
|
222
247
|
lastModifiedUser?: string;
|
|
@@ -291,10 +316,12 @@ export declare class ApprovalRuleTemplateNameRequiredException extends __BaseExc
|
|
|
291
316
|
*/
|
|
292
317
|
export interface ApprovalStateChangedEventMetadata {
|
|
293
318
|
/**
|
|
319
|
+
* @public
|
|
294
320
|
* <p>The revision ID of the pull request when the approval state changed.</p>
|
|
295
321
|
*/
|
|
296
322
|
revisionId?: string;
|
|
297
323
|
/**
|
|
324
|
+
* @public
|
|
298
325
|
* <p>The approval status for the pull request.</p>
|
|
299
326
|
*/
|
|
300
327
|
approvalStatus?: ApprovalState | string;
|
|
@@ -316,10 +343,12 @@ export declare class ApprovalStateRequiredException extends __BaseException {
|
|
|
316
343
|
*/
|
|
317
344
|
export interface AssociateApprovalRuleTemplateWithRepositoryInput {
|
|
318
345
|
/**
|
|
346
|
+
* @public
|
|
319
347
|
* <p>The name for the approval rule template. </p>
|
|
320
348
|
*/
|
|
321
349
|
approvalRuleTemplateName: string | undefined;
|
|
322
350
|
/**
|
|
351
|
+
* @public
|
|
323
352
|
* <p>The name of the repository that you want to associate with the template.</p>
|
|
324
353
|
*/
|
|
325
354
|
repositoryName: string | undefined;
|
|
@@ -471,10 +500,12 @@ export declare class AuthorDoesNotExistException extends __BaseException {
|
|
|
471
500
|
*/
|
|
472
501
|
export interface BatchAssociateApprovalRuleTemplateWithRepositoriesInput {
|
|
473
502
|
/**
|
|
503
|
+
* @public
|
|
474
504
|
* <p>The name of the template you want to associate with one or more repositories.</p>
|
|
475
505
|
*/
|
|
476
506
|
approvalRuleTemplateName: string | undefined;
|
|
477
507
|
/**
|
|
508
|
+
* @public
|
|
478
509
|
* <p>The names of the repositories you want to associate with the template.</p>
|
|
479
510
|
* <note>
|
|
480
511
|
* <p>The length constraint limit is for each string in the array. The array itself can be empty.</p>
|
|
@@ -488,14 +519,17 @@ export interface BatchAssociateApprovalRuleTemplateWithRepositoriesInput {
|
|
|
488
519
|
*/
|
|
489
520
|
export interface BatchAssociateApprovalRuleTemplateWithRepositoriesError {
|
|
490
521
|
/**
|
|
522
|
+
* @public
|
|
491
523
|
* <p>The name of the repository where the association was not made.</p>
|
|
492
524
|
*/
|
|
493
525
|
repositoryName?: string;
|
|
494
526
|
/**
|
|
527
|
+
* @public
|
|
495
528
|
* <p>An error code that specifies whether the repository name was not valid or not found.</p>
|
|
496
529
|
*/
|
|
497
530
|
errorCode?: string;
|
|
498
531
|
/**
|
|
532
|
+
* @public
|
|
499
533
|
* <p>An error message that provides details about why the repository name was not found or not valid.</p>
|
|
500
534
|
*/
|
|
501
535
|
errorMessage?: string;
|
|
@@ -505,10 +539,12 @@ export interface BatchAssociateApprovalRuleTemplateWithRepositoriesError {
|
|
|
505
539
|
*/
|
|
506
540
|
export interface BatchAssociateApprovalRuleTemplateWithRepositoriesOutput {
|
|
507
541
|
/**
|
|
542
|
+
* @public
|
|
508
543
|
* <p>A list of names of the repositories that have been associated with the template.</p>
|
|
509
544
|
*/
|
|
510
545
|
associatedRepositoryNames: string[] | undefined;
|
|
511
546
|
/**
|
|
547
|
+
* @public
|
|
512
548
|
* <p>A list of any errors that might have occurred while attempting to create the association between the template and the repositories.</p>
|
|
513
549
|
*/
|
|
514
550
|
errors: BatchAssociateApprovalRuleTemplateWithRepositoriesError[] | undefined;
|
|
@@ -581,36 +617,44 @@ export type MergeOptionTypeEnum = (typeof MergeOptionTypeEnum)[keyof typeof Merg
|
|
|
581
617
|
*/
|
|
582
618
|
export interface BatchDescribeMergeConflictsInput {
|
|
583
619
|
/**
|
|
620
|
+
* @public
|
|
584
621
|
* <p>The name of the repository that contains the merge conflicts you want to review.</p>
|
|
585
622
|
*/
|
|
586
623
|
repositoryName: string | undefined;
|
|
587
624
|
/**
|
|
625
|
+
* @public
|
|
588
626
|
* <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
|
|
589
627
|
* (for example, a branch name or a full commit ID).</p>
|
|
590
628
|
*/
|
|
591
629
|
destinationCommitSpecifier: string | undefined;
|
|
592
630
|
/**
|
|
631
|
+
* @public
|
|
593
632
|
* <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
|
|
594
633
|
* (for example, a branch name or a full commit ID).</p>
|
|
595
634
|
*/
|
|
596
635
|
sourceCommitSpecifier: string | undefined;
|
|
597
636
|
/**
|
|
637
|
+
* @public
|
|
598
638
|
* <p>The merge option or strategy you want to use to merge the code.</p>
|
|
599
639
|
*/
|
|
600
640
|
mergeOption: MergeOptionTypeEnum | string | undefined;
|
|
601
641
|
/**
|
|
642
|
+
* @public
|
|
602
643
|
* <p>The maximum number of merge hunks to include in the output.</p>
|
|
603
644
|
*/
|
|
604
645
|
maxMergeHunks?: number;
|
|
605
646
|
/**
|
|
647
|
+
* @public
|
|
606
648
|
* <p>The maximum number of files to include in the output.</p>
|
|
607
649
|
*/
|
|
608
650
|
maxConflictFiles?: number;
|
|
609
651
|
/**
|
|
652
|
+
* @public
|
|
610
653
|
* <p>The path of the target files used to describe the conflicts. If not specified, the default is all conflict files.</p>
|
|
611
654
|
*/
|
|
612
655
|
filePaths?: string[];
|
|
613
656
|
/**
|
|
657
|
+
* @public
|
|
614
658
|
* <p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used,
|
|
615
659
|
* which returns a not-mergeable result if the same file has differences in both branches.
|
|
616
660
|
* If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in
|
|
@@ -618,12 +662,14 @@ export interface BatchDescribeMergeConflictsInput {
|
|
|
618
662
|
*/
|
|
619
663
|
conflictDetailLevel?: ConflictDetailLevelTypeEnum | string;
|
|
620
664
|
/**
|
|
665
|
+
* @public
|
|
621
666
|
* <p>Specifies which branch to use when resolving conflicts, or whether to attempt
|
|
622
667
|
* automatically merging two versions of a file. The default is NONE, which requires any
|
|
623
668
|
* conflicts to be resolved manually before the merge operation is successful.</p>
|
|
624
669
|
*/
|
|
625
670
|
conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | string;
|
|
626
671
|
/**
|
|
672
|
+
* @public
|
|
627
673
|
* <p>An enumeration token that, when provided in a request, returns the next batch of the
|
|
628
674
|
* results.</p>
|
|
629
675
|
*/
|
|
@@ -648,14 +694,17 @@ export type FileModeTypeEnum = (typeof FileModeTypeEnum)[keyof typeof FileModeTy
|
|
|
648
694
|
*/
|
|
649
695
|
export interface FileModes {
|
|
650
696
|
/**
|
|
697
|
+
* @public
|
|
651
698
|
* <p>The file mode of a file in the source of a merge or pull request.</p>
|
|
652
699
|
*/
|
|
653
700
|
source?: FileModeTypeEnum | string;
|
|
654
701
|
/**
|
|
702
|
+
* @public
|
|
655
703
|
* <p>The file mode of a file in the destination of a merge or pull request.</p>
|
|
656
704
|
*/
|
|
657
705
|
destination?: FileModeTypeEnum | string;
|
|
658
706
|
/**
|
|
707
|
+
* @public
|
|
659
708
|
* <p>The file mode of a file in the base of a merge or pull request.</p>
|
|
660
709
|
*/
|
|
661
710
|
base?: FileModeTypeEnum | string;
|
|
@@ -666,14 +715,17 @@ export interface FileModes {
|
|
|
666
715
|
*/
|
|
667
716
|
export interface FileSizes {
|
|
668
717
|
/**
|
|
718
|
+
* @public
|
|
669
719
|
* <p>The size of a file in the source of a merge or pull request.</p>
|
|
670
720
|
*/
|
|
671
721
|
source?: number;
|
|
672
722
|
/**
|
|
723
|
+
* @public
|
|
673
724
|
* <p>The size of a file in the destination of a merge or pull request.</p>
|
|
674
725
|
*/
|
|
675
726
|
destination?: number;
|
|
676
727
|
/**
|
|
728
|
+
* @public
|
|
677
729
|
* <p>The size of a file in the base of a merge or pull request.</p>
|
|
678
730
|
*/
|
|
679
731
|
base?: number;
|
|
@@ -684,14 +736,17 @@ export interface FileSizes {
|
|
|
684
736
|
*/
|
|
685
737
|
export interface IsBinaryFile {
|
|
686
738
|
/**
|
|
739
|
+
* @public
|
|
687
740
|
* <p>The binary or non-binary status of file in the source of a merge or pull request.</p>
|
|
688
741
|
*/
|
|
689
742
|
source?: boolean;
|
|
690
743
|
/**
|
|
744
|
+
* @public
|
|
691
745
|
* <p>The binary or non-binary status of a file in the destination of a merge or pull request.</p>
|
|
692
746
|
*/
|
|
693
747
|
destination?: boolean;
|
|
694
748
|
/**
|
|
749
|
+
* @public
|
|
695
750
|
* <p>The binary or non-binary status of a file in the base of a merge or pull request.</p>
|
|
696
751
|
*/
|
|
697
752
|
base?: boolean;
|
|
@@ -715,11 +770,13 @@ export type ChangeTypeEnum = (typeof ChangeTypeEnum)[keyof typeof ChangeTypeEnum
|
|
|
715
770
|
*/
|
|
716
771
|
export interface MergeOperations {
|
|
717
772
|
/**
|
|
773
|
+
* @public
|
|
718
774
|
* <p>The operation (add, modify, or delete) on a file in the source of a merge or pull
|
|
719
775
|
* request.</p>
|
|
720
776
|
*/
|
|
721
777
|
source?: ChangeTypeEnum | string;
|
|
722
778
|
/**
|
|
779
|
+
* @public
|
|
723
780
|
* <p>The operation on a file in the destination of a merge or pull request.</p>
|
|
724
781
|
*/
|
|
725
782
|
destination?: ChangeTypeEnum | string;
|
|
@@ -744,14 +801,17 @@ export type ObjectTypeEnum = (typeof ObjectTypeEnum)[keyof typeof ObjectTypeEnum
|
|
|
744
801
|
*/
|
|
745
802
|
export interface ObjectTypes {
|
|
746
803
|
/**
|
|
804
|
+
* @public
|
|
747
805
|
* <p>The type of the object in the source branch.</p>
|
|
748
806
|
*/
|
|
749
807
|
source?: ObjectTypeEnum | string;
|
|
750
808
|
/**
|
|
809
|
+
* @public
|
|
751
810
|
* <p>The type of the object in the destination branch.</p>
|
|
752
811
|
*/
|
|
753
812
|
destination?: ObjectTypeEnum | string;
|
|
754
813
|
/**
|
|
814
|
+
* @public
|
|
755
815
|
* <p>The type of the object in the base commit of the merge.</p>
|
|
756
816
|
*/
|
|
757
817
|
base?: ObjectTypeEnum | string;
|
|
@@ -762,42 +822,52 @@ export interface ObjectTypes {
|
|
|
762
822
|
*/
|
|
763
823
|
export interface ConflictMetadata {
|
|
764
824
|
/**
|
|
825
|
+
* @public
|
|
765
826
|
* <p>The path of the file that contains conflicts.</p>
|
|
766
827
|
*/
|
|
767
828
|
filePath?: string;
|
|
768
829
|
/**
|
|
830
|
+
* @public
|
|
769
831
|
* <p>The file sizes of the file in the source, destination, and base of the merge.</p>
|
|
770
832
|
*/
|
|
771
833
|
fileSizes?: FileSizes;
|
|
772
834
|
/**
|
|
835
|
+
* @public
|
|
773
836
|
* <p>The file modes of the file in the source, destination, and base of the merge.</p>
|
|
774
837
|
*/
|
|
775
838
|
fileModes?: FileModes;
|
|
776
839
|
/**
|
|
840
|
+
* @public
|
|
777
841
|
* <p>Information about any object type conflicts in a merge operation.</p>
|
|
778
842
|
*/
|
|
779
843
|
objectTypes?: ObjectTypes;
|
|
780
844
|
/**
|
|
845
|
+
* @public
|
|
781
846
|
* <p>The number of conflicts, including both hunk conflicts and metadata conflicts.</p>
|
|
782
847
|
*/
|
|
783
848
|
numberOfConflicts?: number;
|
|
784
849
|
/**
|
|
850
|
+
* @public
|
|
785
851
|
* <p>A boolean value (true or false) indicating whether the file is binary or textual in the source, destination, and base of the merge.</p>
|
|
786
852
|
*/
|
|
787
853
|
isBinaryFile?: IsBinaryFile;
|
|
788
854
|
/**
|
|
855
|
+
* @public
|
|
789
856
|
* <p>A boolean value indicating whether there are conflicts in the content of a file.</p>
|
|
790
857
|
*/
|
|
791
858
|
contentConflict?: boolean;
|
|
792
859
|
/**
|
|
860
|
+
* @public
|
|
793
861
|
* <p>A boolean value indicating whether there are conflicts in the file mode of a file.</p>
|
|
794
862
|
*/
|
|
795
863
|
fileModeConflict?: boolean;
|
|
796
864
|
/**
|
|
865
|
+
* @public
|
|
797
866
|
* <p>A boolean value (true or false) indicating whether there are conflicts between the branches in the object type of a file, folder, or submodule.</p>
|
|
798
867
|
*/
|
|
799
868
|
objectTypeConflict?: boolean;
|
|
800
869
|
/**
|
|
870
|
+
* @public
|
|
801
871
|
* <p>Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.</p>
|
|
802
872
|
*/
|
|
803
873
|
mergeOperations?: MergeOperations;
|
|
@@ -808,14 +878,17 @@ export interface ConflictMetadata {
|
|
|
808
878
|
*/
|
|
809
879
|
export interface MergeHunkDetail {
|
|
810
880
|
/**
|
|
881
|
+
* @public
|
|
811
882
|
* <p>The start position of the hunk in the merge result.</p>
|
|
812
883
|
*/
|
|
813
884
|
startLine?: number;
|
|
814
885
|
/**
|
|
886
|
+
* @public
|
|
815
887
|
* <p>The end position of the hunk in the merge result.</p>
|
|
816
888
|
*/
|
|
817
889
|
endLine?: number;
|
|
818
890
|
/**
|
|
891
|
+
* @public
|
|
819
892
|
* <p>The base-64 encoded content of the hunk merged region that might contain a
|
|
820
893
|
* conflict.</p>
|
|
821
894
|
*/
|
|
@@ -827,6 +900,7 @@ export interface MergeHunkDetail {
|
|
|
827
900
|
*/
|
|
828
901
|
export interface MergeHunk {
|
|
829
902
|
/**
|
|
903
|
+
* @public
|
|
830
904
|
* <p>A Boolean value indicating whether a combination of hunks contains a conflict.
|
|
831
905
|
* Conflicts occur when the same file or the same lines in a file were modified in both the
|
|
832
906
|
* source and destination of a merge or pull request. Valid values include true, false, and
|
|
@@ -835,14 +909,17 @@ export interface MergeHunk {
|
|
|
835
909
|
*/
|
|
836
910
|
isConflict?: boolean;
|
|
837
911
|
/**
|
|
912
|
+
* @public
|
|
838
913
|
* <p>Information about the merge hunk in the source of a merge or pull request.</p>
|
|
839
914
|
*/
|
|
840
915
|
source?: MergeHunkDetail;
|
|
841
916
|
/**
|
|
917
|
+
* @public
|
|
842
918
|
* <p>Information about the merge hunk in the destination of a merge or pull request.</p>
|
|
843
919
|
*/
|
|
844
920
|
destination?: MergeHunkDetail;
|
|
845
921
|
/**
|
|
922
|
+
* @public
|
|
846
923
|
* <p>Information about the merge hunk in the base of a merge or pull request.</p>
|
|
847
924
|
*/
|
|
848
925
|
base?: MergeHunkDetail;
|
|
@@ -853,10 +930,12 @@ export interface MergeHunk {
|
|
|
853
930
|
*/
|
|
854
931
|
export interface Conflict {
|
|
855
932
|
/**
|
|
933
|
+
* @public
|
|
856
934
|
* <p>Metadata about a conflict in a merge operation.</p>
|
|
857
935
|
*/
|
|
858
936
|
conflictMetadata?: ConflictMetadata;
|
|
859
937
|
/**
|
|
938
|
+
* @public
|
|
860
939
|
* <p>A list of hunks that contain the differences between files or lines causing the conflict.</p>
|
|
861
940
|
*/
|
|
862
941
|
mergeHunks?: MergeHunk[];
|
|
@@ -867,14 +946,17 @@ export interface Conflict {
|
|
|
867
946
|
*/
|
|
868
947
|
export interface BatchDescribeMergeConflictsError {
|
|
869
948
|
/**
|
|
949
|
+
* @public
|
|
870
950
|
* <p>The path to the file.</p>
|
|
871
951
|
*/
|
|
872
952
|
filePath: string | undefined;
|
|
873
953
|
/**
|
|
954
|
+
* @public
|
|
874
955
|
* <p>The name of the exception.</p>
|
|
875
956
|
*/
|
|
876
957
|
exceptionName: string | undefined;
|
|
877
958
|
/**
|
|
959
|
+
* @public
|
|
878
960
|
* <p>The message provided by the exception.</p>
|
|
879
961
|
*/
|
|
880
962
|
message: string | undefined;
|
|
@@ -884,26 +966,32 @@ export interface BatchDescribeMergeConflictsError {
|
|
|
884
966
|
*/
|
|
885
967
|
export interface BatchDescribeMergeConflictsOutput {
|
|
886
968
|
/**
|
|
969
|
+
* @public
|
|
887
970
|
* <p>A list of conflicts for each file, including the conflict metadata and the hunks of the differences between the files.</p>
|
|
888
971
|
*/
|
|
889
972
|
conflicts: Conflict[] | undefined;
|
|
890
973
|
/**
|
|
974
|
+
* @public
|
|
891
975
|
* <p>An enumeration token that can be used in a request to return the next batch of the results.</p>
|
|
892
976
|
*/
|
|
893
977
|
nextToken?: string;
|
|
894
978
|
/**
|
|
979
|
+
* @public
|
|
895
980
|
* <p>A list of any errors returned while describing the merge conflicts for each file.</p>
|
|
896
981
|
*/
|
|
897
982
|
errors?: BatchDescribeMergeConflictsError[];
|
|
898
983
|
/**
|
|
984
|
+
* @public
|
|
899
985
|
* <p>The commit ID of the destination commit specifier that was used in the merge evaluation.</p>
|
|
900
986
|
*/
|
|
901
987
|
destinationCommitId: string | undefined;
|
|
902
988
|
/**
|
|
989
|
+
* @public
|
|
903
990
|
* <p>The commit ID of the source commit specifier that was used in the merge evaluation.</p>
|
|
904
991
|
*/
|
|
905
992
|
sourceCommitId: string | undefined;
|
|
906
993
|
/**
|
|
994
|
+
* @public
|
|
907
995
|
* <p>The commit ID of the merge base.</p>
|
|
908
996
|
*/
|
|
909
997
|
baseCommitId?: string;
|
|
@@ -1070,10 +1158,12 @@ export declare class TipsDivergenceExceededException extends __BaseException {
|
|
|
1070
1158
|
*/
|
|
1071
1159
|
export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesInput {
|
|
1072
1160
|
/**
|
|
1161
|
+
* @public
|
|
1073
1162
|
* <p>The name of the template that you want to disassociate from one or more repositories.</p>
|
|
1074
1163
|
*/
|
|
1075
1164
|
approvalRuleTemplateName: string | undefined;
|
|
1076
1165
|
/**
|
|
1166
|
+
* @public
|
|
1077
1167
|
* <p>The repository names that you want to disassociate from the approval rule
|
|
1078
1168
|
* template.</p>
|
|
1079
1169
|
* <note>
|
|
@@ -1088,15 +1178,18 @@ export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesInput {
|
|
|
1088
1178
|
*/
|
|
1089
1179
|
export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesError {
|
|
1090
1180
|
/**
|
|
1181
|
+
* @public
|
|
1091
1182
|
* <p>The name of the repository where the association with the template was not able to be removed.</p>
|
|
1092
1183
|
*/
|
|
1093
1184
|
repositoryName?: string;
|
|
1094
1185
|
/**
|
|
1186
|
+
* @public
|
|
1095
1187
|
* <p>An error code that specifies whether the repository name was not valid or not
|
|
1096
1188
|
* found.</p>
|
|
1097
1189
|
*/
|
|
1098
1190
|
errorCode?: string;
|
|
1099
1191
|
/**
|
|
1192
|
+
* @public
|
|
1100
1193
|
* <p>An error message that provides details about why the repository name was either not found or not valid.</p>
|
|
1101
1194
|
*/
|
|
1102
1195
|
errorMessage?: string;
|
|
@@ -1106,11 +1199,13 @@ export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesError {
|
|
|
1106
1199
|
*/
|
|
1107
1200
|
export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput {
|
|
1108
1201
|
/**
|
|
1202
|
+
* @public
|
|
1109
1203
|
* <p>A list of repository names that have had their association with the template
|
|
1110
1204
|
* removed.</p>
|
|
1111
1205
|
*/
|
|
1112
1206
|
disassociatedRepositoryNames: string[] | undefined;
|
|
1113
1207
|
/**
|
|
1208
|
+
* @public
|
|
1114
1209
|
* <p>A list of any errors that might have occurred while attempting to remove the association between the template and the repositories.</p>
|
|
1115
1210
|
*/
|
|
1116
1211
|
errors: BatchDisassociateApprovalRuleTemplateFromRepositoriesError[] | undefined;
|
|
@@ -1120,6 +1215,7 @@ export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput {
|
|
|
1120
1215
|
*/
|
|
1121
1216
|
export interface BatchGetCommitsInput {
|
|
1122
1217
|
/**
|
|
1218
|
+
* @public
|
|
1123
1219
|
* <p>The full commit IDs of the commits to get information about.</p>
|
|
1124
1220
|
* <note>
|
|
1125
1221
|
* <p>You must supply the full SHA IDs of each commit. You cannot use shortened SHA
|
|
@@ -1128,6 +1224,7 @@ export interface BatchGetCommitsInput {
|
|
|
1128
1224
|
*/
|
|
1129
1225
|
commitIds: string[] | undefined;
|
|
1130
1226
|
/**
|
|
1227
|
+
* @public
|
|
1131
1228
|
* <p>The name of the repository that contains the commits.</p>
|
|
1132
1229
|
*/
|
|
1133
1230
|
repositoryName: string | undefined;
|
|
@@ -1138,14 +1235,17 @@ export interface BatchGetCommitsInput {
|
|
|
1138
1235
|
*/
|
|
1139
1236
|
export interface UserInfo {
|
|
1140
1237
|
/**
|
|
1238
|
+
* @public
|
|
1141
1239
|
* <p>The name of the user who made the specified commit.</p>
|
|
1142
1240
|
*/
|
|
1143
1241
|
name?: string;
|
|
1144
1242
|
/**
|
|
1243
|
+
* @public
|
|
1145
1244
|
* <p>The email address associated with the user who made the commit, if any.</p>
|
|
1146
1245
|
*/
|
|
1147
1246
|
email?: string;
|
|
1148
1247
|
/**
|
|
1248
|
+
* @public
|
|
1149
1249
|
* <p>The date when the specified commit was commited, in timestamp format with GMT offset.</p>
|
|
1150
1250
|
*/
|
|
1151
1251
|
date?: string;
|
|
@@ -1156,28 +1256,34 @@ export interface UserInfo {
|
|
|
1156
1256
|
*/
|
|
1157
1257
|
export interface Commit {
|
|
1158
1258
|
/**
|
|
1259
|
+
* @public
|
|
1159
1260
|
* <p>The full SHA ID of the specified commit. </p>
|
|
1160
1261
|
*/
|
|
1161
1262
|
commitId?: string;
|
|
1162
1263
|
/**
|
|
1264
|
+
* @public
|
|
1163
1265
|
* <p>Tree information for the specified commit.</p>
|
|
1164
1266
|
*/
|
|
1165
1267
|
treeId?: string;
|
|
1166
1268
|
/**
|
|
1269
|
+
* @public
|
|
1167
1270
|
* <p>A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.</p>
|
|
1168
1271
|
*/
|
|
1169
1272
|
parents?: string[];
|
|
1170
1273
|
/**
|
|
1274
|
+
* @public
|
|
1171
1275
|
* <p>The commit message associated with the specified commit.</p>
|
|
1172
1276
|
*/
|
|
1173
1277
|
message?: string;
|
|
1174
1278
|
/**
|
|
1279
|
+
* @public
|
|
1175
1280
|
* <p>Information about the author of the specified commit. Information includes
|
|
1176
1281
|
* the date in timestamp format with GMT offset, the name of the author, and the email address for the author, as configured
|
|
1177
1282
|
* in Git.</p>
|
|
1178
1283
|
*/
|
|
1179
1284
|
author?: UserInfo;
|
|
1180
1285
|
/**
|
|
1286
|
+
* @public
|
|
1181
1287
|
* <p>Information about the person who committed the specified commit, also known as the committer. Information includes
|
|
1182
1288
|
* the date in timestamp format with GMT offset, the name of the committer, and the email address for the committer, as configured
|
|
1183
1289
|
* in Git.</p>
|
|
@@ -1187,6 +1293,7 @@ export interface Commit {
|
|
|
1187
1293
|
*/
|
|
1188
1294
|
committer?: UserInfo;
|
|
1189
1295
|
/**
|
|
1296
|
+
* @public
|
|
1190
1297
|
* <p>Any other data associated with the specified commit.</p>
|
|
1191
1298
|
*/
|
|
1192
1299
|
additionalData?: string;
|
|
@@ -1197,14 +1304,17 @@ export interface Commit {
|
|
|
1197
1304
|
*/
|
|
1198
1305
|
export interface BatchGetCommitsError {
|
|
1199
1306
|
/**
|
|
1307
|
+
* @public
|
|
1200
1308
|
* <p>A commit ID that either could not be found or was not in a valid format.</p>
|
|
1201
1309
|
*/
|
|
1202
1310
|
commitId?: string;
|
|
1203
1311
|
/**
|
|
1312
|
+
* @public
|
|
1204
1313
|
* <p>An error code that specifies whether the commit ID was not valid or not found.</p>
|
|
1205
1314
|
*/
|
|
1206
1315
|
errorCode?: string;
|
|
1207
1316
|
/**
|
|
1317
|
+
* @public
|
|
1208
1318
|
* <p>An error message that provides detail about why the commit ID either was not found or was not valid.</p>
|
|
1209
1319
|
*/
|
|
1210
1320
|
errorMessage?: string;
|
|
@@ -1214,10 +1324,12 @@ export interface BatchGetCommitsError {
|
|
|
1214
1324
|
*/
|
|
1215
1325
|
export interface BatchGetCommitsOutput {
|
|
1216
1326
|
/**
|
|
1327
|
+
* @public
|
|
1217
1328
|
* <p>An array of commit data type objects, each of which contains information about a specified commit.</p>
|
|
1218
1329
|
*/
|
|
1219
1330
|
commits?: Commit[];
|
|
1220
1331
|
/**
|
|
1332
|
+
* @public
|
|
1221
1333
|
* <p>Returns any commit IDs for which information could not be found. For example, if one
|
|
1222
1334
|
* of the commit IDs was a shortened SHA ID or that commit was not found in the specified
|
|
1223
1335
|
* repository, the ID returns an error object with more information.</p>
|
|
@@ -1254,6 +1366,7 @@ export declare class CommitIdsListRequiredException extends __BaseException {
|
|
|
1254
1366
|
*/
|
|
1255
1367
|
export interface BatchGetRepositoriesInput {
|
|
1256
1368
|
/**
|
|
1369
|
+
* @public
|
|
1257
1370
|
* <p>The names of the repositories to get information about.</p>
|
|
1258
1371
|
* <note>
|
|
1259
1372
|
* <p>The length constraint limit is for each string in the array. The array itself can be empty.</p>
|
|
@@ -1267,42 +1380,52 @@ export interface BatchGetRepositoriesInput {
|
|
|
1267
1380
|
*/
|
|
1268
1381
|
export interface RepositoryMetadata {
|
|
1269
1382
|
/**
|
|
1383
|
+
* @public
|
|
1270
1384
|
* <p>The ID of the AWS account associated with the repository.</p>
|
|
1271
1385
|
*/
|
|
1272
1386
|
accountId?: string;
|
|
1273
1387
|
/**
|
|
1388
|
+
* @public
|
|
1274
1389
|
* <p>The ID of the repository.</p>
|
|
1275
1390
|
*/
|
|
1276
1391
|
repositoryId?: string;
|
|
1277
1392
|
/**
|
|
1393
|
+
* @public
|
|
1278
1394
|
* <p>The repository's name.</p>
|
|
1279
1395
|
*/
|
|
1280
1396
|
repositoryName?: string;
|
|
1281
1397
|
/**
|
|
1398
|
+
* @public
|
|
1282
1399
|
* <p>A comment or description about the repository.</p>
|
|
1283
1400
|
*/
|
|
1284
1401
|
repositoryDescription?: string;
|
|
1285
1402
|
/**
|
|
1403
|
+
* @public
|
|
1286
1404
|
* <p>The repository's default branch name.</p>
|
|
1287
1405
|
*/
|
|
1288
1406
|
defaultBranch?: string;
|
|
1289
1407
|
/**
|
|
1408
|
+
* @public
|
|
1290
1409
|
* <p>The date and time the repository was last modified, in timestamp format.</p>
|
|
1291
1410
|
*/
|
|
1292
1411
|
lastModifiedDate?: Date;
|
|
1293
1412
|
/**
|
|
1413
|
+
* @public
|
|
1294
1414
|
* <p>The date and time the repository was created, in timestamp format.</p>
|
|
1295
1415
|
*/
|
|
1296
1416
|
creationDate?: Date;
|
|
1297
1417
|
/**
|
|
1418
|
+
* @public
|
|
1298
1419
|
* <p>The URL to use for cloning the repository over HTTPS.</p>
|
|
1299
1420
|
*/
|
|
1300
1421
|
cloneUrlHttp?: string;
|
|
1301
1422
|
/**
|
|
1423
|
+
* @public
|
|
1302
1424
|
* <p>The URL to use for cloning the repository over SSH.</p>
|
|
1303
1425
|
*/
|
|
1304
1426
|
cloneUrlSsh?: string;
|
|
1305
1427
|
/**
|
|
1428
|
+
* @public
|
|
1306
1429
|
* <p>The Amazon Resource Name (ARN) of the repository.</p>
|
|
1307
1430
|
*/
|
|
1308
1431
|
Arn?: string;
|
|
@@ -1313,10 +1436,12 @@ export interface RepositoryMetadata {
|
|
|
1313
1436
|
*/
|
|
1314
1437
|
export interface BatchGetRepositoriesOutput {
|
|
1315
1438
|
/**
|
|
1439
|
+
* @public
|
|
1316
1440
|
* <p>A list of repositories returned by the batch get repositories operation.</p>
|
|
1317
1441
|
*/
|
|
1318
1442
|
repositories?: RepositoryMetadata[];
|
|
1319
1443
|
/**
|
|
1444
|
+
* @public
|
|
1320
1445
|
* <p>Returns a list of repository names for which information could not be found.</p>
|
|
1321
1446
|
*/
|
|
1322
1447
|
repositoriesNotFound?: string[];
|
|
@@ -1363,14 +1488,17 @@ export declare class BlobIdRequiredException extends __BaseException {
|
|
|
1363
1488
|
*/
|
|
1364
1489
|
export interface BlobMetadata {
|
|
1365
1490
|
/**
|
|
1491
|
+
* @public
|
|
1366
1492
|
* <p>The full ID of the blob.</p>
|
|
1367
1493
|
*/
|
|
1368
1494
|
blobId?: string;
|
|
1369
1495
|
/**
|
|
1496
|
+
* @public
|
|
1370
1497
|
* <p>The path to the blob and associated file name, if any.</p>
|
|
1371
1498
|
*/
|
|
1372
1499
|
path?: string;
|
|
1373
1500
|
/**
|
|
1501
|
+
* @public
|
|
1374
1502
|
* <p>The file mode permissions of the blob. File mode permission codes include:</p>
|
|
1375
1503
|
* <ul>
|
|
1376
1504
|
* <li>
|
|
@@ -1411,10 +1539,12 @@ export declare class BranchDoesNotExistException extends __BaseException {
|
|
|
1411
1539
|
*/
|
|
1412
1540
|
export interface BranchInfo {
|
|
1413
1541
|
/**
|
|
1542
|
+
* @public
|
|
1414
1543
|
* <p>The name of the branch.</p>
|
|
1415
1544
|
*/
|
|
1416
1545
|
branchName?: string;
|
|
1417
1546
|
/**
|
|
1547
|
+
* @public
|
|
1418
1548
|
* <p>The ID of the last commit made to the branch.</p>
|
|
1419
1549
|
*/
|
|
1420
1550
|
commitId?: string;
|
|
@@ -1504,12 +1634,14 @@ export declare class ClientRequestTokenRequiredException extends __BaseException
|
|
|
1504
1634
|
*/
|
|
1505
1635
|
export interface CreateApprovalRuleTemplateInput {
|
|
1506
1636
|
/**
|
|
1637
|
+
* @public
|
|
1507
1638
|
* <p>The name of the approval rule template. Provide descriptive names, because this name
|
|
1508
1639
|
* is applied to the approval rules created automatically in associated
|
|
1509
1640
|
* repositories.</p>
|
|
1510
1641
|
*/
|
|
1511
1642
|
approvalRuleTemplateName: string | undefined;
|
|
1512
1643
|
/**
|
|
1644
|
+
* @public
|
|
1513
1645
|
* <p>The content of the approval rule that is created on pull requests in associated
|
|
1514
1646
|
* repositories. If you specify one or more destination references (branches), approval
|
|
1515
1647
|
* rules are created in an associated repository only if their destination references
|
|
@@ -1557,6 +1689,7 @@ export interface CreateApprovalRuleTemplateInput {
|
|
|
1557
1689
|
*/
|
|
1558
1690
|
approvalRuleTemplateContent: string | undefined;
|
|
1559
1691
|
/**
|
|
1692
|
+
* @public
|
|
1560
1693
|
* <p>The description of the approval rule template. Consider providing a description that
|
|
1561
1694
|
* explains what this template does and when it might be appropriate to associate it with
|
|
1562
1695
|
* repositories.</p>
|
|
@@ -1568,6 +1701,7 @@ export interface CreateApprovalRuleTemplateInput {
|
|
|
1568
1701
|
*/
|
|
1569
1702
|
export interface CreateApprovalRuleTemplateOutput {
|
|
1570
1703
|
/**
|
|
1704
|
+
* @public
|
|
1571
1705
|
* <p>The content and structure of the created approval rule template.</p>
|
|
1572
1706
|
*/
|
|
1573
1707
|
approvalRuleTemplate: ApprovalRuleTemplate | undefined;
|
|
@@ -1629,14 +1763,17 @@ export declare class CommitIdRequiredException extends __BaseException {
|
|
|
1629
1763
|
*/
|
|
1630
1764
|
export interface CreateBranchInput {
|
|
1631
1765
|
/**
|
|
1766
|
+
* @public
|
|
1632
1767
|
* <p>The name of the repository in which you want to create the new branch.</p>
|
|
1633
1768
|
*/
|
|
1634
1769
|
repositoryName: string | undefined;
|
|
1635
1770
|
/**
|
|
1771
|
+
* @public
|
|
1636
1772
|
* <p>The name of the new branch to create.</p>
|
|
1637
1773
|
*/
|
|
1638
1774
|
branchName: string | undefined;
|
|
1639
1775
|
/**
|
|
1776
|
+
* @public
|
|
1640
1777
|
* <p>The ID of the commit to point the new branch to.</p>
|
|
1641
1778
|
*/
|
|
1642
1779
|
commitId: string | undefined;
|
|
@@ -1683,6 +1820,7 @@ export declare class CommitMessageLengthExceededException extends __BaseExceptio
|
|
|
1683
1820
|
*/
|
|
1684
1821
|
export interface DeleteFileEntry {
|
|
1685
1822
|
/**
|
|
1823
|
+
* @public
|
|
1686
1824
|
* <p>The full path of the file to be deleted, including the name of the file.</p>
|
|
1687
1825
|
*/
|
|
1688
1826
|
filePath: string | undefined;
|
|
@@ -1693,10 +1831,12 @@ export interface DeleteFileEntry {
|
|
|
1693
1831
|
*/
|
|
1694
1832
|
export interface SourceFileSpecifier {
|
|
1695
1833
|
/**
|
|
1834
|
+
* @public
|
|
1696
1835
|
* <p>The full path to the file, including the name of the file.</p>
|
|
1697
1836
|
*/
|
|
1698
1837
|
filePath: string | undefined;
|
|
1699
1838
|
/**
|
|
1839
|
+
* @public
|
|
1700
1840
|
* <p>Whether to remove the source file from the parent commit.</p>
|
|
1701
1841
|
*/
|
|
1702
1842
|
isMove?: boolean;
|
|
@@ -1707,18 +1847,22 @@ export interface SourceFileSpecifier {
|
|
|
1707
1847
|
*/
|
|
1708
1848
|
export interface PutFileEntry {
|
|
1709
1849
|
/**
|
|
1850
|
+
* @public
|
|
1710
1851
|
* <p>The full path to the file in the repository, including the name of the file.</p>
|
|
1711
1852
|
*/
|
|
1712
1853
|
filePath: string | undefined;
|
|
1713
1854
|
/**
|
|
1855
|
+
* @public
|
|
1714
1856
|
* <p>The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.</p>
|
|
1715
1857
|
*/
|
|
1716
1858
|
fileMode?: FileModeTypeEnum | string;
|
|
1717
1859
|
/**
|
|
1860
|
+
* @public
|
|
1718
1861
|
* <p>The content of the file, if a source file is not specified.</p>
|
|
1719
1862
|
*/
|
|
1720
1863
|
fileContent?: Uint8Array;
|
|
1721
1864
|
/**
|
|
1865
|
+
* @public
|
|
1722
1866
|
* <p>The name and full path of the file that contains the changes you want to make as part of the commit,
|
|
1723
1867
|
* if you are not providing the file content directly.</p>
|
|
1724
1868
|
*/
|
|
@@ -1730,10 +1874,12 @@ export interface PutFileEntry {
|
|
|
1730
1874
|
*/
|
|
1731
1875
|
export interface SetFileModeEntry {
|
|
1732
1876
|
/**
|
|
1877
|
+
* @public
|
|
1733
1878
|
* <p>The full path to the file, including the name of the file.</p>
|
|
1734
1879
|
*/
|
|
1735
1880
|
filePath: string | undefined;
|
|
1736
1881
|
/**
|
|
1882
|
+
* @public
|
|
1737
1883
|
* <p>The file mode for the file.</p>
|
|
1738
1884
|
*/
|
|
1739
1885
|
fileMode: FileModeTypeEnum | string | undefined;
|
|
@@ -1743,47 +1889,57 @@ export interface SetFileModeEntry {
|
|
|
1743
1889
|
*/
|
|
1744
1890
|
export interface CreateCommitInput {
|
|
1745
1891
|
/**
|
|
1892
|
+
* @public
|
|
1746
1893
|
* <p>The name of the repository where you create the commit.</p>
|
|
1747
1894
|
*/
|
|
1748
1895
|
repositoryName: string | undefined;
|
|
1749
1896
|
/**
|
|
1897
|
+
* @public
|
|
1750
1898
|
* <p>The name of the branch where you create the commit.</p>
|
|
1751
1899
|
*/
|
|
1752
1900
|
branchName: string | undefined;
|
|
1753
1901
|
/**
|
|
1902
|
+
* @public
|
|
1754
1903
|
* <p>The ID of the commit that is the parent of the commit you create. Not required if this
|
|
1755
1904
|
* is an empty repository.</p>
|
|
1756
1905
|
*/
|
|
1757
1906
|
parentCommitId?: string;
|
|
1758
1907
|
/**
|
|
1908
|
+
* @public
|
|
1759
1909
|
* <p>The name of the author who created the commit. This information is used as both the
|
|
1760
1910
|
* author and committer for the commit.</p>
|
|
1761
1911
|
*/
|
|
1762
1912
|
authorName?: string;
|
|
1763
1913
|
/**
|
|
1914
|
+
* @public
|
|
1764
1915
|
* <p>The email address of the person who created the commit.</p>
|
|
1765
1916
|
*/
|
|
1766
1917
|
email?: string;
|
|
1767
1918
|
/**
|
|
1919
|
+
* @public
|
|
1768
1920
|
* <p>The commit message you want to include in the commit. Commit messages are limited to
|
|
1769
1921
|
* 256 KB. If no message is specified, a default message is used.</p>
|
|
1770
1922
|
*/
|
|
1771
1923
|
commitMessage?: string;
|
|
1772
1924
|
/**
|
|
1925
|
+
* @public
|
|
1773
1926
|
* <p>If the commit contains deletions, whether to keep a folder or folder structure if the
|
|
1774
1927
|
* changes leave the folders empty. If true, a ..gitkeep file is created for empty folders.
|
|
1775
1928
|
* The default is false.</p>
|
|
1776
1929
|
*/
|
|
1777
1930
|
keepEmptyFolders?: boolean;
|
|
1778
1931
|
/**
|
|
1932
|
+
* @public
|
|
1779
1933
|
* <p>The files to add or update in this commit.</p>
|
|
1780
1934
|
*/
|
|
1781
1935
|
putFiles?: PutFileEntry[];
|
|
1782
1936
|
/**
|
|
1937
|
+
* @public
|
|
1783
1938
|
* <p>The files to delete in this commit. These files still exist in earlier commits.</p>
|
|
1784
1939
|
*/
|
|
1785
1940
|
deleteFiles?: DeleteFileEntry[];
|
|
1786
1941
|
/**
|
|
1942
|
+
* @public
|
|
1787
1943
|
* <p>The file modes to update for files in this commit.</p>
|
|
1788
1944
|
*/
|
|
1789
1945
|
setFileModes?: SetFileModeEntry[];
|
|
@@ -1794,15 +1950,18 @@ export interface CreateCommitInput {
|
|
|
1794
1950
|
*/
|
|
1795
1951
|
export interface FileMetadata {
|
|
1796
1952
|
/**
|
|
1953
|
+
* @public
|
|
1797
1954
|
* <p>The full path to the file to be added or updated, including the name of the
|
|
1798
1955
|
* file.</p>
|
|
1799
1956
|
*/
|
|
1800
1957
|
absolutePath?: string;
|
|
1801
1958
|
/**
|
|
1959
|
+
* @public
|
|
1802
1960
|
* <p>The blob ID that contains the file information.</p>
|
|
1803
1961
|
*/
|
|
1804
1962
|
blobId?: string;
|
|
1805
1963
|
/**
|
|
1964
|
+
* @public
|
|
1806
1965
|
* <p>The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.</p>
|
|
1807
1966
|
*/
|
|
1808
1967
|
fileMode?: FileModeTypeEnum | string;
|
|
@@ -1812,22 +1971,27 @@ export interface FileMetadata {
|
|
|
1812
1971
|
*/
|
|
1813
1972
|
export interface CreateCommitOutput {
|
|
1814
1973
|
/**
|
|
1974
|
+
* @public
|
|
1815
1975
|
* <p>The full commit ID of the commit that contains your committed file changes.</p>
|
|
1816
1976
|
*/
|
|
1817
1977
|
commitId?: string;
|
|
1818
1978
|
/**
|
|
1979
|
+
* @public
|
|
1819
1980
|
* <p>The full SHA-1 pointer of the tree information for the commit that contains the commited file changes.</p>
|
|
1820
1981
|
*/
|
|
1821
1982
|
treeId?: string;
|
|
1822
1983
|
/**
|
|
1984
|
+
* @public
|
|
1823
1985
|
* <p>The files added as part of the committed file changes.</p>
|
|
1824
1986
|
*/
|
|
1825
1987
|
filesAdded?: FileMetadata[];
|
|
1826
1988
|
/**
|
|
1989
|
+
* @public
|
|
1827
1990
|
* <p>The files updated as part of the commited file changes.</p>
|
|
1828
1991
|
*/
|
|
1829
1992
|
filesUpdated?: FileMetadata[];
|
|
1830
1993
|
/**
|
|
1994
|
+
* @public
|
|
1831
1995
|
* <p>The files deleted as part of the committed file changes.</p>
|
|
1832
1996
|
*/
|
|
1833
1997
|
filesDeleted?: FileMetadata[];
|
|
@@ -2156,14 +2320,17 @@ export declare class SourceFileOrContentRequiredException extends __BaseExceptio
|
|
|
2156
2320
|
*/
|
|
2157
2321
|
export interface Target {
|
|
2158
2322
|
/**
|
|
2323
|
+
* @public
|
|
2159
2324
|
* <p>The name of the repository that contains the pull request.</p>
|
|
2160
2325
|
*/
|
|
2161
2326
|
repositoryName: string | undefined;
|
|
2162
2327
|
/**
|
|
2328
|
+
* @public
|
|
2163
2329
|
* <p>The branch of the repository that contains the changes for the pull request. Also known as the source branch.</p>
|
|
2164
2330
|
*/
|
|
2165
2331
|
sourceReference: string | undefined;
|
|
2166
2332
|
/**
|
|
2333
|
+
* @public
|
|
2167
2334
|
* <p>The branch of the repository where the pull request changes are merged. Also known as
|
|
2168
2335
|
* the destination branch.</p>
|
|
2169
2336
|
*/
|
|
@@ -2174,21 +2341,25 @@ export interface Target {
|
|
|
2174
2341
|
*/
|
|
2175
2342
|
export interface CreatePullRequestInput {
|
|
2176
2343
|
/**
|
|
2344
|
+
* @public
|
|
2177
2345
|
* <p>The title of the pull request. This title is used to identify the pull request to
|
|
2178
2346
|
* other users in the repository.</p>
|
|
2179
2347
|
*/
|
|
2180
2348
|
title: string | undefined;
|
|
2181
2349
|
/**
|
|
2350
|
+
* @public
|
|
2182
2351
|
* <p>A description of the pull request.</p>
|
|
2183
2352
|
*/
|
|
2184
2353
|
description?: string;
|
|
2185
2354
|
/**
|
|
2355
|
+
* @public
|
|
2186
2356
|
* <p>The targets for the pull request, including the source of the code to be reviewed (the
|
|
2187
2357
|
* source branch) and the destination where the creator of the pull request intends the
|
|
2188
2358
|
* code to be merged after the pull request is closed (the destination branch).</p>
|
|
2189
2359
|
*/
|
|
2190
2360
|
targets: Target[] | undefined;
|
|
2191
2361
|
/**
|
|
2362
|
+
* @public
|
|
2192
2363
|
* <p>A unique, client-generated idempotency token that, when provided in a request, ensures
|
|
2193
2364
|
* the request cannot be repeated with a changed parameter. If a request is received with
|
|
2194
2365
|
* the same parameters and a token is included, the request returns information about the
|
|
@@ -2218,18 +2389,22 @@ export type PullRequestStatusEnum = (typeof PullRequestStatusEnum)[keyof typeof
|
|
|
2218
2389
|
*/
|
|
2219
2390
|
export interface MergeMetadata {
|
|
2220
2391
|
/**
|
|
2392
|
+
* @public
|
|
2221
2393
|
* <p>A Boolean value indicating whether the merge has been made.</p>
|
|
2222
2394
|
*/
|
|
2223
2395
|
isMerged?: boolean;
|
|
2224
2396
|
/**
|
|
2397
|
+
* @public
|
|
2225
2398
|
* <p>The Amazon Resource Name (ARN) of the user who merged the branches.</p>
|
|
2226
2399
|
*/
|
|
2227
2400
|
mergedBy?: string;
|
|
2228
2401
|
/**
|
|
2402
|
+
* @public
|
|
2229
2403
|
* <p>The commit ID for the merge commit, if any.</p>
|
|
2230
2404
|
*/
|
|
2231
2405
|
mergeCommitId?: string;
|
|
2232
2406
|
/**
|
|
2407
|
+
* @public
|
|
2233
2408
|
* <p>The merge strategy used in the merge.</p>
|
|
2234
2409
|
*/
|
|
2235
2410
|
mergeOption?: MergeOptionTypeEnum | string;
|
|
@@ -2240,33 +2415,40 @@ export interface MergeMetadata {
|
|
|
2240
2415
|
*/
|
|
2241
2416
|
export interface PullRequestTarget {
|
|
2242
2417
|
/**
|
|
2418
|
+
* @public
|
|
2243
2419
|
* <p>The name of the repository that contains the pull request source and destination branches.</p>
|
|
2244
2420
|
*/
|
|
2245
2421
|
repositoryName?: string;
|
|
2246
2422
|
/**
|
|
2423
|
+
* @public
|
|
2247
2424
|
* <p>The branch of the repository that contains the changes for the pull request. Also known as the source branch.</p>
|
|
2248
2425
|
*/
|
|
2249
2426
|
sourceReference?: string;
|
|
2250
2427
|
/**
|
|
2428
|
+
* @public
|
|
2251
2429
|
* <p>The branch of the repository where the pull request changes are merged. Also known as
|
|
2252
2430
|
* the destination branch. </p>
|
|
2253
2431
|
*/
|
|
2254
2432
|
destinationReference?: string;
|
|
2255
2433
|
/**
|
|
2434
|
+
* @public
|
|
2256
2435
|
* <p>The full commit ID that is the tip of the destination branch. This is the commit where the pull request was or will be merged.</p>
|
|
2257
2436
|
*/
|
|
2258
2437
|
destinationCommit?: string;
|
|
2259
2438
|
/**
|
|
2439
|
+
* @public
|
|
2260
2440
|
* <p>The full commit ID of the tip of the source branch used to create the pull request. If
|
|
2261
2441
|
* the pull request branch is updated by a push while the pull request is open, the commit
|
|
2262
2442
|
* ID changes to reflect the new tip of the branch.</p>
|
|
2263
2443
|
*/
|
|
2264
2444
|
sourceCommit?: string;
|
|
2265
2445
|
/**
|
|
2446
|
+
* @public
|
|
2266
2447
|
* <p>The commit ID of the most recent commit that the source branch and the destination branch have in common.</p>
|
|
2267
2448
|
*/
|
|
2268
2449
|
mergeBase?: string;
|
|
2269
2450
|
/**
|
|
2451
|
+
* @public
|
|
2270
2452
|
* <p>Returns metadata about the state of the merge, including whether the merge has been made.</p>
|
|
2271
2453
|
*/
|
|
2272
2454
|
mergeMetadata?: MergeMetadata;
|
|
@@ -2277,39 +2459,48 @@ export interface PullRequestTarget {
|
|
|
2277
2459
|
*/
|
|
2278
2460
|
export interface PullRequest {
|
|
2279
2461
|
/**
|
|
2462
|
+
* @public
|
|
2280
2463
|
* <p>The system-generated ID of the pull request. </p>
|
|
2281
2464
|
*/
|
|
2282
2465
|
pullRequestId?: string;
|
|
2283
2466
|
/**
|
|
2467
|
+
* @public
|
|
2284
2468
|
* <p>The user-defined title of the pull request. This title is displayed in the list of
|
|
2285
2469
|
* pull requests to other repository users.</p>
|
|
2286
2470
|
*/
|
|
2287
2471
|
title?: string;
|
|
2288
2472
|
/**
|
|
2473
|
+
* @public
|
|
2289
2474
|
* <p>The user-defined description of the pull request. This description can be used to clarify what should be reviewed and other details of the request.</p>
|
|
2290
2475
|
*/
|
|
2291
2476
|
description?: string;
|
|
2292
2477
|
/**
|
|
2478
|
+
* @public
|
|
2293
2479
|
* <p>The day and time of the last user or system activity on the pull request, in timestamp format.</p>
|
|
2294
2480
|
*/
|
|
2295
2481
|
lastActivityDate?: Date;
|
|
2296
2482
|
/**
|
|
2483
|
+
* @public
|
|
2297
2484
|
* <p>The date and time the pull request was originally created, in timestamp format.</p>
|
|
2298
2485
|
*/
|
|
2299
2486
|
creationDate?: Date;
|
|
2300
2487
|
/**
|
|
2488
|
+
* @public
|
|
2301
2489
|
* <p>The status of the pull request. Pull request status can only change from <code>OPEN</code> to <code>CLOSED</code>.</p>
|
|
2302
2490
|
*/
|
|
2303
2491
|
pullRequestStatus?: PullRequestStatusEnum | string;
|
|
2304
2492
|
/**
|
|
2493
|
+
* @public
|
|
2305
2494
|
* <p>The Amazon Resource Name (ARN) of the user who created the pull request.</p>
|
|
2306
2495
|
*/
|
|
2307
2496
|
authorArn?: string;
|
|
2308
2497
|
/**
|
|
2498
|
+
* @public
|
|
2309
2499
|
* <p>The targets of the pull request, including the source branch and destination branch for the pull request.</p>
|
|
2310
2500
|
*/
|
|
2311
2501
|
pullRequestTargets?: PullRequestTarget[];
|
|
2312
2502
|
/**
|
|
2503
|
+
* @public
|
|
2313
2504
|
* <p>A unique, client-generated idempotency token that, when provided in a request, ensures
|
|
2314
2505
|
* the request cannot be repeated with a changed parameter. If a request is received with
|
|
2315
2506
|
* the same parameters and a token is included, the request returns information about the
|
|
@@ -2317,10 +2508,12 @@ export interface PullRequest {
|
|
|
2317
2508
|
*/
|
|
2318
2509
|
clientRequestToken?: string;
|
|
2319
2510
|
/**
|
|
2511
|
+
* @public
|
|
2320
2512
|
* <p>The system-generated revision ID for the pull request.</p>
|
|
2321
2513
|
*/
|
|
2322
2514
|
revisionId?: string;
|
|
2323
2515
|
/**
|
|
2516
|
+
* @public
|
|
2324
2517
|
* <p>The approval rules applied to the pull request.</p>
|
|
2325
2518
|
*/
|
|
2326
2519
|
approvalRules?: ApprovalRule[];
|
|
@@ -2330,6 +2523,7 @@ export interface PullRequest {
|
|
|
2330
2523
|
*/
|
|
2331
2524
|
export interface CreatePullRequestOutput {
|
|
2332
2525
|
/**
|
|
2526
|
+
* @public
|
|
2333
2527
|
* <p>Information about the newly created pull request.</p>
|
|
2334
2528
|
*/
|
|
2335
2529
|
pullRequest: PullRequest | undefined;
|
|
@@ -2538,14 +2732,17 @@ export declare class TitleRequiredException extends __BaseException {
|
|
|
2538
2732
|
*/
|
|
2539
2733
|
export interface CreatePullRequestApprovalRuleInput {
|
|
2540
2734
|
/**
|
|
2735
|
+
* @public
|
|
2541
2736
|
* <p>The system-generated ID of the pull request for which you want to create the approval rule.</p>
|
|
2542
2737
|
*/
|
|
2543
2738
|
pullRequestId: string | undefined;
|
|
2544
2739
|
/**
|
|
2740
|
+
* @public
|
|
2545
2741
|
* <p>The name for the approval rule.</p>
|
|
2546
2742
|
*/
|
|
2547
2743
|
approvalRuleName: string | undefined;
|
|
2548
2744
|
/**
|
|
2745
|
+
* @public
|
|
2549
2746
|
* <p>The content of the approval rule, including the number of approvals needed and the structure of an approval pool defined for approvals, if any. For more information
|
|
2550
2747
|
* about approval pools, see the AWS CodeCommit User Guide.</p>
|
|
2551
2748
|
* <note>
|
|
@@ -2597,6 +2794,7 @@ export interface CreatePullRequestApprovalRuleInput {
|
|
|
2597
2794
|
*/
|
|
2598
2795
|
export interface CreatePullRequestApprovalRuleOutput {
|
|
2599
2796
|
/**
|
|
2797
|
+
* @public
|
|
2600
2798
|
* <p>Information about the created approval rule.</p>
|
|
2601
2799
|
*/
|
|
2602
2800
|
approvalRule: ApprovalRule | undefined;
|
|
@@ -2691,6 +2889,7 @@ export declare class PullRequestIdRequiredException extends __BaseException {
|
|
|
2691
2889
|
*/
|
|
2692
2890
|
export interface CreateRepositoryInput {
|
|
2693
2891
|
/**
|
|
2892
|
+
* @public
|
|
2694
2893
|
* <p>The name of the new repository to be created.</p>
|
|
2695
2894
|
* <note>
|
|
2696
2895
|
* <p>The repository name must be unique across the calling AWS account. Repository names
|
|
@@ -2702,6 +2901,7 @@ export interface CreateRepositoryInput {
|
|
|
2702
2901
|
*/
|
|
2703
2902
|
repositoryName: string | undefined;
|
|
2704
2903
|
/**
|
|
2904
|
+
* @public
|
|
2705
2905
|
* <p>A comment or description about the new repository.</p>
|
|
2706
2906
|
* <note>
|
|
2707
2907
|
* <p>The description field for a repository accepts all HTML characters and all valid
|
|
@@ -2713,6 +2913,7 @@ export interface CreateRepositoryInput {
|
|
|
2713
2913
|
*/
|
|
2714
2914
|
repositoryDescription?: string;
|
|
2715
2915
|
/**
|
|
2916
|
+
* @public
|
|
2716
2917
|
* <p>One or more tag key-value pairs to use when tagging this repository.</p>
|
|
2717
2918
|
*/
|
|
2718
2919
|
tags?: Record<string, string>;
|
|
@@ -2723,6 +2924,7 @@ export interface CreateRepositoryInput {
|
|
|
2723
2924
|
*/
|
|
2724
2925
|
export interface CreateRepositoryOutput {
|
|
2725
2926
|
/**
|
|
2927
|
+
* @public
|
|
2726
2928
|
* <p>Information about the newly created repository.</p>
|
|
2727
2929
|
*/
|
|
2728
2930
|
repositoryMetadata?: RepositoryMetadata;
|
|
@@ -2843,18 +3045,22 @@ export type ReplacementTypeEnum = (typeof ReplacementTypeEnum)[keyof typeof Repl
|
|
|
2843
3045
|
*/
|
|
2844
3046
|
export interface ReplaceContentEntry {
|
|
2845
3047
|
/**
|
|
3048
|
+
* @public
|
|
2846
3049
|
* <p>The path of the conflicting file.</p>
|
|
2847
3050
|
*/
|
|
2848
3051
|
filePath: string | undefined;
|
|
2849
3052
|
/**
|
|
3053
|
+
* @public
|
|
2850
3054
|
* <p>The replacement type to use when determining how to resolve the conflict.</p>
|
|
2851
3055
|
*/
|
|
2852
3056
|
replacementType: ReplacementTypeEnum | string | undefined;
|
|
2853
3057
|
/**
|
|
3058
|
+
* @public
|
|
2854
3059
|
* <p>The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.</p>
|
|
2855
3060
|
*/
|
|
2856
3061
|
content?: Uint8Array;
|
|
2857
3062
|
/**
|
|
3063
|
+
* @public
|
|
2858
3064
|
* <p>The file mode to apply during conflict resoltion.</p>
|
|
2859
3065
|
*/
|
|
2860
3066
|
fileMode?: FileModeTypeEnum | string;
|
|
@@ -2866,14 +3072,17 @@ export interface ReplaceContentEntry {
|
|
|
2866
3072
|
*/
|
|
2867
3073
|
export interface ConflictResolution {
|
|
2868
3074
|
/**
|
|
3075
|
+
* @public
|
|
2869
3076
|
* <p>Files to have content replaced as part of the merge conflict resolution.</p>
|
|
2870
3077
|
*/
|
|
2871
3078
|
replaceContents?: ReplaceContentEntry[];
|
|
2872
3079
|
/**
|
|
3080
|
+
* @public
|
|
2873
3081
|
* <p>Files to be deleted as part of the merge conflict resolution.</p>
|
|
2874
3082
|
*/
|
|
2875
3083
|
deleteFiles?: DeleteFileEntry[];
|
|
2876
3084
|
/**
|
|
3085
|
+
* @public
|
|
2877
3086
|
* <p>File modes that are set as part of the merge conflict resolution.</p>
|
|
2878
3087
|
*/
|
|
2879
3088
|
setFileModes?: SetFileModeEntry[];
|
|
@@ -2883,24 +3092,29 @@ export interface ConflictResolution {
|
|
|
2883
3092
|
*/
|
|
2884
3093
|
export interface CreateUnreferencedMergeCommitInput {
|
|
2885
3094
|
/**
|
|
3095
|
+
* @public
|
|
2886
3096
|
* <p>The name of the repository where you want to create the unreferenced merge commit.</p>
|
|
2887
3097
|
*/
|
|
2888
3098
|
repositoryName: string | undefined;
|
|
2889
3099
|
/**
|
|
3100
|
+
* @public
|
|
2890
3101
|
* <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
|
|
2891
3102
|
* (for example, a branch name or a full commit ID).</p>
|
|
2892
3103
|
*/
|
|
2893
3104
|
sourceCommitSpecifier: string | undefined;
|
|
2894
3105
|
/**
|
|
3106
|
+
* @public
|
|
2895
3107
|
* <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
|
|
2896
3108
|
* (for example, a branch name or a full commit ID).</p>
|
|
2897
3109
|
*/
|
|
2898
3110
|
destinationCommitSpecifier: string | undefined;
|
|
2899
3111
|
/**
|
|
3112
|
+
* @public
|
|
2900
3113
|
* <p>The merge option or strategy you want to use to merge the code.</p>
|
|
2901
3114
|
*/
|
|
2902
3115
|
mergeOption: MergeOptionTypeEnum | string | undefined;
|
|
2903
3116
|
/**
|
|
3117
|
+
* @public
|
|
2904
3118
|
* <p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used,
|
|
2905
3119
|
* which returns a not-mergeable result if the same file has differences in both branches.
|
|
2906
3120
|
* If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in
|
|
@@ -2908,31 +3122,37 @@ export interface CreateUnreferencedMergeCommitInput {
|
|
|
2908
3122
|
*/
|
|
2909
3123
|
conflictDetailLevel?: ConflictDetailLevelTypeEnum | string;
|
|
2910
3124
|
/**
|
|
3125
|
+
* @public
|
|
2911
3126
|
* <p>Specifies which branch to use when resolving conflicts, or whether to attempt
|
|
2912
3127
|
* automatically merging two versions of a file. The default is NONE, which requires any
|
|
2913
3128
|
* conflicts to be resolved manually before the merge operation is successful.</p>
|
|
2914
3129
|
*/
|
|
2915
3130
|
conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | string;
|
|
2916
3131
|
/**
|
|
3132
|
+
* @public
|
|
2917
3133
|
* <p>The name of the author who created the unreferenced commit. This information is used
|
|
2918
3134
|
* as both the author and committer for the commit.</p>
|
|
2919
3135
|
*/
|
|
2920
3136
|
authorName?: string;
|
|
2921
3137
|
/**
|
|
3138
|
+
* @public
|
|
2922
3139
|
* <p>The email address for the person who created the unreferenced commit.</p>
|
|
2923
3140
|
*/
|
|
2924
3141
|
email?: string;
|
|
2925
3142
|
/**
|
|
3143
|
+
* @public
|
|
2926
3144
|
* <p>The commit message for the unreferenced commit.</p>
|
|
2927
3145
|
*/
|
|
2928
3146
|
commitMessage?: string;
|
|
2929
3147
|
/**
|
|
3148
|
+
* @public
|
|
2930
3149
|
* <p>If the commit contains deletions, whether to keep a folder or folder structure if the
|
|
2931
3150
|
* changes leave the folders empty. If this is specified as true, a .gitkeep file is
|
|
2932
3151
|
* created for empty folders. The default is false.</p>
|
|
2933
3152
|
*/
|
|
2934
3153
|
keepEmptyFolders?: boolean;
|
|
2935
3154
|
/**
|
|
3155
|
+
* @public
|
|
2936
3156
|
* <p>If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when
|
|
2937
3157
|
* resolving conflicts during a merge.</p>
|
|
2938
3158
|
*/
|
|
@@ -2943,10 +3163,12 @@ export interface CreateUnreferencedMergeCommitInput {
|
|
|
2943
3163
|
*/
|
|
2944
3164
|
export interface CreateUnreferencedMergeCommitOutput {
|
|
2945
3165
|
/**
|
|
3166
|
+
* @public
|
|
2946
3167
|
* <p>The full commit ID of the commit that contains your merge results.</p>
|
|
2947
3168
|
*/
|
|
2948
3169
|
commitId?: string;
|
|
2949
3170
|
/**
|
|
3171
|
+
* @public
|
|
2950
3172
|
* <p>The full SHA-1 pointer of the tree information for the commit that contains the merge results.</p>
|
|
2951
3173
|
*/
|
|
2952
3174
|
treeId?: string;
|
|
@@ -3052,6 +3274,7 @@ export declare class ReplacementTypeRequiredException extends __BaseException {
|
|
|
3052
3274
|
*/
|
|
3053
3275
|
export interface DeleteApprovalRuleTemplateInput {
|
|
3054
3276
|
/**
|
|
3277
|
+
* @public
|
|
3055
3278
|
* <p>The name of the approval rule template to delete.</p>
|
|
3056
3279
|
*/
|
|
3057
3280
|
approvalRuleTemplateName: string | undefined;
|
|
@@ -3061,6 +3284,7 @@ export interface DeleteApprovalRuleTemplateInput {
|
|
|
3061
3284
|
*/
|
|
3062
3285
|
export interface DeleteApprovalRuleTemplateOutput {
|
|
3063
3286
|
/**
|
|
3287
|
+
* @public
|
|
3064
3288
|
* <p>The system-generated ID of the deleted approval rule template. If the template has
|
|
3065
3289
|
* been previously deleted, the only response is a 200 OK.</p>
|
|
3066
3290
|
*/
|
|
@@ -3084,10 +3308,12 @@ export declare class DefaultBranchCannotBeDeletedException extends __BaseExcepti
|
|
|
3084
3308
|
*/
|
|
3085
3309
|
export interface DeleteBranchInput {
|
|
3086
3310
|
/**
|
|
3311
|
+
* @public
|
|
3087
3312
|
* <p>The name of the repository that contains the branch to be deleted.</p>
|
|
3088
3313
|
*/
|
|
3089
3314
|
repositoryName: string | undefined;
|
|
3090
3315
|
/**
|
|
3316
|
+
* @public
|
|
3091
3317
|
* <p>The name of the branch to delete.</p>
|
|
3092
3318
|
*/
|
|
3093
3319
|
branchName: string | undefined;
|
|
@@ -3098,6 +3324,7 @@ export interface DeleteBranchInput {
|
|
|
3098
3324
|
*/
|
|
3099
3325
|
export interface DeleteBranchOutput {
|
|
3100
3326
|
/**
|
|
3327
|
+
* @public
|
|
3101
3328
|
* <p>Information about the branch deleted by the operation, including the branch name and the commit ID that was the tip of the branch.</p>
|
|
3102
3329
|
*/
|
|
3103
3330
|
deletedBranch?: BranchInfo;
|
|
@@ -3144,6 +3371,7 @@ export declare class CommentIdRequiredException extends __BaseException {
|
|
|
3144
3371
|
*/
|
|
3145
3372
|
export interface DeleteCommentContentInput {
|
|
3146
3373
|
/**
|
|
3374
|
+
* @public
|
|
3147
3375
|
* <p>The unique, system-generated ID of the comment. To get this ID, use <a>GetCommentsForComparedCommit</a>
|
|
3148
3376
|
* or <a>GetCommentsForPullRequest</a>.</p>
|
|
3149
3377
|
*/
|
|
@@ -3155,34 +3383,42 @@ export interface DeleteCommentContentInput {
|
|
|
3155
3383
|
*/
|
|
3156
3384
|
export interface Comment {
|
|
3157
3385
|
/**
|
|
3386
|
+
* @public
|
|
3158
3387
|
* <p>The system-generated comment ID.</p>
|
|
3159
3388
|
*/
|
|
3160
3389
|
commentId?: string;
|
|
3161
3390
|
/**
|
|
3391
|
+
* @public
|
|
3162
3392
|
* <p>The content of the comment.</p>
|
|
3163
3393
|
*/
|
|
3164
3394
|
content?: string;
|
|
3165
3395
|
/**
|
|
3396
|
+
* @public
|
|
3166
3397
|
* <p>The ID of the comment for which this comment is a reply, if any.</p>
|
|
3167
3398
|
*/
|
|
3168
3399
|
inReplyTo?: string;
|
|
3169
3400
|
/**
|
|
3401
|
+
* @public
|
|
3170
3402
|
* <p>The date and time the comment was created, in timestamp format.</p>
|
|
3171
3403
|
*/
|
|
3172
3404
|
creationDate?: Date;
|
|
3173
3405
|
/**
|
|
3406
|
+
* @public
|
|
3174
3407
|
* <p>The date and time the comment was most recently modified, in timestamp format.</p>
|
|
3175
3408
|
*/
|
|
3176
3409
|
lastModifiedDate?: Date;
|
|
3177
3410
|
/**
|
|
3411
|
+
* @public
|
|
3178
3412
|
* <p>The Amazon Resource Name (ARN) of the person who posted the comment.</p>
|
|
3179
3413
|
*/
|
|
3180
3414
|
authorArn?: string;
|
|
3181
3415
|
/**
|
|
3416
|
+
* @public
|
|
3182
3417
|
* <p>A Boolean value indicating whether the comment has been deleted.</p>
|
|
3183
3418
|
*/
|
|
3184
3419
|
deleted?: boolean;
|
|
3185
3420
|
/**
|
|
3421
|
+
* @public
|
|
3186
3422
|
* <p>A unique, client-generated idempotency token that, when provided in a request, ensures
|
|
3187
3423
|
* the request cannot be repeated with a changed parameter. If a request is received with
|
|
3188
3424
|
* the same parameters and a token is included, the request returns information about the
|
|
@@ -3190,10 +3426,12 @@ export interface Comment {
|
|
|
3190
3426
|
*/
|
|
3191
3427
|
clientRequestToken?: string;
|
|
3192
3428
|
/**
|
|
3429
|
+
* @public
|
|
3193
3430
|
* <p>The emoji reactions to a comment, if any, submitted by the user whose credentials are associated with the call to the API.</p>
|
|
3194
3431
|
*/
|
|
3195
3432
|
callerReactions?: string[];
|
|
3196
3433
|
/**
|
|
3434
|
+
* @public
|
|
3197
3435
|
* <p>A string to integer map that represents the number of individual users who have responded to a comment with the specified reactions.</p>
|
|
3198
3436
|
*/
|
|
3199
3437
|
reactionCounts?: Record<string, number>;
|
|
@@ -3203,6 +3441,7 @@ export interface Comment {
|
|
|
3203
3441
|
*/
|
|
3204
3442
|
export interface DeleteCommentContentOutput {
|
|
3205
3443
|
/**
|
|
3444
|
+
* @public
|
|
3206
3445
|
* <p>Information about the comment you just deleted.</p>
|
|
3207
3446
|
*/
|
|
3208
3447
|
comment?: Comment;
|
|
@@ -3224,26 +3463,31 @@ export declare class InvalidCommentIdException extends __BaseException {
|
|
|
3224
3463
|
*/
|
|
3225
3464
|
export interface DeleteFileInput {
|
|
3226
3465
|
/**
|
|
3466
|
+
* @public
|
|
3227
3467
|
* <p>The name of the repository that contains the file to delete.</p>
|
|
3228
3468
|
*/
|
|
3229
3469
|
repositoryName: string | undefined;
|
|
3230
3470
|
/**
|
|
3471
|
+
* @public
|
|
3231
3472
|
* <p>The name of the branch where the commit that deletes the file is made.</p>
|
|
3232
3473
|
*/
|
|
3233
3474
|
branchName: string | undefined;
|
|
3234
3475
|
/**
|
|
3476
|
+
* @public
|
|
3235
3477
|
* <p>The fully qualified path to the file that to be deleted, including the full name and
|
|
3236
3478
|
* extension of that file. For example, /examples/file.md is a fully qualified path to a
|
|
3237
3479
|
* file named file.md in a folder named examples.</p>
|
|
3238
3480
|
*/
|
|
3239
3481
|
filePath: string | undefined;
|
|
3240
3482
|
/**
|
|
3483
|
+
* @public
|
|
3241
3484
|
* <p>The ID of the commit that is the tip of the branch where you want to create the commit
|
|
3242
3485
|
* that deletes the file. This must be the HEAD commit for the branch. The commit that
|
|
3243
3486
|
* deletes the file is created from this commit ID.</p>
|
|
3244
3487
|
*/
|
|
3245
3488
|
parentCommitId: string | undefined;
|
|
3246
3489
|
/**
|
|
3490
|
+
* @public
|
|
3247
3491
|
* <p>If a file is the only object in the folder or directory, specifies whether to delete
|
|
3248
3492
|
* the folder or directory that contains the file. By default, empty folders are deleted.
|
|
3249
3493
|
* This includes empty folders that are part of the directory structure. For example, if
|
|
@@ -3252,16 +3496,19 @@ export interface DeleteFileInput {
|
|
|
3252
3496
|
*/
|
|
3253
3497
|
keepEmptyFolders?: boolean;
|
|
3254
3498
|
/**
|
|
3499
|
+
* @public
|
|
3255
3500
|
* <p>The commit message you want to include as part of deleting the file. Commit messages
|
|
3256
3501
|
* are limited to 256 KB. If no message is specified, a default message is used.</p>
|
|
3257
3502
|
*/
|
|
3258
3503
|
commitMessage?: string;
|
|
3259
3504
|
/**
|
|
3505
|
+
* @public
|
|
3260
3506
|
* <p>The name of the author of the commit that deletes the file. If no name is specified,
|
|
3261
3507
|
* the user's ARN is used as the author name and committer name.</p>
|
|
3262
3508
|
*/
|
|
3263
3509
|
name?: string;
|
|
3264
3510
|
/**
|
|
3511
|
+
* @public
|
|
3265
3512
|
* <p>The email address for the commit that deletes the file. If no email address is
|
|
3266
3513
|
* specified, the email address is left blank.</p>
|
|
3267
3514
|
*/
|
|
@@ -3272,18 +3519,22 @@ export interface DeleteFileInput {
|
|
|
3272
3519
|
*/
|
|
3273
3520
|
export interface DeleteFileOutput {
|
|
3274
3521
|
/**
|
|
3522
|
+
* @public
|
|
3275
3523
|
* <p>The full commit ID of the commit that contains the change that deletes the file.</p>
|
|
3276
3524
|
*/
|
|
3277
3525
|
commitId: string | undefined;
|
|
3278
3526
|
/**
|
|
3527
|
+
* @public
|
|
3279
3528
|
* <p>The blob ID removed from the tree as part of deleting the file.</p>
|
|
3280
3529
|
*/
|
|
3281
3530
|
blobId: string | undefined;
|
|
3282
3531
|
/**
|
|
3532
|
+
* @public
|
|
3283
3533
|
* <p>The full SHA-1 pointer of the tree information for the commit that contains the delete file change.</p>
|
|
3284
3534
|
*/
|
|
3285
3535
|
treeId: string | undefined;
|
|
3286
3536
|
/**
|
|
3537
|
+
* @public
|
|
3287
3538
|
* <p>The fully qualified path to the file to be deleted, including the full name and
|
|
3288
3539
|
* extension of that file.</p>
|
|
3289
3540
|
*/
|
|
@@ -3294,10 +3545,12 @@ export interface DeleteFileOutput {
|
|
|
3294
3545
|
*/
|
|
3295
3546
|
export interface DeletePullRequestApprovalRuleInput {
|
|
3296
3547
|
/**
|
|
3548
|
+
* @public
|
|
3297
3549
|
* <p>The system-generated ID of the pull request that contains the approval rule you want to delete.</p>
|
|
3298
3550
|
*/
|
|
3299
3551
|
pullRequestId: string | undefined;
|
|
3300
3552
|
/**
|
|
3553
|
+
* @public
|
|
3301
3554
|
* <p>The name of the approval rule you want to delete.</p>
|
|
3302
3555
|
*/
|
|
3303
3556
|
approvalRuleName: string | undefined;
|
|
@@ -3307,6 +3560,7 @@ export interface DeletePullRequestApprovalRuleInput {
|
|
|
3307
3560
|
*/
|
|
3308
3561
|
export interface DeletePullRequestApprovalRuleOutput {
|
|
3309
3562
|
/**
|
|
3563
|
+
* @public
|
|
3310
3564
|
* <p>The ID of the deleted approval rule. </p>
|
|
3311
3565
|
* <note>
|
|
3312
3566
|
* <p>If the approval rule was deleted in an earlier API call, the response is 200 OK without
|
|
@@ -3321,6 +3575,7 @@ export interface DeletePullRequestApprovalRuleOutput {
|
|
|
3321
3575
|
*/
|
|
3322
3576
|
export interface DeleteRepositoryInput {
|
|
3323
3577
|
/**
|
|
3578
|
+
* @public
|
|
3324
3579
|
* <p>The name of the repository to delete.</p>
|
|
3325
3580
|
*/
|
|
3326
3581
|
repositoryName: string | undefined;
|
|
@@ -3331,6 +3586,7 @@ export interface DeleteRepositoryInput {
|
|
|
3331
3586
|
*/
|
|
3332
3587
|
export interface DeleteRepositoryOutput {
|
|
3333
3588
|
/**
|
|
3589
|
+
* @public
|
|
3334
3590
|
* <p>The ID of the repository that was deleted.</p>
|
|
3335
3591
|
*/
|
|
3336
3592
|
repositoryId?: string;
|
|
@@ -3340,32 +3596,39 @@ export interface DeleteRepositoryOutput {
|
|
|
3340
3596
|
*/
|
|
3341
3597
|
export interface DescribeMergeConflictsInput {
|
|
3342
3598
|
/**
|
|
3599
|
+
* @public
|
|
3343
3600
|
* <p>The name of the repository where you want to get information about a merge conflict.</p>
|
|
3344
3601
|
*/
|
|
3345
3602
|
repositoryName: string | undefined;
|
|
3346
3603
|
/**
|
|
3604
|
+
* @public
|
|
3347
3605
|
* <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
|
|
3348
3606
|
* (for example, a branch name or a full commit ID).</p>
|
|
3349
3607
|
*/
|
|
3350
3608
|
destinationCommitSpecifier: string | undefined;
|
|
3351
3609
|
/**
|
|
3610
|
+
* @public
|
|
3352
3611
|
* <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
|
|
3353
3612
|
* (for example, a branch name or a full commit ID).</p>
|
|
3354
3613
|
*/
|
|
3355
3614
|
sourceCommitSpecifier: string | undefined;
|
|
3356
3615
|
/**
|
|
3616
|
+
* @public
|
|
3357
3617
|
* <p>The merge option or strategy you want to use to merge the code.</p>
|
|
3358
3618
|
*/
|
|
3359
3619
|
mergeOption: MergeOptionTypeEnum | string | undefined;
|
|
3360
3620
|
/**
|
|
3621
|
+
* @public
|
|
3361
3622
|
* <p>The maximum number of merge hunks to include in the output.</p>
|
|
3362
3623
|
*/
|
|
3363
3624
|
maxMergeHunks?: number;
|
|
3364
3625
|
/**
|
|
3626
|
+
* @public
|
|
3365
3627
|
* <p>The path of the target files used to describe the conflicts. </p>
|
|
3366
3628
|
*/
|
|
3367
3629
|
filePath: string | undefined;
|
|
3368
3630
|
/**
|
|
3631
|
+
* @public
|
|
3369
3632
|
* <p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used,
|
|
3370
3633
|
* which returns a not-mergeable result if the same file has differences in both branches.
|
|
3371
3634
|
* If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in
|
|
@@ -3373,12 +3636,14 @@ export interface DescribeMergeConflictsInput {
|
|
|
3373
3636
|
*/
|
|
3374
3637
|
conflictDetailLevel?: ConflictDetailLevelTypeEnum | string;
|
|
3375
3638
|
/**
|
|
3639
|
+
* @public
|
|
3376
3640
|
* <p>Specifies which branch to use when resolving conflicts, or whether to attempt
|
|
3377
3641
|
* automatically merging two versions of a file. The default is NONE, which requires any
|
|
3378
3642
|
* conflicts to be resolved manually before the merge operation is successful.</p>
|
|
3379
3643
|
*/
|
|
3380
3644
|
conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | string;
|
|
3381
3645
|
/**
|
|
3646
|
+
* @public
|
|
3382
3647
|
* <p>An enumeration token that, when provided in a request, returns the next batch of the
|
|
3383
3648
|
* results.</p>
|
|
3384
3649
|
*/
|
|
@@ -3389,26 +3654,32 @@ export interface DescribeMergeConflictsInput {
|
|
|
3389
3654
|
*/
|
|
3390
3655
|
export interface DescribeMergeConflictsOutput {
|
|
3391
3656
|
/**
|
|
3657
|
+
* @public
|
|
3392
3658
|
* <p>Contains metadata about the conflicts found in the merge.</p>
|
|
3393
3659
|
*/
|
|
3394
3660
|
conflictMetadata: ConflictMetadata | undefined;
|
|
3395
3661
|
/**
|
|
3662
|
+
* @public
|
|
3396
3663
|
* <p>A list of merge hunks of the differences between the files or lines.</p>
|
|
3397
3664
|
*/
|
|
3398
3665
|
mergeHunks: MergeHunk[] | undefined;
|
|
3399
3666
|
/**
|
|
3667
|
+
* @public
|
|
3400
3668
|
* <p>An enumeration token that can be used in a request to return the next batch of the results.</p>
|
|
3401
3669
|
*/
|
|
3402
3670
|
nextToken?: string;
|
|
3403
3671
|
/**
|
|
3672
|
+
* @public
|
|
3404
3673
|
* <p>The commit ID of the destination commit specifier that was used in the merge evaluation.</p>
|
|
3405
3674
|
*/
|
|
3406
3675
|
destinationCommitId: string | undefined;
|
|
3407
3676
|
/**
|
|
3677
|
+
* @public
|
|
3408
3678
|
* <p>The commit ID of the source commit specifier that was used in the merge evaluation.</p>
|
|
3409
3679
|
*/
|
|
3410
3680
|
sourceCommitId: string | undefined;
|
|
3411
3681
|
/**
|
|
3682
|
+
* @public
|
|
3412
3683
|
* <p>The commit ID of the merge base.</p>
|
|
3413
3684
|
*/
|
|
3414
3685
|
baseCommitId?: string;
|
|
@@ -3437,25 +3708,30 @@ export type PullRequestEventType = (typeof PullRequestEventType)[keyof typeof Pu
|
|
|
3437
3708
|
*/
|
|
3438
3709
|
export interface DescribePullRequestEventsInput {
|
|
3439
3710
|
/**
|
|
3711
|
+
* @public
|
|
3440
3712
|
* <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
|
|
3441
3713
|
*/
|
|
3442
3714
|
pullRequestId: string | undefined;
|
|
3443
3715
|
/**
|
|
3716
|
+
* @public
|
|
3444
3717
|
* <p>Optional. The pull request event type about which you want to return information.</p>
|
|
3445
3718
|
*/
|
|
3446
3719
|
pullRequestEventType?: PullRequestEventType | string;
|
|
3447
3720
|
/**
|
|
3721
|
+
* @public
|
|
3448
3722
|
* <p>The Amazon Resource Name (ARN) of the user whose actions resulted in the event.
|
|
3449
3723
|
* Examples include updating the pull request with more commits or changing the status of a
|
|
3450
3724
|
* pull request.</p>
|
|
3451
3725
|
*/
|
|
3452
3726
|
actorArn?: string;
|
|
3453
3727
|
/**
|
|
3728
|
+
* @public
|
|
3454
3729
|
* <p>An enumeration token that, when provided in a request, returns the next batch of the
|
|
3455
3730
|
* results.</p>
|
|
3456
3731
|
*/
|
|
3457
3732
|
nextToken?: string;
|
|
3458
3733
|
/**
|
|
3734
|
+
* @public
|
|
3459
3735
|
* <p>A non-zero, non-negative integer used to limit the number of returned results.
|
|
3460
3736
|
* The default is 100 events, which is also the maximum number of events that can be returned in a result.</p>
|
|
3461
3737
|
*/
|
|
@@ -3467,18 +3743,22 @@ export interface DescribePullRequestEventsInput {
|
|
|
3467
3743
|
*/
|
|
3468
3744
|
export interface PullRequestCreatedEventMetadata {
|
|
3469
3745
|
/**
|
|
3746
|
+
* @public
|
|
3470
3747
|
* <p>The name of the repository where the pull request was created.</p>
|
|
3471
3748
|
*/
|
|
3472
3749
|
repositoryName?: string;
|
|
3473
3750
|
/**
|
|
3751
|
+
* @public
|
|
3474
3752
|
* <p>The commit ID on the source branch used when the pull request was created.</p>
|
|
3475
3753
|
*/
|
|
3476
3754
|
sourceCommitId?: string;
|
|
3477
3755
|
/**
|
|
3756
|
+
* @public
|
|
3478
3757
|
* <p>The commit ID of the tip of the branch specified as the destination branch when the pull request was created.</p>
|
|
3479
3758
|
*/
|
|
3480
3759
|
destinationCommitId?: string;
|
|
3481
3760
|
/**
|
|
3761
|
+
* @public
|
|
3482
3762
|
* <p>The commit ID of the most recent commit that the source branch and the destination branch have in common.</p>
|
|
3483
3763
|
*/
|
|
3484
3764
|
mergeBase?: string;
|
|
@@ -3489,14 +3769,17 @@ export interface PullRequestCreatedEventMetadata {
|
|
|
3489
3769
|
*/
|
|
3490
3770
|
export interface PullRequestMergedStateChangedEventMetadata {
|
|
3491
3771
|
/**
|
|
3772
|
+
* @public
|
|
3492
3773
|
* <p>The name of the repository where the pull request was created.</p>
|
|
3493
3774
|
*/
|
|
3494
3775
|
repositoryName?: string;
|
|
3495
3776
|
/**
|
|
3777
|
+
* @public
|
|
3496
3778
|
* <p>The name of the branch that the pull request is merged into.</p>
|
|
3497
3779
|
*/
|
|
3498
3780
|
destinationReference?: string;
|
|
3499
3781
|
/**
|
|
3782
|
+
* @public
|
|
3500
3783
|
* <p>Information about the merge state change event.</p>
|
|
3501
3784
|
*/
|
|
3502
3785
|
mergeMetadata?: MergeMetadata;
|
|
@@ -3507,18 +3790,22 @@ export interface PullRequestMergedStateChangedEventMetadata {
|
|
|
3507
3790
|
*/
|
|
3508
3791
|
export interface PullRequestSourceReferenceUpdatedEventMetadata {
|
|
3509
3792
|
/**
|
|
3793
|
+
* @public
|
|
3510
3794
|
* <p>The name of the repository where the pull request was updated.</p>
|
|
3511
3795
|
*/
|
|
3512
3796
|
repositoryName?: string;
|
|
3513
3797
|
/**
|
|
3798
|
+
* @public
|
|
3514
3799
|
* <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 updated.</p>
|
|
3515
3800
|
*/
|
|
3516
3801
|
beforeCommitId?: string;
|
|
3517
3802
|
/**
|
|
3803
|
+
* @public
|
|
3518
3804
|
* <p>The full commit ID of the commit in the source branch that was the tip of the branch at the time the pull request was updated.</p>
|
|
3519
3805
|
*/
|
|
3520
3806
|
afterCommitId?: string;
|
|
3521
3807
|
/**
|
|
3808
|
+
* @public
|
|
3522
3809
|
* <p>The commit ID of the most recent commit that the source branch and the destination branch have in common.</p>
|
|
3523
3810
|
*/
|
|
3524
3811
|
mergeBase?: string;
|
|
@@ -3529,6 +3816,7 @@ export interface PullRequestSourceReferenceUpdatedEventMetadata {
|
|
|
3529
3816
|
*/
|
|
3530
3817
|
export interface PullRequestStatusChangedEventMetadata {
|
|
3531
3818
|
/**
|
|
3819
|
+
* @public
|
|
3532
3820
|
* <p>The changed status of the pull request.</p>
|
|
3533
3821
|
*/
|
|
3534
3822
|
pullRequestStatus?: PullRequestStatusEnum | string;
|
|
@@ -3539,50 +3827,61 @@ export interface PullRequestStatusChangedEventMetadata {
|
|
|
3539
3827
|
*/
|
|
3540
3828
|
export interface PullRequestEvent {
|
|
3541
3829
|
/**
|
|
3830
|
+
* @public
|
|
3542
3831
|
* <p>The system-generated ID of the pull request.</p>
|
|
3543
3832
|
*/
|
|
3544
3833
|
pullRequestId?: string;
|
|
3545
3834
|
/**
|
|
3835
|
+
* @public
|
|
3546
3836
|
* <p>The day and time of the pull request event, in timestamp format.</p>
|
|
3547
3837
|
*/
|
|
3548
3838
|
eventDate?: Date;
|
|
3549
3839
|
/**
|
|
3840
|
+
* @public
|
|
3550
3841
|
* <p>The type of the pull request event (for example, a status change event
|
|
3551
3842
|
* (PULL_REQUEST_STATUS_CHANGED) or update event
|
|
3552
3843
|
* (PULL_REQUEST_SOURCE_REFERENCE_UPDATED)).</p>
|
|
3553
3844
|
*/
|
|
3554
3845
|
pullRequestEventType?: PullRequestEventType | string;
|
|
3555
3846
|
/**
|
|
3847
|
+
* @public
|
|
3556
3848
|
* <p>The Amazon Resource Name (ARN) of the user whose actions resulted in the event.
|
|
3557
3849
|
* Examples include updating the pull request with more commits or changing the status of a
|
|
3558
3850
|
* pull request.</p>
|
|
3559
3851
|
*/
|
|
3560
3852
|
actorArn?: string;
|
|
3561
3853
|
/**
|
|
3854
|
+
* @public
|
|
3562
3855
|
* <p>Information about the source and destination branches for the pull request.</p>
|
|
3563
3856
|
*/
|
|
3564
3857
|
pullRequestCreatedEventMetadata?: PullRequestCreatedEventMetadata;
|
|
3565
3858
|
/**
|
|
3859
|
+
* @public
|
|
3566
3860
|
* <p>Information about the change in status for the pull request event.</p>
|
|
3567
3861
|
*/
|
|
3568
3862
|
pullRequestStatusChangedEventMetadata?: PullRequestStatusChangedEventMetadata;
|
|
3569
3863
|
/**
|
|
3864
|
+
* @public
|
|
3570
3865
|
* <p>Information about the updated source branch for the pull request event. </p>
|
|
3571
3866
|
*/
|
|
3572
3867
|
pullRequestSourceReferenceUpdatedEventMetadata?: PullRequestSourceReferenceUpdatedEventMetadata;
|
|
3573
3868
|
/**
|
|
3869
|
+
* @public
|
|
3574
3870
|
* <p>Information about the change in mergability state for the pull request event.</p>
|
|
3575
3871
|
*/
|
|
3576
3872
|
pullRequestMergedStateChangedEventMetadata?: PullRequestMergedStateChangedEventMetadata;
|
|
3577
3873
|
/**
|
|
3874
|
+
* @public
|
|
3578
3875
|
* <p>Information about a pull request event.</p>
|
|
3579
3876
|
*/
|
|
3580
3877
|
approvalRuleEventMetadata?: ApprovalRuleEventMetadata;
|
|
3581
3878
|
/**
|
|
3879
|
+
* @public
|
|
3582
3880
|
* <p>Information about an approval state change for a pull request.</p>
|
|
3583
3881
|
*/
|
|
3584
3882
|
approvalStateChangedEventMetadata?: ApprovalStateChangedEventMetadata;
|
|
3585
3883
|
/**
|
|
3884
|
+
* @public
|
|
3586
3885
|
* <p>Information about an approval rule override event for a pull request.</p>
|
|
3587
3886
|
*/
|
|
3588
3887
|
approvalRuleOverriddenEventMetadata?: ApprovalRuleOverriddenEventMetadata;
|
|
@@ -3592,10 +3891,12 @@ export interface PullRequestEvent {
|
|
|
3592
3891
|
*/
|
|
3593
3892
|
export interface DescribePullRequestEventsOutput {
|
|
3594
3893
|
/**
|
|
3894
|
+
* @public
|
|
3595
3895
|
* <p>Information about the pull request events.</p>
|
|
3596
3896
|
*/
|
|
3597
3897
|
pullRequestEvents: PullRequestEvent[] | undefined;
|
|
3598
3898
|
/**
|
|
3899
|
+
* @public
|
|
3599
3900
|
* <p>An enumeration token that can be used in a request to return the next batch of the results.</p>
|
|
3600
3901
|
*/
|
|
3601
3902
|
nextToken?: string;
|
|
@@ -3642,10 +3943,12 @@ export declare class InvalidPullRequestEventTypeException extends __BaseExceptio
|
|
|
3642
3943
|
*/
|
|
3643
3944
|
export interface DisassociateApprovalRuleTemplateFromRepositoryInput {
|
|
3644
3945
|
/**
|
|
3946
|
+
* @public
|
|
3645
3947
|
* <p>The name of the approval rule template to disassociate from a specified repository.</p>
|
|
3646
3948
|
*/
|
|
3647
3949
|
approvalRuleTemplateName: string | undefined;
|
|
3648
3950
|
/**
|
|
3951
|
+
* @public
|
|
3649
3952
|
* <p>The name of the repository you want to disassociate from the template.</p>
|
|
3650
3953
|
*/
|
|
3651
3954
|
repositoryName: string | undefined;
|
|
@@ -3655,10 +3958,12 @@ export interface DisassociateApprovalRuleTemplateFromRepositoryInput {
|
|
|
3655
3958
|
*/
|
|
3656
3959
|
export interface EvaluatePullRequestApprovalRulesInput {
|
|
3657
3960
|
/**
|
|
3961
|
+
* @public
|
|
3658
3962
|
* <p>The system-generated ID of the pull request you want to evaluate.</p>
|
|
3659
3963
|
*/
|
|
3660
3964
|
pullRequestId: string | undefined;
|
|
3661
3965
|
/**
|
|
3966
|
+
* @public
|
|
3662
3967
|
* <p>The system-generated ID for the pull request revision. To retrieve the most recent
|
|
3663
3968
|
* revision ID for a pull request, use
|
|
3664
3969
|
* <a>GetPullRequest</a>.</p>
|
|
@@ -3671,18 +3976,22 @@ export interface EvaluatePullRequestApprovalRulesInput {
|
|
|
3671
3976
|
*/
|
|
3672
3977
|
export interface Evaluation {
|
|
3673
3978
|
/**
|
|
3979
|
+
* @public
|
|
3674
3980
|
* <p>Whether the state of the pull request is approved.</p>
|
|
3675
3981
|
*/
|
|
3676
3982
|
approved?: boolean;
|
|
3677
3983
|
/**
|
|
3984
|
+
* @public
|
|
3678
3985
|
* <p>Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.</p>
|
|
3679
3986
|
*/
|
|
3680
3987
|
overridden?: boolean;
|
|
3681
3988
|
/**
|
|
3989
|
+
* @public
|
|
3682
3990
|
* <p>The names of the approval rules that have had their conditions met.</p>
|
|
3683
3991
|
*/
|
|
3684
3992
|
approvalRulesSatisfied?: string[];
|
|
3685
3993
|
/**
|
|
3994
|
+
* @public
|
|
3686
3995
|
* <p>The names of the approval rules that have not had their conditions met.</p>
|
|
3687
3996
|
*/
|
|
3688
3997
|
approvalRulesNotSatisfied?: string[];
|
|
@@ -3692,6 +4001,7 @@ export interface Evaluation {
|
|
|
3692
4001
|
*/
|
|
3693
4002
|
export interface EvaluatePullRequestApprovalRulesOutput {
|
|
3694
4003
|
/**
|
|
4004
|
+
* @public
|
|
3695
4005
|
* <p>The result of the evaluation, including the names of the rules whose conditions have been met (if any), the names of the rules whose conditions have
|
|
3696
4006
|
* not been met (if any), whether the pull request is in the approved state, and whether the pull request approval rule has been set aside by an override. </p>
|
|
3697
4007
|
*/
|
|
@@ -3738,6 +4048,7 @@ export declare class RevisionNotCurrentException extends __BaseException {
|
|
|
3738
4048
|
*/
|
|
3739
4049
|
export interface GetApprovalRuleTemplateInput {
|
|
3740
4050
|
/**
|
|
4051
|
+
* @public
|
|
3741
4052
|
* <p>The name of the approval rule template for which you want to get information.</p>
|
|
3742
4053
|
*/
|
|
3743
4054
|
approvalRuleTemplateName: string | undefined;
|
|
@@ -3747,6 +4058,7 @@ export interface GetApprovalRuleTemplateInput {
|
|
|
3747
4058
|
*/
|
|
3748
4059
|
export interface GetApprovalRuleTemplateOutput {
|
|
3749
4060
|
/**
|
|
4061
|
+
* @public
|
|
3750
4062
|
* <p>The content and structure of the approval rule template.</p>
|
|
3751
4063
|
*/
|
|
3752
4064
|
approvalRuleTemplate: ApprovalRuleTemplate | undefined;
|
|
@@ -3770,10 +4082,12 @@ export declare class FileTooLargeException extends __BaseException {
|
|
|
3770
4082
|
*/
|
|
3771
4083
|
export interface GetBlobInput {
|
|
3772
4084
|
/**
|
|
4085
|
+
* @public
|
|
3773
4086
|
* <p>The name of the repository that contains the blob.</p>
|
|
3774
4087
|
*/
|
|
3775
4088
|
repositoryName: string | undefined;
|
|
3776
4089
|
/**
|
|
4090
|
+
* @public
|
|
3777
4091
|
* <p>The ID of the blob, which is its SHA-1 pointer.</p>
|
|
3778
4092
|
*/
|
|
3779
4093
|
blobId: string | undefined;
|
|
@@ -3784,6 +4098,7 @@ export interface GetBlobInput {
|
|
|
3784
4098
|
*/
|
|
3785
4099
|
export interface GetBlobOutput {
|
|
3786
4100
|
/**
|
|
4101
|
+
* @public
|
|
3787
4102
|
* <p>The content of the blob, usually a file.</p>
|
|
3788
4103
|
*/
|
|
3789
4104
|
content: Uint8Array | undefined;
|
|
@@ -3806,10 +4121,12 @@ export declare class InvalidBlobIdException extends __BaseException {
|
|
|
3806
4121
|
*/
|
|
3807
4122
|
export interface GetBranchInput {
|
|
3808
4123
|
/**
|
|
4124
|
+
* @public
|
|
3809
4125
|
* <p>The name of the repository that contains the branch for which you want to retrieve information.</p>
|
|
3810
4126
|
*/
|
|
3811
4127
|
repositoryName?: string;
|
|
3812
4128
|
/**
|
|
4129
|
+
* @public
|
|
3813
4130
|
* <p>The name of the branch for which you want to retrieve information.</p>
|
|
3814
4131
|
*/
|
|
3815
4132
|
branchName?: string;
|
|
@@ -3820,6 +4137,7 @@ export interface GetBranchInput {
|
|
|
3820
4137
|
*/
|
|
3821
4138
|
export interface GetBranchOutput {
|
|
3822
4139
|
/**
|
|
4140
|
+
* @public
|
|
3823
4141
|
* <p>The name of the branch.</p>
|
|
3824
4142
|
*/
|
|
3825
4143
|
branch?: BranchInfo;
|
|
@@ -3829,6 +4147,7 @@ export interface GetBranchOutput {
|
|
|
3829
4147
|
*/
|
|
3830
4148
|
export interface GetCommentInput {
|
|
3831
4149
|
/**
|
|
4150
|
+
* @public
|
|
3832
4151
|
* <p>The unique, system-generated ID of the comment. To get this ID, use <a>GetCommentsForComparedCommit</a>
|
|
3833
4152
|
* or <a>GetCommentsForPullRequest</a>.</p>
|
|
3834
4153
|
*/
|
|
@@ -3839,6 +4158,7 @@ export interface GetCommentInput {
|
|
|
3839
4158
|
*/
|
|
3840
4159
|
export interface GetCommentOutput {
|
|
3841
4160
|
/**
|
|
4161
|
+
* @public
|
|
3842
4162
|
* <p>The contents of the comment.</p>
|
|
3843
4163
|
*/
|
|
3844
4164
|
comment?: Comment;
|
|
@@ -3848,18 +4168,22 @@ export interface GetCommentOutput {
|
|
|
3848
4168
|
*/
|
|
3849
4169
|
export interface GetCommentReactionsInput {
|
|
3850
4170
|
/**
|
|
4171
|
+
* @public
|
|
3851
4172
|
* <p>The ID of the comment for which you want to get reactions information.</p>
|
|
3852
4173
|
*/
|
|
3853
4174
|
commentId: string | undefined;
|
|
3854
4175
|
/**
|
|
4176
|
+
* @public
|
|
3855
4177
|
* <p>Optional. The Amazon Resource Name (ARN) of the user or identity for which you want to get reaction information.</p>
|
|
3856
4178
|
*/
|
|
3857
4179
|
reactionUserArn?: string;
|
|
3858
4180
|
/**
|
|
4181
|
+
* @public
|
|
3859
4182
|
* <p>An enumeration token that, when provided in a request, returns the next batch of the results. </p>
|
|
3860
4183
|
*/
|
|
3861
4184
|
nextToken?: string;
|
|
3862
4185
|
/**
|
|
4186
|
+
* @public
|
|
3863
4187
|
* <p>A non-zero, non-negative integer used to limit the number of returned results. The default is the same as the allowed maximum, 1,000.</p>
|
|
3864
4188
|
*/
|
|
3865
4189
|
maxResults?: number;
|
|
@@ -3870,14 +4194,17 @@ export interface GetCommentReactionsInput {
|
|
|
3870
4194
|
*/
|
|
3871
4195
|
export interface ReactionValueFormats {
|
|
3872
4196
|
/**
|
|
4197
|
+
* @public
|
|
3873
4198
|
* <p>The Emoji Version 1.0 graphic of the reaction. These graphics are interpreted slightly differently on different operating systems.</p>
|
|
3874
4199
|
*/
|
|
3875
4200
|
emoji?: string;
|
|
3876
4201
|
/**
|
|
4202
|
+
* @public
|
|
3877
4203
|
* <p>The emoji short code for the reaction. Short codes are interpreted slightly differently on different operating systems. </p>
|
|
3878
4204
|
*/
|
|
3879
4205
|
shortCode?: string;
|
|
3880
4206
|
/**
|
|
4207
|
+
* @public
|
|
3881
4208
|
* <p>The Unicode codepoint for the reaction.</p>
|
|
3882
4209
|
*/
|
|
3883
4210
|
unicode?: string;
|
|
@@ -3888,14 +4215,17 @@ export interface ReactionValueFormats {
|
|
|
3888
4215
|
*/
|
|
3889
4216
|
export interface ReactionForComment {
|
|
3890
4217
|
/**
|
|
4218
|
+
* @public
|
|
3891
4219
|
* <p>The reaction for a specified comment.</p>
|
|
3892
4220
|
*/
|
|
3893
4221
|
reaction?: ReactionValueFormats;
|
|
3894
4222
|
/**
|
|
4223
|
+
* @public
|
|
3895
4224
|
* <p>The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.</p>
|
|
3896
4225
|
*/
|
|
3897
4226
|
reactionUsers?: string[];
|
|
3898
4227
|
/**
|
|
4228
|
+
* @public
|
|
3899
4229
|
* <p>A numerical count of users who reacted with the specified emoji whose identities have been subsequently deleted
|
|
3900
4230
|
* from IAM. While these IAM users or roles no longer exist, the reactions might still appear in total reaction counts.</p>
|
|
3901
4231
|
*/
|
|
@@ -3906,10 +4236,12 @@ export interface ReactionForComment {
|
|
|
3906
4236
|
*/
|
|
3907
4237
|
export interface GetCommentReactionsOutput {
|
|
3908
4238
|
/**
|
|
4239
|
+
* @public
|
|
3909
4240
|
* <p>An array of reactions to the specified comment.</p>
|
|
3910
4241
|
*/
|
|
3911
4242
|
reactionsForComment: ReactionForComment[] | undefined;
|
|
3912
4243
|
/**
|
|
4244
|
+
* @public
|
|
3913
4245
|
* <p>An enumeration token that can be used in a request to return the next batch of the results.</p>
|
|
3914
4246
|
*/
|
|
3915
4247
|
nextToken?: string;
|
|
@@ -3931,24 +4263,29 @@ export declare class InvalidReactionUserArnException extends __BaseException {
|
|
|
3931
4263
|
*/
|
|
3932
4264
|
export interface GetCommentsForComparedCommitInput {
|
|
3933
4265
|
/**
|
|
4266
|
+
* @public
|
|
3934
4267
|
* <p>The name of the repository where you want to compare commits.</p>
|
|
3935
4268
|
*/
|
|
3936
4269
|
repositoryName: string | undefined;
|
|
3937
4270
|
/**
|
|
4271
|
+
* @public
|
|
3938
4272
|
* <p>To establish the directionality of the comparison, the full commit ID of the before
|
|
3939
4273
|
* commit.</p>
|
|
3940
4274
|
*/
|
|
3941
4275
|
beforeCommitId?: string;
|
|
3942
4276
|
/**
|
|
4277
|
+
* @public
|
|
3943
4278
|
* <p>To establish the directionality of the comparison, the full commit ID of the after
|
|
3944
4279
|
* commit.</p>
|
|
3945
4280
|
*/
|
|
3946
4281
|
afterCommitId: string | undefined;
|
|
3947
4282
|
/**
|
|
4283
|
+
* @public
|
|
3948
4284
|
* <p>An enumeration token that when provided in a request, returns the next batch of the results. </p>
|
|
3949
4285
|
*/
|
|
3950
4286
|
nextToken?: string;
|
|
3951
4287
|
/**
|
|
4288
|
+
* @public
|
|
3952
4289
|
* <p>A non-zero, non-negative integer used to limit the number of returned results. The
|
|
3953
4290
|
* default is 100 comments, but you can configure up to 500.</p>
|
|
3954
4291
|
*/
|
|
@@ -3972,14 +4309,17 @@ export type RelativeFileVersionEnum = (typeof RelativeFileVersionEnum)[keyof typ
|
|
|
3972
4309
|
*/
|
|
3973
4310
|
export interface Location {
|
|
3974
4311
|
/**
|
|
4312
|
+
* @public
|
|
3975
4313
|
* <p>The name of the file being compared, including its extension and subdirectory, if any.</p>
|
|
3976
4314
|
*/
|
|
3977
4315
|
filePath?: string;
|
|
3978
4316
|
/**
|
|
4317
|
+
* @public
|
|
3979
4318
|
* <p>The position of a change in a compared file, in line number format.</p>
|
|
3980
4319
|
*/
|
|
3981
4320
|
filePosition?: number;
|
|
3982
4321
|
/**
|
|
4322
|
+
* @public
|
|
3983
4323
|
* <p>In a comparison of commits or a pull request, whether the change is in the before or
|
|
3984
4324
|
* after of that comparison.</p>
|
|
3985
4325
|
*/
|
|
@@ -3991,33 +4331,40 @@ export interface Location {
|
|
|
3991
4331
|
*/
|
|
3992
4332
|
export interface CommentsForComparedCommit {
|
|
3993
4333
|
/**
|
|
4334
|
+
* @public
|
|
3994
4335
|
* <p>The name of the repository that contains the compared commits.</p>
|
|
3995
4336
|
*/
|
|
3996
4337
|
repositoryName?: string;
|
|
3997
4338
|
/**
|
|
4339
|
+
* @public
|
|
3998
4340
|
* <p>The full commit ID of the commit used to establish the before of the
|
|
3999
4341
|
* comparison.</p>
|
|
4000
4342
|
*/
|
|
4001
4343
|
beforeCommitId?: string;
|
|
4002
4344
|
/**
|
|
4345
|
+
* @public
|
|
4003
4346
|
* <p>The full commit ID of the commit used to establish the after of the comparison.</p>
|
|
4004
4347
|
*/
|
|
4005
4348
|
afterCommitId?: string;
|
|
4006
4349
|
/**
|
|
4350
|
+
* @public
|
|
4007
4351
|
* <p>The full blob ID of the commit used to establish the before of the comparison.</p>
|
|
4008
4352
|
*/
|
|
4009
4353
|
beforeBlobId?: string;
|
|
4010
4354
|
/**
|
|
4355
|
+
* @public
|
|
4011
4356
|
* <p>The full blob ID of the commit used to establish the after of the comparison.</p>
|
|
4012
4357
|
*/
|
|
4013
4358
|
afterBlobId?: string;
|
|
4014
4359
|
/**
|
|
4360
|
+
* @public
|
|
4015
4361
|
* <p>Location information about the comment on the comparison, including the file name,
|
|
4016
4362
|
* line number, and whether the version of the file where the comment was made is BEFORE or
|
|
4017
4363
|
* AFTER.</p>
|
|
4018
4364
|
*/
|
|
4019
4365
|
location?: Location;
|
|
4020
4366
|
/**
|
|
4367
|
+
* @public
|
|
4021
4368
|
* <p>An array of comment objects. Each comment object contains information about a comment on the comparison
|
|
4022
4369
|
* between commits.</p>
|
|
4023
4370
|
*/
|
|
@@ -4028,10 +4375,12 @@ export interface CommentsForComparedCommit {
|
|
|
4028
4375
|
*/
|
|
4029
4376
|
export interface GetCommentsForComparedCommitOutput {
|
|
4030
4377
|
/**
|
|
4378
|
+
* @public
|
|
4031
4379
|
* <p>A list of comment objects on the compared commit.</p>
|
|
4032
4380
|
*/
|
|
4033
4381
|
commentsForComparedCommitData?: CommentsForComparedCommit[];
|
|
4034
4382
|
/**
|
|
4383
|
+
* @public
|
|
4035
4384
|
* <p>An enumeration token that can be used in a request to return the next batch of the results.</p>
|
|
4036
4385
|
*/
|
|
4037
4386
|
nextToken?: string;
|
|
@@ -4041,27 +4390,33 @@ export interface GetCommentsForComparedCommitOutput {
|
|
|
4041
4390
|
*/
|
|
4042
4391
|
export interface GetCommentsForPullRequestInput {
|
|
4043
4392
|
/**
|
|
4393
|
+
* @public
|
|
4044
4394
|
* <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
|
|
4045
4395
|
*/
|
|
4046
4396
|
pullRequestId: string | undefined;
|
|
4047
4397
|
/**
|
|
4398
|
+
* @public
|
|
4048
4399
|
* <p>The name of the repository that contains the pull request.</p>
|
|
4049
4400
|
*/
|
|
4050
4401
|
repositoryName?: string;
|
|
4051
4402
|
/**
|
|
4403
|
+
* @public
|
|
4052
4404
|
* <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>
|
|
4053
4405
|
*/
|
|
4054
4406
|
beforeCommitId?: string;
|
|
4055
4407
|
/**
|
|
4408
|
+
* @public
|
|
4056
4409
|
* <p>The full commit ID of the commit in the source branch that was the tip of the branch at the time the comment was made.</p>
|
|
4057
4410
|
*/
|
|
4058
4411
|
afterCommitId?: string;
|
|
4059
4412
|
/**
|
|
4413
|
+
* @public
|
|
4060
4414
|
* <p>An enumeration token that, when provided in a request, returns the next batch of the
|
|
4061
4415
|
* results.</p>
|
|
4062
4416
|
*/
|
|
4063
4417
|
nextToken?: string;
|
|
4064
4418
|
/**
|
|
4419
|
+
* @public
|
|
4065
4420
|
* <p>A non-zero, non-negative integer used to limit the number of returned results. The default is 100 comments.
|
|
4066
4421
|
* You can return up to 500 comments with a single request.</p>
|
|
4067
4422
|
*/
|
|
@@ -4073,39 +4428,47 @@ export interface GetCommentsForPullRequestInput {
|
|
|
4073
4428
|
*/
|
|
4074
4429
|
export interface CommentsForPullRequest {
|
|
4075
4430
|
/**
|
|
4431
|
+
* @public
|
|
4076
4432
|
* <p>The system-generated ID of the pull request.</p>
|
|
4077
4433
|
*/
|
|
4078
4434
|
pullRequestId?: string;
|
|
4079
4435
|
/**
|
|
4436
|
+
* @public
|
|
4080
4437
|
* <p>The name of the repository that contains the pull request.</p>
|
|
4081
4438
|
*/
|
|
4082
4439
|
repositoryName?: string;
|
|
4083
4440
|
/**
|
|
4441
|
+
* @public
|
|
4084
4442
|
* <p>The full commit ID of the commit that was the tip of the destination branch when the
|
|
4085
4443
|
* pull request was created. This commit is superceded by the after commit in the source
|
|
4086
4444
|
* branch when and if you merge the source branch into the destination branch.</p>
|
|
4087
4445
|
*/
|
|
4088
4446
|
beforeCommitId?: string;
|
|
4089
4447
|
/**
|
|
4448
|
+
* @public
|
|
4090
4449
|
* <p>The full commit ID of the commit that was the tip of the source branch at the time the
|
|
4091
4450
|
* comment was made. </p>
|
|
4092
4451
|
*/
|
|
4093
4452
|
afterCommitId?: string;
|
|
4094
4453
|
/**
|
|
4454
|
+
* @public
|
|
4095
4455
|
* <p>The full blob ID of the file on which you want to comment on the destination commit.</p>
|
|
4096
4456
|
*/
|
|
4097
4457
|
beforeBlobId?: string;
|
|
4098
4458
|
/**
|
|
4459
|
+
* @public
|
|
4099
4460
|
* <p>The full blob ID of the file on which you want to comment on the source commit.</p>
|
|
4100
4461
|
*/
|
|
4101
4462
|
afterBlobId?: string;
|
|
4102
4463
|
/**
|
|
4464
|
+
* @public
|
|
4103
4465
|
* <p>Location information about the comment on the pull request, including the file name,
|
|
4104
4466
|
* line number, and whether the version of the file where the comment was made is BEFORE
|
|
4105
4467
|
* (destination branch) or AFTER (source branch).</p>
|
|
4106
4468
|
*/
|
|
4107
4469
|
location?: Location;
|
|
4108
4470
|
/**
|
|
4471
|
+
* @public
|
|
4109
4472
|
* <p>An array of comment objects. Each comment object contains information about a comment on the pull request.</p>
|
|
4110
4473
|
*/
|
|
4111
4474
|
comments?: Comment[];
|
|
@@ -4115,10 +4478,12 @@ export interface CommentsForPullRequest {
|
|
|
4115
4478
|
*/
|
|
4116
4479
|
export interface GetCommentsForPullRequestOutput {
|
|
4117
4480
|
/**
|
|
4481
|
+
* @public
|
|
4118
4482
|
* <p>An array of comment objects on the pull request.</p>
|
|
4119
4483
|
*/
|
|
4120
4484
|
commentsForPullRequestData?: CommentsForPullRequest[];
|
|
4121
4485
|
/**
|
|
4486
|
+
* @public
|
|
4122
4487
|
* <p>An enumeration token that can be used in a request to return the next batch of the results.</p>
|
|
4123
4488
|
*/
|
|
4124
4489
|
nextToken?: string;
|
|
@@ -4153,10 +4518,12 @@ export declare class CommitIdDoesNotExistException extends __BaseException {
|
|
|
4153
4518
|
*/
|
|
4154
4519
|
export interface GetCommitInput {
|
|
4155
4520
|
/**
|
|
4521
|
+
* @public
|
|
4156
4522
|
* <p>The name of the repository to which the commit was made.</p>
|
|
4157
4523
|
*/
|
|
4158
4524
|
repositoryName: string | undefined;
|
|
4159
4525
|
/**
|
|
4526
|
+
* @public
|
|
4160
4527
|
* <p>The commit ID. Commit IDs are the full SHA ID of the commit.</p>
|
|
4161
4528
|
*/
|
|
4162
4529
|
commitId: string | undefined;
|
|
@@ -4167,6 +4534,7 @@ export interface GetCommitInput {
|
|
|
4167
4534
|
*/
|
|
4168
4535
|
export interface GetCommitOutput {
|
|
4169
4536
|
/**
|
|
4537
|
+
* @public
|
|
4170
4538
|
* <p>A commit data type object that contains information about the specified commit.</p>
|
|
4171
4539
|
*/
|
|
4172
4540
|
commit: Commit | undefined;
|
|
@@ -4176,10 +4544,12 @@ export interface GetCommitOutput {
|
|
|
4176
4544
|
*/
|
|
4177
4545
|
export interface GetDifferencesInput {
|
|
4178
4546
|
/**
|
|
4547
|
+
* @public
|
|
4179
4548
|
* <p>The name of the repository where you want to get differences.</p>
|
|
4180
4549
|
*/
|
|
4181
4550
|
repositoryName: string | undefined;
|
|
4182
4551
|
/**
|
|
4552
|
+
* @public
|
|
4183
4553
|
* <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
|
|
4184
4554
|
* (for example, the full commit ID). Optional. If not specified, all changes before the
|
|
4185
4555
|
* <code>afterCommitSpecifier</code> value are shown. If you do not use
|
|
@@ -4188,10 +4558,12 @@ export interface GetDifferencesInput {
|
|
|
4188
4558
|
*/
|
|
4189
4559
|
beforeCommitSpecifier?: string;
|
|
4190
4560
|
/**
|
|
4561
|
+
* @public
|
|
4191
4562
|
* <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit.</p>
|
|
4192
4563
|
*/
|
|
4193
4564
|
afterCommitSpecifier: string | undefined;
|
|
4194
4565
|
/**
|
|
4566
|
+
* @public
|
|
4195
4567
|
* <p>The file path in which to check for differences. Limits the results to this path. Can
|
|
4196
4568
|
* also be used to specify the previous name of a directory or folder. If
|
|
4197
4569
|
* <code>beforePath</code> and <code>afterPath</code> are not specified, differences
|
|
@@ -4199,16 +4571,19 @@ export interface GetDifferencesInput {
|
|
|
4199
4571
|
*/
|
|
4200
4572
|
beforePath?: string;
|
|
4201
4573
|
/**
|
|
4574
|
+
* @public
|
|
4202
4575
|
* <p>The file path in which to check differences. Limits the results to this path. Can also
|
|
4203
4576
|
* be used to specify the changed name of a directory or folder, if it has changed. If not
|
|
4204
4577
|
* specified, differences are shown for all paths.</p>
|
|
4205
4578
|
*/
|
|
4206
4579
|
afterPath?: string;
|
|
4207
4580
|
/**
|
|
4581
|
+
* @public
|
|
4208
4582
|
* <p>A non-zero, non-negative integer used to limit the number of returned results.</p>
|
|
4209
4583
|
*/
|
|
4210
4584
|
MaxResults?: number;
|
|
4211
4585
|
/**
|
|
4586
|
+
* @public
|
|
4212
4587
|
* <p>An enumeration token that, when provided in a request, returns the next batch of the
|
|
4213
4588
|
* results.</p>
|
|
4214
4589
|
*/
|
|
@@ -4220,16 +4595,19 @@ export interface GetDifferencesInput {
|
|
|
4220
4595
|
*/
|
|
4221
4596
|
export interface Difference {
|
|
4222
4597
|
/**
|
|
4598
|
+
* @public
|
|
4223
4599
|
* <p>Information about a <code>beforeBlob</code> data type object, including the ID,
|
|
4224
4600
|
* the file mode permission code, and the path.</p>
|
|
4225
4601
|
*/
|
|
4226
4602
|
beforeBlob?: BlobMetadata;
|
|
4227
4603
|
/**
|
|
4604
|
+
* @public
|
|
4228
4605
|
* <p>Information about an <code>afterBlob</code> data type object, including the ID,
|
|
4229
4606
|
* the file mode permission code, and the path.</p>
|
|
4230
4607
|
*/
|
|
4231
4608
|
afterBlob?: BlobMetadata;
|
|
4232
4609
|
/**
|
|
4610
|
+
* @public
|
|
4233
4611
|
* <p>Whether the change type of the difference is an addition (A), deletion (D), or modification (M).</p>
|
|
4234
4612
|
*/
|
|
4235
4613
|
changeType?: ChangeTypeEnum | string;
|
|
@@ -4239,11 +4617,13 @@ export interface Difference {
|
|
|
4239
4617
|
*/
|
|
4240
4618
|
export interface GetDifferencesOutput {
|
|
4241
4619
|
/**
|
|
4620
|
+
* @public
|
|
4242
4621
|
* <p>A data type object that contains information about the differences, including whether
|
|
4243
4622
|
* the difference is added, modified, or deleted (A, D, M).</p>
|
|
4244
4623
|
*/
|
|
4245
4624
|
differences?: Difference[];
|
|
4246
4625
|
/**
|
|
4626
|
+
* @public
|
|
4247
4627
|
* <p>An enumeration token that can be used in a request to return the next batch of the results.</p>
|
|
4248
4628
|
*/
|
|
4249
4629
|
NextToken?: string;
|
|
@@ -4265,16 +4645,19 @@ export declare class PathDoesNotExistException extends __BaseException {
|
|
|
4265
4645
|
*/
|
|
4266
4646
|
export interface GetFileInput {
|
|
4267
4647
|
/**
|
|
4648
|
+
* @public
|
|
4268
4649
|
* <p>The name of the repository that contains the file.</p>
|
|
4269
4650
|
*/
|
|
4270
4651
|
repositoryName: string | undefined;
|
|
4271
4652
|
/**
|
|
4653
|
+
* @public
|
|
4272
4654
|
* <p>The fully quaified reference that identifies the commit that contains the file. For
|
|
4273
4655
|
* example, you can specify a full commit ID, a tag, a branch name, or a reference such as
|
|
4274
4656
|
* refs/heads/master. If none is provided, the head commit is used.</p>
|
|
4275
4657
|
*/
|
|
4276
4658
|
commitSpecifier?: string;
|
|
4277
4659
|
/**
|
|
4660
|
+
* @public
|
|
4278
4661
|
* <p>The fully qualified path to the file, including the full name and extension of the
|
|
4279
4662
|
* file. For example, /examples/file.md is the fully qualified path to a file named file.md
|
|
4280
4663
|
* in a folder named examples.</p>
|
|
@@ -4286,19 +4669,23 @@ export interface GetFileInput {
|
|
|
4286
4669
|
*/
|
|
4287
4670
|
export interface GetFileOutput {
|
|
4288
4671
|
/**
|
|
4672
|
+
* @public
|
|
4289
4673
|
* <p>The full commit ID of the commit that contains the content returned by GetFile.</p>
|
|
4290
4674
|
*/
|
|
4291
4675
|
commitId: string | undefined;
|
|
4292
4676
|
/**
|
|
4677
|
+
* @public
|
|
4293
4678
|
* <p>The blob ID of the object that represents the file content.</p>
|
|
4294
4679
|
*/
|
|
4295
4680
|
blobId: string | undefined;
|
|
4296
4681
|
/**
|
|
4682
|
+
* @public
|
|
4297
4683
|
* <p>The fully qualified path to the specified file. Returns the name and extension of the
|
|
4298
4684
|
* file.</p>
|
|
4299
4685
|
*/
|
|
4300
4686
|
filePath: string | undefined;
|
|
4301
4687
|
/**
|
|
4688
|
+
* @public
|
|
4302
4689
|
* <p>The extrapolated file mode permissions of the blob. Valid values include strings such as EXECUTABLE and not numeric values.</p>
|
|
4303
4690
|
* <note>
|
|
4304
4691
|
* <p>The file mode permissions returned by this API are not the standard file mode
|
|
@@ -4308,10 +4695,12 @@ export interface GetFileOutput {
|
|
|
4308
4695
|
*/
|
|
4309
4696
|
fileMode: FileModeTypeEnum | string | undefined;
|
|
4310
4697
|
/**
|
|
4698
|
+
* @public
|
|
4311
4699
|
* <p>The size of the contents of the file, in bytes.</p>
|
|
4312
4700
|
*/
|
|
4313
4701
|
fileSize: number | undefined;
|
|
4314
4702
|
/**
|
|
4703
|
+
* @public
|
|
4315
4704
|
* <p>The base-64 encoded binary data object that represents the content of the file.</p>
|
|
4316
4705
|
*/
|
|
4317
4706
|
fileContent: Uint8Array | undefined;
|
|
@@ -4334,10 +4723,12 @@ export declare class FolderDoesNotExistException extends __BaseException {
|
|
|
4334
4723
|
*/
|
|
4335
4724
|
export interface GetFolderInput {
|
|
4336
4725
|
/**
|
|
4726
|
+
* @public
|
|
4337
4727
|
* <p>The name of the repository.</p>
|
|
4338
4728
|
*/
|
|
4339
4729
|
repositoryName: string | undefined;
|
|
4340
4730
|
/**
|
|
4731
|
+
* @public
|
|
4341
4732
|
* <p>A fully qualified reference used to identify a commit that contains the version of the
|
|
4342
4733
|
* folder's content to return. A fully qualified reference can be a commit ID, branch name,
|
|
4343
4734
|
* tag, or reference such as HEAD. If no specifier is provided, the folder content is
|
|
@@ -4345,6 +4736,7 @@ export interface GetFolderInput {
|
|
|
4345
4736
|
*/
|
|
4346
4737
|
commitSpecifier?: string;
|
|
4347
4738
|
/**
|
|
4739
|
+
* @public
|
|
4348
4740
|
* <p>The fully qualified path to the folder whose contents are returned, including the
|
|
4349
4741
|
* folder name. For example, /examples is a fully-qualified path to a folder named examples
|
|
4350
4742
|
* that was created off of the root directory (/) of a repository. </p>
|
|
@@ -4357,18 +4749,22 @@ export interface GetFolderInput {
|
|
|
4357
4749
|
*/
|
|
4358
4750
|
export interface File {
|
|
4359
4751
|
/**
|
|
4752
|
+
* @public
|
|
4360
4753
|
* <p>The blob ID that contains the file information.</p>
|
|
4361
4754
|
*/
|
|
4362
4755
|
blobId?: string;
|
|
4363
4756
|
/**
|
|
4757
|
+
* @public
|
|
4364
4758
|
* <p>The fully qualified path to the file in the repository.</p>
|
|
4365
4759
|
*/
|
|
4366
4760
|
absolutePath?: string;
|
|
4367
4761
|
/**
|
|
4762
|
+
* @public
|
|
4368
4763
|
* <p>The relative path of the file from the folder where the query originated.</p>
|
|
4369
4764
|
*/
|
|
4370
4765
|
relativePath?: string;
|
|
4371
4766
|
/**
|
|
4767
|
+
* @public
|
|
4372
4768
|
* <p>The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.</p>
|
|
4373
4769
|
*/
|
|
4374
4770
|
fileMode?: FileModeTypeEnum | string;
|
|
@@ -4379,14 +4775,17 @@ export interface File {
|
|
|
4379
4775
|
*/
|
|
4380
4776
|
export interface Folder {
|
|
4381
4777
|
/**
|
|
4778
|
+
* @public
|
|
4382
4779
|
* <p>The full SHA-1 pointer of the tree information for the commit that contains the folder.</p>
|
|
4383
4780
|
*/
|
|
4384
4781
|
treeId?: string;
|
|
4385
4782
|
/**
|
|
4783
|
+
* @public
|
|
4386
4784
|
* <p>The fully qualified path of the folder in the repository.</p>
|
|
4387
4785
|
*/
|
|
4388
4786
|
absolutePath?: string;
|
|
4389
4787
|
/**
|
|
4788
|
+
* @public
|
|
4390
4789
|
* <p>The relative path of the specified folder from the folder where the query originated.</p>
|
|
4391
4790
|
*/
|
|
4392
4791
|
relativePath?: string;
|
|
@@ -4397,14 +4796,17 @@ export interface Folder {
|
|
|
4397
4796
|
*/
|
|
4398
4797
|
export interface SubModule {
|
|
4399
4798
|
/**
|
|
4799
|
+
* @public
|
|
4400
4800
|
* <p>The commit ID that contains the reference to the submodule.</p>
|
|
4401
4801
|
*/
|
|
4402
4802
|
commitId?: string;
|
|
4403
4803
|
/**
|
|
4804
|
+
* @public
|
|
4404
4805
|
* <p>The fully qualified path to the folder that contains the reference to the submodule.</p>
|
|
4405
4806
|
*/
|
|
4406
4807
|
absolutePath?: string;
|
|
4407
4808
|
/**
|
|
4809
|
+
* @public
|
|
4408
4810
|
* <p>The relative path of the submodule from the folder where the query originated.</p>
|
|
4409
4811
|
*/
|
|
4410
4812
|
relativePath?: string;
|
|
@@ -4415,18 +4817,22 @@ export interface SubModule {
|
|
|
4415
4817
|
*/
|
|
4416
4818
|
export interface SymbolicLink {
|
|
4417
4819
|
/**
|
|
4820
|
+
* @public
|
|
4418
4821
|
* <p>The blob ID that contains the information about the symbolic link.</p>
|
|
4419
4822
|
*/
|
|
4420
4823
|
blobId?: string;
|
|
4421
4824
|
/**
|
|
4825
|
+
* @public
|
|
4422
4826
|
* <p>The fully qualified path to the folder that contains the symbolic link.</p>
|
|
4423
4827
|
*/
|
|
4424
4828
|
absolutePath?: string;
|
|
4425
4829
|
/**
|
|
4830
|
+
* @public
|
|
4426
4831
|
* <p>The relative path of the symbolic link from the folder where the query originated.</p>
|
|
4427
4832
|
*/
|
|
4428
4833
|
relativePath?: string;
|
|
4429
4834
|
/**
|
|
4835
|
+
* @public
|
|
4430
4836
|
* <p>The file mode permissions of the blob that cotains information about the symbolic link.</p>
|
|
4431
4837
|
*/
|
|
4432
4838
|
fileMode?: FileModeTypeEnum | string;
|
|
@@ -4436,32 +4842,39 @@ export interface SymbolicLink {
|
|
|
4436
4842
|
*/
|
|
4437
4843
|
export interface GetFolderOutput {
|
|
4438
4844
|
/**
|
|
4845
|
+
* @public
|
|
4439
4846
|
* <p>The full commit ID used as a reference for the returned version of the folder
|
|
4440
4847
|
* content.</p>
|
|
4441
4848
|
*/
|
|
4442
4849
|
commitId: string | undefined;
|
|
4443
4850
|
/**
|
|
4851
|
+
* @public
|
|
4444
4852
|
* <p>The fully qualified path of the folder whose contents are returned.</p>
|
|
4445
4853
|
*/
|
|
4446
4854
|
folderPath: string | undefined;
|
|
4447
4855
|
/**
|
|
4856
|
+
* @public
|
|
4448
4857
|
* <p>The full SHA-1 pointer of the tree information for the commit that contains the folder.</p>
|
|
4449
4858
|
*/
|
|
4450
4859
|
treeId?: string;
|
|
4451
4860
|
/**
|
|
4861
|
+
* @public
|
|
4452
4862
|
* <p>The list of folders that exist under the specified folder, if any.</p>
|
|
4453
4863
|
*/
|
|
4454
4864
|
subFolders?: Folder[];
|
|
4455
4865
|
/**
|
|
4866
|
+
* @public
|
|
4456
4867
|
* <p>The list of files in the specified folder, if any.</p>
|
|
4457
4868
|
*/
|
|
4458
4869
|
files?: File[];
|
|
4459
4870
|
/**
|
|
4871
|
+
* @public
|
|
4460
4872
|
* <p>The list of symbolic links to other files and folders in the specified folder, if
|
|
4461
4873
|
* any.</p>
|
|
4462
4874
|
*/
|
|
4463
4875
|
symbolicLinks?: SymbolicLink[];
|
|
4464
4876
|
/**
|
|
4877
|
+
* @public
|
|
4465
4878
|
* <p>The list of submodules in the specified folder, if any.</p>
|
|
4466
4879
|
*/
|
|
4467
4880
|
subModules?: SubModule[];
|
|
@@ -4471,20 +4884,24 @@ export interface GetFolderOutput {
|
|
|
4471
4884
|
*/
|
|
4472
4885
|
export interface GetMergeCommitInput {
|
|
4473
4886
|
/**
|
|
4887
|
+
* @public
|
|
4474
4888
|
* <p>The name of the repository that contains the merge commit about which you want to get information.</p>
|
|
4475
4889
|
*/
|
|
4476
4890
|
repositoryName: string | undefined;
|
|
4477
4891
|
/**
|
|
4892
|
+
* @public
|
|
4478
4893
|
* <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
|
|
4479
4894
|
* (for example, a branch name or a full commit ID).</p>
|
|
4480
4895
|
*/
|
|
4481
4896
|
sourceCommitSpecifier: string | undefined;
|
|
4482
4897
|
/**
|
|
4898
|
+
* @public
|
|
4483
4899
|
* <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
|
|
4484
4900
|
* (for example, a branch name or a full commit ID).</p>
|
|
4485
4901
|
*/
|
|
4486
4902
|
destinationCommitSpecifier: string | undefined;
|
|
4487
4903
|
/**
|
|
4904
|
+
* @public
|
|
4488
4905
|
* <p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used,
|
|
4489
4906
|
* which returns a not-mergeable result if the same file has differences in both branches.
|
|
4490
4907
|
* If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in
|
|
@@ -4492,6 +4909,7 @@ export interface GetMergeCommitInput {
|
|
|
4492
4909
|
*/
|
|
4493
4910
|
conflictDetailLevel?: ConflictDetailLevelTypeEnum | string;
|
|
4494
4911
|
/**
|
|
4912
|
+
* @public
|
|
4495
4913
|
* <p>Specifies which branch to use when resolving conflicts, or whether to attempt
|
|
4496
4914
|
* automatically merging two versions of a file. The default is NONE, which requires any
|
|
4497
4915
|
* conflicts to be resolved manually before the merge operation is successful.</p>
|
|
@@ -4503,18 +4921,22 @@ export interface GetMergeCommitInput {
|
|
|
4503
4921
|
*/
|
|
4504
4922
|
export interface GetMergeCommitOutput {
|
|
4505
4923
|
/**
|
|
4924
|
+
* @public
|
|
4506
4925
|
* <p>The commit ID of the source commit specifier that was used in the merge evaluation.</p>
|
|
4507
4926
|
*/
|
|
4508
4927
|
sourceCommitId?: string;
|
|
4509
4928
|
/**
|
|
4929
|
+
* @public
|
|
4510
4930
|
* <p>The commit ID of the destination commit specifier that was used in the merge evaluation.</p>
|
|
4511
4931
|
*/
|
|
4512
4932
|
destinationCommitId?: string;
|
|
4513
4933
|
/**
|
|
4934
|
+
* @public
|
|
4514
4935
|
* <p>The commit ID of the merge base.</p>
|
|
4515
4936
|
*/
|
|
4516
4937
|
baseCommitId?: string;
|
|
4517
4938
|
/**
|
|
4939
|
+
* @public
|
|
4518
4940
|
* <p>The commit ID for the merge commit created when the source branch was merged into the
|
|
4519
4941
|
* destination branch. If the fast-forward merge strategy was used, there is no merge
|
|
4520
4942
|
* commit.</p>
|
|
@@ -4526,24 +4948,29 @@ export interface GetMergeCommitOutput {
|
|
|
4526
4948
|
*/
|
|
4527
4949
|
export interface GetMergeConflictsInput {
|
|
4528
4950
|
/**
|
|
4951
|
+
* @public
|
|
4529
4952
|
* <p>The name of the repository where the pull request was created.</p>
|
|
4530
4953
|
*/
|
|
4531
4954
|
repositoryName: string | undefined;
|
|
4532
4955
|
/**
|
|
4956
|
+
* @public
|
|
4533
4957
|
* <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
|
|
4534
4958
|
* (for example, a branch name or a full commit ID).</p>
|
|
4535
4959
|
*/
|
|
4536
4960
|
destinationCommitSpecifier: string | undefined;
|
|
4537
4961
|
/**
|
|
4962
|
+
* @public
|
|
4538
4963
|
* <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
|
|
4539
4964
|
* (for example, a branch name or a full commit ID).</p>
|
|
4540
4965
|
*/
|
|
4541
4966
|
sourceCommitSpecifier: string | undefined;
|
|
4542
4967
|
/**
|
|
4968
|
+
* @public
|
|
4543
4969
|
* <p>The merge option or strategy you want to use to merge the code. </p>
|
|
4544
4970
|
*/
|
|
4545
4971
|
mergeOption: MergeOptionTypeEnum | string | undefined;
|
|
4546
4972
|
/**
|
|
4973
|
+
* @public
|
|
4547
4974
|
* <p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used,
|
|
4548
4975
|
* which returns a not-mergeable result if the same file has differences in both branches.
|
|
4549
4976
|
* If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in
|
|
@@ -4551,16 +4978,19 @@ export interface GetMergeConflictsInput {
|
|
|
4551
4978
|
*/
|
|
4552
4979
|
conflictDetailLevel?: ConflictDetailLevelTypeEnum | string;
|
|
4553
4980
|
/**
|
|
4981
|
+
* @public
|
|
4554
4982
|
* <p>The maximum number of files to include in the output.</p>
|
|
4555
4983
|
*/
|
|
4556
4984
|
maxConflictFiles?: number;
|
|
4557
4985
|
/**
|
|
4986
|
+
* @public
|
|
4558
4987
|
* <p>Specifies which branch to use when resolving conflicts, or whether to attempt
|
|
4559
4988
|
* automatically merging two versions of a file. The default is NONE, which requires any
|
|
4560
4989
|
* conflicts to be resolved manually before the merge operation is successful.</p>
|
|
4561
4990
|
*/
|
|
4562
4991
|
conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | string;
|
|
4563
4992
|
/**
|
|
4993
|
+
* @public
|
|
4564
4994
|
* <p>An enumeration token that, when provided in a request, returns the next batch of the
|
|
4565
4995
|
* results.</p>
|
|
4566
4996
|
*/
|
|
@@ -4571,27 +5001,33 @@ export interface GetMergeConflictsInput {
|
|
|
4571
5001
|
*/
|
|
4572
5002
|
export interface GetMergeConflictsOutput {
|
|
4573
5003
|
/**
|
|
5004
|
+
* @public
|
|
4574
5005
|
* <p>A Boolean value that indicates whether the code is mergeable by the specified merge option.</p>
|
|
4575
5006
|
*/
|
|
4576
5007
|
mergeable: boolean | undefined;
|
|
4577
5008
|
/**
|
|
5009
|
+
* @public
|
|
4578
5010
|
* <p>The commit ID of the destination commit specifier that was used in the merge evaluation.</p>
|
|
4579
5011
|
*/
|
|
4580
5012
|
destinationCommitId: string | undefined;
|
|
4581
5013
|
/**
|
|
5014
|
+
* @public
|
|
4582
5015
|
* <p>The commit ID of the source commit specifier that was used in the merge evaluation.</p>
|
|
4583
5016
|
*/
|
|
4584
5017
|
sourceCommitId: string | undefined;
|
|
4585
5018
|
/**
|
|
5019
|
+
* @public
|
|
4586
5020
|
* <p>The commit ID of the merge base.</p>
|
|
4587
5021
|
*/
|
|
4588
5022
|
baseCommitId?: string;
|
|
4589
5023
|
/**
|
|
5024
|
+
* @public
|
|
4590
5025
|
* <p>A list of metadata for any conflicting files. If the specified merge strategy is
|
|
4591
5026
|
* FAST_FORWARD_MERGE, this list is always empty.</p>
|
|
4592
5027
|
*/
|
|
4593
5028
|
conflictMetadataList: ConflictMetadata[] | undefined;
|
|
4594
5029
|
/**
|
|
5030
|
+
* @public
|
|
4595
5031
|
* <p>An enumeration token that can be used in a request to return the next batch of the results.</p>
|
|
4596
5032
|
*/
|
|
4597
5033
|
nextToken?: string;
|
|
@@ -4625,20 +5061,24 @@ export declare class InvalidSourceCommitSpecifierException extends __BaseExcepti
|
|
|
4625
5061
|
*/
|
|
4626
5062
|
export interface GetMergeOptionsInput {
|
|
4627
5063
|
/**
|
|
5064
|
+
* @public
|
|
4628
5065
|
* <p>The name of the repository that contains the commits about which you want to get merge options.</p>
|
|
4629
5066
|
*/
|
|
4630
5067
|
repositoryName: string | undefined;
|
|
4631
5068
|
/**
|
|
5069
|
+
* @public
|
|
4632
5070
|
* <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
|
|
4633
5071
|
* (for example, a branch name or a full commit ID).</p>
|
|
4634
5072
|
*/
|
|
4635
5073
|
sourceCommitSpecifier: string | undefined;
|
|
4636
5074
|
/**
|
|
5075
|
+
* @public
|
|
4637
5076
|
* <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
|
|
4638
5077
|
* (for example, a branch name or a full commit ID).</p>
|
|
4639
5078
|
*/
|
|
4640
5079
|
destinationCommitSpecifier: string | undefined;
|
|
4641
5080
|
/**
|
|
5081
|
+
* @public
|
|
4642
5082
|
* <p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used,
|
|
4643
5083
|
* which returns a not-mergeable result if the same file has differences in both branches.
|
|
4644
5084
|
* If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in
|
|
@@ -4646,6 +5086,7 @@ export interface GetMergeOptionsInput {
|
|
|
4646
5086
|
*/
|
|
4647
5087
|
conflictDetailLevel?: ConflictDetailLevelTypeEnum | string;
|
|
4648
5088
|
/**
|
|
5089
|
+
* @public
|
|
4649
5090
|
* <p>Specifies which branch to use when resolving conflicts, or whether to attempt
|
|
4650
5091
|
* automatically merging two versions of a file. The default is NONE, which requires any
|
|
4651
5092
|
* conflicts to be resolved manually before the merge operation is successful.</p>
|
|
@@ -4657,18 +5098,22 @@ export interface GetMergeOptionsInput {
|
|
|
4657
5098
|
*/
|
|
4658
5099
|
export interface GetMergeOptionsOutput {
|
|
4659
5100
|
/**
|
|
5101
|
+
* @public
|
|
4660
5102
|
* <p>The merge option or strategy used to merge the code.</p>
|
|
4661
5103
|
*/
|
|
4662
5104
|
mergeOptions: (MergeOptionTypeEnum | string)[] | undefined;
|
|
4663
5105
|
/**
|
|
5106
|
+
* @public
|
|
4664
5107
|
* <p>The commit ID of the source commit specifier that was used in the merge evaluation.</p>
|
|
4665
5108
|
*/
|
|
4666
5109
|
sourceCommitId: string | undefined;
|
|
4667
5110
|
/**
|
|
5111
|
+
* @public
|
|
4668
5112
|
* <p>The commit ID of the destination commit specifier that was used in the merge evaluation.</p>
|
|
4669
5113
|
*/
|
|
4670
5114
|
destinationCommitId: string | undefined;
|
|
4671
5115
|
/**
|
|
5116
|
+
* @public
|
|
4672
5117
|
* <p>The commit ID of the merge base.</p>
|
|
4673
5118
|
*/
|
|
4674
5119
|
baseCommitId: string | undefined;
|
|
@@ -4678,6 +5123,7 @@ export interface GetMergeOptionsOutput {
|
|
|
4678
5123
|
*/
|
|
4679
5124
|
export interface GetPullRequestInput {
|
|
4680
5125
|
/**
|
|
5126
|
+
* @public
|
|
4681
5127
|
* <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
|
|
4682
5128
|
*/
|
|
4683
5129
|
pullRequestId: string | undefined;
|
|
@@ -4687,6 +5133,7 @@ export interface GetPullRequestInput {
|
|
|
4687
5133
|
*/
|
|
4688
5134
|
export interface GetPullRequestOutput {
|
|
4689
5135
|
/**
|
|
5136
|
+
* @public
|
|
4690
5137
|
* <p>Information about the specified pull request.</p>
|
|
4691
5138
|
*/
|
|
4692
5139
|
pullRequest: PullRequest | undefined;
|
|
@@ -4696,10 +5143,12 @@ export interface GetPullRequestOutput {
|
|
|
4696
5143
|
*/
|
|
4697
5144
|
export interface GetPullRequestApprovalStatesInput {
|
|
4698
5145
|
/**
|
|
5146
|
+
* @public
|
|
4699
5147
|
* <p>The system-generated ID for the pull request.</p>
|
|
4700
5148
|
*/
|
|
4701
5149
|
pullRequestId: string | undefined;
|
|
4702
5150
|
/**
|
|
5151
|
+
* @public
|
|
4703
5152
|
* <p>The system-generated ID for the pull request revision.</p>
|
|
4704
5153
|
*/
|
|
4705
5154
|
revisionId: string | undefined;
|
|
@@ -4709,6 +5158,7 @@ export interface GetPullRequestApprovalStatesInput {
|
|
|
4709
5158
|
*/
|
|
4710
5159
|
export interface GetPullRequestApprovalStatesOutput {
|
|
4711
5160
|
/**
|
|
5161
|
+
* @public
|
|
4712
5162
|
* <p>Information about users who have approved the pull request.</p>
|
|
4713
5163
|
*/
|
|
4714
5164
|
approvals?: Approval[];
|
|
@@ -4718,10 +5168,12 @@ export interface GetPullRequestApprovalStatesOutput {
|
|
|
4718
5168
|
*/
|
|
4719
5169
|
export interface GetPullRequestOverrideStateInput {
|
|
4720
5170
|
/**
|
|
5171
|
+
* @public
|
|
4721
5172
|
* <p>The ID of the pull request for which you want to get information about whether approval rules have been set aside (overridden).</p>
|
|
4722
5173
|
*/
|
|
4723
5174
|
pullRequestId: string | undefined;
|
|
4724
5175
|
/**
|
|
5176
|
+
* @public
|
|
4725
5177
|
* <p>The system-generated ID of the revision for the pull request. To retrieve the most
|
|
4726
5178
|
* recent revision ID, use
|
|
4727
5179
|
* <a>GetPullRequest</a>.</p>
|
|
@@ -4733,10 +5185,12 @@ export interface GetPullRequestOverrideStateInput {
|
|
|
4733
5185
|
*/
|
|
4734
5186
|
export interface GetPullRequestOverrideStateOutput {
|
|
4735
5187
|
/**
|
|
5188
|
+
* @public
|
|
4736
5189
|
* <p>A Boolean value that indicates whether a pull request has had its rules set aside (TRUE) or whether all approval rules still apply (FALSE).</p>
|
|
4737
5190
|
*/
|
|
4738
5191
|
overridden?: boolean;
|
|
4739
5192
|
/**
|
|
5193
|
+
* @public
|
|
4740
5194
|
* <p>The Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request.</p>
|
|
4741
5195
|
*/
|
|
4742
5196
|
overrider?: string;
|
|
@@ -4747,6 +5201,7 @@ export interface GetPullRequestOverrideStateOutput {
|
|
|
4747
5201
|
*/
|
|
4748
5202
|
export interface GetRepositoryInput {
|
|
4749
5203
|
/**
|
|
5204
|
+
* @public
|
|
4750
5205
|
* <p>The name of the repository to get information about.</p>
|
|
4751
5206
|
*/
|
|
4752
5207
|
repositoryName: string | undefined;
|
|
@@ -4757,6 +5212,7 @@ export interface GetRepositoryInput {
|
|
|
4757
5212
|
*/
|
|
4758
5213
|
export interface GetRepositoryOutput {
|
|
4759
5214
|
/**
|
|
5215
|
+
* @public
|
|
4760
5216
|
* <p>Information about the repository.</p>
|
|
4761
5217
|
*/
|
|
4762
5218
|
repositoryMetadata?: RepositoryMetadata;
|
|
@@ -4767,6 +5223,7 @@ export interface GetRepositoryOutput {
|
|
|
4767
5223
|
*/
|
|
4768
5224
|
export interface GetRepositoryTriggersInput {
|
|
4769
5225
|
/**
|
|
5226
|
+
* @public
|
|
4770
5227
|
* <p>The name of the repository for which the trigger is configured.</p>
|
|
4771
5228
|
*/
|
|
4772
5229
|
repositoryName: string | undefined;
|
|
@@ -4791,20 +5248,24 @@ export type RepositoryTriggerEventEnum = (typeof RepositoryTriggerEventEnum)[key
|
|
|
4791
5248
|
*/
|
|
4792
5249
|
export interface RepositoryTrigger {
|
|
4793
5250
|
/**
|
|
5251
|
+
* @public
|
|
4794
5252
|
* <p>The name of the trigger.</p>
|
|
4795
5253
|
*/
|
|
4796
5254
|
name: string | undefined;
|
|
4797
5255
|
/**
|
|
5256
|
+
* @public
|
|
4798
5257
|
* <p>The ARN of the resource that is the target for a trigger (for example, the ARN of a
|
|
4799
5258
|
* topic in Amazon SNS).</p>
|
|
4800
5259
|
*/
|
|
4801
5260
|
destinationArn: string | undefined;
|
|
4802
5261
|
/**
|
|
5262
|
+
* @public
|
|
4803
5263
|
* <p>Any custom data associated with the trigger to be included in the information sent to
|
|
4804
5264
|
* the target of the trigger.</p>
|
|
4805
5265
|
*/
|
|
4806
5266
|
customData?: string;
|
|
4807
5267
|
/**
|
|
5268
|
+
* @public
|
|
4808
5269
|
* <p>The branches to be included in the trigger configuration. If you specify an empty
|
|
4809
5270
|
* array, the trigger applies to all branches.</p>
|
|
4810
5271
|
* <note>
|
|
@@ -4813,6 +5274,7 @@ export interface RepositoryTrigger {
|
|
|
4813
5274
|
*/
|
|
4814
5275
|
branches?: string[];
|
|
4815
5276
|
/**
|
|
5277
|
+
* @public
|
|
4816
5278
|
* <p>The repository events that cause the trigger to run actions in another service, such
|
|
4817
5279
|
* as sending a notification through Amazon SNS.
|
|
4818
5280
|
*
|
|
@@ -4829,10 +5291,12 @@ export interface RepositoryTrigger {
|
|
|
4829
5291
|
*/
|
|
4830
5292
|
export interface GetRepositoryTriggersOutput {
|
|
4831
5293
|
/**
|
|
5294
|
+
* @public
|
|
4832
5295
|
* <p>The system-generated unique ID for the trigger.</p>
|
|
4833
5296
|
*/
|
|
4834
5297
|
configurationId?: string;
|
|
4835
5298
|
/**
|
|
5299
|
+
* @public
|
|
4836
5300
|
* <p>The JSON block of configuration information for each trigger.</p>
|
|
4837
5301
|
*/
|
|
4838
5302
|
triggers?: RepositoryTrigger[];
|
|
@@ -4842,11 +5306,13 @@ export interface GetRepositoryTriggersOutput {
|
|
|
4842
5306
|
*/
|
|
4843
5307
|
export interface ListApprovalRuleTemplatesInput {
|
|
4844
5308
|
/**
|
|
5309
|
+
* @public
|
|
4845
5310
|
* <p>An enumeration token that, when provided in a request, returns the next batch of the
|
|
4846
5311
|
* results.</p>
|
|
4847
5312
|
*/
|
|
4848
5313
|
nextToken?: string;
|
|
4849
5314
|
/**
|
|
5315
|
+
* @public
|
|
4850
5316
|
* <p>A non-zero, non-negative integer used to limit the number of returned results.</p>
|
|
4851
5317
|
*/
|
|
4852
5318
|
maxResults?: number;
|
|
@@ -4856,10 +5322,12 @@ export interface ListApprovalRuleTemplatesInput {
|
|
|
4856
5322
|
*/
|
|
4857
5323
|
export interface ListApprovalRuleTemplatesOutput {
|
|
4858
5324
|
/**
|
|
5325
|
+
* @public
|
|
4859
5326
|
* <p>The names of all the approval rule templates found in the AWS Region for your AWS account.</p>
|
|
4860
5327
|
*/
|
|
4861
5328
|
approvalRuleTemplateNames?: string[];
|
|
4862
5329
|
/**
|
|
5330
|
+
* @public
|
|
4863
5331
|
* <p>An enumeration token that allows the operation to batch the next results of the operation.</p>
|
|
4864
5332
|
*/
|
|
4865
5333
|
nextToken?: string;
|
|
@@ -4869,15 +5337,18 @@ export interface ListApprovalRuleTemplatesOutput {
|
|
|
4869
5337
|
*/
|
|
4870
5338
|
export interface ListAssociatedApprovalRuleTemplatesForRepositoryInput {
|
|
4871
5339
|
/**
|
|
5340
|
+
* @public
|
|
4872
5341
|
* <p>The name of the repository for which you want to list all associated approval rule templates.</p>
|
|
4873
5342
|
*/
|
|
4874
5343
|
repositoryName: string | undefined;
|
|
4875
5344
|
/**
|
|
5345
|
+
* @public
|
|
4876
5346
|
* <p>An enumeration token that, when provided in a request, returns the next batch of the
|
|
4877
5347
|
* results.</p>
|
|
4878
5348
|
*/
|
|
4879
5349
|
nextToken?: string;
|
|
4880
5350
|
/**
|
|
5351
|
+
* @public
|
|
4881
5352
|
* <p>A non-zero, non-negative integer used to limit the number of returned results.</p>
|
|
4882
5353
|
*/
|
|
4883
5354
|
maxResults?: number;
|
|
@@ -4887,10 +5358,12 @@ export interface ListAssociatedApprovalRuleTemplatesForRepositoryInput {
|
|
|
4887
5358
|
*/
|
|
4888
5359
|
export interface ListAssociatedApprovalRuleTemplatesForRepositoryOutput {
|
|
4889
5360
|
/**
|
|
5361
|
+
* @public
|
|
4890
5362
|
* <p>The names of all approval rule templates associated with the repository.</p>
|
|
4891
5363
|
*/
|
|
4892
5364
|
approvalRuleTemplateNames?: string[];
|
|
4893
5365
|
/**
|
|
5366
|
+
* @public
|
|
4894
5367
|
* <p>An enumeration token that allows the operation to batch the next results of the operation.</p>
|
|
4895
5368
|
*/
|
|
4896
5369
|
nextToken?: string;
|
|
@@ -4901,10 +5374,12 @@ export interface ListAssociatedApprovalRuleTemplatesForRepositoryOutput {
|
|
|
4901
5374
|
*/
|
|
4902
5375
|
export interface ListBranchesInput {
|
|
4903
5376
|
/**
|
|
5377
|
+
* @public
|
|
4904
5378
|
* <p>The name of the repository that contains the branches.</p>
|
|
4905
5379
|
*/
|
|
4906
5380
|
repositoryName: string | undefined;
|
|
4907
5381
|
/**
|
|
5382
|
+
* @public
|
|
4908
5383
|
* <p>An enumeration token that allows the operation to batch the results.</p>
|
|
4909
5384
|
*/
|
|
4910
5385
|
nextToken?: string;
|
|
@@ -4915,10 +5390,12 @@ export interface ListBranchesInput {
|
|
|
4915
5390
|
*/
|
|
4916
5391
|
export interface ListBranchesOutput {
|
|
4917
5392
|
/**
|
|
5393
|
+
* @public
|
|
4918
5394
|
* <p>The list of branch names.</p>
|
|
4919
5395
|
*/
|
|
4920
5396
|
branches?: string[];
|
|
4921
5397
|
/**
|
|
5398
|
+
* @public
|
|
4922
5399
|
* <p>An enumeration token that returns the batch of the results.</p>
|
|
4923
5400
|
*/
|
|
4924
5401
|
nextToken?: string;
|
|
@@ -4952,24 +5429,29 @@ export declare class InvalidPullRequestStatusException extends __BaseException {
|
|
|
4952
5429
|
*/
|
|
4953
5430
|
export interface ListPullRequestsInput {
|
|
4954
5431
|
/**
|
|
5432
|
+
* @public
|
|
4955
5433
|
* <p>The name of the repository for which you want to list pull requests.</p>
|
|
4956
5434
|
*/
|
|
4957
5435
|
repositoryName: string | undefined;
|
|
4958
5436
|
/**
|
|
5437
|
+
* @public
|
|
4959
5438
|
* <p>Optional. The Amazon Resource Name (ARN) of the user who created the pull request. If used, this filters the results
|
|
4960
5439
|
* to pull requests created by that user.</p>
|
|
4961
5440
|
*/
|
|
4962
5441
|
authorArn?: string;
|
|
4963
5442
|
/**
|
|
5443
|
+
* @public
|
|
4964
5444
|
* <p>Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.</p>
|
|
4965
5445
|
*/
|
|
4966
5446
|
pullRequestStatus?: PullRequestStatusEnum | string;
|
|
4967
5447
|
/**
|
|
5448
|
+
* @public
|
|
4968
5449
|
* <p>An enumeration token that, when provided in a request, returns the next batch of the
|
|
4969
5450
|
* results.</p>
|
|
4970
5451
|
*/
|
|
4971
5452
|
nextToken?: string;
|
|
4972
5453
|
/**
|
|
5454
|
+
* @public
|
|
4973
5455
|
* <p>A non-zero, non-negative integer used to limit the number of returned results.</p>
|
|
4974
5456
|
*/
|
|
4975
5457
|
maxResults?: number;
|
|
@@ -4979,10 +5461,12 @@ export interface ListPullRequestsInput {
|
|
|
4979
5461
|
*/
|
|
4980
5462
|
export interface ListPullRequestsOutput {
|
|
4981
5463
|
/**
|
|
5464
|
+
* @public
|
|
4982
5465
|
* <p>The system-generated IDs of the pull requests.</p>
|
|
4983
5466
|
*/
|
|
4984
5467
|
pullRequestIds: string[] | undefined;
|
|
4985
5468
|
/**
|
|
5469
|
+
* @public
|
|
4986
5470
|
* <p>An enumeration token that allows the operation to batch the next results of the operation.</p>
|
|
4987
5471
|
*/
|
|
4988
5472
|
nextToken?: string;
|