@aws-sdk/client-codecommit 3.687.0 → 3.692.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.
@@ -33,12 +33,12 @@ export interface Approval {
33
33
  * <p>The Amazon Resource Name (ARN) of the user.</p>
34
34
  * @public
35
35
  */
36
- userArn?: string;
36
+ userArn?: string | undefined;
37
37
  /**
38
38
  * <p>The state of the approval, APPROVE or REVOKE. REVOKE states are not stored.</p>
39
39
  * @public
40
40
  */
41
- approvalState?: ApprovalState;
41
+ approvalState?: ApprovalState | undefined;
42
42
  }
43
43
  /**
44
44
  * <p>Returns information about the template that created the approval rule for a pull request.</p>
@@ -49,12 +49,12 @@ export interface OriginApprovalRuleTemplate {
49
49
  * <p>The ID of the template that created the approval rule.</p>
50
50
  * @public
51
51
  */
52
- approvalRuleTemplateId?: string;
52
+ approvalRuleTemplateId?: string | undefined;
53
53
  /**
54
54
  * <p>The name of the template that created the approval rule.</p>
55
55
  * @public
56
56
  */
57
- approvalRuleTemplateName?: string;
57
+ approvalRuleTemplateName?: string | undefined;
58
58
  }
59
59
  /**
60
60
  * <p>Returns information about an approval rule.</p>
@@ -65,42 +65,42 @@ export interface ApprovalRule {
65
65
  * <p>The system-generated ID of the approval rule.</p>
66
66
  * @public
67
67
  */
68
- approvalRuleId?: string;
68
+ approvalRuleId?: string | undefined;
69
69
  /**
70
70
  * <p>The name of the approval rule.</p>
71
71
  * @public
72
72
  */
73
- approvalRuleName?: string;
73
+ approvalRuleName?: string | undefined;
74
74
  /**
75
75
  * <p>The content of the approval rule.</p>
76
76
  * @public
77
77
  */
78
- approvalRuleContent?: string;
78
+ approvalRuleContent?: string | undefined;
79
79
  /**
80
80
  * <p>The SHA-256 hash signature for the content of the approval rule.</p>
81
81
  * @public
82
82
  */
83
- ruleContentSha256?: string;
83
+ ruleContentSha256?: string | undefined;
84
84
  /**
85
85
  * <p>The date the approval rule was most recently changed, in timestamp format.</p>
86
86
  * @public
87
87
  */
88
- lastModifiedDate?: Date;
88
+ lastModifiedDate?: Date | undefined;
89
89
  /**
90
90
  * <p>The date the approval rule was created, in timestamp format.</p>
91
91
  * @public
92
92
  */
93
- creationDate?: Date;
93
+ creationDate?: Date | undefined;
94
94
  /**
95
95
  * <p>The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule.</p>
96
96
  * @public
97
97
  */
98
- lastModifiedUser?: string;
98
+ lastModifiedUser?: string | undefined;
99
99
  /**
100
100
  * <p>The approval rule template used to create the rule.</p>
101
101
  * @public
102
102
  */
103
- originApprovalRuleTemplate?: OriginApprovalRuleTemplate;
103
+ originApprovalRuleTemplate?: OriginApprovalRuleTemplate | undefined;
104
104
  }
105
105
  /**
106
106
  * <p>The content for the approval rule is empty. You must provide some content for an approval rule. The content cannot be null.</p>
@@ -135,17 +135,17 @@ export interface ApprovalRuleEventMetadata {
135
135
  * <p>The name of the approval rule.</p>
136
136
  * @public
137
137
  */
138
- approvalRuleName?: string;
138
+ approvalRuleName?: string | undefined;
139
139
  /**
140
140
  * <p>The system-generated ID of the approval rule.</p>
141
141
  * @public
142
142
  */
143
- approvalRuleId?: string;
143
+ approvalRuleId?: string | undefined;
144
144
  /**
145
145
  * <p>The content of the approval rule.</p>
146
146
  * @public
147
147
  */
148
- approvalRuleContent?: string;
148
+ approvalRuleContent?: string | undefined;
149
149
  }
150
150
  /**
151
151
  * <p>An approval rule with that name already exists. Approval rule names must be unique
@@ -193,12 +193,12 @@ export interface ApprovalRuleOverriddenEventMetadata {
193
193
  * <p>The revision ID of the pull request when the override event occurred.</p>
194
194
  * @public
195
195
  */
196
- revisionId?: string;
196
+ revisionId?: string | undefined;
197
197
  /**
198
198
  * <p>The status of the override event.</p>
199
199
  * @public
200
200
  */
201
- overrideStatus?: OverrideStatus;
201
+ overrideStatus?: OverrideStatus | undefined;
202
202
  }
203
203
  /**
204
204
  * <p>Returns information about an approval rule template.</p>
@@ -209,42 +209,42 @@ export interface ApprovalRuleTemplate {
209
209
  * <p>The system-generated ID of the approval rule template.</p>
210
210
  * @public
211
211
  */
212
- approvalRuleTemplateId?: string;
212
+ approvalRuleTemplateId?: string | undefined;
213
213
  /**
214
214
  * <p>The name of the approval rule template.</p>
215
215
  * @public
216
216
  */
217
- approvalRuleTemplateName?: string;
217
+ approvalRuleTemplateName?: string | undefined;
218
218
  /**
219
219
  * <p>The description of the approval rule template.</p>
220
220
  * @public
221
221
  */
222
- approvalRuleTemplateDescription?: string;
222
+ approvalRuleTemplateDescription?: string | undefined;
223
223
  /**
224
224
  * <p>The content of the approval rule template.</p>
225
225
  * @public
226
226
  */
227
- approvalRuleTemplateContent?: string;
227
+ approvalRuleTemplateContent?: string | undefined;
228
228
  /**
229
229
  * <p>The SHA-256 hash signature for the content of the approval rule template.</p>
230
230
  * @public
231
231
  */
232
- ruleContentSha256?: string;
232
+ ruleContentSha256?: string | undefined;
233
233
  /**
234
234
  * <p>The date the approval rule template was most recently changed, in timestamp format.</p>
235
235
  * @public
236
236
  */
237
- lastModifiedDate?: Date;
237
+ lastModifiedDate?: Date | undefined;
238
238
  /**
239
239
  * <p>The date the approval rule template was created, in timestamp format.</p>
240
240
  * @public
241
241
  */
242
- creationDate?: Date;
242
+ creationDate?: Date | undefined;
243
243
  /**
244
244
  * <p>The Amazon Resource Name (ARN) of the user who made the most recent changes to the approval rule template.</p>
245
245
  * @public
246
246
  */
247
- lastModifiedUser?: string;
247
+ lastModifiedUser?: string | undefined;
248
248
  }
249
249
  /**
250
250
  * <p>The content for the approval rule template is empty. You must provide some content for an approval rule template. The content cannot be null.</p>
@@ -319,12 +319,12 @@ export interface ApprovalStateChangedEventMetadata {
319
319
  * <p>The revision ID of the pull request when the approval state changed.</p>
320
320
  * @public
321
321
  */
322
- revisionId?: string;
322
+ revisionId?: string | undefined;
323
323
  /**
324
324
  * <p>The approval status for the pull request.</p>
325
325
  * @public
326
326
  */
327
- approvalStatus?: ApprovalState;
327
+ approvalStatus?: ApprovalState | undefined;
328
328
  }
329
329
  /**
330
330
  * <p>An approval state is required, but was not specified.</p>
@@ -520,17 +520,17 @@ export interface BatchAssociateApprovalRuleTemplateWithRepositoriesError {
520
520
  * <p>The name of the repository where the association was not made.</p>
521
521
  * @public
522
522
  */
523
- repositoryName?: string;
523
+ repositoryName?: string | undefined;
524
524
  /**
525
525
  * <p>An error code that specifies whether the repository name was not valid or not found.</p>
526
526
  * @public
527
527
  */
528
- errorCode?: string;
528
+ errorCode?: string | undefined;
529
529
  /**
530
530
  * <p>An error message that provides details about why the repository name was not found or not valid.</p>
531
531
  * @public
532
532
  */
533
- errorMessage?: string;
533
+ errorMessage?: string | undefined;
534
534
  }
535
535
  /**
536
536
  * @public
@@ -640,17 +640,17 @@ export interface BatchDescribeMergeConflictsInput {
640
640
  * <p>The maximum number of merge hunks to include in the output.</p>
641
641
  * @public
642
642
  */
643
- maxMergeHunks?: number;
643
+ maxMergeHunks?: number | undefined;
644
644
  /**
645
645
  * <p>The maximum number of files to include in the output.</p>
646
646
  * @public
647
647
  */
648
- maxConflictFiles?: number;
648
+ maxConflictFiles?: number | undefined;
649
649
  /**
650
650
  * <p>The path of the target files used to describe the conflicts. If not specified, the default is all conflict files.</p>
651
651
  * @public
652
652
  */
653
- filePaths?: string[];
653
+ filePaths?: string[] | undefined;
654
654
  /**
655
655
  * <p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used,
656
656
  * which returns a not-mergeable result if the same file has differences in both branches.
@@ -658,20 +658,20 @@ export interface BatchDescribeMergeConflictsInput {
658
658
  * both branches has differences on the same line.</p>
659
659
  * @public
660
660
  */
661
- conflictDetailLevel?: ConflictDetailLevelTypeEnum;
661
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
662
662
  /**
663
663
  * <p>Specifies which branch to use when resolving conflicts, or whether to attempt
664
664
  * automatically merging two versions of a file. The default is NONE, which requires any
665
665
  * conflicts to be resolved manually before the merge operation is successful.</p>
666
666
  * @public
667
667
  */
668
- conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum;
668
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
669
669
  /**
670
670
  * <p>An enumeration token that, when provided in a request, returns the next batch of the
671
671
  * results.</p>
672
672
  * @public
673
673
  */
674
- nextToken?: string;
674
+ nextToken?: string | undefined;
675
675
  }
676
676
  /**
677
677
  * @public
@@ -695,17 +695,17 @@ export interface FileModes {
695
695
  * <p>The file mode of a file in the source of a merge or pull request.</p>
696
696
  * @public
697
697
  */
698
- source?: FileModeTypeEnum;
698
+ source?: FileModeTypeEnum | undefined;
699
699
  /**
700
700
  * <p>The file mode of a file in the destination of a merge or pull request.</p>
701
701
  * @public
702
702
  */
703
- destination?: FileModeTypeEnum;
703
+ destination?: FileModeTypeEnum | undefined;
704
704
  /**
705
705
  * <p>The file mode of a file in the base of a merge or pull request.</p>
706
706
  * @public
707
707
  */
708
- base?: FileModeTypeEnum;
708
+ base?: FileModeTypeEnum | undefined;
709
709
  }
710
710
  /**
711
711
  * <p>Information about the size of files in a merge or pull request.</p>
@@ -716,17 +716,17 @@ export interface FileSizes {
716
716
  * <p>The size of a file in the source of a merge or pull request.</p>
717
717
  * @public
718
718
  */
719
- source?: number;
719
+ source?: number | undefined;
720
720
  /**
721
721
  * <p>The size of a file in the destination of a merge or pull request.</p>
722
722
  * @public
723
723
  */
724
- destination?: number;
724
+ destination?: number | undefined;
725
725
  /**
726
726
  * <p>The size of a file in the base of a merge or pull request.</p>
727
727
  * @public
728
728
  */
729
- base?: number;
729
+ base?: number | undefined;
730
730
  }
731
731
  /**
732
732
  * <p>Information about whether a file is binary or textual in a merge or pull request operation.</p>
@@ -737,17 +737,17 @@ export interface IsBinaryFile {
737
737
  * <p>The binary or non-binary status of file in the source of a merge or pull request.</p>
738
738
  * @public
739
739
  */
740
- source?: boolean;
740
+ source?: boolean | undefined;
741
741
  /**
742
742
  * <p>The binary or non-binary status of a file in the destination of a merge or pull request.</p>
743
743
  * @public
744
744
  */
745
- destination?: boolean;
745
+ destination?: boolean | undefined;
746
746
  /**
747
747
  * <p>The binary or non-binary status of a file in the base of a merge or pull request.</p>
748
748
  * @public
749
749
  */
750
- base?: boolean;
750
+ base?: boolean | undefined;
751
751
  }
752
752
  /**
753
753
  * @public
@@ -772,12 +772,12 @@ export interface MergeOperations {
772
772
  * request.</p>
773
773
  * @public
774
774
  */
775
- source?: ChangeTypeEnum;
775
+ source?: ChangeTypeEnum | undefined;
776
776
  /**
777
777
  * <p>The operation on a file in the destination of a merge or pull request.</p>
778
778
  * @public
779
779
  */
780
- destination?: ChangeTypeEnum;
780
+ destination?: ChangeTypeEnum | undefined;
781
781
  }
782
782
  /**
783
783
  * @public
@@ -802,17 +802,17 @@ export interface ObjectTypes {
802
802
  * <p>The type of the object in the source branch.</p>
803
803
  * @public
804
804
  */
805
- source?: ObjectTypeEnum;
805
+ source?: ObjectTypeEnum | undefined;
806
806
  /**
807
807
  * <p>The type of the object in the destination branch.</p>
808
808
  * @public
809
809
  */
810
- destination?: ObjectTypeEnum;
810
+ destination?: ObjectTypeEnum | undefined;
811
811
  /**
812
812
  * <p>The type of the object in the base commit of the merge.</p>
813
813
  * @public
814
814
  */
815
- base?: ObjectTypeEnum;
815
+ base?: ObjectTypeEnum | undefined;
816
816
  }
817
817
  /**
818
818
  * <p>Information about the metadata for a conflict in a merge operation.</p>
@@ -823,52 +823,52 @@ export interface ConflictMetadata {
823
823
  * <p>The path of the file that contains conflicts.</p>
824
824
  * @public
825
825
  */
826
- filePath?: string;
826
+ filePath?: string | undefined;
827
827
  /**
828
828
  * <p>The file sizes of the file in the source, destination, and base of the merge.</p>
829
829
  * @public
830
830
  */
831
- fileSizes?: FileSizes;
831
+ fileSizes?: FileSizes | undefined;
832
832
  /**
833
833
  * <p>The file modes of the file in the source, destination, and base of the merge.</p>
834
834
  * @public
835
835
  */
836
- fileModes?: FileModes;
836
+ fileModes?: FileModes | undefined;
837
837
  /**
838
838
  * <p>Information about any object type conflicts in a merge operation.</p>
839
839
  * @public
840
840
  */
841
- objectTypes?: ObjectTypes;
841
+ objectTypes?: ObjectTypes | undefined;
842
842
  /**
843
843
  * <p>The number of conflicts, including both hunk conflicts and metadata conflicts.</p>
844
844
  * @public
845
845
  */
846
- numberOfConflicts?: number;
846
+ numberOfConflicts?: number | undefined;
847
847
  /**
848
848
  * <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>
849
849
  * @public
850
850
  */
851
- isBinaryFile?: IsBinaryFile;
851
+ isBinaryFile?: IsBinaryFile | undefined;
852
852
  /**
853
853
  * <p>A boolean value indicating whether there are conflicts in the content of a file.</p>
854
854
  * @public
855
855
  */
856
- contentConflict?: boolean;
856
+ contentConflict?: boolean | undefined;
857
857
  /**
858
858
  * <p>A boolean value indicating whether there are conflicts in the file mode of a file.</p>
859
859
  * @public
860
860
  */
861
- fileModeConflict?: boolean;
861
+ fileModeConflict?: boolean | undefined;
862
862
  /**
863
863
  * <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>
864
864
  * @public
865
865
  */
866
- objectTypeConflict?: boolean;
866
+ objectTypeConflict?: boolean | undefined;
867
867
  /**
868
868
  * <p>Whether an add, modify, or delete operation caused the conflict between the source and destination of the merge.</p>
869
869
  * @public
870
870
  */
871
- mergeOperations?: MergeOperations;
871
+ mergeOperations?: MergeOperations | undefined;
872
872
  }
873
873
  /**
874
874
  * <p>Information about the details of a merge hunk that contains a conflict in a merge or pull request operation.</p>
@@ -879,18 +879,18 @@ export interface MergeHunkDetail {
879
879
  * <p>The start position of the hunk in the merge result.</p>
880
880
  * @public
881
881
  */
882
- startLine?: number;
882
+ startLine?: number | undefined;
883
883
  /**
884
884
  * <p>The end position of the hunk in the merge result.</p>
885
885
  * @public
886
886
  */
887
- endLine?: number;
887
+ endLine?: number | undefined;
888
888
  /**
889
889
  * <p>The base-64 encoded content of the hunk merged region that might contain a
890
890
  * conflict.</p>
891
891
  * @public
892
892
  */
893
- hunkContent?: string;
893
+ hunkContent?: string | undefined;
894
894
  }
895
895
  /**
896
896
  * <p>Information about merge hunks in a merge or pull request operation.</p>
@@ -905,22 +905,22 @@ export interface MergeHunk {
905
905
  * conflict. File mode conflicts in a merge do not set this to true.</p>
906
906
  * @public
907
907
  */
908
- isConflict?: boolean;
908
+ isConflict?: boolean | undefined;
909
909
  /**
910
910
  * <p>Information about the merge hunk in the source of a merge or pull request.</p>
911
911
  * @public
912
912
  */
913
- source?: MergeHunkDetail;
913
+ source?: MergeHunkDetail | undefined;
914
914
  /**
915
915
  * <p>Information about the merge hunk in the destination of a merge or pull request.</p>
916
916
  * @public
917
917
  */
918
- destination?: MergeHunkDetail;
918
+ destination?: MergeHunkDetail | undefined;
919
919
  /**
920
920
  * <p>Information about the merge hunk in the base of a merge or pull request.</p>
921
921
  * @public
922
922
  */
923
- base?: MergeHunkDetail;
923
+ base?: MergeHunkDetail | undefined;
924
924
  }
925
925
  /**
926
926
  * <p>Information about conflicts in a merge operation.</p>
@@ -931,12 +931,12 @@ export interface Conflict {
931
931
  * <p>Metadata about a conflict in a merge operation.</p>
932
932
  * @public
933
933
  */
934
- conflictMetadata?: ConflictMetadata;
934
+ conflictMetadata?: ConflictMetadata | undefined;
935
935
  /**
936
936
  * <p>A list of hunks that contain the differences between files or lines causing the conflict.</p>
937
937
  * @public
938
938
  */
939
- mergeHunks?: MergeHunk[];
939
+ mergeHunks?: MergeHunk[] | undefined;
940
940
  }
941
941
  /**
942
942
  * <p>Returns information about errors in a BatchDescribeMergeConflicts operation.</p>
@@ -972,12 +972,12 @@ export interface BatchDescribeMergeConflictsOutput {
972
972
  * <p>An enumeration token that can be used in a request to return the next batch of the results.</p>
973
973
  * @public
974
974
  */
975
- nextToken?: string;
975
+ nextToken?: string | undefined;
976
976
  /**
977
977
  * <p>A list of any errors returned while describing the merge conflicts for each file.</p>
978
978
  * @public
979
979
  */
980
- errors?: BatchDescribeMergeConflictsError[];
980
+ errors?: BatchDescribeMergeConflictsError[] | undefined;
981
981
  /**
982
982
  * <p>The commit ID of the destination commit specifier that was used in the merge evaluation.</p>
983
983
  * @public
@@ -992,7 +992,7 @@ export interface BatchDescribeMergeConflictsOutput {
992
992
  * <p>The commit ID of the merge base.</p>
993
993
  * @public
994
994
  */
995
- baseCommitId?: string;
995
+ baseCommitId?: string | undefined;
996
996
  }
997
997
  /**
998
998
  * <p>The specified commit does not exist or no commit was specified, and the specified repository has no default branch.</p>
@@ -1179,18 +1179,18 @@ export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesError {
1179
1179
  * <p>The name of the repository where the association with the template was not able to be removed.</p>
1180
1180
  * @public
1181
1181
  */
1182
- repositoryName?: string;
1182
+ repositoryName?: string | undefined;
1183
1183
  /**
1184
1184
  * <p>An error code that specifies whether the repository name was not valid or not
1185
1185
  * found.</p>
1186
1186
  * @public
1187
1187
  */
1188
- errorCode?: string;
1188
+ errorCode?: string | undefined;
1189
1189
  /**
1190
1190
  * <p>An error message that provides details about why the repository name was either not found or not valid.</p>
1191
1191
  * @public
1192
1192
  */
1193
- errorMessage?: string;
1193
+ errorMessage?: string | undefined;
1194
1194
  }
1195
1195
  /**
1196
1196
  * @public
@@ -1236,17 +1236,17 @@ export interface UserInfo {
1236
1236
  * <p>The name of the user who made the specified commit.</p>
1237
1237
  * @public
1238
1238
  */
1239
- name?: string;
1239
+ name?: string | undefined;
1240
1240
  /**
1241
1241
  * <p>The email address associated with the user who made the commit, if any.</p>
1242
1242
  * @public
1243
1243
  */
1244
- email?: string;
1244
+ email?: string | undefined;
1245
1245
  /**
1246
1246
  * <p>The date when the specified commit was commited, in timestamp format with GMT offset.</p>
1247
1247
  * @public
1248
1248
  */
1249
- date?: string;
1249
+ date?: string | undefined;
1250
1250
  }
1251
1251
  /**
1252
1252
  * <p>Returns information about a specific commit.</p>
@@ -1257,29 +1257,29 @@ export interface Commit {
1257
1257
  * <p>The full SHA ID of the specified commit. </p>
1258
1258
  * @public
1259
1259
  */
1260
- commitId?: string;
1260
+ commitId?: string | undefined;
1261
1261
  /**
1262
1262
  * <p>Tree information for the specified commit.</p>
1263
1263
  * @public
1264
1264
  */
1265
- treeId?: string;
1265
+ treeId?: string | undefined;
1266
1266
  /**
1267
1267
  * <p>A list of parent commits for the specified commit. Each parent commit ID is the full commit ID.</p>
1268
1268
  * @public
1269
1269
  */
1270
- parents?: string[];
1270
+ parents?: string[] | undefined;
1271
1271
  /**
1272
1272
  * <p>The commit message associated with the specified commit.</p>
1273
1273
  * @public
1274
1274
  */
1275
- message?: string;
1275
+ message?: string | undefined;
1276
1276
  /**
1277
1277
  * <p>Information about the author of the specified commit. Information includes
1278
1278
  * the date in timestamp format with GMT offset, the name of the author, and the email address for the author, as configured
1279
1279
  * in Git.</p>
1280
1280
  * @public
1281
1281
  */
1282
- author?: UserInfo;
1282
+ author?: UserInfo | undefined;
1283
1283
  /**
1284
1284
  * <p>Information about the person who committed the specified commit, also known as the committer. Information includes
1285
1285
  * the date in timestamp format with GMT offset, the name of the committer, and the email address for the committer, as configured
@@ -1289,12 +1289,12 @@ export interface Commit {
1289
1289
  * by Scott Chacon and Ben Straub.</p>
1290
1290
  * @public
1291
1291
  */
1292
- committer?: UserInfo;
1292
+ committer?: UserInfo | undefined;
1293
1293
  /**
1294
1294
  * <p>Any other data associated with the specified commit.</p>
1295
1295
  * @public
1296
1296
  */
1297
- additionalData?: string;
1297
+ additionalData?: string | undefined;
1298
1298
  }
1299
1299
  /**
1300
1300
  * <p>Returns information about errors in a BatchGetCommits operation.</p>
@@ -1305,17 +1305,17 @@ export interface BatchGetCommitsError {
1305
1305
  * <p>A commit ID that either could not be found or was not in a valid format.</p>
1306
1306
  * @public
1307
1307
  */
1308
- commitId?: string;
1308
+ commitId?: string | undefined;
1309
1309
  /**
1310
1310
  * <p>An error code that specifies whether the commit ID was not valid or not found.</p>
1311
1311
  * @public
1312
1312
  */
1313
- errorCode?: string;
1313
+ errorCode?: string | undefined;
1314
1314
  /**
1315
1315
  * <p>An error message that provides detail about why the commit ID either was not found or was not valid.</p>
1316
1316
  * @public
1317
1317
  */
1318
- errorMessage?: string;
1318
+ errorMessage?: string | undefined;
1319
1319
  }
1320
1320
  /**
1321
1321
  * @public
@@ -1325,14 +1325,14 @@ export interface BatchGetCommitsOutput {
1325
1325
  * <p>An array of commit data type objects, each of which contains information about a specified commit.</p>
1326
1326
  * @public
1327
1327
  */
1328
- commits?: Commit[];
1328
+ commits?: Commit[] | undefined;
1329
1329
  /**
1330
1330
  * <p>Returns any commit IDs for which information could not be found. For example, if one
1331
1331
  * of the commit IDs was a shortened SHA ID or that commit was not found in the specified
1332
1332
  * repository, the ID returns an error object with more information.</p>
1333
1333
  * @public
1334
1334
  */
1335
- errors?: BatchGetCommitsError[];
1335
+ errors?: BatchGetCommitsError[] | undefined;
1336
1336
  }
1337
1337
  /**
1338
1338
  * <p>The maximum number of allowed commit IDs in a batch request is 100. Verify that your batch requests contains no more than 100 commit IDs, and then try again.</p>
@@ -1397,22 +1397,22 @@ export interface BatchGetRepositoriesError {
1397
1397
  * <p>The ID of a repository that either could not be found or was not in a valid state.</p>
1398
1398
  * @public
1399
1399
  */
1400
- repositoryId?: string;
1400
+ repositoryId?: string | undefined;
1401
1401
  /**
1402
1402
  * <p>The name of a repository that either could not be found or was not in a valid state.</p>
1403
1403
  * @public
1404
1404
  */
1405
- repositoryName?: string;
1405
+ repositoryName?: string | undefined;
1406
1406
  /**
1407
1407
  * <p>An error code that specifies the type of failure.</p>
1408
1408
  * @public
1409
1409
  */
1410
- errorCode?: BatchGetRepositoriesErrorCodeEnum;
1410
+ errorCode?: BatchGetRepositoriesErrorCodeEnum | undefined;
1411
1411
  /**
1412
1412
  * <p>An error message that provides detail about why the repository either was not found or was not in a valid state.</p>
1413
1413
  * @public
1414
1414
  */
1415
- errorMessage?: string;
1415
+ errorMessage?: string | undefined;
1416
1416
  }
1417
1417
  /**
1418
1418
  * <p>Information about a repository.</p>
@@ -1423,57 +1423,57 @@ export interface RepositoryMetadata {
1423
1423
  * <p>The ID of the Amazon Web Services account associated with the repository.</p>
1424
1424
  * @public
1425
1425
  */
1426
- accountId?: string;
1426
+ accountId?: string | undefined;
1427
1427
  /**
1428
1428
  * <p>The ID of the repository.</p>
1429
1429
  * @public
1430
1430
  */
1431
- repositoryId?: string;
1431
+ repositoryId?: string | undefined;
1432
1432
  /**
1433
1433
  * <p>The repository's name.</p>
1434
1434
  * @public
1435
1435
  */
1436
- repositoryName?: string;
1436
+ repositoryName?: string | undefined;
1437
1437
  /**
1438
1438
  * <p>A comment or description about the repository.</p>
1439
1439
  * @public
1440
1440
  */
1441
- repositoryDescription?: string;
1441
+ repositoryDescription?: string | undefined;
1442
1442
  /**
1443
1443
  * <p>The repository's default branch name.</p>
1444
1444
  * @public
1445
1445
  */
1446
- defaultBranch?: string;
1446
+ defaultBranch?: string | undefined;
1447
1447
  /**
1448
1448
  * <p>The date and time the repository was last modified, in timestamp format.</p>
1449
1449
  * @public
1450
1450
  */
1451
- lastModifiedDate?: Date;
1451
+ lastModifiedDate?: Date | undefined;
1452
1452
  /**
1453
1453
  * <p>The date and time the repository was created, in timestamp format.</p>
1454
1454
  * @public
1455
1455
  */
1456
- creationDate?: Date;
1456
+ creationDate?: Date | undefined;
1457
1457
  /**
1458
1458
  * <p>The URL to use for cloning the repository over HTTPS.</p>
1459
1459
  * @public
1460
1460
  */
1461
- cloneUrlHttp?: string;
1461
+ cloneUrlHttp?: string | undefined;
1462
1462
  /**
1463
1463
  * <p>The URL to use for cloning the repository over SSH.</p>
1464
1464
  * @public
1465
1465
  */
1466
- cloneUrlSsh?: string;
1466
+ cloneUrlSsh?: string | undefined;
1467
1467
  /**
1468
1468
  * <p>The Amazon Resource Name (ARN) of the repository.</p>
1469
1469
  * @public
1470
1470
  */
1471
- Arn?: string;
1471
+ Arn?: string | undefined;
1472
1472
  /**
1473
1473
  * <p>The ID of the Key Management Service encryption key used to encrypt and decrypt the repository.</p>
1474
1474
  * @public
1475
1475
  */
1476
- kmsKeyId?: string;
1476
+ kmsKeyId?: string | undefined;
1477
1477
  }
1478
1478
  /**
1479
1479
  * <p>Represents the output of a batch get repositories operation.</p>
@@ -1484,17 +1484,17 @@ export interface BatchGetRepositoriesOutput {
1484
1484
  * <p>A list of repositories returned by the batch get repositories operation.</p>
1485
1485
  * @public
1486
1486
  */
1487
- repositories?: RepositoryMetadata[];
1487
+ repositories?: RepositoryMetadata[] | undefined;
1488
1488
  /**
1489
1489
  * <p>Returns a list of repository names for which information could not be found.</p>
1490
1490
  * @public
1491
1491
  */
1492
- repositoriesNotFound?: string[];
1492
+ repositoriesNotFound?: string[] | undefined;
1493
1493
  /**
1494
1494
  * <p>Returns information about any errors returned when attempting to retrieve information about the repositories.</p>
1495
1495
  * @public
1496
1496
  */
1497
- errors?: BatchGetRepositoriesError[];
1497
+ errors?: BatchGetRepositoriesError[] | undefined;
1498
1498
  }
1499
1499
  /**
1500
1500
  * <p>The before commit ID and the after commit ID are the same, which is not valid. The before commit ID and the after commit ID must be different commit IDs.</p>
@@ -1541,12 +1541,12 @@ export interface BlobMetadata {
1541
1541
  * <p>The full ID of the blob.</p>
1542
1542
  * @public
1543
1543
  */
1544
- blobId?: string;
1544
+ blobId?: string | undefined;
1545
1545
  /**
1546
1546
  * <p>The path to the blob and associated file name, if any.</p>
1547
1547
  * @public
1548
1548
  */
1549
- path?: string;
1549
+ path?: string | undefined;
1550
1550
  /**
1551
1551
  * <p>The file mode permissions of the blob. File mode permission codes include:</p>
1552
1552
  * <ul>
@@ -1569,7 +1569,7 @@ export interface BlobMetadata {
1569
1569
  * </ul>
1570
1570
  * @public
1571
1571
  */
1572
- mode?: string;
1572
+ mode?: string | undefined;
1573
1573
  }
1574
1574
  /**
1575
1575
  * <p>The specified branch does not exist.</p>
@@ -1592,12 +1592,12 @@ export interface BranchInfo {
1592
1592
  * <p>The name of the branch.</p>
1593
1593
  * @public
1594
1594
  */
1595
- branchName?: string;
1595
+ branchName?: string | undefined;
1596
1596
  /**
1597
1597
  * <p>The ID of the last commit made to the branch.</p>
1598
1598
  * @public
1599
1599
  */
1600
- commitId?: string;
1600
+ commitId?: string | undefined;
1601
1601
  }
1602
1602
  /**
1603
1603
  * <p>Cannot create the branch with the specified name because the commit conflicts with an existing branch with the same name.
@@ -1744,7 +1744,7 @@ export interface CreateApprovalRuleTemplateInput {
1744
1744
  * repositories.</p>
1745
1745
  * @public
1746
1746
  */
1747
- approvalRuleTemplateDescription?: string;
1747
+ approvalRuleTemplateDescription?: string | undefined;
1748
1748
  }
1749
1749
  /**
1750
1750
  * @public
@@ -1888,7 +1888,7 @@ export interface SourceFileSpecifier {
1888
1888
  * <p>Whether to remove the source file from the parent commit.</p>
1889
1889
  * @public
1890
1890
  */
1891
- isMove?: boolean;
1891
+ isMove?: boolean | undefined;
1892
1892
  }
1893
1893
  /**
1894
1894
  * <p>Information about a file added or updated as part of a commit.</p>
@@ -1904,18 +1904,18 @@ export interface PutFileEntry {
1904
1904
  * <p>The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.</p>
1905
1905
  * @public
1906
1906
  */
1907
- fileMode?: FileModeTypeEnum;
1907
+ fileMode?: FileModeTypeEnum | undefined;
1908
1908
  /**
1909
1909
  * <p>The content of the file, if a source file is not specified.</p>
1910
1910
  * @public
1911
1911
  */
1912
- fileContent?: Uint8Array;
1912
+ fileContent?: Uint8Array | undefined;
1913
1913
  /**
1914
1914
  * <p>The name and full path of the file that contains the changes you want to make as part of the commit,
1915
1915
  * if you are not providing the file content directly.</p>
1916
1916
  * @public
1917
1917
  */
1918
- sourceFile?: SourceFileSpecifier;
1918
+ sourceFile?: SourceFileSpecifier | undefined;
1919
1919
  }
1920
1920
  /**
1921
1921
  * <p>Information about the file mode changes.</p>
@@ -1952,46 +1952,46 @@ export interface CreateCommitInput {
1952
1952
  * is an empty repository.</p>
1953
1953
  * @public
1954
1954
  */
1955
- parentCommitId?: string;
1955
+ parentCommitId?: string | undefined;
1956
1956
  /**
1957
1957
  * <p>The name of the author who created the commit. This information is used as both the
1958
1958
  * author and committer for the commit.</p>
1959
1959
  * @public
1960
1960
  */
1961
- authorName?: string;
1961
+ authorName?: string | undefined;
1962
1962
  /**
1963
1963
  * <p>The email address of the person who created the commit.</p>
1964
1964
  * @public
1965
1965
  */
1966
- email?: string;
1966
+ email?: string | undefined;
1967
1967
  /**
1968
1968
  * <p>The commit message you want to include in the commit. Commit messages are limited to
1969
1969
  * 256 KB. If no message is specified, a default message is used.</p>
1970
1970
  * @public
1971
1971
  */
1972
- commitMessage?: string;
1972
+ commitMessage?: string | undefined;
1973
1973
  /**
1974
1974
  * <p>If the commit contains deletions, whether to keep a folder or folder structure if the
1975
1975
  * changes leave the folders empty. If true, a ..gitkeep file is created for empty folders.
1976
1976
  * The default is false.</p>
1977
1977
  * @public
1978
1978
  */
1979
- keepEmptyFolders?: boolean;
1979
+ keepEmptyFolders?: boolean | undefined;
1980
1980
  /**
1981
1981
  * <p>The files to add or update in this commit.</p>
1982
1982
  * @public
1983
1983
  */
1984
- putFiles?: PutFileEntry[];
1984
+ putFiles?: PutFileEntry[] | undefined;
1985
1985
  /**
1986
1986
  * <p>The files to delete in this commit. These files still exist in earlier commits.</p>
1987
1987
  * @public
1988
1988
  */
1989
- deleteFiles?: DeleteFileEntry[];
1989
+ deleteFiles?: DeleteFileEntry[] | undefined;
1990
1990
  /**
1991
1991
  * <p>The file modes to update for files in this commit.</p>
1992
1992
  * @public
1993
1993
  */
1994
- setFileModes?: SetFileModeEntry[];
1994
+ setFileModes?: SetFileModeEntry[] | undefined;
1995
1995
  }
1996
1996
  /**
1997
1997
  * <p>A file to be added, updated, or deleted as part of a commit.</p>
@@ -2003,17 +2003,17 @@ export interface FileMetadata {
2003
2003
  * file.</p>
2004
2004
  * @public
2005
2005
  */
2006
- absolutePath?: string;
2006
+ absolutePath?: string | undefined;
2007
2007
  /**
2008
2008
  * <p>The blob ID that contains the file information.</p>
2009
2009
  * @public
2010
2010
  */
2011
- blobId?: string;
2011
+ blobId?: string | undefined;
2012
2012
  /**
2013
2013
  * <p>The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.</p>
2014
2014
  * @public
2015
2015
  */
2016
- fileMode?: FileModeTypeEnum;
2016
+ fileMode?: FileModeTypeEnum | undefined;
2017
2017
  }
2018
2018
  /**
2019
2019
  * @public
@@ -2023,27 +2023,27 @@ export interface CreateCommitOutput {
2023
2023
  * <p>The full commit ID of the commit that contains your committed file changes.</p>
2024
2024
  * @public
2025
2025
  */
2026
- commitId?: string;
2026
+ commitId?: string | undefined;
2027
2027
  /**
2028
2028
  * <p>The full SHA-1 pointer of the tree information for the commit that contains the commited file changes.</p>
2029
2029
  * @public
2030
2030
  */
2031
- treeId?: string;
2031
+ treeId?: string | undefined;
2032
2032
  /**
2033
2033
  * <p>The files added as part of the committed file changes.</p>
2034
2034
  * @public
2035
2035
  */
2036
- filesAdded?: FileMetadata[];
2036
+ filesAdded?: FileMetadata[] | undefined;
2037
2037
  /**
2038
2038
  * <p>The files updated as part of the commited file changes.</p>
2039
2039
  * @public
2040
2040
  */
2041
- filesUpdated?: FileMetadata[];
2041
+ filesUpdated?: FileMetadata[] | undefined;
2042
2042
  /**
2043
2043
  * <p>The files deleted as part of the committed file changes.</p>
2044
2044
  * @public
2045
2045
  */
2046
- filesDeleted?: FileMetadata[];
2046
+ filesDeleted?: FileMetadata[] | undefined;
2047
2047
  }
2048
2048
  /**
2049
2049
  * <p>A file cannot be added to the repository because the specified path name has the same name as a file that already exists in this repository.
@@ -2383,7 +2383,7 @@ export interface Target {
2383
2383
  * the destination branch.</p>
2384
2384
  * @public
2385
2385
  */
2386
- destinationReference?: string;
2386
+ destinationReference?: string | undefined;
2387
2387
  }
2388
2388
  /**
2389
2389
  * @public
@@ -2399,7 +2399,7 @@ export interface CreatePullRequestInput {
2399
2399
  * <p>A description of the pull request.</p>
2400
2400
  * @public
2401
2401
  */
2402
- description?: string;
2402
+ description?: string | undefined;
2403
2403
  /**
2404
2404
  * <p>The targets for the pull request, including the source of the code to be reviewed (the
2405
2405
  * source branch) and the destination where the creator of the pull request intends the
@@ -2418,7 +2418,7 @@ export interface CreatePullRequestInput {
2418
2418
  * </note>
2419
2419
  * @public
2420
2420
  */
2421
- clientRequestToken?: string;
2421
+ clientRequestToken?: string | undefined;
2422
2422
  }
2423
2423
  /**
2424
2424
  * @public
@@ -2441,22 +2441,22 @@ export interface MergeMetadata {
2441
2441
  * <p>A Boolean value indicating whether the merge has been made.</p>
2442
2442
  * @public
2443
2443
  */
2444
- isMerged?: boolean;
2444
+ isMerged?: boolean | undefined;
2445
2445
  /**
2446
2446
  * <p>The Amazon Resource Name (ARN) of the user who merged the branches.</p>
2447
2447
  * @public
2448
2448
  */
2449
- mergedBy?: string;
2449
+ mergedBy?: string | undefined;
2450
2450
  /**
2451
2451
  * <p>The commit ID for the merge commit, if any.</p>
2452
2452
  * @public
2453
2453
  */
2454
- mergeCommitId?: string;
2454
+ mergeCommitId?: string | undefined;
2455
2455
  /**
2456
2456
  * <p>The merge strategy used in the merge.</p>
2457
2457
  * @public
2458
2458
  */
2459
- mergeOption?: MergeOptionTypeEnum;
2459
+ mergeOption?: MergeOptionTypeEnum | undefined;
2460
2460
  }
2461
2461
  /**
2462
2462
  * <p>Returns information about a pull request target.</p>
@@ -2467,40 +2467,40 @@ export interface PullRequestTarget {
2467
2467
  * <p>The name of the repository that contains the pull request source and destination branches.</p>
2468
2468
  * @public
2469
2469
  */
2470
- repositoryName?: string;
2470
+ repositoryName?: string | undefined;
2471
2471
  /**
2472
2472
  * <p>The branch of the repository that contains the changes for the pull request. Also known as the source branch.</p>
2473
2473
  * @public
2474
2474
  */
2475
- sourceReference?: string;
2475
+ sourceReference?: string | undefined;
2476
2476
  /**
2477
2477
  * <p>The branch of the repository where the pull request changes are merged. Also known as
2478
2478
  * the destination branch. </p>
2479
2479
  * @public
2480
2480
  */
2481
- destinationReference?: string;
2481
+ destinationReference?: string | undefined;
2482
2482
  /**
2483
2483
  * <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>
2484
2484
  * @public
2485
2485
  */
2486
- destinationCommit?: string;
2486
+ destinationCommit?: string | undefined;
2487
2487
  /**
2488
2488
  * <p>The full commit ID of the tip of the source branch used to create the pull request. If
2489
2489
  * the pull request branch is updated by a push while the pull request is open, the commit
2490
2490
  * ID changes to reflect the new tip of the branch.</p>
2491
2491
  * @public
2492
2492
  */
2493
- sourceCommit?: string;
2493
+ sourceCommit?: string | undefined;
2494
2494
  /**
2495
2495
  * <p>The commit ID of the most recent commit that the source branch and the destination branch have in common.</p>
2496
2496
  * @public
2497
2497
  */
2498
- mergeBase?: string;
2498
+ mergeBase?: string | undefined;
2499
2499
  /**
2500
2500
  * <p>Returns metadata about the state of the merge, including whether the merge has been made.</p>
2501
2501
  * @public
2502
2502
  */
2503
- mergeMetadata?: MergeMetadata;
2503
+ mergeMetadata?: MergeMetadata | undefined;
2504
2504
  }
2505
2505
  /**
2506
2506
  * <p>Returns information about a pull request.</p>
@@ -2511,43 +2511,43 @@ export interface PullRequest {
2511
2511
  * <p>The system-generated ID of the pull request. </p>
2512
2512
  * @public
2513
2513
  */
2514
- pullRequestId?: string;
2514
+ pullRequestId?: string | undefined;
2515
2515
  /**
2516
2516
  * <p>The user-defined title of the pull request. This title is displayed in the list of
2517
2517
  * pull requests to other repository users.</p>
2518
2518
  * @public
2519
2519
  */
2520
- title?: string;
2520
+ title?: string | undefined;
2521
2521
  /**
2522
2522
  * <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>
2523
2523
  * @public
2524
2524
  */
2525
- description?: string;
2525
+ description?: string | undefined;
2526
2526
  /**
2527
2527
  * <p>The day and time of the last user or system activity on the pull request, in timestamp format.</p>
2528
2528
  * @public
2529
2529
  */
2530
- lastActivityDate?: Date;
2530
+ lastActivityDate?: Date | undefined;
2531
2531
  /**
2532
2532
  * <p>The date and time the pull request was originally created, in timestamp format.</p>
2533
2533
  * @public
2534
2534
  */
2535
- creationDate?: Date;
2535
+ creationDate?: Date | undefined;
2536
2536
  /**
2537
2537
  * <p>The status of the pull request. Pull request status can only change from <code>OPEN</code> to <code>CLOSED</code>.</p>
2538
2538
  * @public
2539
2539
  */
2540
- pullRequestStatus?: PullRequestStatusEnum;
2540
+ pullRequestStatus?: PullRequestStatusEnum | undefined;
2541
2541
  /**
2542
2542
  * <p>The Amazon Resource Name (ARN) of the user who created the pull request.</p>
2543
2543
  * @public
2544
2544
  */
2545
- authorArn?: string;
2545
+ authorArn?: string | undefined;
2546
2546
  /**
2547
2547
  * <p>The targets of the pull request, including the source branch and destination branch for the pull request.</p>
2548
2548
  * @public
2549
2549
  */
2550
- pullRequestTargets?: PullRequestTarget[];
2550
+ pullRequestTargets?: PullRequestTarget[] | undefined;
2551
2551
  /**
2552
2552
  * <p>A unique, client-generated idempotency token that, when provided in a request, ensures
2553
2553
  * the request cannot be repeated with a changed parameter. If a request is received with
@@ -2555,17 +2555,17 @@ export interface PullRequest {
2555
2555
  * initial request that used that token.</p>
2556
2556
  * @public
2557
2557
  */
2558
- clientRequestToken?: string;
2558
+ clientRequestToken?: string | undefined;
2559
2559
  /**
2560
2560
  * <p>The system-generated revision ID for the pull request.</p>
2561
2561
  * @public
2562
2562
  */
2563
- revisionId?: string;
2563
+ revisionId?: string | undefined;
2564
2564
  /**
2565
2565
  * <p>The approval rules applied to the pull request.</p>
2566
2566
  * @public
2567
2567
  */
2568
- approvalRules?: ApprovalRule[];
2568
+ approvalRules?: ApprovalRule[] | undefined;
2569
2569
  }
2570
2570
  /**
2571
2571
  * @public
@@ -2959,12 +2959,12 @@ export interface CreateRepositoryInput {
2959
2959
  * </note>
2960
2960
  * @public
2961
2961
  */
2962
- repositoryDescription?: string;
2962
+ repositoryDescription?: string | undefined;
2963
2963
  /**
2964
2964
  * <p>One or more tag key-value pairs to use when tagging this repository.</p>
2965
2965
  * @public
2966
2966
  */
2967
- tags?: Record<string, string>;
2967
+ tags?: Record<string, string> | undefined;
2968
2968
  /**
2969
2969
  * <p>The ID of the encryption key. You can view the ID of an encryption key in the KMS console, or use the KMS APIs to
2970
2970
  * programmatically retrieve a key ID. For more information about acceptable values for kmsKeyID, see
@@ -2973,7 +2973,7 @@ export interface CreateRepositoryInput {
2973
2973
  * <p>If no key is specified, the default <code>aws/codecommit</code> Amazon Web Services managed key is used.</p>
2974
2974
  * @public
2975
2975
  */
2976
- kmsKeyId?: string;
2976
+ kmsKeyId?: string | undefined;
2977
2977
  }
2978
2978
  /**
2979
2979
  * <p>Represents the output of a create repository operation.</p>
@@ -2984,7 +2984,7 @@ export interface CreateRepositoryOutput {
2984
2984
  * <p>Information about the newly created repository.</p>
2985
2985
  * @public
2986
2986
  */
2987
- repositoryMetadata?: RepositoryMetadata;
2987
+ repositoryMetadata?: RepositoryMetadata | undefined;
2988
2988
  }
2989
2989
  /**
2990
2990
  * <p>The Key Management Service encryption key is not valid.</p>
@@ -3152,12 +3152,12 @@ export interface ReplaceContentEntry {
3152
3152
  * <p>The base-64 encoded content to use when the replacement type is USE_NEW_CONTENT.</p>
3153
3153
  * @public
3154
3154
  */
3155
- content?: Uint8Array;
3155
+ content?: Uint8Array | undefined;
3156
3156
  /**
3157
3157
  * <p>The file mode to apply during conflict resoltion.</p>
3158
3158
  * @public
3159
3159
  */
3160
- fileMode?: FileModeTypeEnum;
3160
+ fileMode?: FileModeTypeEnum | undefined;
3161
3161
  }
3162
3162
  /**
3163
3163
  * <p>If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when
@@ -3169,17 +3169,17 @@ export interface ConflictResolution {
3169
3169
  * <p>Files to have content replaced as part of the merge conflict resolution.</p>
3170
3170
  * @public
3171
3171
  */
3172
- replaceContents?: ReplaceContentEntry[];
3172
+ replaceContents?: ReplaceContentEntry[] | undefined;
3173
3173
  /**
3174
3174
  * <p>Files to be deleted as part of the merge conflict resolution.</p>
3175
3175
  * @public
3176
3176
  */
3177
- deleteFiles?: DeleteFileEntry[];
3177
+ deleteFiles?: DeleteFileEntry[] | undefined;
3178
3178
  /**
3179
3179
  * <p>File modes that are set as part of the merge conflict resolution.</p>
3180
3180
  * @public
3181
3181
  */
3182
- setFileModes?: SetFileModeEntry[];
3182
+ setFileModes?: SetFileModeEntry[] | undefined;
3183
3183
  }
3184
3184
  /**
3185
3185
  * @public
@@ -3214,43 +3214,43 @@ export interface CreateUnreferencedMergeCommitInput {
3214
3214
  * both branches has differences on the same line.</p>
3215
3215
  * @public
3216
3216
  */
3217
- conflictDetailLevel?: ConflictDetailLevelTypeEnum;
3217
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
3218
3218
  /**
3219
3219
  * <p>Specifies which branch to use when resolving conflicts, or whether to attempt
3220
3220
  * automatically merging two versions of a file. The default is NONE, which requires any
3221
3221
  * conflicts to be resolved manually before the merge operation is successful.</p>
3222
3222
  * @public
3223
3223
  */
3224
- conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum;
3224
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
3225
3225
  /**
3226
3226
  * <p>The name of the author who created the unreferenced commit. This information is used
3227
3227
  * as both the author and committer for the commit.</p>
3228
3228
  * @public
3229
3229
  */
3230
- authorName?: string;
3230
+ authorName?: string | undefined;
3231
3231
  /**
3232
3232
  * <p>The email address for the person who created the unreferenced commit.</p>
3233
3233
  * @public
3234
3234
  */
3235
- email?: string;
3235
+ email?: string | undefined;
3236
3236
  /**
3237
3237
  * <p>The commit message for the unreferenced commit.</p>
3238
3238
  * @public
3239
3239
  */
3240
- commitMessage?: string;
3240
+ commitMessage?: string | undefined;
3241
3241
  /**
3242
3242
  * <p>If the commit contains deletions, whether to keep a folder or folder structure if the
3243
3243
  * changes leave the folders empty. If this is specified as true, a .gitkeep file is
3244
3244
  * created for empty folders. The default is false.</p>
3245
3245
  * @public
3246
3246
  */
3247
- keepEmptyFolders?: boolean;
3247
+ keepEmptyFolders?: boolean | undefined;
3248
3248
  /**
3249
3249
  * <p>If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when
3250
3250
  * resolving conflicts during a merge.</p>
3251
3251
  * @public
3252
3252
  */
3253
- conflictResolution?: ConflictResolution;
3253
+ conflictResolution?: ConflictResolution | undefined;
3254
3254
  }
3255
3255
  /**
3256
3256
  * @public
@@ -3260,12 +3260,12 @@ export interface CreateUnreferencedMergeCommitOutput {
3260
3260
  * <p>The full commit ID of the commit that contains your merge results.</p>
3261
3261
  * @public
3262
3262
  */
3263
- commitId?: string;
3263
+ commitId?: string | undefined;
3264
3264
  /**
3265
3265
  * <p>The full SHA-1 pointer of the tree information for the commit that contains the merge results.</p>
3266
3266
  * @public
3267
3267
  */
3268
- treeId?: string;
3268
+ treeId?: string | undefined;
3269
3269
  }
3270
3270
  /**
3271
3271
  * <p>The specified conflict resolution list is not valid.</p>
@@ -3421,7 +3421,7 @@ export interface DeleteBranchOutput {
3421
3421
  * <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>
3422
3422
  * @public
3423
3423
  */
3424
- deletedBranch?: BranchInfo;
3424
+ deletedBranch?: BranchInfo | undefined;
3425
3425
  }
3426
3426
  /**
3427
3427
  * <p>This comment has already been deleted. You cannot edit or delete a deleted comment.</p>
@@ -3480,37 +3480,37 @@ export interface Comment {
3480
3480
  * <p>The system-generated comment ID.</p>
3481
3481
  * @public
3482
3482
  */
3483
- commentId?: string;
3483
+ commentId?: string | undefined;
3484
3484
  /**
3485
3485
  * <p>The content of the comment.</p>
3486
3486
  * @public
3487
3487
  */
3488
- content?: string;
3488
+ content?: string | undefined;
3489
3489
  /**
3490
3490
  * <p>The ID of the comment for which this comment is a reply, if any.</p>
3491
3491
  * @public
3492
3492
  */
3493
- inReplyTo?: string;
3493
+ inReplyTo?: string | undefined;
3494
3494
  /**
3495
3495
  * <p>The date and time the comment was created, in timestamp format.</p>
3496
3496
  * @public
3497
3497
  */
3498
- creationDate?: Date;
3498
+ creationDate?: Date | undefined;
3499
3499
  /**
3500
3500
  * <p>The date and time the comment was most recently modified, in timestamp format.</p>
3501
3501
  * @public
3502
3502
  */
3503
- lastModifiedDate?: Date;
3503
+ lastModifiedDate?: Date | undefined;
3504
3504
  /**
3505
3505
  * <p>The Amazon Resource Name (ARN) of the person who posted the comment.</p>
3506
3506
  * @public
3507
3507
  */
3508
- authorArn?: string;
3508
+ authorArn?: string | undefined;
3509
3509
  /**
3510
3510
  * <p>A Boolean value indicating whether the comment has been deleted.</p>
3511
3511
  * @public
3512
3512
  */
3513
- deleted?: boolean;
3513
+ deleted?: boolean | undefined;
3514
3514
  /**
3515
3515
  * <p>A unique, client-generated idempotency token that, when provided in a request, ensures
3516
3516
  * the request cannot be repeated with a changed parameter. If a request is received with
@@ -3518,17 +3518,17 @@ export interface Comment {
3518
3518
  * initial request that used that token.</p>
3519
3519
  * @public
3520
3520
  */
3521
- clientRequestToken?: string;
3521
+ clientRequestToken?: string | undefined;
3522
3522
  /**
3523
3523
  * <p>The emoji reactions to a comment, if any, submitted by the user whose credentials are associated with the call to the API.</p>
3524
3524
  * @public
3525
3525
  */
3526
- callerReactions?: string[];
3526
+ callerReactions?: string[] | undefined;
3527
3527
  /**
3528
3528
  * <p>A string to integer map that represents the number of individual users who have responded to a comment with the specified reactions.</p>
3529
3529
  * @public
3530
3530
  */
3531
- reactionCounts?: Record<string, number>;
3531
+ reactionCounts?: Record<string, number> | undefined;
3532
3532
  }
3533
3533
  /**
3534
3534
  * @public
@@ -3538,7 +3538,7 @@ export interface DeleteCommentContentOutput {
3538
3538
  * <p>Information about the comment you just deleted.</p>
3539
3539
  * @public
3540
3540
  */
3541
- comment?: Comment;
3541
+ comment?: Comment | undefined;
3542
3542
  }
3543
3543
  /**
3544
3544
  * <p>The comment ID is not in a valid format. Make sure that you have provided the full comment ID.</p>
@@ -3588,25 +3588,25 @@ export interface DeleteFileInput {
3588
3588
  * last file in dir4 also deletes the empty folders dir4, dir3, and dir2.</p>
3589
3589
  * @public
3590
3590
  */
3591
- keepEmptyFolders?: boolean;
3591
+ keepEmptyFolders?: boolean | undefined;
3592
3592
  /**
3593
3593
  * <p>The commit message you want to include as part of deleting the file. Commit messages
3594
3594
  * are limited to 256 KB. If no message is specified, a default message is used.</p>
3595
3595
  * @public
3596
3596
  */
3597
- commitMessage?: string;
3597
+ commitMessage?: string | undefined;
3598
3598
  /**
3599
3599
  * <p>The name of the author of the commit that deletes the file. If no name is specified,
3600
3600
  * the user's ARN is used as the author name and committer name.</p>
3601
3601
  * @public
3602
3602
  */
3603
- name?: string;
3603
+ name?: string | undefined;
3604
3604
  /**
3605
3605
  * <p>The email address for the commit that deletes the file. If no email address is
3606
3606
  * specified, the email address is left blank.</p>
3607
3607
  * @public
3608
3608
  */
3609
- email?: string;
3609
+ email?: string | undefined;
3610
3610
  }
3611
3611
  /**
3612
3612
  * @public
@@ -3683,7 +3683,7 @@ export interface DeleteRepositoryOutput {
3683
3683
  * <p>The ID of the repository that was deleted.</p>
3684
3684
  * @public
3685
3685
  */
3686
- repositoryId?: string;
3686
+ repositoryId?: string | undefined;
3687
3687
  }
3688
3688
  /**
3689
3689
  * @public
@@ -3715,7 +3715,7 @@ export interface DescribeMergeConflictsInput {
3715
3715
  * <p>The maximum number of merge hunks to include in the output.</p>
3716
3716
  * @public
3717
3717
  */
3718
- maxMergeHunks?: number;
3718
+ maxMergeHunks?: number | undefined;
3719
3719
  /**
3720
3720
  * <p>The path of the target files used to describe the conflicts. </p>
3721
3721
  * @public
@@ -3728,20 +3728,20 @@ export interface DescribeMergeConflictsInput {
3728
3728
  * both branches has differences on the same line.</p>
3729
3729
  * @public
3730
3730
  */
3731
- conflictDetailLevel?: ConflictDetailLevelTypeEnum;
3731
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
3732
3732
  /**
3733
3733
  * <p>Specifies which branch to use when resolving conflicts, or whether to attempt
3734
3734
  * automatically merging two versions of a file. The default is NONE, which requires any
3735
3735
  * conflicts to be resolved manually before the merge operation is successful.</p>
3736
3736
  * @public
3737
3737
  */
3738
- conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum;
3738
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
3739
3739
  /**
3740
3740
  * <p>An enumeration token that, when provided in a request, returns the next batch of the
3741
3741
  * results.</p>
3742
3742
  * @public
3743
3743
  */
3744
- nextToken?: string;
3744
+ nextToken?: string | undefined;
3745
3745
  }
3746
3746
  /**
3747
3747
  * @public
@@ -3761,7 +3761,7 @@ export interface DescribeMergeConflictsOutput {
3761
3761
  * <p>An enumeration token that can be used in a request to return the next batch of the results.</p>
3762
3762
  * @public
3763
3763
  */
3764
- nextToken?: string;
3764
+ nextToken?: string | undefined;
3765
3765
  /**
3766
3766
  * <p>The commit ID of the destination commit specifier that was used in the merge evaluation.</p>
3767
3767
  * @public
@@ -3776,7 +3776,7 @@ export interface DescribeMergeConflictsOutput {
3776
3776
  * <p>The commit ID of the merge base.</p>
3777
3777
  * @public
3778
3778
  */
3779
- baseCommitId?: string;
3779
+ baseCommitId?: string | undefined;
3780
3780
  }
3781
3781
  /**
3782
3782
  * @public
@@ -3810,26 +3810,26 @@ export interface DescribePullRequestEventsInput {
3810
3810
  * <p>Optional. The pull request event type about which you want to return information.</p>
3811
3811
  * @public
3812
3812
  */
3813
- pullRequestEventType?: PullRequestEventType;
3813
+ pullRequestEventType?: PullRequestEventType | undefined;
3814
3814
  /**
3815
3815
  * <p>The Amazon Resource Name (ARN) of the user whose actions resulted in the event.
3816
3816
  * Examples include updating the pull request with more commits or changing the status of a
3817
3817
  * pull request.</p>
3818
3818
  * @public
3819
3819
  */
3820
- actorArn?: string;
3820
+ actorArn?: string | undefined;
3821
3821
  /**
3822
3822
  * <p>An enumeration token that, when provided in a request, returns the next batch of the
3823
3823
  * results.</p>
3824
3824
  * @public
3825
3825
  */
3826
- nextToken?: string;
3826
+ nextToken?: string | undefined;
3827
3827
  /**
3828
3828
  * <p>A non-zero, non-negative integer used to limit the number of returned results.
3829
3829
  * The default is 100 events, which is also the maximum number of events that can be returned in a result.</p>
3830
3830
  * @public
3831
3831
  */
3832
- maxResults?: number;
3832
+ maxResults?: number | undefined;
3833
3833
  }
3834
3834
  /**
3835
3835
  * <p>Metadata about the pull request that is used when comparing the pull request source with its destination.</p>
@@ -3840,22 +3840,22 @@ export interface PullRequestCreatedEventMetadata {
3840
3840
  * <p>The name of the repository where the pull request was created.</p>
3841
3841
  * @public
3842
3842
  */
3843
- repositoryName?: string;
3843
+ repositoryName?: string | undefined;
3844
3844
  /**
3845
3845
  * <p>The commit ID on the source branch used when the pull request was created.</p>
3846
3846
  * @public
3847
3847
  */
3848
- sourceCommitId?: string;
3848
+ sourceCommitId?: string | undefined;
3849
3849
  /**
3850
3850
  * <p>The commit ID of the tip of the branch specified as the destination branch when the pull request was created.</p>
3851
3851
  * @public
3852
3852
  */
3853
- destinationCommitId?: string;
3853
+ destinationCommitId?: string | undefined;
3854
3854
  /**
3855
3855
  * <p>The commit ID of the most recent commit that the source branch and the destination branch have in common.</p>
3856
3856
  * @public
3857
3857
  */
3858
- mergeBase?: string;
3858
+ mergeBase?: string | undefined;
3859
3859
  }
3860
3860
  /**
3861
3861
  * <p>Returns information about the change in the merge state for a pull request event. </p>
@@ -3866,17 +3866,17 @@ export interface PullRequestMergedStateChangedEventMetadata {
3866
3866
  * <p>The name of the repository where the pull request was created.</p>
3867
3867
  * @public
3868
3868
  */
3869
- repositoryName?: string;
3869
+ repositoryName?: string | undefined;
3870
3870
  /**
3871
3871
  * <p>The name of the branch that the pull request is merged into.</p>
3872
3872
  * @public
3873
3873
  */
3874
- destinationReference?: string;
3874
+ destinationReference?: string | undefined;
3875
3875
  /**
3876
3876
  * <p>Information about the merge state change event.</p>
3877
3877
  * @public
3878
3878
  */
3879
- mergeMetadata?: MergeMetadata;
3879
+ mergeMetadata?: MergeMetadata | undefined;
3880
3880
  }
3881
3881
  /**
3882
3882
  * <p>Information about an update to the source branch of a pull request.</p>
@@ -3887,22 +3887,22 @@ export interface PullRequestSourceReferenceUpdatedEventMetadata {
3887
3887
  * <p>The name of the repository where the pull request was updated.</p>
3888
3888
  * @public
3889
3889
  */
3890
- repositoryName?: string;
3890
+ repositoryName?: string | undefined;
3891
3891
  /**
3892
3892
  * <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>
3893
3893
  * @public
3894
3894
  */
3895
- beforeCommitId?: string;
3895
+ beforeCommitId?: string | undefined;
3896
3896
  /**
3897
3897
  * <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>
3898
3898
  * @public
3899
3899
  */
3900
- afterCommitId?: string;
3900
+ afterCommitId?: string | undefined;
3901
3901
  /**
3902
3902
  * <p>The commit ID of the most recent commit that the source branch and the destination branch have in common.</p>
3903
3903
  * @public
3904
3904
  */
3905
- mergeBase?: string;
3905
+ mergeBase?: string | undefined;
3906
3906
  }
3907
3907
  /**
3908
3908
  * <p>Information about a change to the status of a pull request.</p>
@@ -3913,7 +3913,7 @@ export interface PullRequestStatusChangedEventMetadata {
3913
3913
  * <p>The changed status of the pull request.</p>
3914
3914
  * @public
3915
3915
  */
3916
- pullRequestStatus?: PullRequestStatusEnum;
3916
+ pullRequestStatus?: PullRequestStatusEnum | undefined;
3917
3917
  }
3918
3918
  /**
3919
3919
  * <p>Returns information about a pull request event.</p>
@@ -3924,61 +3924,61 @@ export interface PullRequestEvent {
3924
3924
  * <p>The system-generated ID of the pull request.</p>
3925
3925
  * @public
3926
3926
  */
3927
- pullRequestId?: string;
3927
+ pullRequestId?: string | undefined;
3928
3928
  /**
3929
3929
  * <p>The day and time of the pull request event, in timestamp format.</p>
3930
3930
  * @public
3931
3931
  */
3932
- eventDate?: Date;
3932
+ eventDate?: Date | undefined;
3933
3933
  /**
3934
3934
  * <p>The type of the pull request event (for example, a status change event
3935
3935
  * (PULL_REQUEST_STATUS_CHANGED) or update event
3936
3936
  * (PULL_REQUEST_SOURCE_REFERENCE_UPDATED)).</p>
3937
3937
  * @public
3938
3938
  */
3939
- pullRequestEventType?: PullRequestEventType;
3939
+ pullRequestEventType?: PullRequestEventType | undefined;
3940
3940
  /**
3941
3941
  * <p>The Amazon Resource Name (ARN) of the user whose actions resulted in the event.
3942
3942
  * Examples include updating the pull request with more commits or changing the status of a
3943
3943
  * pull request.</p>
3944
3944
  * @public
3945
3945
  */
3946
- actorArn?: string;
3946
+ actorArn?: string | undefined;
3947
3947
  /**
3948
3948
  * <p>Information about the source and destination branches for the pull request.</p>
3949
3949
  * @public
3950
3950
  */
3951
- pullRequestCreatedEventMetadata?: PullRequestCreatedEventMetadata;
3951
+ pullRequestCreatedEventMetadata?: PullRequestCreatedEventMetadata | undefined;
3952
3952
  /**
3953
3953
  * <p>Information about the change in status for the pull request event.</p>
3954
3954
  * @public
3955
3955
  */
3956
- pullRequestStatusChangedEventMetadata?: PullRequestStatusChangedEventMetadata;
3956
+ pullRequestStatusChangedEventMetadata?: PullRequestStatusChangedEventMetadata | undefined;
3957
3957
  /**
3958
3958
  * <p>Information about the updated source branch for the pull request event. </p>
3959
3959
  * @public
3960
3960
  */
3961
- pullRequestSourceReferenceUpdatedEventMetadata?: PullRequestSourceReferenceUpdatedEventMetadata;
3961
+ pullRequestSourceReferenceUpdatedEventMetadata?: PullRequestSourceReferenceUpdatedEventMetadata | undefined;
3962
3962
  /**
3963
3963
  * <p>Information about the change in mergability state for the pull request event.</p>
3964
3964
  * @public
3965
3965
  */
3966
- pullRequestMergedStateChangedEventMetadata?: PullRequestMergedStateChangedEventMetadata;
3966
+ pullRequestMergedStateChangedEventMetadata?: PullRequestMergedStateChangedEventMetadata | undefined;
3967
3967
  /**
3968
3968
  * <p>Information about a pull request event.</p>
3969
3969
  * @public
3970
3970
  */
3971
- approvalRuleEventMetadata?: ApprovalRuleEventMetadata;
3971
+ approvalRuleEventMetadata?: ApprovalRuleEventMetadata | undefined;
3972
3972
  /**
3973
3973
  * <p>Information about an approval state change for a pull request.</p>
3974
3974
  * @public
3975
3975
  */
3976
- approvalStateChangedEventMetadata?: ApprovalStateChangedEventMetadata;
3976
+ approvalStateChangedEventMetadata?: ApprovalStateChangedEventMetadata | undefined;
3977
3977
  /**
3978
3978
  * <p>Information about an approval rule override event for a pull request.</p>
3979
3979
  * @public
3980
3980
  */
3981
- approvalRuleOverriddenEventMetadata?: ApprovalRuleOverriddenEventMetadata;
3981
+ approvalRuleOverriddenEventMetadata?: ApprovalRuleOverriddenEventMetadata | undefined;
3982
3982
  }
3983
3983
  /**
3984
3984
  * @public
@@ -3993,7 +3993,7 @@ export interface DescribePullRequestEventsOutput {
3993
3993
  * <p>An enumeration token that can be used in a request to return the next batch of the results.</p>
3994
3994
  * @public
3995
3995
  */
3996
- nextToken?: string;
3996
+ nextToken?: string | undefined;
3997
3997
  }
3998
3998
  /**
3999
3999
  * <p>The Amazon Resource Name (ARN) is not valid. Make sure that you have provided the full ARN for the user who initiated the change for the pull request,
@@ -4073,22 +4073,22 @@ export interface Evaluation {
4073
4073
  * <p>Whether the state of the pull request is approved.</p>
4074
4074
  * @public
4075
4075
  */
4076
- approved?: boolean;
4076
+ approved?: boolean | undefined;
4077
4077
  /**
4078
4078
  * <p>Whether the approval rule requirements for the pull request have been overridden and no longer need to be met.</p>
4079
4079
  * @public
4080
4080
  */
4081
- overridden?: boolean;
4081
+ overridden?: boolean | undefined;
4082
4082
  /**
4083
4083
  * <p>The names of the approval rules that have had their conditions met.</p>
4084
4084
  * @public
4085
4085
  */
4086
- approvalRulesSatisfied?: string[];
4086
+ approvalRulesSatisfied?: string[] | undefined;
4087
4087
  /**
4088
4088
  * <p>The names of the approval rules that have not had their conditions met.</p>
4089
4089
  * @public
4090
4090
  */
4091
- approvalRulesNotSatisfied?: string[];
4091
+ approvalRulesNotSatisfied?: string[] | undefined;
4092
4092
  }
4093
4093
  /**
4094
4094
  * @public
@@ -4218,12 +4218,12 @@ export interface GetBranchInput {
4218
4218
  * <p>The name of the repository that contains the branch for which you want to retrieve information.</p>
4219
4219
  * @public
4220
4220
  */
4221
- repositoryName?: string;
4221
+ repositoryName?: string | undefined;
4222
4222
  /**
4223
4223
  * <p>The name of the branch for which you want to retrieve information.</p>
4224
4224
  * @public
4225
4225
  */
4226
- branchName?: string;
4226
+ branchName?: string | undefined;
4227
4227
  }
4228
4228
  /**
4229
4229
  * <p>Represents the output of a get branch operation.</p>
@@ -4234,7 +4234,7 @@ export interface GetBranchOutput {
4234
4234
  * <p>The name of the branch.</p>
4235
4235
  * @public
4236
4236
  */
4237
- branch?: BranchInfo;
4237
+ branch?: BranchInfo | undefined;
4238
4238
  }
4239
4239
  /**
4240
4240
  * @public
@@ -4255,7 +4255,7 @@ export interface GetCommentOutput {
4255
4255
  * <p>The contents of the comment.</p>
4256
4256
  * @public
4257
4257
  */
4258
- comment?: Comment;
4258
+ comment?: Comment | undefined;
4259
4259
  }
4260
4260
  /**
4261
4261
  * @public
@@ -4270,17 +4270,17 @@ export interface GetCommentReactionsInput {
4270
4270
  * <p>Optional. The Amazon Resource Name (ARN) of the user or identity for which you want to get reaction information.</p>
4271
4271
  * @public
4272
4272
  */
4273
- reactionUserArn?: string;
4273
+ reactionUserArn?: string | undefined;
4274
4274
  /**
4275
4275
  * <p>An enumeration token that, when provided in a request, returns the next batch of the results. </p>
4276
4276
  * @public
4277
4277
  */
4278
- nextToken?: string;
4278
+ nextToken?: string | undefined;
4279
4279
  /**
4280
4280
  * <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>
4281
4281
  * @public
4282
4282
  */
4283
- maxResults?: number;
4283
+ maxResults?: number | undefined;
4284
4284
  }
4285
4285
  /**
4286
4286
  * <p>Information about the values for reactions to a comment. CodeCommit supports a limited set of reactions.</p>
@@ -4291,17 +4291,17 @@ export interface ReactionValueFormats {
4291
4291
  * <p>The Emoji Version 1.0 graphic of the reaction. These graphics are interpreted slightly differently on different operating systems.</p>
4292
4292
  * @public
4293
4293
  */
4294
- emoji?: string;
4294
+ emoji?: string | undefined;
4295
4295
  /**
4296
4296
  * <p>The emoji short code for the reaction. Short codes are interpreted slightly differently on different operating systems. </p>
4297
4297
  * @public
4298
4298
  */
4299
- shortCode?: string;
4299
+ shortCode?: string | undefined;
4300
4300
  /**
4301
4301
  * <p>The Unicode codepoint for the reaction.</p>
4302
4302
  * @public
4303
4303
  */
4304
- unicode?: string;
4304
+ unicode?: string | undefined;
4305
4305
  }
4306
4306
  /**
4307
4307
  * <p>Information about the reaction values provided by users on a comment.</p>
@@ -4312,18 +4312,18 @@ export interface ReactionForComment {
4312
4312
  * <p>The reaction for a specified comment.</p>
4313
4313
  * @public
4314
4314
  */
4315
- reaction?: ReactionValueFormats;
4315
+ reaction?: ReactionValueFormats | undefined;
4316
4316
  /**
4317
4317
  * <p>The Amazon Resource Names (ARNs) of users who have provided reactions to the comment.</p>
4318
4318
  * @public
4319
4319
  */
4320
- reactionUsers?: string[];
4320
+ reactionUsers?: string[] | undefined;
4321
4321
  /**
4322
4322
  * <p>A numerical count of users who reacted with the specified emoji whose identities have been subsequently deleted
4323
4323
  * from IAM. While these IAM users or roles no longer exist, the reactions might still appear in total reaction counts.</p>
4324
4324
  * @public
4325
4325
  */
4326
- reactionsFromDeletedUsersCount?: number;
4326
+ reactionsFromDeletedUsersCount?: number | undefined;
4327
4327
  }
4328
4328
  /**
4329
4329
  * @public
@@ -4338,7 +4338,7 @@ export interface GetCommentReactionsOutput {
4338
4338
  * <p>An enumeration token that can be used in a request to return the next batch of the results.</p>
4339
4339
  * @public
4340
4340
  */
4341
- nextToken?: string;
4341
+ nextToken?: string | undefined;
4342
4342
  }
4343
4343
  /**
4344
4344
  * <p>The Amazon Resource Name (ARN) of the user or identity is not valid.</p>
@@ -4366,7 +4366,7 @@ export interface GetCommentsForComparedCommitInput {
4366
4366
  * commit.</p>
4367
4367
  * @public
4368
4368
  */
4369
- beforeCommitId?: string;
4369
+ beforeCommitId?: string | undefined;
4370
4370
  /**
4371
4371
  * <p>To establish the directionality of the comparison, the full commit ID of the after
4372
4372
  * commit.</p>
@@ -4377,13 +4377,13 @@ export interface GetCommentsForComparedCommitInput {
4377
4377
  * <p>An enumeration token that when provided in a request, returns the next batch of the results. </p>
4378
4378
  * @public
4379
4379
  */
4380
- nextToken?: string;
4380
+ nextToken?: string | undefined;
4381
4381
  /**
4382
4382
  * <p>A non-zero, non-negative integer used to limit the number of returned results. The
4383
4383
  * default is 100 comments, but you can configure up to 500.</p>
4384
4384
  * @public
4385
4385
  */
4386
- maxResults?: number;
4386
+ maxResults?: number | undefined;
4387
4387
  }
4388
4388
  /**
4389
4389
  * @public
@@ -4406,18 +4406,18 @@ export interface Location {
4406
4406
  * <p>The name of the file being compared, including its extension and subdirectory, if any.</p>
4407
4407
  * @public
4408
4408
  */
4409
- filePath?: string;
4409
+ filePath?: string | undefined;
4410
4410
  /**
4411
4411
  * <p>The position of a change in a compared file, in line number format.</p>
4412
4412
  * @public
4413
4413
  */
4414
- filePosition?: number;
4414
+ filePosition?: number | undefined;
4415
4415
  /**
4416
4416
  * <p>In a comparison of commits or a pull request, whether the change is in the before or
4417
4417
  * after of that comparison.</p>
4418
4418
  * @public
4419
4419
  */
4420
- relativeFileVersion?: RelativeFileVersionEnum;
4420
+ relativeFileVersion?: RelativeFileVersionEnum | undefined;
4421
4421
  }
4422
4422
  /**
4423
4423
  * <p>Returns information about comments on the comparison between two commits.</p>
@@ -4428,41 +4428,41 @@ export interface CommentsForComparedCommit {
4428
4428
  * <p>The name of the repository that contains the compared commits.</p>
4429
4429
  * @public
4430
4430
  */
4431
- repositoryName?: string;
4431
+ repositoryName?: string | undefined;
4432
4432
  /**
4433
4433
  * <p>The full commit ID of the commit used to establish the before of the
4434
4434
  * comparison.</p>
4435
4435
  * @public
4436
4436
  */
4437
- beforeCommitId?: string;
4437
+ beforeCommitId?: string | undefined;
4438
4438
  /**
4439
4439
  * <p>The full commit ID of the commit used to establish the after of the comparison.</p>
4440
4440
  * @public
4441
4441
  */
4442
- afterCommitId?: string;
4442
+ afterCommitId?: string | undefined;
4443
4443
  /**
4444
4444
  * <p>The full blob ID of the commit used to establish the before of the comparison.</p>
4445
4445
  * @public
4446
4446
  */
4447
- beforeBlobId?: string;
4447
+ beforeBlobId?: string | undefined;
4448
4448
  /**
4449
4449
  * <p>The full blob ID of the commit used to establish the after of the comparison.</p>
4450
4450
  * @public
4451
4451
  */
4452
- afterBlobId?: string;
4452
+ afterBlobId?: string | undefined;
4453
4453
  /**
4454
4454
  * <p>Location information about the comment on the comparison, including the file name,
4455
4455
  * line number, and whether the version of the file where the comment was made is BEFORE or
4456
4456
  * AFTER.</p>
4457
4457
  * @public
4458
4458
  */
4459
- location?: Location;
4459
+ location?: Location | undefined;
4460
4460
  /**
4461
4461
  * <p>An array of comment objects. Each comment object contains information about a comment on the comparison
4462
4462
  * between commits.</p>
4463
4463
  * @public
4464
4464
  */
4465
- comments?: Comment[];
4465
+ comments?: Comment[] | undefined;
4466
4466
  }
4467
4467
  /**
4468
4468
  * @public
@@ -4472,12 +4472,12 @@ export interface GetCommentsForComparedCommitOutput {
4472
4472
  * <p>A list of comment objects on the compared commit.</p>
4473
4473
  * @public
4474
4474
  */
4475
- commentsForComparedCommitData?: CommentsForComparedCommit[];
4475
+ commentsForComparedCommitData?: CommentsForComparedCommit[] | undefined;
4476
4476
  /**
4477
4477
  * <p>An enumeration token that can be used in a request to return the next batch of the results.</p>
4478
4478
  * @public
4479
4479
  */
4480
- nextToken?: string;
4480
+ nextToken?: string | undefined;
4481
4481
  }
4482
4482
  /**
4483
4483
  * @public
@@ -4493,31 +4493,31 @@ export interface GetCommentsForPullRequestInput {
4493
4493
  * <code>beforeCommitId</code> and <code>afterCommitId</code> are included.</p>
4494
4494
  * @public
4495
4495
  */
4496
- repositoryName?: string;
4496
+ repositoryName?: string | undefined;
4497
4497
  /**
4498
4498
  * <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. Requirement is conditional:
4499
4499
  * <code>beforeCommitId</code> must be specified when <code>repositoryName</code> is included.</p>
4500
4500
  * @public
4501
4501
  */
4502
- beforeCommitId?: string;
4502
+ beforeCommitId?: string | undefined;
4503
4503
  /**
4504
4504
  * <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. Requirement is conditional:
4505
4505
  * <code>afterCommitId</code> must be specified when <code>repositoryName</code> is included.</p>
4506
4506
  * @public
4507
4507
  */
4508
- afterCommitId?: string;
4508
+ afterCommitId?: string | undefined;
4509
4509
  /**
4510
4510
  * <p>An enumeration token that, when provided in a request, returns the next batch of the
4511
4511
  * results.</p>
4512
4512
  * @public
4513
4513
  */
4514
- nextToken?: string;
4514
+ nextToken?: string | undefined;
4515
4515
  /**
4516
4516
  * <p>A non-zero, non-negative integer used to limit the number of returned results. The default is 100 comments.
4517
4517
  * You can return up to 500 comments with a single request.</p>
4518
4518
  * @public
4519
4519
  */
4520
- maxResults?: number;
4520
+ maxResults?: number | undefined;
4521
4521
  }
4522
4522
  /**
4523
4523
  * <p>Returns information about comments on a pull request.</p>
@@ -4528,47 +4528,47 @@ export interface CommentsForPullRequest {
4528
4528
  * <p>The system-generated ID of the pull request.</p>
4529
4529
  * @public
4530
4530
  */
4531
- pullRequestId?: string;
4531
+ pullRequestId?: string | undefined;
4532
4532
  /**
4533
4533
  * <p>The name of the repository that contains the pull request.</p>
4534
4534
  * @public
4535
4535
  */
4536
- repositoryName?: string;
4536
+ repositoryName?: string | undefined;
4537
4537
  /**
4538
4538
  * <p>The full commit ID of the commit that was the tip of the destination branch when the
4539
4539
  * pull request was created. This commit is superceded by the after commit in the source
4540
4540
  * branch when and if you merge the source branch into the destination branch.</p>
4541
4541
  * @public
4542
4542
  */
4543
- beforeCommitId?: string;
4543
+ beforeCommitId?: string | undefined;
4544
4544
  /**
4545
4545
  * <p>The full commit ID of the commit that was the tip of the source branch at the time the
4546
4546
  * comment was made. </p>
4547
4547
  * @public
4548
4548
  */
4549
- afterCommitId?: string;
4549
+ afterCommitId?: string | undefined;
4550
4550
  /**
4551
4551
  * <p>The full blob ID of the file on which you want to comment on the destination commit.</p>
4552
4552
  * @public
4553
4553
  */
4554
- beforeBlobId?: string;
4554
+ beforeBlobId?: string | undefined;
4555
4555
  /**
4556
4556
  * <p>The full blob ID of the file on which you want to comment on the source commit.</p>
4557
4557
  * @public
4558
4558
  */
4559
- afterBlobId?: string;
4559
+ afterBlobId?: string | undefined;
4560
4560
  /**
4561
4561
  * <p>Location information about the comment on the pull request, including the file name,
4562
4562
  * line number, and whether the version of the file where the comment was made is BEFORE
4563
4563
  * (destination branch) or AFTER (source branch).</p>
4564
4564
  * @public
4565
4565
  */
4566
- location?: Location;
4566
+ location?: Location | undefined;
4567
4567
  /**
4568
4568
  * <p>An array of comment objects. Each comment object contains information about a comment on the pull request.</p>
4569
4569
  * @public
4570
4570
  */
4571
- comments?: Comment[];
4571
+ comments?: Comment[] | undefined;
4572
4572
  }
4573
4573
  /**
4574
4574
  * @public
@@ -4578,12 +4578,12 @@ export interface GetCommentsForPullRequestOutput {
4578
4578
  * <p>An array of comment objects on the pull request.</p>
4579
4579
  * @public
4580
4580
  */
4581
- commentsForPullRequestData?: CommentsForPullRequest[];
4581
+ commentsForPullRequestData?: CommentsForPullRequest[] | undefined;
4582
4582
  /**
4583
4583
  * <p>An enumeration token that can be used in a request to return the next batch of the results.</p>
4584
4584
  * @public
4585
4585
  */
4586
- nextToken?: string;
4586
+ nextToken?: string | undefined;
4587
4587
  }
4588
4588
  /**
4589
4589
  * <p>The repository does not contain any pull requests with that pull request ID. Use GetPullRequest to verify the correct repository name for the pull request ID.</p>
@@ -4653,7 +4653,7 @@ export interface GetDifferencesInput {
4653
4653
  * with <code>maxResults</code>.</p>
4654
4654
  * @public
4655
4655
  */
4656
- beforeCommitSpecifier?: string;
4656
+ beforeCommitSpecifier?: string | undefined;
4657
4657
  /**
4658
4658
  * <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit.</p>
4659
4659
  * @public
@@ -4666,25 +4666,25 @@ export interface GetDifferencesInput {
4666
4666
  * are shown for all paths.</p>
4667
4667
  * @public
4668
4668
  */
4669
- beforePath?: string;
4669
+ beforePath?: string | undefined;
4670
4670
  /**
4671
4671
  * <p>The file path in which to check differences. Limits the results to this path. Can also
4672
4672
  * be used to specify the changed name of a directory or folder, if it has changed. If not
4673
4673
  * specified, differences are shown for all paths.</p>
4674
4674
  * @public
4675
4675
  */
4676
- afterPath?: string;
4676
+ afterPath?: string | undefined;
4677
4677
  /**
4678
4678
  * <p>A non-zero, non-negative integer used to limit the number of returned results.</p>
4679
4679
  * @public
4680
4680
  */
4681
- MaxResults?: number;
4681
+ MaxResults?: number | undefined;
4682
4682
  /**
4683
4683
  * <p>An enumeration token that, when provided in a request, returns the next batch of the
4684
4684
  * results.</p>
4685
4685
  * @public
4686
4686
  */
4687
- NextToken?: string;
4687
+ NextToken?: string | undefined;
4688
4688
  }
4689
4689
  /**
4690
4690
  * <p>Returns information about a set of differences for a commit specifier.</p>
@@ -4696,18 +4696,18 @@ export interface Difference {
4696
4696
  * the file mode permission code, and the path.</p>
4697
4697
  * @public
4698
4698
  */
4699
- beforeBlob?: BlobMetadata;
4699
+ beforeBlob?: BlobMetadata | undefined;
4700
4700
  /**
4701
4701
  * <p>Information about an <code>afterBlob</code> data type object, including the ID,
4702
4702
  * the file mode permission code, and the path.</p>
4703
4703
  * @public
4704
4704
  */
4705
- afterBlob?: BlobMetadata;
4705
+ afterBlob?: BlobMetadata | undefined;
4706
4706
  /**
4707
4707
  * <p>Whether the change type of the difference is an addition (A), deletion (D), or modification (M).</p>
4708
4708
  * @public
4709
4709
  */
4710
- changeType?: ChangeTypeEnum;
4710
+ changeType?: ChangeTypeEnum | undefined;
4711
4711
  }
4712
4712
  /**
4713
4713
  * @public
@@ -4718,12 +4718,12 @@ export interface GetDifferencesOutput {
4718
4718
  * the difference is added, modified, or deleted (A, D, M).</p>
4719
4719
  * @public
4720
4720
  */
4721
- differences?: Difference[];
4721
+ differences?: Difference[] | undefined;
4722
4722
  /**
4723
4723
  * <p>An enumeration token that can be used in a request to return the next batch of the results.</p>
4724
4724
  * @public
4725
4725
  */
4726
- NextToken?: string;
4726
+ NextToken?: string | undefined;
4727
4727
  }
4728
4728
  /**
4729
4729
  * <p>The specified path does not exist.</p>
@@ -4752,7 +4752,7 @@ export interface GetFileInput {
4752
4752
  * refs/heads/main. If none is provided, the head commit is used.</p>
4753
4753
  * @public
4754
4754
  */
4755
- commitSpecifier?: string;
4755
+ commitSpecifier?: string | undefined;
4756
4756
  /**
4757
4757
  * <p>The fully qualified path to the file, including the full name and extension of the
4758
4758
  * file. For example, /examples/file.md is the fully qualified path to a file named file.md
@@ -4831,7 +4831,7 @@ export interface GetFolderInput {
4831
4831
  * returned as it exists in the HEAD commit.</p>
4832
4832
  * @public
4833
4833
  */
4834
- commitSpecifier?: string;
4834
+ commitSpecifier?: string | undefined;
4835
4835
  /**
4836
4836
  * <p>The fully qualified path to the folder whose contents are returned, including the
4837
4837
  * folder name. For example, /examples is a fully-qualified path to a folder named examples
@@ -4849,22 +4849,22 @@ export interface File {
4849
4849
  * <p>The blob ID that contains the file information.</p>
4850
4850
  * @public
4851
4851
  */
4852
- blobId?: string;
4852
+ blobId?: string | undefined;
4853
4853
  /**
4854
4854
  * <p>The fully qualified path to the file in the repository.</p>
4855
4855
  * @public
4856
4856
  */
4857
- absolutePath?: string;
4857
+ absolutePath?: string | undefined;
4858
4858
  /**
4859
4859
  * <p>The relative path of the file from the folder where the query originated.</p>
4860
4860
  * @public
4861
4861
  */
4862
- relativePath?: string;
4862
+ relativePath?: string | undefined;
4863
4863
  /**
4864
4864
  * <p>The extrapolated file mode permissions for the file. Valid values include EXECUTABLE and NORMAL.</p>
4865
4865
  * @public
4866
4866
  */
4867
- fileMode?: FileModeTypeEnum;
4867
+ fileMode?: FileModeTypeEnum | undefined;
4868
4868
  }
4869
4869
  /**
4870
4870
  * <p>Returns information about a folder in a repository.</p>
@@ -4875,17 +4875,17 @@ export interface Folder {
4875
4875
  * <p>The full SHA-1 pointer of the tree information for the commit that contains the folder.</p>
4876
4876
  * @public
4877
4877
  */
4878
- treeId?: string;
4878
+ treeId?: string | undefined;
4879
4879
  /**
4880
4880
  * <p>The fully qualified path of the folder in the repository.</p>
4881
4881
  * @public
4882
4882
  */
4883
- absolutePath?: string;
4883
+ absolutePath?: string | undefined;
4884
4884
  /**
4885
4885
  * <p>The relative path of the specified folder from the folder where the query originated.</p>
4886
4886
  * @public
4887
4887
  */
4888
- relativePath?: string;
4888
+ relativePath?: string | undefined;
4889
4889
  }
4890
4890
  /**
4891
4891
  * <p>Returns information about a submodule reference in a repository folder.</p>
@@ -4896,17 +4896,17 @@ export interface SubModule {
4896
4896
  * <p>The commit ID that contains the reference to the submodule.</p>
4897
4897
  * @public
4898
4898
  */
4899
- commitId?: string;
4899
+ commitId?: string | undefined;
4900
4900
  /**
4901
4901
  * <p>The fully qualified path to the folder that contains the reference to the submodule.</p>
4902
4902
  * @public
4903
4903
  */
4904
- absolutePath?: string;
4904
+ absolutePath?: string | undefined;
4905
4905
  /**
4906
4906
  * <p>The relative path of the submodule from the folder where the query originated.</p>
4907
4907
  * @public
4908
4908
  */
4909
- relativePath?: string;
4909
+ relativePath?: string | undefined;
4910
4910
  }
4911
4911
  /**
4912
4912
  * <p>Returns information about a symbolic link in a repository folder.</p>
@@ -4917,22 +4917,22 @@ export interface SymbolicLink {
4917
4917
  * <p>The blob ID that contains the information about the symbolic link.</p>
4918
4918
  * @public
4919
4919
  */
4920
- blobId?: string;
4920
+ blobId?: string | undefined;
4921
4921
  /**
4922
4922
  * <p>The fully qualified path to the folder that contains the symbolic link.</p>
4923
4923
  * @public
4924
4924
  */
4925
- absolutePath?: string;
4925
+ absolutePath?: string | undefined;
4926
4926
  /**
4927
4927
  * <p>The relative path of the symbolic link from the folder where the query originated.</p>
4928
4928
  * @public
4929
4929
  */
4930
- relativePath?: string;
4930
+ relativePath?: string | undefined;
4931
4931
  /**
4932
4932
  * <p>The file mode permissions of the blob that cotains information about the symbolic link.</p>
4933
4933
  * @public
4934
4934
  */
4935
- fileMode?: FileModeTypeEnum;
4935
+ fileMode?: FileModeTypeEnum | undefined;
4936
4936
  }
4937
4937
  /**
4938
4938
  * @public
@@ -4953,28 +4953,28 @@ export interface GetFolderOutput {
4953
4953
  * <p>The full SHA-1 pointer of the tree information for the commit that contains the folder.</p>
4954
4954
  * @public
4955
4955
  */
4956
- treeId?: string;
4956
+ treeId?: string | undefined;
4957
4957
  /**
4958
4958
  * <p>The list of folders that exist under the specified folder, if any.</p>
4959
4959
  * @public
4960
4960
  */
4961
- subFolders?: Folder[];
4961
+ subFolders?: Folder[] | undefined;
4962
4962
  /**
4963
4963
  * <p>The list of files in the specified folder, if any.</p>
4964
4964
  * @public
4965
4965
  */
4966
- files?: File[];
4966
+ files?: File[] | undefined;
4967
4967
  /**
4968
4968
  * <p>The list of symbolic links to other files and folders in the specified folder, if
4969
4969
  * any.</p>
4970
4970
  * @public
4971
4971
  */
4972
- symbolicLinks?: SymbolicLink[];
4972
+ symbolicLinks?: SymbolicLink[] | undefined;
4973
4973
  /**
4974
4974
  * <p>The list of submodules in the specified folder, if any.</p>
4975
4975
  * @public
4976
4976
  */
4977
- subModules?: SubModule[];
4977
+ subModules?: SubModule[] | undefined;
4978
4978
  }
4979
4979
  /**
4980
4980
  * @public
@@ -5004,14 +5004,14 @@ export interface GetMergeCommitInput {
5004
5004
  * both branches has differences on the same line.</p>
5005
5005
  * @public
5006
5006
  */
5007
- conflictDetailLevel?: ConflictDetailLevelTypeEnum;
5007
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
5008
5008
  /**
5009
5009
  * <p>Specifies which branch to use when resolving conflicts, or whether to attempt
5010
5010
  * automatically merging two versions of a file. The default is NONE, which requires any
5011
5011
  * conflicts to be resolved manually before the merge operation is successful.</p>
5012
5012
  * @public
5013
5013
  */
5014
- conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum;
5014
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
5015
5015
  }
5016
5016
  /**
5017
5017
  * @public
@@ -5021,24 +5021,24 @@ export interface GetMergeCommitOutput {
5021
5021
  * <p>The commit ID of the source commit specifier that was used in the merge evaluation.</p>
5022
5022
  * @public
5023
5023
  */
5024
- sourceCommitId?: string;
5024
+ sourceCommitId?: string | undefined;
5025
5025
  /**
5026
5026
  * <p>The commit ID of the destination commit specifier that was used in the merge evaluation.</p>
5027
5027
  * @public
5028
5028
  */
5029
- destinationCommitId?: string;
5029
+ destinationCommitId?: string | undefined;
5030
5030
  /**
5031
5031
  * <p>The commit ID of the merge base.</p>
5032
5032
  * @public
5033
5033
  */
5034
- baseCommitId?: string;
5034
+ baseCommitId?: string | undefined;
5035
5035
  /**
5036
5036
  * <p>The commit ID for the merge commit created when the source branch was merged into the
5037
5037
  * destination branch. If the fast-forward merge strategy was used, there is no merge
5038
5038
  * commit.</p>
5039
5039
  * @public
5040
5040
  */
5041
- mergedCommitId?: string;
5041
+ mergedCommitId?: string | undefined;
5042
5042
  }
5043
5043
  /**
5044
5044
  * @public
@@ -5073,25 +5073,25 @@ export interface GetMergeConflictsInput {
5073
5073
  * both branches has differences on the same line.</p>
5074
5074
  * @public
5075
5075
  */
5076
- conflictDetailLevel?: ConflictDetailLevelTypeEnum;
5076
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
5077
5077
  /**
5078
5078
  * <p>The maximum number of files to include in the output.</p>
5079
5079
  * @public
5080
5080
  */
5081
- maxConflictFiles?: number;
5081
+ maxConflictFiles?: number | undefined;
5082
5082
  /**
5083
5083
  * <p>Specifies which branch to use when resolving conflicts, or whether to attempt
5084
5084
  * automatically merging two versions of a file. The default is NONE, which requires any
5085
5085
  * conflicts to be resolved manually before the merge operation is successful.</p>
5086
5086
  * @public
5087
5087
  */
5088
- conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum;
5088
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
5089
5089
  /**
5090
5090
  * <p>An enumeration token that, when provided in a request, returns the next batch of the
5091
5091
  * results.</p>
5092
5092
  * @public
5093
5093
  */
5094
- nextToken?: string;
5094
+ nextToken?: string | undefined;
5095
5095
  }
5096
5096
  /**
5097
5097
  * @public
@@ -5116,7 +5116,7 @@ export interface GetMergeConflictsOutput {
5116
5116
  * <p>The commit ID of the merge base.</p>
5117
5117
  * @public
5118
5118
  */
5119
- baseCommitId?: string;
5119
+ baseCommitId?: string | undefined;
5120
5120
  /**
5121
5121
  * <p>A list of metadata for any conflicting files. If the specified merge strategy is
5122
5122
  * FAST_FORWARD_MERGE, this list is always empty.</p>
@@ -5127,7 +5127,7 @@ export interface GetMergeConflictsOutput {
5127
5127
  * <p>An enumeration token that can be used in a request to return the next batch of the results.</p>
5128
5128
  * @public
5129
5129
  */
5130
- nextToken?: string;
5130
+ nextToken?: string | undefined;
5131
5131
  }
5132
5132
  /**
5133
5133
  * <p>The destination commit specifier is not valid. You must provide a valid branch name, tag, or full commit ID. </p>
@@ -5181,14 +5181,14 @@ export interface GetMergeOptionsInput {
5181
5181
  * both branches has differences on the same line.</p>
5182
5182
  * @public
5183
5183
  */
5184
- conflictDetailLevel?: ConflictDetailLevelTypeEnum;
5184
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
5185
5185
  /**
5186
5186
  * <p>Specifies which branch to use when resolving conflicts, or whether to attempt
5187
5187
  * automatically merging two versions of a file. The default is NONE, which requires any
5188
5188
  * conflicts to be resolved manually before the merge operation is successful.</p>
5189
5189
  * @public
5190
5190
  */
5191
- conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum;
5191
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
5192
5192
  }
5193
5193
  /**
5194
5194
  * @public
@@ -5258,7 +5258,7 @@ export interface GetPullRequestApprovalStatesOutput {
5258
5258
  * <p>Information about users who have approved the pull request.</p>
5259
5259
  * @public
5260
5260
  */
5261
- approvals?: Approval[];
5261
+ approvals?: Approval[] | undefined;
5262
5262
  }
5263
5263
  /**
5264
5264
  * @public
@@ -5285,12 +5285,12 @@ export interface GetPullRequestOverrideStateOutput {
5285
5285
  * <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>
5286
5286
  * @public
5287
5287
  */
5288
- overridden?: boolean;
5288
+ overridden?: boolean | undefined;
5289
5289
  /**
5290
5290
  * <p>The Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request.</p>
5291
5291
  * @public
5292
5292
  */
5293
- overrider?: string;
5293
+ overrider?: string | undefined;
5294
5294
  }
5295
5295
  /**
5296
5296
  * <p>Represents the input of a get repository operation.</p>
@@ -5312,7 +5312,7 @@ export interface GetRepositoryOutput {
5312
5312
  * <p>Information about the repository.</p>
5313
5313
  * @public
5314
5314
  */
5315
- repositoryMetadata?: RepositoryMetadata;
5315
+ repositoryMetadata?: RepositoryMetadata | undefined;
5316
5316
  }
5317
5317
  /**
5318
5318
  * <p>Represents the input of a get repository triggers operation.</p>
@@ -5365,7 +5365,7 @@ export interface RepositoryTrigger {
5365
5365
  * the target of the trigger.</p>
5366
5366
  * @public
5367
5367
  */
5368
- customData?: string;
5368
+ customData?: string | undefined;
5369
5369
  /**
5370
5370
  * <p>The branches to be included in the trigger configuration. If you specify an empty
5371
5371
  * array, the trigger applies to all branches.</p>
@@ -5374,7 +5374,7 @@ export interface RepositoryTrigger {
5374
5374
  * </note>
5375
5375
  * @public
5376
5376
  */
5377
- branches?: string[];
5377
+ branches?: string[] | undefined;
5378
5378
  /**
5379
5379
  * <p>The repository events that cause the trigger to run actions in another service, such
5380
5380
  * as sending a notification through Amazon SNS.
@@ -5396,12 +5396,12 @@ export interface GetRepositoryTriggersOutput {
5396
5396
  * <p>The system-generated unique ID for the trigger.</p>
5397
5397
  * @public
5398
5398
  */
5399
- configurationId?: string;
5399
+ configurationId?: string | undefined;
5400
5400
  /**
5401
5401
  * <p>The JSON block of configuration information for each trigger.</p>
5402
5402
  * @public
5403
5403
  */
5404
- triggers?: RepositoryTrigger[];
5404
+ triggers?: RepositoryTrigger[] | undefined;
5405
5405
  }
5406
5406
  /**
5407
5407
  * @public
@@ -5412,12 +5412,12 @@ export interface ListApprovalRuleTemplatesInput {
5412
5412
  * results.</p>
5413
5413
  * @public
5414
5414
  */
5415
- nextToken?: string;
5415
+ nextToken?: string | undefined;
5416
5416
  /**
5417
5417
  * <p>A non-zero, non-negative integer used to limit the number of returned results.</p>
5418
5418
  * @public
5419
5419
  */
5420
- maxResults?: number;
5420
+ maxResults?: number | undefined;
5421
5421
  }
5422
5422
  /**
5423
5423
  * @public
@@ -5427,12 +5427,12 @@ export interface ListApprovalRuleTemplatesOutput {
5427
5427
  * <p>The names of all the approval rule templates found in the Amazon Web Services Region for your Amazon Web Services account.</p>
5428
5428
  * @public
5429
5429
  */
5430
- approvalRuleTemplateNames?: string[];
5430
+ approvalRuleTemplateNames?: string[] | undefined;
5431
5431
  /**
5432
5432
  * <p>An enumeration token that allows the operation to batch the next results of the operation.</p>
5433
5433
  * @public
5434
5434
  */
5435
- nextToken?: string;
5435
+ nextToken?: string | undefined;
5436
5436
  }
5437
5437
  /**
5438
5438
  * @public
@@ -5448,12 +5448,12 @@ export interface ListAssociatedApprovalRuleTemplatesForRepositoryInput {
5448
5448
  * results.</p>
5449
5449
  * @public
5450
5450
  */
5451
- nextToken?: string;
5451
+ nextToken?: string | undefined;
5452
5452
  /**
5453
5453
  * <p>A non-zero, non-negative integer used to limit the number of returned results.</p>
5454
5454
  * @public
5455
5455
  */
5456
- maxResults?: number;
5456
+ maxResults?: number | undefined;
5457
5457
  }
5458
5458
  /**
5459
5459
  * @public
@@ -5463,12 +5463,12 @@ export interface ListAssociatedApprovalRuleTemplatesForRepositoryOutput {
5463
5463
  * <p>The names of all approval rule templates associated with the repository.</p>
5464
5464
  * @public
5465
5465
  */
5466
- approvalRuleTemplateNames?: string[];
5466
+ approvalRuleTemplateNames?: string[] | undefined;
5467
5467
  /**
5468
5468
  * <p>An enumeration token that allows the operation to batch the next results of the operation.</p>
5469
5469
  * @public
5470
5470
  */
5471
- nextToken?: string;
5471
+ nextToken?: string | undefined;
5472
5472
  }
5473
5473
  /**
5474
5474
  * <p>Represents the input of a list branches operation.</p>
@@ -5484,7 +5484,7 @@ export interface ListBranchesInput {
5484
5484
  * <p>An enumeration token that allows the operation to batch the results.</p>
5485
5485
  * @public
5486
5486
  */
5487
- nextToken?: string;
5487
+ nextToken?: string | undefined;
5488
5488
  }
5489
5489
  /**
5490
5490
  * <p>Represents the output of a list branches operation.</p>
@@ -5495,12 +5495,12 @@ export interface ListBranchesOutput {
5495
5495
  * <p>The list of branch names.</p>
5496
5496
  * @public
5497
5497
  */
5498
- branches?: string[];
5498
+ branches?: string[] | undefined;
5499
5499
  /**
5500
5500
  * <p>An enumeration token that returns the batch of the results.</p>
5501
5501
  * @public
5502
5502
  */
5503
- nextToken?: string;
5503
+ nextToken?: string | undefined;
5504
5504
  }
5505
5505
  /**
5506
5506
  * @public
@@ -5517,7 +5517,7 @@ export interface ListFileCommitHistoryRequest {
5517
5517
  * <code>refs/heads/main</code>. If none is provided, the head commit is used.</p>
5518
5518
  * @public
5519
5519
  */
5520
- commitSpecifier?: string;
5520
+ commitSpecifier?: string | undefined;
5521
5521
  /**
5522
5522
  * <p>The full path of the file whose history you want to retrieve, including the name of the file.</p>
5523
5523
  * @public
@@ -5527,10 +5527,10 @@ export interface ListFileCommitHistoryRequest {
5527
5527
  * <p>A non-zero, non-negative integer used to limit the number of returned results.</p>
5528
5528
  * @public
5529
5529
  */
5530
- maxResults?: number;
5530
+ maxResults?: number | undefined;
5531
5531
  /**
5532
5532
  * <p>An enumeration token that allows the operation to batch the results.</p>
5533
5533
  * @public
5534
5534
  */
5535
- nextToken?: string;
5535
+ nextToken?: string | undefined;
5536
5536
  }