@aws-sdk/client-codecommit 3.686.0 → 3.691.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.
@@ -13,22 +13,22 @@ export declare const ApprovalState: {
13
13
  };
14
14
  export type ApprovalState = (typeof ApprovalState)[keyof typeof ApprovalState];
15
15
  export interface Approval {
16
- userArn?: string;
17
- approvalState?: ApprovalState;
16
+ userArn?: string | undefined;
17
+ approvalState?: ApprovalState | undefined;
18
18
  }
19
19
  export interface OriginApprovalRuleTemplate {
20
- approvalRuleTemplateId?: string;
21
- approvalRuleTemplateName?: string;
20
+ approvalRuleTemplateId?: string | undefined;
21
+ approvalRuleTemplateName?: string | undefined;
22
22
  }
23
23
  export interface ApprovalRule {
24
- approvalRuleId?: string;
25
- approvalRuleName?: string;
26
- approvalRuleContent?: string;
27
- ruleContentSha256?: string;
28
- lastModifiedDate?: Date;
29
- creationDate?: Date;
30
- lastModifiedUser?: string;
31
- originApprovalRuleTemplate?: OriginApprovalRuleTemplate;
24
+ approvalRuleId?: string | undefined;
25
+ approvalRuleName?: string | undefined;
26
+ approvalRuleContent?: string | undefined;
27
+ ruleContentSha256?: string | undefined;
28
+ lastModifiedDate?: Date | undefined;
29
+ creationDate?: Date | undefined;
30
+ lastModifiedUser?: string | undefined;
31
+ originApprovalRuleTemplate?: OriginApprovalRuleTemplate | undefined;
32
32
  }
33
33
  export declare class ApprovalRuleContentRequiredException extends __BaseException {
34
34
  readonly name: "ApprovalRuleContentRequiredException";
@@ -51,9 +51,9 @@ export declare class ApprovalRuleDoesNotExistException extends __BaseException {
51
51
  );
52
52
  }
53
53
  export interface ApprovalRuleEventMetadata {
54
- approvalRuleName?: string;
55
- approvalRuleId?: string;
56
- approvalRuleContent?: string;
54
+ approvalRuleName?: string | undefined;
55
+ approvalRuleId?: string | undefined;
56
+ approvalRuleContent?: string | undefined;
57
57
  }
58
58
  export declare class ApprovalRuleNameAlreadyExistsException extends __BaseException {
59
59
  readonly name: "ApprovalRuleNameAlreadyExistsException";
@@ -82,18 +82,18 @@ export declare const OverrideStatus: {
82
82
  export type OverrideStatus =
83
83
  (typeof OverrideStatus)[keyof typeof OverrideStatus];
84
84
  export interface ApprovalRuleOverriddenEventMetadata {
85
- revisionId?: string;
86
- overrideStatus?: OverrideStatus;
85
+ revisionId?: string | undefined;
86
+ overrideStatus?: OverrideStatus | undefined;
87
87
  }
88
88
  export interface ApprovalRuleTemplate {
89
- approvalRuleTemplateId?: string;
90
- approvalRuleTemplateName?: string;
91
- approvalRuleTemplateDescription?: string;
92
- approvalRuleTemplateContent?: string;
93
- ruleContentSha256?: string;
94
- lastModifiedDate?: Date;
95
- creationDate?: Date;
96
- lastModifiedUser?: string;
89
+ approvalRuleTemplateId?: string | undefined;
90
+ approvalRuleTemplateName?: string | undefined;
91
+ approvalRuleTemplateDescription?: string | undefined;
92
+ approvalRuleTemplateContent?: string | undefined;
93
+ ruleContentSha256?: string | undefined;
94
+ lastModifiedDate?: Date | undefined;
95
+ creationDate?: Date | undefined;
96
+ lastModifiedUser?: string | undefined;
97
97
  }
98
98
  export declare class ApprovalRuleTemplateContentRequiredException extends __BaseException {
99
99
  readonly name: "ApprovalRuleTemplateContentRequiredException";
@@ -146,8 +146,8 @@ export declare class ApprovalRuleTemplateNameRequiredException extends __BaseExc
146
146
  );
147
147
  }
148
148
  export interface ApprovalStateChangedEventMetadata {
149
- revisionId?: string;
150
- approvalStatus?: ApprovalState;
149
+ revisionId?: string | undefined;
150
+ approvalStatus?: ApprovalState | undefined;
151
151
  }
152
152
  export declare class ApprovalStateRequiredException extends __BaseException {
153
153
  readonly name: "ApprovalStateRequiredException";
@@ -263,9 +263,9 @@ export interface BatchAssociateApprovalRuleTemplateWithRepositoriesInput {
263
263
  repositoryNames: string[] | undefined;
264
264
  }
265
265
  export interface BatchAssociateApprovalRuleTemplateWithRepositoriesError {
266
- repositoryName?: string;
267
- errorCode?: string;
268
- errorMessage?: string;
266
+ repositoryName?: string | undefined;
267
+ errorCode?: string | undefined;
268
+ errorMessage?: string | undefined;
269
269
  }
270
270
  export interface BatchAssociateApprovalRuleTemplateWithRepositoriesOutput {
271
271
  associatedRepositoryNames: string[] | undefined;
@@ -317,12 +317,12 @@ export interface BatchDescribeMergeConflictsInput {
317
317
  destinationCommitSpecifier: string | undefined;
318
318
  sourceCommitSpecifier: string | undefined;
319
319
  mergeOption: MergeOptionTypeEnum | undefined;
320
- maxMergeHunks?: number;
321
- maxConflictFiles?: number;
322
- filePaths?: string[];
323
- conflictDetailLevel?: ConflictDetailLevelTypeEnum;
324
- conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum;
325
- nextToken?: string;
320
+ maxMergeHunks?: number | undefined;
321
+ maxConflictFiles?: number | undefined;
322
+ filePaths?: string[] | undefined;
323
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
324
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
325
+ nextToken?: string | undefined;
326
326
  }
327
327
  export declare const FileModeTypeEnum: {
328
328
  readonly EXECUTABLE: "EXECUTABLE";
@@ -332,19 +332,19 @@ export declare const FileModeTypeEnum: {
332
332
  export type FileModeTypeEnum =
333
333
  (typeof FileModeTypeEnum)[keyof typeof FileModeTypeEnum];
334
334
  export interface FileModes {
335
- source?: FileModeTypeEnum;
336
- destination?: FileModeTypeEnum;
337
- base?: FileModeTypeEnum;
335
+ source?: FileModeTypeEnum | undefined;
336
+ destination?: FileModeTypeEnum | undefined;
337
+ base?: FileModeTypeEnum | undefined;
338
338
  }
339
339
  export interface FileSizes {
340
- source?: number;
341
- destination?: number;
342
- base?: number;
340
+ source?: number | undefined;
341
+ destination?: number | undefined;
342
+ base?: number | undefined;
343
343
  }
344
344
  export interface IsBinaryFile {
345
- source?: boolean;
346
- destination?: boolean;
347
- base?: boolean;
345
+ source?: boolean | undefined;
346
+ destination?: boolean | undefined;
347
+ base?: boolean | undefined;
348
348
  }
349
349
  export declare const ChangeTypeEnum: {
350
350
  readonly ADDED: "A";
@@ -354,8 +354,8 @@ export declare const ChangeTypeEnum: {
354
354
  export type ChangeTypeEnum =
355
355
  (typeof ChangeTypeEnum)[keyof typeof ChangeTypeEnum];
356
356
  export interface MergeOperations {
357
- source?: ChangeTypeEnum;
358
- destination?: ChangeTypeEnum;
357
+ source?: ChangeTypeEnum | undefined;
358
+ destination?: ChangeTypeEnum | undefined;
359
359
  }
360
360
  export declare const ObjectTypeEnum: {
361
361
  readonly DIRECTORY: "DIRECTORY";
@@ -366,36 +366,36 @@ export declare const ObjectTypeEnum: {
366
366
  export type ObjectTypeEnum =
367
367
  (typeof ObjectTypeEnum)[keyof typeof ObjectTypeEnum];
368
368
  export interface ObjectTypes {
369
- source?: ObjectTypeEnum;
370
- destination?: ObjectTypeEnum;
371
- base?: ObjectTypeEnum;
369
+ source?: ObjectTypeEnum | undefined;
370
+ destination?: ObjectTypeEnum | undefined;
371
+ base?: ObjectTypeEnum | undefined;
372
372
  }
373
373
  export interface ConflictMetadata {
374
- filePath?: string;
375
- fileSizes?: FileSizes;
376
- fileModes?: FileModes;
377
- objectTypes?: ObjectTypes;
378
- numberOfConflicts?: number;
379
- isBinaryFile?: IsBinaryFile;
380
- contentConflict?: boolean;
381
- fileModeConflict?: boolean;
382
- objectTypeConflict?: boolean;
383
- mergeOperations?: MergeOperations;
374
+ filePath?: string | undefined;
375
+ fileSizes?: FileSizes | undefined;
376
+ fileModes?: FileModes | undefined;
377
+ objectTypes?: ObjectTypes | undefined;
378
+ numberOfConflicts?: number | undefined;
379
+ isBinaryFile?: IsBinaryFile | undefined;
380
+ contentConflict?: boolean | undefined;
381
+ fileModeConflict?: boolean | undefined;
382
+ objectTypeConflict?: boolean | undefined;
383
+ mergeOperations?: MergeOperations | undefined;
384
384
  }
385
385
  export interface MergeHunkDetail {
386
- startLine?: number;
387
- endLine?: number;
388
- hunkContent?: string;
386
+ startLine?: number | undefined;
387
+ endLine?: number | undefined;
388
+ hunkContent?: string | undefined;
389
389
  }
390
390
  export interface MergeHunk {
391
- isConflict?: boolean;
392
- source?: MergeHunkDetail;
393
- destination?: MergeHunkDetail;
394
- base?: MergeHunkDetail;
391
+ isConflict?: boolean | undefined;
392
+ source?: MergeHunkDetail | undefined;
393
+ destination?: MergeHunkDetail | undefined;
394
+ base?: MergeHunkDetail | undefined;
395
395
  }
396
396
  export interface Conflict {
397
- conflictMetadata?: ConflictMetadata;
398
- mergeHunks?: MergeHunk[];
397
+ conflictMetadata?: ConflictMetadata | undefined;
398
+ mergeHunks?: MergeHunk[] | undefined;
399
399
  }
400
400
  export interface BatchDescribeMergeConflictsError {
401
401
  filePath: string | undefined;
@@ -404,11 +404,11 @@ export interface BatchDescribeMergeConflictsError {
404
404
  }
405
405
  export interface BatchDescribeMergeConflictsOutput {
406
406
  conflicts: Conflict[] | undefined;
407
- nextToken?: string;
408
- errors?: BatchDescribeMergeConflictsError[];
407
+ nextToken?: string | undefined;
408
+ errors?: BatchDescribeMergeConflictsError[] | undefined;
409
409
  destinationCommitId: string | undefined;
410
410
  sourceCommitId: string | undefined;
411
- baseCommitId?: string;
411
+ baseCommitId?: string | undefined;
412
412
  }
413
413
  export declare class CommitDoesNotExistException extends __BaseException {
414
414
  readonly name: "CommitDoesNotExistException";
@@ -527,9 +527,9 @@ export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesInput {
527
527
  repositoryNames: string[] | undefined;
528
528
  }
529
529
  export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesError {
530
- repositoryName?: string;
531
- errorCode?: string;
532
- errorMessage?: string;
530
+ repositoryName?: string | undefined;
531
+ errorCode?: string | undefined;
532
+ errorMessage?: string | undefined;
533
533
  }
534
534
  export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput {
535
535
  disassociatedRepositoryNames: string[] | undefined;
@@ -542,27 +542,27 @@ export interface BatchGetCommitsInput {
542
542
  repositoryName: string | undefined;
543
543
  }
544
544
  export interface UserInfo {
545
- name?: string;
546
- email?: string;
547
- date?: string;
545
+ name?: string | undefined;
546
+ email?: string | undefined;
547
+ date?: string | undefined;
548
548
  }
549
549
  export interface Commit {
550
- commitId?: string;
551
- treeId?: string;
552
- parents?: string[];
553
- message?: string;
554
- author?: UserInfo;
555
- committer?: UserInfo;
556
- additionalData?: string;
550
+ commitId?: string | undefined;
551
+ treeId?: string | undefined;
552
+ parents?: string[] | undefined;
553
+ message?: string | undefined;
554
+ author?: UserInfo | undefined;
555
+ committer?: UserInfo | undefined;
556
+ additionalData?: string | undefined;
557
557
  }
558
558
  export interface BatchGetCommitsError {
559
- commitId?: string;
560
- errorCode?: string;
561
- errorMessage?: string;
559
+ commitId?: string | undefined;
560
+ errorCode?: string | undefined;
561
+ errorMessage?: string | undefined;
562
562
  }
563
563
  export interface BatchGetCommitsOutput {
564
- commits?: Commit[];
565
- errors?: BatchGetCommitsError[];
564
+ commits?: Commit[] | undefined;
565
+ errors?: BatchGetCommitsError[] | undefined;
566
566
  }
567
567
  export declare class CommitIdsLimitExceededException extends __BaseException {
568
568
  readonly name: "CommitIdsLimitExceededException";
@@ -595,28 +595,28 @@ export declare const BatchGetRepositoriesErrorCodeEnum: {
595
595
  export type BatchGetRepositoriesErrorCodeEnum =
596
596
  (typeof BatchGetRepositoriesErrorCodeEnum)[keyof typeof BatchGetRepositoriesErrorCodeEnum];
597
597
  export interface BatchGetRepositoriesError {
598
- repositoryId?: string;
599
- repositoryName?: string;
600
- errorCode?: BatchGetRepositoriesErrorCodeEnum;
601
- errorMessage?: string;
598
+ repositoryId?: string | undefined;
599
+ repositoryName?: string | undefined;
600
+ errorCode?: BatchGetRepositoriesErrorCodeEnum | undefined;
601
+ errorMessage?: string | undefined;
602
602
  }
603
603
  export interface RepositoryMetadata {
604
- accountId?: string;
605
- repositoryId?: string;
606
- repositoryName?: string;
607
- repositoryDescription?: string;
608
- defaultBranch?: string;
609
- lastModifiedDate?: Date;
610
- creationDate?: Date;
611
- cloneUrlHttp?: string;
612
- cloneUrlSsh?: string;
613
- Arn?: string;
614
- kmsKeyId?: string;
604
+ accountId?: string | undefined;
605
+ repositoryId?: string | undefined;
606
+ repositoryName?: string | undefined;
607
+ repositoryDescription?: string | undefined;
608
+ defaultBranch?: string | undefined;
609
+ lastModifiedDate?: Date | undefined;
610
+ creationDate?: Date | undefined;
611
+ cloneUrlHttp?: string | undefined;
612
+ cloneUrlSsh?: string | undefined;
613
+ Arn?: string | undefined;
614
+ kmsKeyId?: string | undefined;
615
615
  }
616
616
  export interface BatchGetRepositoriesOutput {
617
- repositories?: RepositoryMetadata[];
618
- repositoriesNotFound?: string[];
619
- errors?: BatchGetRepositoriesError[];
617
+ repositories?: RepositoryMetadata[] | undefined;
618
+ repositoriesNotFound?: string[] | undefined;
619
+ errors?: BatchGetRepositoriesError[] | undefined;
620
620
  }
621
621
  export declare class BeforeCommitIdAndAfterCommitIdAreSameException extends __BaseException {
622
622
  readonly name: "BeforeCommitIdAndAfterCommitIdAreSameException";
@@ -643,9 +643,9 @@ export declare class BlobIdRequiredException extends __BaseException {
643
643
  );
644
644
  }
645
645
  export interface BlobMetadata {
646
- blobId?: string;
647
- path?: string;
648
- mode?: string;
646
+ blobId?: string | undefined;
647
+ path?: string | undefined;
648
+ mode?: string | undefined;
649
649
  }
650
650
  export declare class BranchDoesNotExistException extends __BaseException {
651
651
  readonly name: "BranchDoesNotExistException";
@@ -655,8 +655,8 @@ export declare class BranchDoesNotExistException extends __BaseException {
655
655
  );
656
656
  }
657
657
  export interface BranchInfo {
658
- branchName?: string;
659
- commitId?: string;
658
+ branchName?: string | undefined;
659
+ commitId?: string | undefined;
660
660
  }
661
661
  export declare class BranchNameExistsException extends __BaseException {
662
662
  readonly name: "BranchNameExistsException";
@@ -712,7 +712,7 @@ export declare class ClientRequestTokenRequiredException extends __BaseException
712
712
  export interface CreateApprovalRuleTemplateInput {
713
713
  approvalRuleTemplateName: string | undefined;
714
714
  approvalRuleTemplateContent: string | undefined;
715
- approvalRuleTemplateDescription?: string;
715
+ approvalRuleTemplateDescription?: string | undefined;
716
716
  }
717
717
  export interface CreateApprovalRuleTemplateOutput {
718
718
  approvalRuleTemplate: ApprovalRuleTemplate | undefined;
@@ -788,13 +788,13 @@ export interface DeleteFileEntry {
788
788
  }
789
789
  export interface SourceFileSpecifier {
790
790
  filePath: string | undefined;
791
- isMove?: boolean;
791
+ isMove?: boolean | undefined;
792
792
  }
793
793
  export interface PutFileEntry {
794
794
  filePath: string | undefined;
795
- fileMode?: FileModeTypeEnum;
796
- fileContent?: Uint8Array;
797
- sourceFile?: SourceFileSpecifier;
795
+ fileMode?: FileModeTypeEnum | undefined;
796
+ fileContent?: Uint8Array | undefined;
797
+ sourceFile?: SourceFileSpecifier | undefined;
798
798
  }
799
799
  export interface SetFileModeEntry {
800
800
  filePath: string | undefined;
@@ -803,26 +803,26 @@ export interface SetFileModeEntry {
803
803
  export interface CreateCommitInput {
804
804
  repositoryName: string | undefined;
805
805
  branchName: string | undefined;
806
- parentCommitId?: string;
807
- authorName?: string;
808
- email?: string;
809
- commitMessage?: string;
810
- keepEmptyFolders?: boolean;
811
- putFiles?: PutFileEntry[];
812
- deleteFiles?: DeleteFileEntry[];
813
- setFileModes?: SetFileModeEntry[];
806
+ parentCommitId?: string | undefined;
807
+ authorName?: string | undefined;
808
+ email?: string | undefined;
809
+ commitMessage?: string | undefined;
810
+ keepEmptyFolders?: boolean | undefined;
811
+ putFiles?: PutFileEntry[] | undefined;
812
+ deleteFiles?: DeleteFileEntry[] | undefined;
813
+ setFileModes?: SetFileModeEntry[] | undefined;
814
814
  }
815
815
  export interface FileMetadata {
816
- absolutePath?: string;
817
- blobId?: string;
818
- fileMode?: FileModeTypeEnum;
816
+ absolutePath?: string | undefined;
817
+ blobId?: string | undefined;
818
+ fileMode?: FileModeTypeEnum | undefined;
819
819
  }
820
820
  export interface CreateCommitOutput {
821
- commitId?: string;
822
- treeId?: string;
823
- filesAdded?: FileMetadata[];
824
- filesUpdated?: FileMetadata[];
825
- filesDeleted?: FileMetadata[];
821
+ commitId?: string | undefined;
822
+ treeId?: string | undefined;
823
+ filesAdded?: FileMetadata[] | undefined;
824
+ filesUpdated?: FileMetadata[] | undefined;
825
+ filesDeleted?: FileMetadata[] | undefined;
826
826
  }
827
827
  export declare class DirectoryNameConflictsWithFileNameException extends __BaseException {
828
828
  readonly name: "DirectoryNameConflictsWithFileNameException";
@@ -1036,13 +1036,13 @@ export declare class SourceFileOrContentRequiredException extends __BaseExceptio
1036
1036
  export interface Target {
1037
1037
  repositoryName: string | undefined;
1038
1038
  sourceReference: string | undefined;
1039
- destinationReference?: string;
1039
+ destinationReference?: string | undefined;
1040
1040
  }
1041
1041
  export interface CreatePullRequestInput {
1042
1042
  title: string | undefined;
1043
- description?: string;
1043
+ description?: string | undefined;
1044
1044
  targets: Target[] | undefined;
1045
- clientRequestToken?: string;
1045
+ clientRequestToken?: string | undefined;
1046
1046
  }
1047
1047
  export declare const PullRequestStatusEnum: {
1048
1048
  readonly CLOSED: "CLOSED";
@@ -1051,32 +1051,32 @@ export declare const PullRequestStatusEnum: {
1051
1051
  export type PullRequestStatusEnum =
1052
1052
  (typeof PullRequestStatusEnum)[keyof typeof PullRequestStatusEnum];
1053
1053
  export interface MergeMetadata {
1054
- isMerged?: boolean;
1055
- mergedBy?: string;
1056
- mergeCommitId?: string;
1057
- mergeOption?: MergeOptionTypeEnum;
1054
+ isMerged?: boolean | undefined;
1055
+ mergedBy?: string | undefined;
1056
+ mergeCommitId?: string | undefined;
1057
+ mergeOption?: MergeOptionTypeEnum | undefined;
1058
1058
  }
1059
1059
  export interface PullRequestTarget {
1060
- repositoryName?: string;
1061
- sourceReference?: string;
1062
- destinationReference?: string;
1063
- destinationCommit?: string;
1064
- sourceCommit?: string;
1065
- mergeBase?: string;
1066
- mergeMetadata?: MergeMetadata;
1060
+ repositoryName?: string | undefined;
1061
+ sourceReference?: string | undefined;
1062
+ destinationReference?: string | undefined;
1063
+ destinationCommit?: string | undefined;
1064
+ sourceCommit?: string | undefined;
1065
+ mergeBase?: string | undefined;
1066
+ mergeMetadata?: MergeMetadata | undefined;
1067
1067
  }
1068
1068
  export interface PullRequest {
1069
- pullRequestId?: string;
1070
- title?: string;
1071
- description?: string;
1072
- lastActivityDate?: Date;
1073
- creationDate?: Date;
1074
- pullRequestStatus?: PullRequestStatusEnum;
1075
- authorArn?: string;
1076
- pullRequestTargets?: PullRequestTarget[];
1077
- clientRequestToken?: string;
1078
- revisionId?: string;
1079
- approvalRules?: ApprovalRule[];
1069
+ pullRequestId?: string | undefined;
1070
+ title?: string | undefined;
1071
+ description?: string | undefined;
1072
+ lastActivityDate?: Date | undefined;
1073
+ creationDate?: Date | undefined;
1074
+ pullRequestStatus?: PullRequestStatusEnum | undefined;
1075
+ authorArn?: string | undefined;
1076
+ pullRequestTargets?: PullRequestTarget[] | undefined;
1077
+ clientRequestToken?: string | undefined;
1078
+ revisionId?: string | undefined;
1079
+ approvalRules?: ApprovalRule[] | undefined;
1080
1080
  }
1081
1081
  export interface CreatePullRequestOutput {
1082
1082
  pullRequest: PullRequest | undefined;
@@ -1282,12 +1282,12 @@ export declare class PullRequestIdRequiredException extends __BaseException {
1282
1282
  }
1283
1283
  export interface CreateRepositoryInput {
1284
1284
  repositoryName: string | undefined;
1285
- repositoryDescription?: string;
1286
- tags?: Record<string, string>;
1287
- kmsKeyId?: string;
1285
+ repositoryDescription?: string | undefined;
1286
+ tags?: Record<string, string> | undefined;
1287
+ kmsKeyId?: string | undefined;
1288
1288
  }
1289
1289
  export interface CreateRepositoryOutput {
1290
- repositoryMetadata?: RepositoryMetadata;
1290
+ repositoryMetadata?: RepositoryMetadata | undefined;
1291
1291
  }
1292
1292
  export declare class EncryptionKeyInvalidIdException extends __BaseException {
1293
1293
  readonly name: "EncryptionKeyInvalidIdException";
@@ -1390,30 +1390,30 @@ export type ReplacementTypeEnum =
1390
1390
  export interface ReplaceContentEntry {
1391
1391
  filePath: string | undefined;
1392
1392
  replacementType: ReplacementTypeEnum | undefined;
1393
- content?: Uint8Array;
1394
- fileMode?: FileModeTypeEnum;
1393
+ content?: Uint8Array | undefined;
1394
+ fileMode?: FileModeTypeEnum | undefined;
1395
1395
  }
1396
1396
  export interface ConflictResolution {
1397
- replaceContents?: ReplaceContentEntry[];
1398
- deleteFiles?: DeleteFileEntry[];
1399
- setFileModes?: SetFileModeEntry[];
1397
+ replaceContents?: ReplaceContentEntry[] | undefined;
1398
+ deleteFiles?: DeleteFileEntry[] | undefined;
1399
+ setFileModes?: SetFileModeEntry[] | undefined;
1400
1400
  }
1401
1401
  export interface CreateUnreferencedMergeCommitInput {
1402
1402
  repositoryName: string | undefined;
1403
1403
  sourceCommitSpecifier: string | undefined;
1404
1404
  destinationCommitSpecifier: string | undefined;
1405
1405
  mergeOption: MergeOptionTypeEnum | undefined;
1406
- conflictDetailLevel?: ConflictDetailLevelTypeEnum;
1407
- conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum;
1408
- authorName?: string;
1409
- email?: string;
1410
- commitMessage?: string;
1411
- keepEmptyFolders?: boolean;
1412
- conflictResolution?: ConflictResolution;
1406
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
1407
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
1408
+ authorName?: string | undefined;
1409
+ email?: string | undefined;
1410
+ commitMessage?: string | undefined;
1411
+ keepEmptyFolders?: boolean | undefined;
1412
+ conflictResolution?: ConflictResolution | undefined;
1413
1413
  }
1414
1414
  export interface CreateUnreferencedMergeCommitOutput {
1415
- commitId?: string;
1416
- treeId?: string;
1415
+ commitId?: string | undefined;
1416
+ treeId?: string | undefined;
1417
1417
  }
1418
1418
  export declare class InvalidConflictResolutionException extends __BaseException {
1419
1419
  readonly name: "InvalidConflictResolutionException";
@@ -1513,7 +1513,7 @@ export interface DeleteBranchInput {
1513
1513
  branchName: string | undefined;
1514
1514
  }
1515
1515
  export interface DeleteBranchOutput {
1516
- deletedBranch?: BranchInfo;
1516
+ deletedBranch?: BranchInfo | undefined;
1517
1517
  }
1518
1518
  export declare class CommentDeletedException extends __BaseException {
1519
1519
  readonly name: "CommentDeletedException";
@@ -1540,19 +1540,19 @@ export interface DeleteCommentContentInput {
1540
1540
  commentId: string | undefined;
1541
1541
  }
1542
1542
  export interface Comment {
1543
- commentId?: string;
1544
- content?: string;
1545
- inReplyTo?: string;
1546
- creationDate?: Date;
1547
- lastModifiedDate?: Date;
1548
- authorArn?: string;
1549
- deleted?: boolean;
1550
- clientRequestToken?: string;
1551
- callerReactions?: string[];
1552
- reactionCounts?: Record<string, number>;
1543
+ commentId?: string | undefined;
1544
+ content?: string | undefined;
1545
+ inReplyTo?: string | undefined;
1546
+ creationDate?: Date | undefined;
1547
+ lastModifiedDate?: Date | undefined;
1548
+ authorArn?: string | undefined;
1549
+ deleted?: boolean | undefined;
1550
+ clientRequestToken?: string | undefined;
1551
+ callerReactions?: string[] | undefined;
1552
+ reactionCounts?: Record<string, number> | undefined;
1553
1553
  }
1554
1554
  export interface DeleteCommentContentOutput {
1555
- comment?: Comment;
1555
+ comment?: Comment | undefined;
1556
1556
  }
1557
1557
  export declare class InvalidCommentIdException extends __BaseException {
1558
1558
  readonly name: "InvalidCommentIdException";
@@ -1566,10 +1566,10 @@ export interface DeleteFileInput {
1566
1566
  branchName: string | undefined;
1567
1567
  filePath: string | undefined;
1568
1568
  parentCommitId: string | undefined;
1569
- keepEmptyFolders?: boolean;
1570
- commitMessage?: string;
1571
- name?: string;
1572
- email?: string;
1569
+ keepEmptyFolders?: boolean | undefined;
1570
+ commitMessage?: string | undefined;
1571
+ name?: string | undefined;
1572
+ email?: string | undefined;
1573
1573
  }
1574
1574
  export interface DeleteFileOutput {
1575
1575
  commitId: string | undefined;
@@ -1588,26 +1588,26 @@ export interface DeleteRepositoryInput {
1588
1588
  repositoryName: string | undefined;
1589
1589
  }
1590
1590
  export interface DeleteRepositoryOutput {
1591
- repositoryId?: string;
1591
+ repositoryId?: string | undefined;
1592
1592
  }
1593
1593
  export interface DescribeMergeConflictsInput {
1594
1594
  repositoryName: string | undefined;
1595
1595
  destinationCommitSpecifier: string | undefined;
1596
1596
  sourceCommitSpecifier: string | undefined;
1597
1597
  mergeOption: MergeOptionTypeEnum | undefined;
1598
- maxMergeHunks?: number;
1598
+ maxMergeHunks?: number | undefined;
1599
1599
  filePath: string | undefined;
1600
- conflictDetailLevel?: ConflictDetailLevelTypeEnum;
1601
- conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum;
1602
- nextToken?: string;
1600
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
1601
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
1602
+ nextToken?: string | undefined;
1603
1603
  }
1604
1604
  export interface DescribeMergeConflictsOutput {
1605
1605
  conflictMetadata: ConflictMetadata | undefined;
1606
1606
  mergeHunks: MergeHunk[] | undefined;
1607
- nextToken?: string;
1607
+ nextToken?: string | undefined;
1608
1608
  destinationCommitId: string | undefined;
1609
1609
  sourceCommitId: string | undefined;
1610
- baseCommitId?: string;
1610
+ baseCommitId?: string | undefined;
1611
1611
  }
1612
1612
  export declare const PullRequestEventType: {
1613
1613
  readonly PULL_REQUEST_APPROVAL_RULE_CREATED: "PULL_REQUEST_APPROVAL_RULE_CREATED";
@@ -1624,47 +1624,57 @@ export type PullRequestEventType =
1624
1624
  (typeof PullRequestEventType)[keyof typeof PullRequestEventType];
1625
1625
  export interface DescribePullRequestEventsInput {
1626
1626
  pullRequestId: string | undefined;
1627
- pullRequestEventType?: PullRequestEventType;
1628
- actorArn?: string;
1629
- nextToken?: string;
1630
- maxResults?: number;
1627
+ pullRequestEventType?: PullRequestEventType | undefined;
1628
+ actorArn?: string | undefined;
1629
+ nextToken?: string | undefined;
1630
+ maxResults?: number | undefined;
1631
1631
  }
1632
1632
  export interface PullRequestCreatedEventMetadata {
1633
- repositoryName?: string;
1634
- sourceCommitId?: string;
1635
- destinationCommitId?: string;
1636
- mergeBase?: string;
1633
+ repositoryName?: string | undefined;
1634
+ sourceCommitId?: string | undefined;
1635
+ destinationCommitId?: string | undefined;
1636
+ mergeBase?: string | undefined;
1637
1637
  }
1638
1638
  export interface PullRequestMergedStateChangedEventMetadata {
1639
- repositoryName?: string;
1640
- destinationReference?: string;
1641
- mergeMetadata?: MergeMetadata;
1639
+ repositoryName?: string | undefined;
1640
+ destinationReference?: string | undefined;
1641
+ mergeMetadata?: MergeMetadata | undefined;
1642
1642
  }
1643
1643
  export interface PullRequestSourceReferenceUpdatedEventMetadata {
1644
- repositoryName?: string;
1645
- beforeCommitId?: string;
1646
- afterCommitId?: string;
1647
- mergeBase?: string;
1644
+ repositoryName?: string | undefined;
1645
+ beforeCommitId?: string | undefined;
1646
+ afterCommitId?: string | undefined;
1647
+ mergeBase?: string | undefined;
1648
1648
  }
1649
1649
  export interface PullRequestStatusChangedEventMetadata {
1650
- pullRequestStatus?: PullRequestStatusEnum;
1650
+ pullRequestStatus?: PullRequestStatusEnum | undefined;
1651
1651
  }
1652
1652
  export interface PullRequestEvent {
1653
- pullRequestId?: string;
1654
- eventDate?: Date;
1655
- pullRequestEventType?: PullRequestEventType;
1656
- actorArn?: string;
1657
- pullRequestCreatedEventMetadata?: PullRequestCreatedEventMetadata;
1658
- pullRequestStatusChangedEventMetadata?: PullRequestStatusChangedEventMetadata;
1659
- pullRequestSourceReferenceUpdatedEventMetadata?: PullRequestSourceReferenceUpdatedEventMetadata;
1660
- pullRequestMergedStateChangedEventMetadata?: PullRequestMergedStateChangedEventMetadata;
1661
- approvalRuleEventMetadata?: ApprovalRuleEventMetadata;
1662
- approvalStateChangedEventMetadata?: ApprovalStateChangedEventMetadata;
1663
- approvalRuleOverriddenEventMetadata?: ApprovalRuleOverriddenEventMetadata;
1653
+ pullRequestId?: string | undefined;
1654
+ eventDate?: Date | undefined;
1655
+ pullRequestEventType?: PullRequestEventType | undefined;
1656
+ actorArn?: string | undefined;
1657
+ pullRequestCreatedEventMetadata?: PullRequestCreatedEventMetadata | undefined;
1658
+ pullRequestStatusChangedEventMetadata?:
1659
+ | PullRequestStatusChangedEventMetadata
1660
+ | undefined;
1661
+ pullRequestSourceReferenceUpdatedEventMetadata?:
1662
+ | PullRequestSourceReferenceUpdatedEventMetadata
1663
+ | undefined;
1664
+ pullRequestMergedStateChangedEventMetadata?:
1665
+ | PullRequestMergedStateChangedEventMetadata
1666
+ | undefined;
1667
+ approvalRuleEventMetadata?: ApprovalRuleEventMetadata | undefined;
1668
+ approvalStateChangedEventMetadata?:
1669
+ | ApprovalStateChangedEventMetadata
1670
+ | undefined;
1671
+ approvalRuleOverriddenEventMetadata?:
1672
+ | ApprovalRuleOverriddenEventMetadata
1673
+ | undefined;
1664
1674
  }
1665
1675
  export interface DescribePullRequestEventsOutput {
1666
1676
  pullRequestEvents: PullRequestEvent[] | undefined;
1667
- nextToken?: string;
1677
+ nextToken?: string | undefined;
1668
1678
  }
1669
1679
  export declare class InvalidActorArnException extends __BaseException {
1670
1680
  readonly name: "InvalidActorArnException";
@@ -1699,10 +1709,10 @@ export interface EvaluatePullRequestApprovalRulesInput {
1699
1709
  revisionId: string | undefined;
1700
1710
  }
1701
1711
  export interface Evaluation {
1702
- approved?: boolean;
1703
- overridden?: boolean;
1704
- approvalRulesSatisfied?: string[];
1705
- approvalRulesNotSatisfied?: string[];
1712
+ approved?: boolean | undefined;
1713
+ overridden?: boolean | undefined;
1714
+ approvalRulesSatisfied?: string[] | undefined;
1715
+ approvalRulesNotSatisfied?: string[] | undefined;
1706
1716
  }
1707
1717
  export interface EvaluatePullRequestApprovalRulesOutput {
1708
1718
  evaluation: Evaluation | undefined;
@@ -1756,37 +1766,37 @@ export declare class InvalidBlobIdException extends __BaseException {
1756
1766
  );
1757
1767
  }
1758
1768
  export interface GetBranchInput {
1759
- repositoryName?: string;
1760
- branchName?: string;
1769
+ repositoryName?: string | undefined;
1770
+ branchName?: string | undefined;
1761
1771
  }
1762
1772
  export interface GetBranchOutput {
1763
- branch?: BranchInfo;
1773
+ branch?: BranchInfo | undefined;
1764
1774
  }
1765
1775
  export interface GetCommentInput {
1766
1776
  commentId: string | undefined;
1767
1777
  }
1768
1778
  export interface GetCommentOutput {
1769
- comment?: Comment;
1779
+ comment?: Comment | undefined;
1770
1780
  }
1771
1781
  export interface GetCommentReactionsInput {
1772
1782
  commentId: string | undefined;
1773
- reactionUserArn?: string;
1774
- nextToken?: string;
1775
- maxResults?: number;
1783
+ reactionUserArn?: string | undefined;
1784
+ nextToken?: string | undefined;
1785
+ maxResults?: number | undefined;
1776
1786
  }
1777
1787
  export interface ReactionValueFormats {
1778
- emoji?: string;
1779
- shortCode?: string;
1780
- unicode?: string;
1788
+ emoji?: string | undefined;
1789
+ shortCode?: string | undefined;
1790
+ unicode?: string | undefined;
1781
1791
  }
1782
1792
  export interface ReactionForComment {
1783
- reaction?: ReactionValueFormats;
1784
- reactionUsers?: string[];
1785
- reactionsFromDeletedUsersCount?: number;
1793
+ reaction?: ReactionValueFormats | undefined;
1794
+ reactionUsers?: string[] | undefined;
1795
+ reactionsFromDeletedUsersCount?: number | undefined;
1786
1796
  }
1787
1797
  export interface GetCommentReactionsOutput {
1788
1798
  reactionsForComment: ReactionForComment[] | undefined;
1789
- nextToken?: string;
1799
+ nextToken?: string | undefined;
1790
1800
  }
1791
1801
  export declare class InvalidReactionUserArnException extends __BaseException {
1792
1802
  readonly name: "InvalidReactionUserArnException";
@@ -1800,10 +1810,10 @@ export declare class InvalidReactionUserArnException extends __BaseException {
1800
1810
  }
1801
1811
  export interface GetCommentsForComparedCommitInput {
1802
1812
  repositoryName: string | undefined;
1803
- beforeCommitId?: string;
1813
+ beforeCommitId?: string | undefined;
1804
1814
  afterCommitId: string | undefined;
1805
- nextToken?: string;
1806
- maxResults?: number;
1815
+ nextToken?: string | undefined;
1816
+ maxResults?: number | undefined;
1807
1817
  }
1808
1818
  export declare const RelativeFileVersionEnum: {
1809
1819
  readonly AFTER: "AFTER";
@@ -1812,44 +1822,44 @@ export declare const RelativeFileVersionEnum: {
1812
1822
  export type RelativeFileVersionEnum =
1813
1823
  (typeof RelativeFileVersionEnum)[keyof typeof RelativeFileVersionEnum];
1814
1824
  export interface Location {
1815
- filePath?: string;
1816
- filePosition?: number;
1817
- relativeFileVersion?: RelativeFileVersionEnum;
1825
+ filePath?: string | undefined;
1826
+ filePosition?: number | undefined;
1827
+ relativeFileVersion?: RelativeFileVersionEnum | undefined;
1818
1828
  }
1819
1829
  export interface CommentsForComparedCommit {
1820
- repositoryName?: string;
1821
- beforeCommitId?: string;
1822
- afterCommitId?: string;
1823
- beforeBlobId?: string;
1824
- afterBlobId?: string;
1825
- location?: Location;
1826
- comments?: Comment[];
1830
+ repositoryName?: string | undefined;
1831
+ beforeCommitId?: string | undefined;
1832
+ afterCommitId?: string | undefined;
1833
+ beforeBlobId?: string | undefined;
1834
+ afterBlobId?: string | undefined;
1835
+ location?: Location | undefined;
1836
+ comments?: Comment[] | undefined;
1827
1837
  }
1828
1838
  export interface GetCommentsForComparedCommitOutput {
1829
- commentsForComparedCommitData?: CommentsForComparedCommit[];
1830
- nextToken?: string;
1839
+ commentsForComparedCommitData?: CommentsForComparedCommit[] | undefined;
1840
+ nextToken?: string | undefined;
1831
1841
  }
1832
1842
  export interface GetCommentsForPullRequestInput {
1833
1843
  pullRequestId: string | undefined;
1834
- repositoryName?: string;
1835
- beforeCommitId?: string;
1836
- afterCommitId?: string;
1837
- nextToken?: string;
1838
- maxResults?: number;
1844
+ repositoryName?: string | undefined;
1845
+ beforeCommitId?: string | undefined;
1846
+ afterCommitId?: string | undefined;
1847
+ nextToken?: string | undefined;
1848
+ maxResults?: number | undefined;
1839
1849
  }
1840
1850
  export interface CommentsForPullRequest {
1841
- pullRequestId?: string;
1842
- repositoryName?: string;
1843
- beforeCommitId?: string;
1844
- afterCommitId?: string;
1845
- beforeBlobId?: string;
1846
- afterBlobId?: string;
1847
- location?: Location;
1848
- comments?: Comment[];
1851
+ pullRequestId?: string | undefined;
1852
+ repositoryName?: string | undefined;
1853
+ beforeCommitId?: string | undefined;
1854
+ afterCommitId?: string | undefined;
1855
+ beforeBlobId?: string | undefined;
1856
+ afterBlobId?: string | undefined;
1857
+ location?: Location | undefined;
1858
+ comments?: Comment[] | undefined;
1849
1859
  }
1850
1860
  export interface GetCommentsForPullRequestOutput {
1851
- commentsForPullRequestData?: CommentsForPullRequest[];
1852
- nextToken?: string;
1861
+ commentsForPullRequestData?: CommentsForPullRequest[] | undefined;
1862
+ nextToken?: string | undefined;
1853
1863
  }
1854
1864
  export declare class RepositoryNotAssociatedWithPullRequestException extends __BaseException {
1855
1865
  readonly name: "RepositoryNotAssociatedWithPullRequestException";
@@ -1877,21 +1887,21 @@ export interface GetCommitOutput {
1877
1887
  }
1878
1888
  export interface GetDifferencesInput {
1879
1889
  repositoryName: string | undefined;
1880
- beforeCommitSpecifier?: string;
1890
+ beforeCommitSpecifier?: string | undefined;
1881
1891
  afterCommitSpecifier: string | undefined;
1882
- beforePath?: string;
1883
- afterPath?: string;
1884
- MaxResults?: number;
1885
- NextToken?: string;
1892
+ beforePath?: string | undefined;
1893
+ afterPath?: string | undefined;
1894
+ MaxResults?: number | undefined;
1895
+ NextToken?: string | undefined;
1886
1896
  }
1887
1897
  export interface Difference {
1888
- beforeBlob?: BlobMetadata;
1889
- afterBlob?: BlobMetadata;
1890
- changeType?: ChangeTypeEnum;
1898
+ beforeBlob?: BlobMetadata | undefined;
1899
+ afterBlob?: BlobMetadata | undefined;
1900
+ changeType?: ChangeTypeEnum | undefined;
1891
1901
  }
1892
1902
  export interface GetDifferencesOutput {
1893
- differences?: Difference[];
1894
- NextToken?: string;
1903
+ differences?: Difference[] | undefined;
1904
+ NextToken?: string | undefined;
1895
1905
  }
1896
1906
  export declare class PathDoesNotExistException extends __BaseException {
1897
1907
  readonly name: "PathDoesNotExistException";
@@ -1902,7 +1912,7 @@ export declare class PathDoesNotExistException extends __BaseException {
1902
1912
  }
1903
1913
  export interface GetFileInput {
1904
1914
  repositoryName: string | undefined;
1905
- commitSpecifier?: string;
1915
+ commitSpecifier?: string | undefined;
1906
1916
  filePath: string | undefined;
1907
1917
  }
1908
1918
  export interface GetFileOutput {
@@ -1922,70 +1932,70 @@ export declare class FolderDoesNotExistException extends __BaseException {
1922
1932
  }
1923
1933
  export interface GetFolderInput {
1924
1934
  repositoryName: string | undefined;
1925
- commitSpecifier?: string;
1935
+ commitSpecifier?: string | undefined;
1926
1936
  folderPath: string | undefined;
1927
1937
  }
1928
1938
  export interface File {
1929
- blobId?: string;
1930
- absolutePath?: string;
1931
- relativePath?: string;
1932
- fileMode?: FileModeTypeEnum;
1939
+ blobId?: string | undefined;
1940
+ absolutePath?: string | undefined;
1941
+ relativePath?: string | undefined;
1942
+ fileMode?: FileModeTypeEnum | undefined;
1933
1943
  }
1934
1944
  export interface Folder {
1935
- treeId?: string;
1936
- absolutePath?: string;
1937
- relativePath?: string;
1945
+ treeId?: string | undefined;
1946
+ absolutePath?: string | undefined;
1947
+ relativePath?: string | undefined;
1938
1948
  }
1939
1949
  export interface SubModule {
1940
- commitId?: string;
1941
- absolutePath?: string;
1942
- relativePath?: string;
1950
+ commitId?: string | undefined;
1951
+ absolutePath?: string | undefined;
1952
+ relativePath?: string | undefined;
1943
1953
  }
1944
1954
  export interface SymbolicLink {
1945
- blobId?: string;
1946
- absolutePath?: string;
1947
- relativePath?: string;
1948
- fileMode?: FileModeTypeEnum;
1955
+ blobId?: string | undefined;
1956
+ absolutePath?: string | undefined;
1957
+ relativePath?: string | undefined;
1958
+ fileMode?: FileModeTypeEnum | undefined;
1949
1959
  }
1950
1960
  export interface GetFolderOutput {
1951
1961
  commitId: string | undefined;
1952
1962
  folderPath: string | undefined;
1953
- treeId?: string;
1954
- subFolders?: Folder[];
1955
- files?: File[];
1956
- symbolicLinks?: SymbolicLink[];
1957
- subModules?: SubModule[];
1963
+ treeId?: string | undefined;
1964
+ subFolders?: Folder[] | undefined;
1965
+ files?: File[] | undefined;
1966
+ symbolicLinks?: SymbolicLink[] | undefined;
1967
+ subModules?: SubModule[] | undefined;
1958
1968
  }
1959
1969
  export interface GetMergeCommitInput {
1960
1970
  repositoryName: string | undefined;
1961
1971
  sourceCommitSpecifier: string | undefined;
1962
1972
  destinationCommitSpecifier: string | undefined;
1963
- conflictDetailLevel?: ConflictDetailLevelTypeEnum;
1964
- conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum;
1973
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
1974
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
1965
1975
  }
1966
1976
  export interface GetMergeCommitOutput {
1967
- sourceCommitId?: string;
1968
- destinationCommitId?: string;
1969
- baseCommitId?: string;
1970
- mergedCommitId?: string;
1977
+ sourceCommitId?: string | undefined;
1978
+ destinationCommitId?: string | undefined;
1979
+ baseCommitId?: string | undefined;
1980
+ mergedCommitId?: string | undefined;
1971
1981
  }
1972
1982
  export interface GetMergeConflictsInput {
1973
1983
  repositoryName: string | undefined;
1974
1984
  destinationCommitSpecifier: string | undefined;
1975
1985
  sourceCommitSpecifier: string | undefined;
1976
1986
  mergeOption: MergeOptionTypeEnum | undefined;
1977
- conflictDetailLevel?: ConflictDetailLevelTypeEnum;
1978
- maxConflictFiles?: number;
1979
- conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum;
1980
- nextToken?: string;
1987
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
1988
+ maxConflictFiles?: number | undefined;
1989
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
1990
+ nextToken?: string | undefined;
1981
1991
  }
1982
1992
  export interface GetMergeConflictsOutput {
1983
1993
  mergeable: boolean | undefined;
1984
1994
  destinationCommitId: string | undefined;
1985
1995
  sourceCommitId: string | undefined;
1986
- baseCommitId?: string;
1996
+ baseCommitId?: string | undefined;
1987
1997
  conflictMetadataList: ConflictMetadata[] | undefined;
1988
- nextToken?: string;
1998
+ nextToken?: string | undefined;
1989
1999
  }
1990
2000
  export declare class InvalidDestinationCommitSpecifierException extends __BaseException {
1991
2001
  readonly name: "InvalidDestinationCommitSpecifierException";
@@ -2011,8 +2021,8 @@ export interface GetMergeOptionsInput {
2011
2021
  repositoryName: string | undefined;
2012
2022
  sourceCommitSpecifier: string | undefined;
2013
2023
  destinationCommitSpecifier: string | undefined;
2014
- conflictDetailLevel?: ConflictDetailLevelTypeEnum;
2015
- conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum;
2024
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
2025
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
2016
2026
  }
2017
2027
  export interface GetMergeOptionsOutput {
2018
2028
  mergeOptions: MergeOptionTypeEnum[] | undefined;
@@ -2031,21 +2041,21 @@ export interface GetPullRequestApprovalStatesInput {
2031
2041
  revisionId: string | undefined;
2032
2042
  }
2033
2043
  export interface GetPullRequestApprovalStatesOutput {
2034
- approvals?: Approval[];
2044
+ approvals?: Approval[] | undefined;
2035
2045
  }
2036
2046
  export interface GetPullRequestOverrideStateInput {
2037
2047
  pullRequestId: string | undefined;
2038
2048
  revisionId: string | undefined;
2039
2049
  }
2040
2050
  export interface GetPullRequestOverrideStateOutput {
2041
- overridden?: boolean;
2042
- overrider?: string;
2051
+ overridden?: boolean | undefined;
2052
+ overrider?: string | undefined;
2043
2053
  }
2044
2054
  export interface GetRepositoryInput {
2045
2055
  repositoryName: string | undefined;
2046
2056
  }
2047
2057
  export interface GetRepositoryOutput {
2048
- repositoryMetadata?: RepositoryMetadata;
2058
+ repositoryMetadata?: RepositoryMetadata | undefined;
2049
2059
  }
2050
2060
  export interface GetRepositoryTriggersInput {
2051
2061
  repositoryName: string | undefined;
@@ -2061,43 +2071,43 @@ export type RepositoryTriggerEventEnum =
2061
2071
  export interface RepositoryTrigger {
2062
2072
  name: string | undefined;
2063
2073
  destinationArn: string | undefined;
2064
- customData?: string;
2065
- branches?: string[];
2074
+ customData?: string | undefined;
2075
+ branches?: string[] | undefined;
2066
2076
  events: RepositoryTriggerEventEnum[] | undefined;
2067
2077
  }
2068
2078
  export interface GetRepositoryTriggersOutput {
2069
- configurationId?: string;
2070
- triggers?: RepositoryTrigger[];
2079
+ configurationId?: string | undefined;
2080
+ triggers?: RepositoryTrigger[] | undefined;
2071
2081
  }
2072
2082
  export interface ListApprovalRuleTemplatesInput {
2073
- nextToken?: string;
2074
- maxResults?: number;
2083
+ nextToken?: string | undefined;
2084
+ maxResults?: number | undefined;
2075
2085
  }
2076
2086
  export interface ListApprovalRuleTemplatesOutput {
2077
- approvalRuleTemplateNames?: string[];
2078
- nextToken?: string;
2087
+ approvalRuleTemplateNames?: string[] | undefined;
2088
+ nextToken?: string | undefined;
2079
2089
  }
2080
2090
  export interface ListAssociatedApprovalRuleTemplatesForRepositoryInput {
2081
2091
  repositoryName: string | undefined;
2082
- nextToken?: string;
2083
- maxResults?: number;
2092
+ nextToken?: string | undefined;
2093
+ maxResults?: number | undefined;
2084
2094
  }
2085
2095
  export interface ListAssociatedApprovalRuleTemplatesForRepositoryOutput {
2086
- approvalRuleTemplateNames?: string[];
2087
- nextToken?: string;
2096
+ approvalRuleTemplateNames?: string[] | undefined;
2097
+ nextToken?: string | undefined;
2088
2098
  }
2089
2099
  export interface ListBranchesInput {
2090
2100
  repositoryName: string | undefined;
2091
- nextToken?: string;
2101
+ nextToken?: string | undefined;
2092
2102
  }
2093
2103
  export interface ListBranchesOutput {
2094
- branches?: string[];
2095
- nextToken?: string;
2104
+ branches?: string[] | undefined;
2105
+ nextToken?: string | undefined;
2096
2106
  }
2097
2107
  export interface ListFileCommitHistoryRequest {
2098
2108
  repositoryName: string | undefined;
2099
- commitSpecifier?: string;
2109
+ commitSpecifier?: string | undefined;
2100
2110
  filePath: string | undefined;
2101
- maxResults?: number;
2102
- nextToken?: string;
2111
+ maxResults?: number | undefined;
2112
+ nextToken?: string | undefined;
2103
2113
  }