@aws-sdk/client-codecommit 3.934.0 → 3.936.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/dist-cjs/index.js +87 -87
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +86 -0
  4. package/dist-es/models/errors.js +2269 -0
  5. package/dist-es/models/models_0.js +1 -1795
  6. package/dist-es/schemas/schemas_0.js +1 -1
  7. package/dist-types/commands/ListFileCommitHistoryCommand.d.ts +1 -2
  8. package/dist-types/commands/ListPullRequestsCommand.d.ts +1 -1
  9. package/dist-types/commands/ListRepositoriesCommand.d.ts +1 -1
  10. package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +1 -1
  11. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  12. package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +1 -1
  13. package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +1 -1
  14. package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +1 -1
  15. package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +1 -1
  16. package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +1 -1
  17. package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +1 -1
  18. package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +1 -1
  19. package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +1 -1
  20. package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +1 -1
  21. package/dist-types/commands/PostCommentReplyCommand.d.ts +1 -1
  22. package/dist-types/commands/PutCommentReactionCommand.d.ts +1 -1
  23. package/dist-types/commands/PutFileCommand.d.ts +1 -1
  24. package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +1 -1
  25. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  26. package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +1 -1
  27. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  28. package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +1 -1
  29. package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +1 -1
  30. package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +1 -1
  31. package/dist-types/commands/UpdateCommentCommand.d.ts +1 -1
  32. package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +1 -1
  33. package/dist-types/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +1 -1
  34. package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +1 -1
  35. package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +1 -1
  37. package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +1 -1
  38. package/dist-types/commands/UpdateRepositoryDescriptionCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateRepositoryEncryptionKeyCommand.d.ts +1 -1
  40. package/dist-types/commands/UpdateRepositoryNameCommand.d.ts +1 -1
  41. package/dist-types/index.d.ts +3 -1
  42. package/dist-types/models/enums.d.ts +214 -0
  43. package/dist-types/models/errors.d.ts +2337 -0
  44. package/dist-types/models/models_0.d.ts +1480 -2026
  45. package/dist-types/ts3.4/commands/ListFileCommitHistoryCommand.d.ts +4 -2
  46. package/dist-types/ts3.4/commands/ListPullRequestsCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/ListRepositoriesCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/MergeBranchesByFastForwardCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/MergeBranchesBySquashCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/MergeBranchesByThreeWayCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/MergePullRequestByFastForwardCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/MergePullRequestBySquashCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/MergePullRequestByThreeWayCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/OverridePullRequestApprovalRulesCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/PostCommentForComparedCommitCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/PostCommentForPullRequestCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/PostCommentReplyCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/PutCommentReactionCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/PutFileCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/PutRepositoryTriggersCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/TestRepositoryTriggersCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/UpdateCommentCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/UpdateDefaultBranchCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/UpdatePullRequestApprovalStateCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/UpdatePullRequestDescriptionCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/UpdatePullRequestStatusCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/UpdatePullRequestTitleCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/UpdateRepositoryDescriptionCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/UpdateRepositoryEncryptionKeyCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/UpdateRepositoryNameCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/index.d.ts +3 -1
  80. package/dist-types/ts3.4/models/enums.d.ts +115 -0
  81. package/dist-types/ts3.4/models/errors.d.ts +1621 -0
  82. package/dist-types/ts3.4/models/models_0.d.ts +332 -1326
  83. package/package.json +19 -19
  84. package/dist-es/models/index.js +0 -2
  85. package/dist-es/models/models_1.js +0 -561
  86. package/dist-types/models/index.d.ts +0 -2
  87. package/dist-types/models/models_1.d.ts +0 -2007
  88. package/dist-types/ts3.4/models/index.d.ts +0 -2
  89. package/dist-types/ts3.4/models/models_1.d.ts +0 -742
@@ -1,29 +1,4 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { CodeCommitServiceException as __BaseException } from "./CodeCommitServiceException";
3
- /**
4
- * <p>The specified Amazon Resource Name (ARN) does not exist in the Amazon Web Services account.</p>
5
- * @public
6
- */
7
- export declare class ActorDoesNotExistException extends __BaseException {
8
- readonly name: "ActorDoesNotExistException";
9
- readonly $fault: "client";
10
- /**
11
- * @internal
12
- */
13
- constructor(opts: __ExceptionOptionType<ActorDoesNotExistException, __BaseException>);
14
- }
15
- /**
16
- * @public
17
- * @enum
18
- */
19
- export declare const ApprovalState: {
20
- readonly APPROVE: "APPROVE";
21
- readonly REVOKE: "REVOKE";
22
- };
23
- /**
24
- * @public
25
- */
26
- export type ApprovalState = (typeof ApprovalState)[keyof typeof ApprovalState];
1
+ import { ApprovalState, BatchGetRepositoriesErrorCodeEnum, ChangeTypeEnum, ConflictDetailLevelTypeEnum, ConflictResolutionStrategyTypeEnum, FileModeTypeEnum, MergeOptionTypeEnum, ObjectTypeEnum, OrderEnum, OverrideStatus, PullRequestEventType, PullRequestStatusEnum, RelativeFileVersionEnum, ReplacementTypeEnum, RepositoryTriggerEventEnum, SortByEnum } from "./enums";
27
2
  /**
28
3
  * <p>Returns information about a specific approval on a pull request.</p>
29
4
  * @public
@@ -102,30 +77,6 @@ export interface ApprovalRule {
102
77
  */
103
78
  originApprovalRuleTemplate?: OriginApprovalRuleTemplate | undefined;
104
79
  }
105
- /**
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>
107
- * @public
108
- */
109
- export declare class ApprovalRuleContentRequiredException extends __BaseException {
110
- readonly name: "ApprovalRuleContentRequiredException";
111
- readonly $fault: "client";
112
- /**
113
- * @internal
114
- */
115
- constructor(opts: __ExceptionOptionType<ApprovalRuleContentRequiredException, __BaseException>);
116
- }
117
- /**
118
- * <p>The specified approval rule does not exist.</p>
119
- * @public
120
- */
121
- export declare class ApprovalRuleDoesNotExistException extends __BaseException {
122
- readonly name: "ApprovalRuleDoesNotExistException";
123
- readonly $fault: "client";
124
- /**
125
- * @internal
126
- */
127
- constructor(opts: __ExceptionOptionType<ApprovalRuleDoesNotExistException, __BaseException>);
128
- }
129
80
  /**
130
81
  * <p>Returns information about an event for an approval rule.</p>
131
82
  * @public
@@ -147,43 +98,6 @@ export interface ApprovalRuleEventMetadata {
147
98
  */
148
99
  approvalRuleContent?: string | undefined;
149
100
  }
150
- /**
151
- * <p>An approval rule with that name already exists. Approval rule names must be unique
152
- * within the scope of a pull request.</p>
153
- * @public
154
- */
155
- export declare class ApprovalRuleNameAlreadyExistsException extends __BaseException {
156
- readonly name: "ApprovalRuleNameAlreadyExistsException";
157
- readonly $fault: "client";
158
- /**
159
- * @internal
160
- */
161
- constructor(opts: __ExceptionOptionType<ApprovalRuleNameAlreadyExistsException, __BaseException>);
162
- }
163
- /**
164
- * <p>An approval rule name is required, but was not specified.</p>
165
- * @public
166
- */
167
- export declare class ApprovalRuleNameRequiredException extends __BaseException {
168
- readonly name: "ApprovalRuleNameRequiredException";
169
- readonly $fault: "client";
170
- /**
171
- * @internal
172
- */
173
- constructor(opts: __ExceptionOptionType<ApprovalRuleNameRequiredException, __BaseException>);
174
- }
175
- /**
176
- * @public
177
- * @enum
178
- */
179
- export declare const OverrideStatus: {
180
- readonly OVERRIDE: "OVERRIDE";
181
- readonly REVOKE: "REVOKE";
182
- };
183
- /**
184
- * @public
185
- */
186
- export type OverrideStatus = (typeof OverrideStatus)[keyof typeof OverrideStatus];
187
101
  /**
188
102
  * <p>Returns information about an override event for approval rules for a pull request.</p>
189
103
  * @public
@@ -246,70 +160,6 @@ export interface ApprovalRuleTemplate {
246
160
  */
247
161
  lastModifiedUser?: string | undefined;
248
162
  }
249
- /**
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>
251
- * @public
252
- */
253
- export declare class ApprovalRuleTemplateContentRequiredException extends __BaseException {
254
- readonly name: "ApprovalRuleTemplateContentRequiredException";
255
- readonly $fault: "client";
256
- /**
257
- * @internal
258
- */
259
- constructor(opts: __ExceptionOptionType<ApprovalRuleTemplateContentRequiredException, __BaseException>);
260
- }
261
- /**
262
- * <p>The specified approval rule template does not exist. Verify that the name is correct and that you are signed in to the Amazon Web Services Region where the template
263
- * was created, and then try again.</p>
264
- * @public
265
- */
266
- export declare class ApprovalRuleTemplateDoesNotExistException extends __BaseException {
267
- readonly name: "ApprovalRuleTemplateDoesNotExistException";
268
- readonly $fault: "client";
269
- /**
270
- * @internal
271
- */
272
- constructor(opts: __ExceptionOptionType<ApprovalRuleTemplateDoesNotExistException, __BaseException>);
273
- }
274
- /**
275
- * <p>The approval rule template is associated with one or more repositories. You cannot delete a template that is associated with a repository. Remove
276
- * all associations, and then try again.</p>
277
- * @public
278
- */
279
- export declare class ApprovalRuleTemplateInUseException extends __BaseException {
280
- readonly name: "ApprovalRuleTemplateInUseException";
281
- readonly $fault: "client";
282
- /**
283
- * @internal
284
- */
285
- constructor(opts: __ExceptionOptionType<ApprovalRuleTemplateInUseException, __BaseException>);
286
- }
287
- /**
288
- * <p>You cannot create an approval rule template with that name because a template with
289
- * that name already exists in this Amazon Web Services Region for your Amazon Web Services account. Approval rule template
290
- * names must be unique.</p>
291
- * @public
292
- */
293
- export declare class ApprovalRuleTemplateNameAlreadyExistsException extends __BaseException {
294
- readonly name: "ApprovalRuleTemplateNameAlreadyExistsException";
295
- readonly $fault: "client";
296
- /**
297
- * @internal
298
- */
299
- constructor(opts: __ExceptionOptionType<ApprovalRuleTemplateNameAlreadyExistsException, __BaseException>);
300
- }
301
- /**
302
- * <p>An approval rule template name is required, but was not specified.</p>
303
- * @public
304
- */
305
- export declare class ApprovalRuleTemplateNameRequiredException extends __BaseException {
306
- readonly name: "ApprovalRuleTemplateNameRequiredException";
307
- readonly $fault: "client";
308
- /**
309
- * @internal
310
- */
311
- constructor(opts: __ExceptionOptionType<ApprovalRuleTemplateNameRequiredException, __BaseException>);
312
- }
313
163
  /**
314
164
  * <p>Returns information about a change in the approval state for a pull request.</p>
315
165
  * @public
@@ -326,18 +176,6 @@ export interface ApprovalStateChangedEventMetadata {
326
176
  */
327
177
  approvalStatus?: ApprovalState | undefined;
328
178
  }
329
- /**
330
- * <p>An approval state is required, but was not specified.</p>
331
- * @public
332
- */
333
- export declare class ApprovalStateRequiredException extends __BaseException {
334
- readonly name: "ApprovalStateRequiredException";
335
- readonly $fault: "client";
336
- /**
337
- * @internal
338
- */
339
- constructor(opts: __ExceptionOptionType<ApprovalStateRequiredException, __BaseException>);
340
- }
341
179
  /**
342
180
  * @public
343
181
  */
@@ -353,146 +191,6 @@ export interface AssociateApprovalRuleTemplateWithRepositoryInput {
353
191
  */
354
192
  repositoryName: string | undefined;
355
193
  }
356
- /**
357
- * <p>An encryption integrity check failed.</p>
358
- * @public
359
- */
360
- export declare class EncryptionIntegrityChecksFailedException extends __BaseException {
361
- readonly name: "EncryptionIntegrityChecksFailedException";
362
- readonly $fault: "server";
363
- /**
364
- * @internal
365
- */
366
- constructor(opts: __ExceptionOptionType<EncryptionIntegrityChecksFailedException, __BaseException>);
367
- }
368
- /**
369
- * <p>An encryption key could not be accessed.</p>
370
- * @public
371
- */
372
- export declare class EncryptionKeyAccessDeniedException extends __BaseException {
373
- readonly name: "EncryptionKeyAccessDeniedException";
374
- readonly $fault: "client";
375
- /**
376
- * @internal
377
- */
378
- constructor(opts: __ExceptionOptionType<EncryptionKeyAccessDeniedException, __BaseException>);
379
- }
380
- /**
381
- * <p>The encryption key is disabled.</p>
382
- * @public
383
- */
384
- export declare class EncryptionKeyDisabledException extends __BaseException {
385
- readonly name: "EncryptionKeyDisabledException";
386
- readonly $fault: "client";
387
- /**
388
- * @internal
389
- */
390
- constructor(opts: __ExceptionOptionType<EncryptionKeyDisabledException, __BaseException>);
391
- }
392
- /**
393
- * <p>No encryption key was found.</p>
394
- * @public
395
- */
396
- export declare class EncryptionKeyNotFoundException extends __BaseException {
397
- readonly name: "EncryptionKeyNotFoundException";
398
- readonly $fault: "client";
399
- /**
400
- * @internal
401
- */
402
- constructor(opts: __ExceptionOptionType<EncryptionKeyNotFoundException, __BaseException>);
403
- }
404
- /**
405
- * <p>The encryption key is not available.</p>
406
- * @public
407
- */
408
- export declare class EncryptionKeyUnavailableException extends __BaseException {
409
- readonly name: "EncryptionKeyUnavailableException";
410
- readonly $fault: "client";
411
- /**
412
- * @internal
413
- */
414
- constructor(opts: __ExceptionOptionType<EncryptionKeyUnavailableException, __BaseException>);
415
- }
416
- /**
417
- * <p>The name of the approval rule template is not valid. Template names must be between 1
418
- * and 100 valid characters in length. For more information about limits in CodeCommit,
419
- * see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>CodeCommit User Guide</i>.</p>
420
- * @public
421
- */
422
- export declare class InvalidApprovalRuleTemplateNameException extends __BaseException {
423
- readonly name: "InvalidApprovalRuleTemplateNameException";
424
- readonly $fault: "client";
425
- /**
426
- * @internal
427
- */
428
- constructor(opts: __ExceptionOptionType<InvalidApprovalRuleTemplateNameException, __BaseException>);
429
- }
430
- /**
431
- * <p>A specified repository name is not valid.</p>
432
- * <note>
433
- * <p>This exception occurs only when a specified repository name is not valid. Other
434
- * exceptions occur when a required repository parameter is missing, or when a
435
- * specified repository does not exist.</p>
436
- * </note>
437
- * @public
438
- */
439
- export declare class InvalidRepositoryNameException extends __BaseException {
440
- readonly name: "InvalidRepositoryNameException";
441
- readonly $fault: "client";
442
- /**
443
- * @internal
444
- */
445
- constructor(opts: __ExceptionOptionType<InvalidRepositoryNameException, __BaseException>);
446
- }
447
- /**
448
- * <p>The maximum number of approval rule templates for a repository has been exceeded. You cannot associate more than 25
449
- * approval rule templates with a repository.</p>
450
- * @public
451
- */
452
- export declare class MaximumRuleTemplatesAssociatedWithRepositoryException extends __BaseException {
453
- readonly name: "MaximumRuleTemplatesAssociatedWithRepositoryException";
454
- readonly $fault: "client";
455
- /**
456
- * @internal
457
- */
458
- constructor(opts: __ExceptionOptionType<MaximumRuleTemplatesAssociatedWithRepositoryException, __BaseException>);
459
- }
460
- /**
461
- * <p>The specified repository does not exist.</p>
462
- * @public
463
- */
464
- export declare class RepositoryDoesNotExistException extends __BaseException {
465
- readonly name: "RepositoryDoesNotExistException";
466
- readonly $fault: "client";
467
- /**
468
- * @internal
469
- */
470
- constructor(opts: __ExceptionOptionType<RepositoryDoesNotExistException, __BaseException>);
471
- }
472
- /**
473
- * <p>A repository name is required, but was not specified.</p>
474
- * @public
475
- */
476
- export declare class RepositoryNameRequiredException extends __BaseException {
477
- readonly name: "RepositoryNameRequiredException";
478
- readonly $fault: "client";
479
- /**
480
- * @internal
481
- */
482
- constructor(opts: __ExceptionOptionType<RepositoryNameRequiredException, __BaseException>);
483
- }
484
- /**
485
- * <p>The specified Amazon Resource Name (ARN) does not exist in the Amazon Web Services account.</p>
486
- * @public
487
- */
488
- export declare class AuthorDoesNotExistException extends __BaseException {
489
- readonly name: "AuthorDoesNotExistException";
490
- readonly $fault: "client";
491
- /**
492
- * @internal
493
- */
494
- constructor(opts: __ExceptionOptionType<AuthorDoesNotExistException, __BaseException>);
495
- }
496
194
  /**
497
195
  * @public
498
196
  */
@@ -547,69 +245,6 @@ export interface BatchAssociateApprovalRuleTemplateWithRepositoriesOutput {
547
245
  */
548
246
  errors: BatchAssociateApprovalRuleTemplateWithRepositoriesError[] | undefined;
549
247
  }
550
- /**
551
- * <p>The maximum number of allowed repository names was exceeded. Currently, this number is 100.</p>
552
- * @public
553
- */
554
- export declare class MaximumRepositoryNamesExceededException extends __BaseException {
555
- readonly name: "MaximumRepositoryNamesExceededException";
556
- readonly $fault: "client";
557
- /**
558
- * @internal
559
- */
560
- constructor(opts: __ExceptionOptionType<MaximumRepositoryNamesExceededException, __BaseException>);
561
- }
562
- /**
563
- * <p>At least one repository name object is required, but was not specified.</p>
564
- * @public
565
- */
566
- export declare class RepositoryNamesRequiredException extends __BaseException {
567
- readonly name: "RepositoryNamesRequiredException";
568
- readonly $fault: "client";
569
- /**
570
- * @internal
571
- */
572
- constructor(opts: __ExceptionOptionType<RepositoryNamesRequiredException, __BaseException>);
573
- }
574
- /**
575
- * @public
576
- * @enum
577
- */
578
- export declare const ConflictDetailLevelTypeEnum: {
579
- readonly FILE_LEVEL: "FILE_LEVEL";
580
- readonly LINE_LEVEL: "LINE_LEVEL";
581
- };
582
- /**
583
- * @public
584
- */
585
- export type ConflictDetailLevelTypeEnum = (typeof ConflictDetailLevelTypeEnum)[keyof typeof ConflictDetailLevelTypeEnum];
586
- /**
587
- * @public
588
- * @enum
589
- */
590
- export declare const ConflictResolutionStrategyTypeEnum: {
591
- readonly ACCEPT_DESTINATION: "ACCEPT_DESTINATION";
592
- readonly ACCEPT_SOURCE: "ACCEPT_SOURCE";
593
- readonly AUTOMERGE: "AUTOMERGE";
594
- readonly NONE: "NONE";
595
- };
596
- /**
597
- * @public
598
- */
599
- export type ConflictResolutionStrategyTypeEnum = (typeof ConflictResolutionStrategyTypeEnum)[keyof typeof ConflictResolutionStrategyTypeEnum];
600
- /**
601
- * @public
602
- * @enum
603
- */
604
- export declare const MergeOptionTypeEnum: {
605
- readonly FAST_FORWARD_MERGE: "FAST_FORWARD_MERGE";
606
- readonly SQUASH_MERGE: "SQUASH_MERGE";
607
- readonly THREE_WAY_MERGE: "THREE_WAY_MERGE";
608
- };
609
- /**
610
- * @public
611
- */
612
- export type MergeOptionTypeEnum = (typeof MergeOptionTypeEnum)[keyof typeof MergeOptionTypeEnum];
613
248
  /**
614
249
  * @public
615
250
  */
@@ -673,19 +308,6 @@ export interface BatchDescribeMergeConflictsInput {
673
308
  */
674
309
  nextToken?: string | undefined;
675
310
  }
676
- /**
677
- * @public
678
- * @enum
679
- */
680
- export declare const FileModeTypeEnum: {
681
- readonly EXECUTABLE: "EXECUTABLE";
682
- readonly NORMAL: "NORMAL";
683
- readonly SYMLINK: "SYMLINK";
684
- };
685
- /**
686
- * @public
687
- */
688
- export type FileModeTypeEnum = (typeof FileModeTypeEnum)[keyof typeof FileModeTypeEnum];
689
311
  /**
690
312
  * <p>Information about file modes in a merge or pull request.</p>
691
313
  * @public
@@ -749,19 +371,6 @@ export interface IsBinaryFile {
749
371
  */
750
372
  base?: boolean | undefined;
751
373
  }
752
- /**
753
- * @public
754
- * @enum
755
- */
756
- export declare const ChangeTypeEnum: {
757
- readonly ADDED: "A";
758
- readonly DELETED: "D";
759
- readonly MODIFIED: "M";
760
- };
761
- /**
762
- * @public
763
- */
764
- export type ChangeTypeEnum = (typeof ChangeTypeEnum)[keyof typeof ChangeTypeEnum];
765
374
  /**
766
375
  * <p>Information about the file operation conflicts in a merge operation.</p>
767
376
  * @public
@@ -779,20 +388,6 @@ export interface MergeOperations {
779
388
  */
780
389
  destination?: ChangeTypeEnum | undefined;
781
390
  }
782
- /**
783
- * @public
784
- * @enum
785
- */
786
- export declare const ObjectTypeEnum: {
787
- readonly DIRECTORY: "DIRECTORY";
788
- readonly FILE: "FILE";
789
- readonly GIT_LINK: "GIT_LINK";
790
- readonly SYMBOLIC_LINK: "SYMBOLIC_LINK";
791
- };
792
- /**
793
- * @public
794
- */
795
- export type ObjectTypeEnum = (typeof ObjectTypeEnum)[keyof typeof ObjectTypeEnum];
796
391
  /**
797
392
  * <p>Information about the type of an object in a merge operation.</p>
798
393
  * @public
@@ -995,243 +590,86 @@ export interface BatchDescribeMergeConflictsOutput {
995
590
  baseCommitId?: string | undefined;
996
591
  }
997
592
  /**
998
- * <p>The specified commit does not exist or no commit was specified, and the specified repository has no default branch.</p>
999
593
  * @public
1000
594
  */
1001
- export declare class CommitDoesNotExistException extends __BaseException {
1002
- readonly name: "CommitDoesNotExistException";
1003
- readonly $fault: "client";
595
+ export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesInput {
1004
596
  /**
1005
- * @internal
597
+ * <p>The name of the template that you want to disassociate from one or more repositories.</p>
598
+ * @public
1006
599
  */
1007
- constructor(opts: __ExceptionOptionType<CommitDoesNotExistException, __BaseException>);
1008
- }
1009
- /**
1010
- * <p>A commit was not specified.</p>
1011
- * @public
1012
- */
1013
- export declare class CommitRequiredException extends __BaseException {
1014
- readonly name: "CommitRequiredException";
1015
- readonly $fault: "client";
600
+ approvalRuleTemplateName: string | undefined;
1016
601
  /**
1017
- * @internal
602
+ * <p>The repository names that you want to disassociate from the approval rule
603
+ * template.</p>
604
+ * <note>
605
+ * <p>The length constraint limit is for each string in the array. The array itself can be empty.</p>
606
+ * </note>
607
+ * @public
1018
608
  */
1019
- constructor(opts: __ExceptionOptionType<CommitRequiredException, __BaseException>);
609
+ repositoryNames: string[] | undefined;
1020
610
  }
1021
611
  /**
1022
- * <p>The specified commit is not valid.</p>
612
+ * <p>Returns information about errors in a BatchDisassociateApprovalRuleTemplateFromRepositories operation.</p>
1023
613
  * @public
1024
614
  */
1025
- export declare class InvalidCommitException extends __BaseException {
1026
- readonly name: "InvalidCommitException";
1027
- readonly $fault: "client";
615
+ export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesError {
1028
616
  /**
1029
- * @internal
617
+ * <p>The name of the repository where the association with the template was not able to be removed.</p>
618
+ * @public
1030
619
  */
1031
- constructor(opts: __ExceptionOptionType<InvalidCommitException, __BaseException>);
1032
- }
1033
- /**
1034
- * <p>The specified conflict detail level is not valid.</p>
1035
- * @public
1036
- */
1037
- export declare class InvalidConflictDetailLevelException extends __BaseException {
1038
- readonly name: "InvalidConflictDetailLevelException";
1039
- readonly $fault: "client";
620
+ repositoryName?: string | undefined;
1040
621
  /**
1041
- * @internal
622
+ * <p>An error code that specifies whether the repository name was not valid or not
623
+ * found.</p>
624
+ * @public
1042
625
  */
1043
- constructor(opts: __ExceptionOptionType<InvalidConflictDetailLevelException, __BaseException>);
1044
- }
1045
- /**
1046
- * <p>The specified conflict resolution strategy is not valid.</p>
1047
- * @public
1048
- */
1049
- export declare class InvalidConflictResolutionStrategyException extends __BaseException {
1050
- readonly name: "InvalidConflictResolutionStrategyException";
1051
- readonly $fault: "client";
626
+ errorCode?: string | undefined;
1052
627
  /**
1053
- * @internal
628
+ * <p>An error message that provides details about why the repository name was either not found or not valid.</p>
629
+ * @public
1054
630
  */
1055
- constructor(opts: __ExceptionOptionType<InvalidConflictResolutionStrategyException, __BaseException>);
631
+ errorMessage?: string | undefined;
1056
632
  }
1057
633
  /**
1058
- * <p>The specified continuation token is not valid.</p>
1059
634
  * @public
1060
635
  */
1061
- export declare class InvalidContinuationTokenException extends __BaseException {
1062
- readonly name: "InvalidContinuationTokenException";
1063
- readonly $fault: "client";
636
+ export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput {
1064
637
  /**
1065
- * @internal
638
+ * <p>A list of repository names that have had their association with the template
639
+ * removed.</p>
640
+ * @public
1066
641
  */
1067
- constructor(opts: __ExceptionOptionType<InvalidContinuationTokenException, __BaseException>);
1068
- }
1069
- /**
1070
- * <p>The specified value for the number of conflict files to return is not valid.</p>
1071
- * @public
1072
- */
1073
- export declare class InvalidMaxConflictFilesException extends __BaseException {
1074
- readonly name: "InvalidMaxConflictFilesException";
1075
- readonly $fault: "client";
642
+ disassociatedRepositoryNames: string[] | undefined;
1076
643
  /**
1077
- * @internal
644
+ * <p>A list of any errors that might have occurred while attempting to remove the association between the template and the repositories.</p>
645
+ * @public
1078
646
  */
1079
- constructor(opts: __ExceptionOptionType<InvalidMaxConflictFilesException, __BaseException>);
647
+ errors: BatchDisassociateApprovalRuleTemplateFromRepositoriesError[] | undefined;
1080
648
  }
1081
649
  /**
1082
- * <p>The specified value for the number of merge hunks to return is not valid.</p>
1083
650
  * @public
1084
651
  */
1085
- export declare class InvalidMaxMergeHunksException extends __BaseException {
1086
- readonly name: "InvalidMaxMergeHunksException";
1087
- readonly $fault: "client";
652
+ export interface BatchGetCommitsInput {
653
+ /**
654
+ * <p>The full commit IDs of the commits to get information about.</p>
655
+ * <note>
656
+ * <p>You must supply the full SHA IDs of each commit. You cannot use shortened SHA
657
+ * IDs.</p>
658
+ * </note>
659
+ * @public
660
+ */
661
+ commitIds: string[] | undefined;
1088
662
  /**
1089
- * @internal
663
+ * <p>The name of the repository that contains the commits.</p>
664
+ * @public
1090
665
  */
1091
- constructor(opts: __ExceptionOptionType<InvalidMaxMergeHunksException, __BaseException>);
666
+ repositoryName: string | undefined;
1092
667
  }
1093
668
  /**
1094
- * <p>The specified merge option is not valid for this operation. Not all merge strategies are supported for all operations.</p>
669
+ * <p>Information about the user who made a specified commit.</p>
1095
670
  * @public
1096
671
  */
1097
- export declare class InvalidMergeOptionException extends __BaseException {
1098
- readonly name: "InvalidMergeOptionException";
1099
- readonly $fault: "client";
1100
- /**
1101
- * @internal
1102
- */
1103
- constructor(opts: __ExceptionOptionType<InvalidMergeOptionException, __BaseException>);
1104
- }
1105
- /**
1106
- * <p>The number of files to load exceeds the allowed limit.</p>
1107
- * @public
1108
- */
1109
- export declare class MaximumFileContentToLoadExceededException extends __BaseException {
1110
- readonly name: "MaximumFileContentToLoadExceededException";
1111
- readonly $fault: "client";
1112
- /**
1113
- * @internal
1114
- */
1115
- constructor(opts: __ExceptionOptionType<MaximumFileContentToLoadExceededException, __BaseException>);
1116
- }
1117
- /**
1118
- * <p>The number of items to compare between the source or destination branches and the merge base has exceeded the maximum allowed.</p>
1119
- * @public
1120
- */
1121
- export declare class MaximumItemsToCompareExceededException extends __BaseException {
1122
- readonly name: "MaximumItemsToCompareExceededException";
1123
- readonly $fault: "client";
1124
- /**
1125
- * @internal
1126
- */
1127
- constructor(opts: __ExceptionOptionType<MaximumItemsToCompareExceededException, __BaseException>);
1128
- }
1129
- /**
1130
- * <p>A merge option or stategy is required, and none was provided.</p>
1131
- * @public
1132
- */
1133
- export declare class MergeOptionRequiredException extends __BaseException {
1134
- readonly name: "MergeOptionRequiredException";
1135
- readonly $fault: "client";
1136
- /**
1137
- * @internal
1138
- */
1139
- constructor(opts: __ExceptionOptionType<MergeOptionRequiredException, __BaseException>);
1140
- }
1141
- /**
1142
- * <p>The divergence between the tips of the provided commit specifiers is too great to determine whether there might be
1143
- * any merge conflicts. Locally compare the specifiers using <code>git diff</code> or a diff tool.</p>
1144
- * @public
1145
- */
1146
- export declare class TipsDivergenceExceededException extends __BaseException {
1147
- readonly name: "TipsDivergenceExceededException";
1148
- readonly $fault: "client";
1149
- /**
1150
- * @internal
1151
- */
1152
- constructor(opts: __ExceptionOptionType<TipsDivergenceExceededException, __BaseException>);
1153
- }
1154
- /**
1155
- * @public
1156
- */
1157
- export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesInput {
1158
- /**
1159
- * <p>The name of the template that you want to disassociate from one or more repositories.</p>
1160
- * @public
1161
- */
1162
- approvalRuleTemplateName: string | undefined;
1163
- /**
1164
- * <p>The repository names that you want to disassociate from the approval rule
1165
- * template.</p>
1166
- * <note>
1167
- * <p>The length constraint limit is for each string in the array. The array itself can be empty.</p>
1168
- * </note>
1169
- * @public
1170
- */
1171
- repositoryNames: string[] | undefined;
1172
- }
1173
- /**
1174
- * <p>Returns information about errors in a BatchDisassociateApprovalRuleTemplateFromRepositories operation.</p>
1175
- * @public
1176
- */
1177
- export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesError {
1178
- /**
1179
- * <p>The name of the repository where the association with the template was not able to be removed.</p>
1180
- * @public
1181
- */
1182
- repositoryName?: string | undefined;
1183
- /**
1184
- * <p>An error code that specifies whether the repository name was not valid or not
1185
- * found.</p>
1186
- * @public
1187
- */
1188
- errorCode?: string | undefined;
1189
- /**
1190
- * <p>An error message that provides details about why the repository name was either not found or not valid.</p>
1191
- * @public
1192
- */
1193
- errorMessage?: string | undefined;
1194
- }
1195
- /**
1196
- * @public
1197
- */
1198
- export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput {
1199
- /**
1200
- * <p>A list of repository names that have had their association with the template
1201
- * removed.</p>
1202
- * @public
1203
- */
1204
- disassociatedRepositoryNames: string[] | undefined;
1205
- /**
1206
- * <p>A list of any errors that might have occurred while attempting to remove the association between the template and the repositories.</p>
1207
- * @public
1208
- */
1209
- errors: BatchDisassociateApprovalRuleTemplateFromRepositoriesError[] | undefined;
1210
- }
1211
- /**
1212
- * @public
1213
- */
1214
- export interface BatchGetCommitsInput {
1215
- /**
1216
- * <p>The full commit IDs of the commits to get information about.</p>
1217
- * <note>
1218
- * <p>You must supply the full SHA IDs of each commit. You cannot use shortened SHA
1219
- * IDs.</p>
1220
- * </note>
1221
- * @public
1222
- */
1223
- commitIds: string[] | undefined;
1224
- /**
1225
- * <p>The name of the repository that contains the commits.</p>
1226
- * @public
1227
- */
1228
- repositoryName: string | undefined;
1229
- }
1230
- /**
1231
- * <p>Information about the user who made a specified commit.</p>
1232
- * @public
1233
- */
1234
- export interface UserInfo {
672
+ export interface UserInfo {
1235
673
  /**
1236
674
  * <p>The name of the user who made the specified commit.</p>
1237
675
  * @public
@@ -1334,30 +772,6 @@ export interface BatchGetCommitsOutput {
1334
772
  */
1335
773
  errors?: BatchGetCommitsError[] | undefined;
1336
774
  }
1337
- /**
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>
1339
- * @public
1340
- */
1341
- export declare class CommitIdsLimitExceededException extends __BaseException {
1342
- readonly name: "CommitIdsLimitExceededException";
1343
- readonly $fault: "client";
1344
- /**
1345
- * @internal
1346
- */
1347
- constructor(opts: __ExceptionOptionType<CommitIdsLimitExceededException, __BaseException>);
1348
- }
1349
- /**
1350
- * <p>A list of commit IDs is required, but was either not specified or the list was empty.</p>
1351
- * @public
1352
- */
1353
- export declare class CommitIdsListRequiredException extends __BaseException {
1354
- readonly name: "CommitIdsListRequiredException";
1355
- readonly $fault: "client";
1356
- /**
1357
- * @internal
1358
- */
1359
- constructor(opts: __ExceptionOptionType<CommitIdsListRequiredException, __BaseException>);
1360
- }
1361
775
  /**
1362
776
  * <p>Represents the input of a batch get repositories operation.</p>
1363
777
  * @public
@@ -1372,22 +786,6 @@ export interface BatchGetRepositoriesInput {
1372
786
  */
1373
787
  repositoryNames: string[] | undefined;
1374
788
  }
1375
- /**
1376
- * @public
1377
- * @enum
1378
- */
1379
- export declare const BatchGetRepositoriesErrorCodeEnum: {
1380
- readonly ENCRYPTION_INTEGRITY_CHECKS_FAILED_EXCEPTION: "EncryptionIntegrityChecksFailedException";
1381
- readonly ENCRYPTION_KEY_ACCESS_DENIED_EXCEPTION: "EncryptionKeyAccessDeniedException";
1382
- readonly ENCRYPTION_KEY_DISABLED_EXCEPTION: "EncryptionKeyDisabledException";
1383
- readonly ENCRYPTION_KEY_NOT_FOUND_EXCEPTION: "EncryptionKeyNotFoundException";
1384
- readonly ENCRYPTION_KEY_UNAVAILABLE_EXCEPTION: "EncryptionKeyUnavailableException";
1385
- readonly REPOSITORY_DOES_NOT_EXIST_EXCEPTION: "RepositoryDoesNotExistException";
1386
- };
1387
- /**
1388
- * @public
1389
- */
1390
- export type BatchGetRepositoriesErrorCodeEnum = (typeof BatchGetRepositoriesErrorCodeEnum)[keyof typeof BatchGetRepositoriesErrorCodeEnum];
1391
789
  /**
1392
790
  * <p>Returns information about errors in a BatchGetRepositories operation.</p>
1393
791
  * @public
@@ -1496,42 +894,6 @@ export interface BatchGetRepositoriesOutput {
1496
894
  */
1497
895
  errors?: BatchGetRepositoriesError[] | undefined;
1498
896
  }
1499
- /**
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>
1501
- * @public
1502
- */
1503
- export declare class BeforeCommitIdAndAfterCommitIdAreSameException extends __BaseException {
1504
- readonly name: "BeforeCommitIdAndAfterCommitIdAreSameException";
1505
- readonly $fault: "client";
1506
- /**
1507
- * @internal
1508
- */
1509
- constructor(opts: __ExceptionOptionType<BeforeCommitIdAndAfterCommitIdAreSameException, __BaseException>);
1510
- }
1511
- /**
1512
- * <p>The specified blob does not exist.</p>
1513
- * @public
1514
- */
1515
- export declare class BlobIdDoesNotExistException extends __BaseException {
1516
- readonly name: "BlobIdDoesNotExistException";
1517
- readonly $fault: "client";
1518
- /**
1519
- * @internal
1520
- */
1521
- constructor(opts: __ExceptionOptionType<BlobIdDoesNotExistException, __BaseException>);
1522
- }
1523
- /**
1524
- * <p>A blob ID is required, but was not specified.</p>
1525
- * @public
1526
- */
1527
- export declare class BlobIdRequiredException extends __BaseException {
1528
- readonly name: "BlobIdRequiredException";
1529
- readonly $fault: "client";
1530
- /**
1531
- * @internal
1532
- */
1533
- constructor(opts: __ExceptionOptionType<BlobIdRequiredException, __BaseException>);
1534
- }
1535
897
  /**
1536
898
  * <p>Returns information about a specific Git blob object.</p>
1537
899
  * @public
@@ -1571,18 +933,6 @@ export interface BlobMetadata {
1571
933
  */
1572
934
  mode?: string | undefined;
1573
935
  }
1574
- /**
1575
- * <p>The specified branch does not exist.</p>
1576
- * @public
1577
- */
1578
- export declare class BranchDoesNotExistException extends __BaseException {
1579
- readonly name: "BranchDoesNotExistException";
1580
- readonly $fault: "client";
1581
- /**
1582
- * @internal
1583
- */
1584
- constructor(opts: __ExceptionOptionType<BranchDoesNotExistException, __BaseException>);
1585
- }
1586
936
  /**
1587
937
  * <p>Returns information about a branch.</p>
1588
938
  * @public
@@ -1599,87 +949,6 @@ export interface BranchInfo {
1599
949
  */
1600
950
  commitId?: string | undefined;
1601
951
  }
1602
- /**
1603
- * <p>Cannot create the branch with the specified name because the commit conflicts with an existing branch with the same name.
1604
- *
1605
- * Branch names must be unique.</p>
1606
- * @public
1607
- */
1608
- export declare class BranchNameExistsException extends __BaseException {
1609
- readonly name: "BranchNameExistsException";
1610
- readonly $fault: "client";
1611
- /**
1612
- * @internal
1613
- */
1614
- constructor(opts: __ExceptionOptionType<BranchNameExistsException, __BaseException>);
1615
- }
1616
- /**
1617
- * <p>The specified branch name is not valid because it is a tag name. Enter the name of a
1618
- * branch in the repository. For a list of valid branch names, use <a>ListBranches</a>.</p>
1619
- * @public
1620
- */
1621
- export declare class BranchNameIsTagNameException extends __BaseException {
1622
- readonly name: "BranchNameIsTagNameException";
1623
- readonly $fault: "client";
1624
- /**
1625
- * @internal
1626
- */
1627
- constructor(opts: __ExceptionOptionType<BranchNameIsTagNameException, __BaseException>);
1628
- }
1629
- /**
1630
- * <p>A branch name is required, but was not specified.</p>
1631
- * @public
1632
- */
1633
- export declare class BranchNameRequiredException extends __BaseException {
1634
- readonly name: "BranchNameRequiredException";
1635
- readonly $fault: "client";
1636
- /**
1637
- * @internal
1638
- */
1639
- constructor(opts: __ExceptionOptionType<BranchNameRequiredException, __BaseException>);
1640
- }
1641
- /**
1642
- * <p>The approval rule cannot be deleted from the pull request because it was created by an
1643
- * approval rule template and applied to the pull request automatically.</p>
1644
- * @public
1645
- */
1646
- export declare class CannotDeleteApprovalRuleFromTemplateException extends __BaseException {
1647
- readonly name: "CannotDeleteApprovalRuleFromTemplateException";
1648
- readonly $fault: "client";
1649
- /**
1650
- * @internal
1651
- */
1652
- constructor(opts: __ExceptionOptionType<CannotDeleteApprovalRuleFromTemplateException, __BaseException>);
1653
- }
1654
- /**
1655
- * <p>The approval rule cannot be modified for the pull request because it was created by an
1656
- * approval rule template and applied to the pull request automatically.</p>
1657
- * @public
1658
- */
1659
- export declare class CannotModifyApprovalRuleFromTemplateException extends __BaseException {
1660
- readonly name: "CannotModifyApprovalRuleFromTemplateException";
1661
- readonly $fault: "client";
1662
- /**
1663
- * @internal
1664
- */
1665
- constructor(opts: __ExceptionOptionType<CannotModifyApprovalRuleFromTemplateException, __BaseException>);
1666
- }
1667
- /**
1668
- * <p>A client request token is required. A client request token is an unique,
1669
- * client-generated idempotency token that, when provided in a request, ensures the request
1670
- * cannot be repeated with a changed parameter. If a request is received with the same
1671
- * parameters and a token is included, the request returns information about the initial
1672
- * request that used that token.</p>
1673
- * @public
1674
- */
1675
- export declare class ClientRequestTokenRequiredException extends __BaseException {
1676
- readonly name: "ClientRequestTokenRequiredException";
1677
- readonly $fault: "client";
1678
- /**
1679
- * @internal
1680
- */
1681
- constructor(opts: __ExceptionOptionType<ClientRequestTokenRequiredException, __BaseException>);
1682
- }
1683
952
  /**
1684
953
  * @public
1685
954
  */
@@ -1756,56 +1025,6 @@ export interface CreateApprovalRuleTemplateOutput {
1756
1025
  */
1757
1026
  approvalRuleTemplate: ApprovalRuleTemplate | undefined;
1758
1027
  }
1759
- /**
1760
- * <p>The content of the approval rule template is not valid.</p>
1761
- * @public
1762
- */
1763
- export declare class InvalidApprovalRuleTemplateContentException extends __BaseException {
1764
- readonly name: "InvalidApprovalRuleTemplateContentException";
1765
- readonly $fault: "client";
1766
- /**
1767
- * @internal
1768
- */
1769
- constructor(opts: __ExceptionOptionType<InvalidApprovalRuleTemplateContentException, __BaseException>);
1770
- }
1771
- /**
1772
- * <p>The description for the approval rule template is not valid because it exceeds the
1773
- * maximum characters allowed for a description. For more information about limits in CodeCommit,
1774
- * see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>CodeCommit User Guide</i>.</p>
1775
- * @public
1776
- */
1777
- export declare class InvalidApprovalRuleTemplateDescriptionException extends __BaseException {
1778
- readonly name: "InvalidApprovalRuleTemplateDescriptionException";
1779
- readonly $fault: "client";
1780
- /**
1781
- * @internal
1782
- */
1783
- constructor(opts: __ExceptionOptionType<InvalidApprovalRuleTemplateDescriptionException, __BaseException>);
1784
- }
1785
- /**
1786
- * <p>The maximum number of approval rule templates has been exceeded for this Amazon Web Services Region. </p>
1787
- * @public
1788
- */
1789
- export declare class NumberOfRuleTemplatesExceededException extends __BaseException {
1790
- readonly name: "NumberOfRuleTemplatesExceededException";
1791
- readonly $fault: "client";
1792
- /**
1793
- * @internal
1794
- */
1795
- constructor(opts: __ExceptionOptionType<NumberOfRuleTemplatesExceededException, __BaseException>);
1796
- }
1797
- /**
1798
- * <p>A commit ID was not specified.</p>
1799
- * @public
1800
- */
1801
- export declare class CommitIdRequiredException extends __BaseException {
1802
- readonly name: "CommitIdRequiredException";
1803
- readonly $fault: "client";
1804
- /**
1805
- * @internal
1806
- */
1807
- constructor(opts: __ExceptionOptionType<CommitIdRequiredException, __BaseException>);
1808
- }
1809
1028
  /**
1810
1029
  * <p>Represents the input of a create branch operation.</p>
1811
1030
  * @public
@@ -1827,42 +1046,6 @@ export interface CreateBranchInput {
1827
1046
  */
1828
1047
  commitId: string | undefined;
1829
1048
  }
1830
- /**
1831
- * <p>The specified reference name is not valid.</p>
1832
- * @public
1833
- */
1834
- export declare class InvalidBranchNameException extends __BaseException {
1835
- readonly name: "InvalidBranchNameException";
1836
- readonly $fault: "client";
1837
- /**
1838
- * @internal
1839
- */
1840
- constructor(opts: __ExceptionOptionType<InvalidBranchNameException, __BaseException>);
1841
- }
1842
- /**
1843
- * <p>The specified commit ID is not valid.</p>
1844
- * @public
1845
- */
1846
- export declare class InvalidCommitIdException extends __BaseException {
1847
- readonly name: "InvalidCommitIdException";
1848
- readonly $fault: "client";
1849
- /**
1850
- * @internal
1851
- */
1852
- constructor(opts: __ExceptionOptionType<InvalidCommitIdException, __BaseException>);
1853
- }
1854
- /**
1855
- * <p>The commit message is too long. Provide a shorter string. </p>
1856
- * @public
1857
- */
1858
- export declare class CommitMessageLengthExceededException extends __BaseException {
1859
- readonly name: "CommitMessageLengthExceededException";
1860
- readonly $fault: "client";
1861
- /**
1862
- * @internal
1863
- */
1864
- constructor(opts: __ExceptionOptionType<CommitMessageLengthExceededException, __BaseException>);
1865
- }
1866
1049
  /**
1867
1050
  * <p>A file that is deleted as part of a commit.</p>
1868
1051
  * @public
@@ -2046,353 +1229,35 @@ export interface CreateCommitOutput {
2046
1229
  filesDeleted?: FileMetadata[] | undefined;
2047
1230
  }
2048
1231
  /**
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.
2050
- * Either provide a different name for the file, or specify a different path for the file.</p>
1232
+ * <p>Returns information about a target for a pull request.</p>
2051
1233
  * @public
2052
1234
  */
2053
- export declare class DirectoryNameConflictsWithFileNameException extends __BaseException {
2054
- readonly name: "DirectoryNameConflictsWithFileNameException";
2055
- readonly $fault: "client";
1235
+ export interface Target {
2056
1236
  /**
2057
- * @internal
1237
+ * <p>The name of the repository that contains the pull request.</p>
1238
+ * @public
2058
1239
  */
2059
- constructor(opts: __ExceptionOptionType<DirectoryNameConflictsWithFileNameException, __BaseException>);
2060
- }
2061
- /**
2062
- * <p>The commit cannot be created because both a source file and file content have been
2063
- * specified for the same file. You cannot provide both. Either specify a source file or
2064
- * provide the file content directly.</p>
2065
- * @public
2066
- */
2067
- export declare class FileContentAndSourceFileSpecifiedException extends __BaseException {
2068
- readonly name: "FileContentAndSourceFileSpecifiedException";
2069
- readonly $fault: "client";
1240
+ repositoryName: string | undefined;
2070
1241
  /**
2071
- * @internal
1242
+ * <p>The branch of the repository that contains the changes for the pull request. Also known as the source branch.</p>
1243
+ * @public
2072
1244
  */
2073
- constructor(opts: __ExceptionOptionType<FileContentAndSourceFileSpecifiedException, __BaseException>);
2074
- }
2075
- /**
2076
- * <p>The file cannot be added because it is too large. The maximum file size is 6 MB, and
2077
- * the combined file content change size is 7 MB. Consider making these changes using a Git
2078
- * client.</p>
2079
- * @public
2080
- */
2081
- export declare class FileContentSizeLimitExceededException extends __BaseException {
2082
- readonly name: "FileContentSizeLimitExceededException";
2083
- readonly $fault: "client";
1245
+ sourceReference: string | undefined;
2084
1246
  /**
2085
- * @internal
1247
+ * <p>The branch of the repository where the pull request changes are merged. Also known as
1248
+ * the destination branch.</p>
1249
+ * @public
2086
1250
  */
2087
- constructor(opts: __ExceptionOptionType<FileContentSizeLimitExceededException, __BaseException>);
1251
+ destinationReference?: string | undefined;
2088
1252
  }
2089
1253
  /**
2090
- * <p>The specified file does not exist. Verify that you have used the correct file name,
2091
- * full path, and extension.</p>
2092
1254
  * @public
2093
1255
  */
2094
- export declare class FileDoesNotExistException extends __BaseException {
2095
- readonly name: "FileDoesNotExistException";
2096
- readonly $fault: "client";
1256
+ export interface CreatePullRequestInput {
2097
1257
  /**
2098
- * @internal
2099
- */
2100
- constructor(opts: __ExceptionOptionType<FileDoesNotExistException, __BaseException>);
2101
- }
2102
- /**
2103
- * <p>The commit cannot be created because no files have been specified as added, updated, or changed (PutFile or DeleteFile) for the commit.</p>
2104
- * @public
2105
- */
2106
- export declare class FileEntryRequiredException extends __BaseException {
2107
- readonly name: "FileEntryRequiredException";
2108
- readonly $fault: "client";
2109
- /**
2110
- * @internal
2111
- */
2112
- constructor(opts: __ExceptionOptionType<FileEntryRequiredException, __BaseException>);
2113
- }
2114
- /**
2115
- * <p>The commit cannot be created because no file mode has been specified. A file mode is
2116
- * required to update mode permissions for a file.</p>
2117
- * @public
2118
- */
2119
- export declare class FileModeRequiredException extends __BaseException {
2120
- readonly name: "FileModeRequiredException";
2121
- readonly $fault: "client";
2122
- /**
2123
- * @internal
2124
- */
2125
- constructor(opts: __ExceptionOptionType<FileModeRequiredException, __BaseException>);
2126
- }
2127
- /**
2128
- * <p>A file cannot be added to the repository because the specified file name has the same name as a directory in this repository. Either provide
2129
- * another name for the file, or add the file in a directory that does not match the file name.</p>
2130
- * @public
2131
- */
2132
- export declare class FileNameConflictsWithDirectoryNameException extends __BaseException {
2133
- readonly name: "FileNameConflictsWithDirectoryNameException";
2134
- readonly $fault: "client";
2135
- /**
2136
- * @internal
2137
- */
2138
- constructor(opts: __ExceptionOptionType<FileNameConflictsWithDirectoryNameException, __BaseException>);
2139
- }
2140
- /**
2141
- * <p>The commit cannot be created because a specified file path points to a submodule. Verify that the destination files
2142
- * have valid file paths that do not point to a submodule.</p>
2143
- * @public
2144
- */
2145
- export declare class FilePathConflictsWithSubmodulePathException extends __BaseException {
2146
- readonly name: "FilePathConflictsWithSubmodulePathException";
2147
- readonly $fault: "client";
2148
- /**
2149
- * @internal
2150
- */
2151
- constructor(opts: __ExceptionOptionType<FilePathConflictsWithSubmodulePathException, __BaseException>);
2152
- }
2153
- /**
2154
- * <p>The commit cannot be created because at least one of the overall changes in the commit results in a
2155
- * folder whose contents exceed the limit of 6 MB. Either reduce the number and size of your changes,
2156
- * or split the changes across multiple folders.</p>
2157
- * @public
2158
- */
2159
- export declare class FolderContentSizeLimitExceededException extends __BaseException {
2160
- readonly name: "FolderContentSizeLimitExceededException";
2161
- readonly $fault: "client";
2162
- /**
2163
- * @internal
2164
- */
2165
- constructor(opts: __ExceptionOptionType<FolderContentSizeLimitExceededException, __BaseException>);
2166
- }
2167
- /**
2168
- * <p>The specified deletion parameter is not valid.</p>
2169
- * @public
2170
- */
2171
- export declare class InvalidDeletionParameterException extends __BaseException {
2172
- readonly name: "InvalidDeletionParameterException";
2173
- readonly $fault: "client";
2174
- /**
2175
- * @internal
2176
- */
2177
- constructor(opts: __ExceptionOptionType<InvalidDeletionParameterException, __BaseException>);
2178
- }
2179
- /**
2180
- * <p>The specified email address either contains one or more characters that are not allowed, or it exceeds the maximum number of characters
2181
- * allowed for an email address.</p>
2182
- * @public
2183
- */
2184
- export declare class InvalidEmailException extends __BaseException {
2185
- readonly name: "InvalidEmailException";
2186
- readonly $fault: "client";
2187
- /**
2188
- * @internal
2189
- */
2190
- constructor(opts: __ExceptionOptionType<InvalidEmailException, __BaseException>);
2191
- }
2192
- /**
2193
- * <p>The specified file mode permission is not valid. For a list of valid file mode permissions, see <a>PutFile</a>. </p>
2194
- * @public
2195
- */
2196
- export declare class InvalidFileModeException extends __BaseException {
2197
- readonly name: "InvalidFileModeException";
2198
- readonly $fault: "client";
2199
- /**
2200
- * @internal
2201
- */
2202
- constructor(opts: __ExceptionOptionType<InvalidFileModeException, __BaseException>);
2203
- }
2204
- /**
2205
- * <p>The parent commit ID is not valid. The commit ID cannot be empty, and must match the head commit ID for the branch of the repository where you
2206
- * want to add or update a file.</p>
2207
- * @public
2208
- */
2209
- export declare class InvalidParentCommitIdException extends __BaseException {
2210
- readonly name: "InvalidParentCommitIdException";
2211
- readonly $fault: "client";
2212
- /**
2213
- * @internal
2214
- */
2215
- constructor(opts: __ExceptionOptionType<InvalidParentCommitIdException, __BaseException>);
2216
- }
2217
- /**
2218
- * <p>The specified path is not valid.</p>
2219
- * @public
2220
- */
2221
- export declare class InvalidPathException extends __BaseException {
2222
- readonly name: "InvalidPathException";
2223
- readonly $fault: "client";
2224
- /**
2225
- * @internal
2226
- */
2227
- constructor(opts: __ExceptionOptionType<InvalidPathException, __BaseException>);
2228
- }
2229
- /**
2230
- * <p>The number of specified files to change as part of this commit exceeds the maximum number of files
2231
- * that can be changed in a single commit. Consider using a Git client for these changes.</p>
2232
- * @public
2233
- */
2234
- export declare class MaximumFileEntriesExceededException extends __BaseException {
2235
- readonly name: "MaximumFileEntriesExceededException";
2236
- readonly $fault: "client";
2237
- /**
2238
- * @internal
2239
- */
2240
- constructor(opts: __ExceptionOptionType<MaximumFileEntriesExceededException, __BaseException>);
2241
- }
2242
- /**
2243
- * <p>The user name is not valid because it has exceeded the character limit for author names. </p>
2244
- * @public
2245
- */
2246
- export declare class NameLengthExceededException extends __BaseException {
2247
- readonly name: "NameLengthExceededException";
2248
- readonly $fault: "client";
2249
- /**
2250
- * @internal
2251
- */
2252
- constructor(opts: __ExceptionOptionType<NameLengthExceededException, __BaseException>);
2253
- }
2254
- /**
2255
- * <p>The commit cannot be created because no changes will be made to the repository as a result of this commit. A commit must contain at least one change.</p>
2256
- * @public
2257
- */
2258
- export declare class NoChangeException extends __BaseException {
2259
- readonly name: "NoChangeException";
2260
- readonly $fault: "client";
2261
- /**
2262
- * @internal
2263
- */
2264
- constructor(opts: __ExceptionOptionType<NoChangeException, __BaseException>);
2265
- }
2266
- /**
2267
- * <p>The parent commit ID is not valid because it does not exist. The specified parent commit ID does not exist in the specified branch of the repository.</p>
2268
- * @public
2269
- */
2270
- export declare class ParentCommitDoesNotExistException extends __BaseException {
2271
- readonly name: "ParentCommitDoesNotExistException";
2272
- readonly $fault: "client";
2273
- /**
2274
- * @internal
2275
- */
2276
- constructor(opts: __ExceptionOptionType<ParentCommitDoesNotExistException, __BaseException>);
2277
- }
2278
- /**
2279
- * <p>The file could not be added because the provided parent commit ID is not the current tip of the specified branch. To view the full commit ID of the current head
2280
- * of the branch, use <a>GetBranch</a>.</p>
2281
- * @public
2282
- */
2283
- export declare class ParentCommitIdOutdatedException extends __BaseException {
2284
- readonly name: "ParentCommitIdOutdatedException";
2285
- readonly $fault: "client";
2286
- /**
2287
- * @internal
2288
- */
2289
- constructor(opts: __ExceptionOptionType<ParentCommitIdOutdatedException, __BaseException>);
2290
- }
2291
- /**
2292
- * <p>A parent commit ID is required. To view the full commit ID of a branch in a repository, use <a>GetBranch</a> or a Git command
2293
- * (for example, git pull or git log).</p>
2294
- * @public
2295
- */
2296
- export declare class ParentCommitIdRequiredException extends __BaseException {
2297
- readonly name: "ParentCommitIdRequiredException";
2298
- readonly $fault: "client";
2299
- /**
2300
- * @internal
2301
- */
2302
- constructor(opts: __ExceptionOptionType<ParentCommitIdRequiredException, __BaseException>);
2303
- }
2304
- /**
2305
- * <p>The folderPath for a location cannot be null.</p>
2306
- * @public
2307
- */
2308
- export declare class PathRequiredException extends __BaseException {
2309
- readonly name: "PathRequiredException";
2310
- readonly $fault: "client";
2311
- /**
2312
- * @internal
2313
- */
2314
- constructor(opts: __ExceptionOptionType<PathRequiredException, __BaseException>);
2315
- }
2316
- /**
2317
- * <p>The commit cannot be created because one or more files specified in the commit reference both a file and a folder.</p>
2318
- * @public
2319
- */
2320
- export declare class PutFileEntryConflictException extends __BaseException {
2321
- readonly name: "PutFileEntryConflictException";
2322
- readonly $fault: "client";
2323
- /**
2324
- * @internal
2325
- */
2326
- constructor(opts: __ExceptionOptionType<PutFileEntryConflictException, __BaseException>);
2327
- }
2328
- /**
2329
- * <p>The commit cannot be created because one of the changes specifies copying or moving a .gitkeep file.</p>
2330
- * @public
2331
- */
2332
- export declare class RestrictedSourceFileException extends __BaseException {
2333
- readonly name: "RestrictedSourceFileException";
2334
- readonly $fault: "client";
2335
- /**
2336
- * @internal
2337
- */
2338
- constructor(opts: __ExceptionOptionType<RestrictedSourceFileException, __BaseException>);
2339
- }
2340
- /**
2341
- * <p>The commit cannot be created because one or more changes in this commit duplicate actions in the same file path. For example,
2342
- * you cannot make the same delete request to the same file in the same file path twice, or make a delete request and a move request to the same
2343
- * file as part of the same commit.</p>
2344
- * @public
2345
- */
2346
- export declare class SamePathRequestException extends __BaseException {
2347
- readonly name: "SamePathRequestException";
2348
- readonly $fault: "client";
2349
- /**
2350
- * @internal
2351
- */
2352
- constructor(opts: __ExceptionOptionType<SamePathRequestException, __BaseException>);
2353
- }
2354
- /**
2355
- * <p>The commit cannot be created because no source files or file content have been specified for the commit.</p>
2356
- * @public
2357
- */
2358
- export declare class SourceFileOrContentRequiredException extends __BaseException {
2359
- readonly name: "SourceFileOrContentRequiredException";
2360
- readonly $fault: "client";
2361
- /**
2362
- * @internal
2363
- */
2364
- constructor(opts: __ExceptionOptionType<SourceFileOrContentRequiredException, __BaseException>);
2365
- }
2366
- /**
2367
- * <p>Returns information about a target for a pull request.</p>
2368
- * @public
2369
- */
2370
- export interface Target {
2371
- /**
2372
- * <p>The name of the repository that contains the pull request.</p>
2373
- * @public
2374
- */
2375
- repositoryName: string | undefined;
2376
- /**
2377
- * <p>The branch of the repository that contains the changes for the pull request. Also known as the source branch.</p>
2378
- * @public
2379
- */
2380
- sourceReference: string | undefined;
2381
- /**
2382
- * <p>The branch of the repository where the pull request changes are merged. Also known as
2383
- * the destination branch.</p>
2384
- * @public
2385
- */
2386
- destinationReference?: string | undefined;
2387
- }
2388
- /**
2389
- * @public
2390
- */
2391
- export interface CreatePullRequestInput {
2392
- /**
2393
- * <p>The title of the pull request. This title is used to identify the pull request to
2394
- * other users in the repository.</p>
2395
- * @public
1258
+ * <p>The title of the pull request. This title is used to identify the pull request to
1259
+ * other users in the repository.</p>
1260
+ * @public
2396
1261
  */
2397
1262
  title: string | undefined;
2398
1263
  /**
@@ -2420,18 +1285,6 @@ export interface CreatePullRequestInput {
2420
1285
  */
2421
1286
  clientRequestToken?: string | undefined;
2422
1287
  }
2423
- /**
2424
- * @public
2425
- * @enum
2426
- */
2427
- export declare const PullRequestStatusEnum: {
2428
- readonly CLOSED: "CLOSED";
2429
- readonly OPEN: "OPEN";
2430
- };
2431
- /**
2432
- * @public
2433
- */
2434
- export type PullRequestStatusEnum = (typeof PullRequestStatusEnum)[keyof typeof PullRequestStatusEnum];
2435
1288
  /**
2436
1289
  * <p>Returns information about a merge or potential merge between a source reference and a destination reference in a pull request.</p>
2437
1290
  * @public
@@ -2577,205 +1430,6 @@ export interface CreatePullRequestOutput {
2577
1430
  */
2578
1431
  pullRequest: PullRequest | undefined;
2579
1432
  }
2580
- /**
2581
- * <p>The client request token is not valid. Either the token is not in a valid format, or
2582
- * the token has been used in a previous request and cannot be reused.</p>
2583
- * @public
2584
- */
2585
- export declare class IdempotencyParameterMismatchException extends __BaseException {
2586
- readonly name: "IdempotencyParameterMismatchException";
2587
- readonly $fault: "client";
2588
- /**
2589
- * @internal
2590
- */
2591
- constructor(opts: __ExceptionOptionType<IdempotencyParameterMismatchException, __BaseException>);
2592
- }
2593
- /**
2594
- * <p>The client request token is not valid.</p>
2595
- * @public
2596
- */
2597
- export declare class InvalidClientRequestTokenException extends __BaseException {
2598
- readonly name: "InvalidClientRequestTokenException";
2599
- readonly $fault: "client";
2600
- /**
2601
- * @internal
2602
- */
2603
- constructor(opts: __ExceptionOptionType<InvalidClientRequestTokenException, __BaseException>);
2604
- }
2605
- /**
2606
- * <p>The pull request description is not valid. Descriptions cannot be more than 1,000
2607
- * characters.</p>
2608
- * @public
2609
- */
2610
- export declare class InvalidDescriptionException extends __BaseException {
2611
- readonly name: "InvalidDescriptionException";
2612
- readonly $fault: "client";
2613
- /**
2614
- * @internal
2615
- */
2616
- constructor(opts: __ExceptionOptionType<InvalidDescriptionException, __BaseException>);
2617
- }
2618
- /**
2619
- * <p>The specified reference name format is not valid. Reference names must conform to the
2620
- * Git references format (for example, refs/heads/main). For more information, see <a href="https://git-scm.com/book/en/v2/Git-Internals-Git-References">Git Internals -
2621
- * Git References</a> or consult your Git documentation.</p>
2622
- * @public
2623
- */
2624
- export declare class InvalidReferenceNameException extends __BaseException {
2625
- readonly name: "InvalidReferenceNameException";
2626
- readonly $fault: "client";
2627
- /**
2628
- * @internal
2629
- */
2630
- constructor(opts: __ExceptionOptionType<InvalidReferenceNameException, __BaseException>);
2631
- }
2632
- /**
2633
- * <p>The target for the pull request is not valid. A target must contain the full values for the repository name, source branch, and destination branch for the pull request.</p>
2634
- * @public
2635
- */
2636
- export declare class InvalidTargetException extends __BaseException {
2637
- readonly name: "InvalidTargetException";
2638
- readonly $fault: "client";
2639
- /**
2640
- * @internal
2641
- */
2642
- constructor(opts: __ExceptionOptionType<InvalidTargetException, __BaseException>);
2643
- }
2644
- /**
2645
- * <p>The targets for the pull request is not valid or not in a valid format. Targets are a list of target objects. Each target object must contain the full values for
2646
- * the repository name, source branch, and destination branch for a pull request.</p>
2647
- * @public
2648
- */
2649
- export declare class InvalidTargetsException extends __BaseException {
2650
- readonly name: "InvalidTargetsException";
2651
- readonly $fault: "client";
2652
- /**
2653
- * @internal
2654
- */
2655
- constructor(opts: __ExceptionOptionType<InvalidTargetsException, __BaseException>);
2656
- }
2657
- /**
2658
- * <p>The title of the pull request is not valid. Pull request titles cannot exceed 100 characters in length.</p>
2659
- * @public
2660
- */
2661
- export declare class InvalidTitleException extends __BaseException {
2662
- readonly name: "InvalidTitleException";
2663
- readonly $fault: "client";
2664
- /**
2665
- * @internal
2666
- */
2667
- constructor(opts: __ExceptionOptionType<InvalidTitleException, __BaseException>);
2668
- }
2669
- /**
2670
- * <p>You cannot create the pull request because the repository has too many open pull requests.
2671
- * The maximum number of open pull requests for a repository is 1,000. Close one or more open pull requests, and then try again.</p>
2672
- * @public
2673
- */
2674
- export declare class MaximumOpenPullRequestsExceededException extends __BaseException {
2675
- readonly name: "MaximumOpenPullRequestsExceededException";
2676
- readonly $fault: "client";
2677
- /**
2678
- * @internal
2679
- */
2680
- constructor(opts: __ExceptionOptionType<MaximumOpenPullRequestsExceededException, __BaseException>);
2681
- }
2682
- /**
2683
- * <p>You cannot include more than one repository in a pull request. Make sure you have specified only one repository name in your request, and then try again.</p>
2684
- * @public
2685
- */
2686
- export declare class MultipleRepositoriesInPullRequestException extends __BaseException {
2687
- readonly name: "MultipleRepositoriesInPullRequestException";
2688
- readonly $fault: "client";
2689
- /**
2690
- * @internal
2691
- */
2692
- constructor(opts: __ExceptionOptionType<MultipleRepositoriesInPullRequestException, __BaseException>);
2693
- }
2694
- /**
2695
- * <p>The specified reference does not exist. You must provide a full commit ID.</p>
2696
- * @public
2697
- */
2698
- export declare class ReferenceDoesNotExistException extends __BaseException {
2699
- readonly name: "ReferenceDoesNotExistException";
2700
- readonly $fault: "client";
2701
- /**
2702
- * @internal
2703
- */
2704
- constructor(opts: __ExceptionOptionType<ReferenceDoesNotExistException, __BaseException>);
2705
- }
2706
- /**
2707
- * <p>A reference name is required, but none was provided.</p>
2708
- * @public
2709
- */
2710
- export declare class ReferenceNameRequiredException extends __BaseException {
2711
- readonly name: "ReferenceNameRequiredException";
2712
- readonly $fault: "client";
2713
- /**
2714
- * @internal
2715
- */
2716
- constructor(opts: __ExceptionOptionType<ReferenceNameRequiredException, __BaseException>);
2717
- }
2718
- /**
2719
- * <p>The specified reference is not a supported type. </p>
2720
- * @public
2721
- */
2722
- export declare class ReferenceTypeNotSupportedException extends __BaseException {
2723
- readonly name: "ReferenceTypeNotSupportedException";
2724
- readonly $fault: "client";
2725
- /**
2726
- * @internal
2727
- */
2728
- constructor(opts: __ExceptionOptionType<ReferenceTypeNotSupportedException, __BaseException>);
2729
- }
2730
- /**
2731
- * <p>The source branch and destination branch for the pull request are the same. You must
2732
- * specify different branches for the source and destination.</p>
2733
- * @public
2734
- */
2735
- export declare class SourceAndDestinationAreSameException extends __BaseException {
2736
- readonly name: "SourceAndDestinationAreSameException";
2737
- readonly $fault: "client";
2738
- /**
2739
- * @internal
2740
- */
2741
- constructor(opts: __ExceptionOptionType<SourceAndDestinationAreSameException, __BaseException>);
2742
- }
2743
- /**
2744
- * <p>A pull request target is required. It cannot be empty or null. A pull request target must contain the full values for the repository name, source branch, and destination branch for the pull request.</p>
2745
- * @public
2746
- */
2747
- export declare class TargetRequiredException extends __BaseException {
2748
- readonly name: "TargetRequiredException";
2749
- readonly $fault: "client";
2750
- /**
2751
- * @internal
2752
- */
2753
- constructor(opts: __ExceptionOptionType<TargetRequiredException, __BaseException>);
2754
- }
2755
- /**
2756
- * <p>An array of target objects is required. It cannot be empty or null.</p>
2757
- * @public
2758
- */
2759
- export declare class TargetsRequiredException extends __BaseException {
2760
- readonly name: "TargetsRequiredException";
2761
- readonly $fault: "client";
2762
- /**
2763
- * @internal
2764
- */
2765
- constructor(opts: __ExceptionOptionType<TargetsRequiredException, __BaseException>);
2766
- }
2767
- /**
2768
- * <p>A pull request title is required. It cannot be empty or null.</p>
2769
- * @public
2770
- */
2771
- export declare class TitleRequiredException extends __BaseException {
2772
- readonly name: "TitleRequiredException";
2773
- readonly $fault: "client";
2774
- /**
2775
- * @internal
2776
- */
2777
- constructor(opts: __ExceptionOptionType<TitleRequiredException, __BaseException>);
2778
- }
2779
1433
  /**
2780
1434
  * @public
2781
1435
  */
@@ -2847,90 +1501,6 @@ export interface CreatePullRequestApprovalRuleOutput {
2847
1501
  */
2848
1502
  approvalRule: ApprovalRule | undefined;
2849
1503
  }
2850
- /**
2851
- * <p>The content for the approval rule is not valid.</p>
2852
- * @public
2853
- */
2854
- export declare class InvalidApprovalRuleContentException extends __BaseException {
2855
- readonly name: "InvalidApprovalRuleContentException";
2856
- readonly $fault: "client";
2857
- /**
2858
- * @internal
2859
- */
2860
- constructor(opts: __ExceptionOptionType<InvalidApprovalRuleContentException, __BaseException>);
2861
- }
2862
- /**
2863
- * <p>The name for the approval rule is not valid.</p>
2864
- * @public
2865
- */
2866
- export declare class InvalidApprovalRuleNameException extends __BaseException {
2867
- readonly name: "InvalidApprovalRuleNameException";
2868
- readonly $fault: "client";
2869
- /**
2870
- * @internal
2871
- */
2872
- constructor(opts: __ExceptionOptionType<InvalidApprovalRuleNameException, __BaseException>);
2873
- }
2874
- /**
2875
- * <p>The pull request ID is not valid. Make sure that you have provided the full ID and that the pull request is in the specified repository, and then try again.</p>
2876
- * @public
2877
- */
2878
- export declare class InvalidPullRequestIdException extends __BaseException {
2879
- readonly name: "InvalidPullRequestIdException";
2880
- readonly $fault: "client";
2881
- /**
2882
- * @internal
2883
- */
2884
- constructor(opts: __ExceptionOptionType<InvalidPullRequestIdException, __BaseException>);
2885
- }
2886
- /**
2887
- * <p>The approval rule cannot be added. The pull request has the maximum number of approval rules associated with it.</p>
2888
- * @public
2889
- */
2890
- export declare class NumberOfRulesExceededException extends __BaseException {
2891
- readonly name: "NumberOfRulesExceededException";
2892
- readonly $fault: "client";
2893
- /**
2894
- * @internal
2895
- */
2896
- constructor(opts: __ExceptionOptionType<NumberOfRulesExceededException, __BaseException>);
2897
- }
2898
- /**
2899
- * <p>The pull request status cannot be updated because it is already closed.</p>
2900
- * @public
2901
- */
2902
- export declare class PullRequestAlreadyClosedException extends __BaseException {
2903
- readonly name: "PullRequestAlreadyClosedException";
2904
- readonly $fault: "client";
2905
- /**
2906
- * @internal
2907
- */
2908
- constructor(opts: __ExceptionOptionType<PullRequestAlreadyClosedException, __BaseException>);
2909
- }
2910
- /**
2911
- * <p>The pull request ID could not be found. Make sure that you have specified the correct repository name and pull request ID, and then try again.</p>
2912
- * @public
2913
- */
2914
- export declare class PullRequestDoesNotExistException extends __BaseException {
2915
- readonly name: "PullRequestDoesNotExistException";
2916
- readonly $fault: "client";
2917
- /**
2918
- * @internal
2919
- */
2920
- constructor(opts: __ExceptionOptionType<PullRequestDoesNotExistException, __BaseException>);
2921
- }
2922
- /**
2923
- * <p>A pull request ID is required, but none was provided.</p>
2924
- * @public
2925
- */
2926
- export declare class PullRequestIdRequiredException extends __BaseException {
2927
- readonly name: "PullRequestIdRequiredException";
2928
- readonly $fault: "client";
2929
- /**
2930
- * @internal
2931
- */
2932
- constructor(opts: __ExceptionOptionType<PullRequestIdRequiredException, __BaseException>);
2933
- }
2934
1504
  /**
2935
1505
  * <p>Represents the input of a create repository operation.</p>
2936
1506
  * @public
@@ -2986,153 +1556,6 @@ export interface CreateRepositoryOutput {
2986
1556
  */
2987
1557
  repositoryMetadata?: RepositoryMetadata | undefined;
2988
1558
  }
2989
- /**
2990
- * <p>The Key Management Service encryption key is not valid.</p>
2991
- * @public
2992
- */
2993
- export declare class EncryptionKeyInvalidIdException extends __BaseException {
2994
- readonly name: "EncryptionKeyInvalidIdException";
2995
- readonly $fault: "client";
2996
- /**
2997
- * @internal
2998
- */
2999
- constructor(opts: __ExceptionOptionType<EncryptionKeyInvalidIdException, __BaseException>);
3000
- }
3001
- /**
3002
- * <p>A KMS encryption key was used to try and encrypt or decrypt a repository, but either the repository or the key was not
3003
- * in a valid state to support the operation.</p>
3004
- * @public
3005
- */
3006
- export declare class EncryptionKeyInvalidUsageException extends __BaseException {
3007
- readonly name: "EncryptionKeyInvalidUsageException";
3008
- readonly $fault: "client";
3009
- /**
3010
- * @internal
3011
- */
3012
- constructor(opts: __ExceptionOptionType<EncryptionKeyInvalidUsageException, __BaseException>);
3013
- }
3014
- /**
3015
- * <p>The specified repository description is not valid.</p>
3016
- * @public
3017
- */
3018
- export declare class InvalidRepositoryDescriptionException extends __BaseException {
3019
- readonly name: "InvalidRepositoryDescriptionException";
3020
- readonly $fault: "client";
3021
- /**
3022
- * @internal
3023
- */
3024
- constructor(opts: __ExceptionOptionType<InvalidRepositoryDescriptionException, __BaseException>);
3025
- }
3026
- /**
3027
- * <p>The specified tag is not valid. Key names cannot be prefixed with aws:.</p>
3028
- * @public
3029
- */
3030
- export declare class InvalidSystemTagUsageException extends __BaseException {
3031
- readonly name: "InvalidSystemTagUsageException";
3032
- readonly $fault: "client";
3033
- /**
3034
- * @internal
3035
- */
3036
- constructor(opts: __ExceptionOptionType<InvalidSystemTagUsageException, __BaseException>);
3037
- }
3038
- /**
3039
- * <p>The map of tags is not valid.</p>
3040
- * @public
3041
- */
3042
- export declare class InvalidTagsMapException extends __BaseException {
3043
- readonly name: "InvalidTagsMapException";
3044
- readonly $fault: "client";
3045
- /**
3046
- * @internal
3047
- */
3048
- constructor(opts: __ExceptionOptionType<InvalidTagsMapException, __BaseException>);
3049
- }
3050
- /**
3051
- * <p>The requested action is not allowed.</p>
3052
- * @public
3053
- */
3054
- export declare class OperationNotAllowedException extends __BaseException {
3055
- readonly name: "OperationNotAllowedException";
3056
- readonly $fault: "client";
3057
- /**
3058
- * @internal
3059
- */
3060
- constructor(opts: __ExceptionOptionType<OperationNotAllowedException, __BaseException>);
3061
- }
3062
- /**
3063
- * <p>A repository resource limit was exceeded.</p>
3064
- * @public
3065
- */
3066
- export declare class RepositoryLimitExceededException extends __BaseException {
3067
- readonly name: "RepositoryLimitExceededException";
3068
- readonly $fault: "client";
3069
- /**
3070
- * @internal
3071
- */
3072
- constructor(opts: __ExceptionOptionType<RepositoryLimitExceededException, __BaseException>);
3073
- }
3074
- /**
3075
- * <p>The specified repository name already exists.</p>
3076
- * @public
3077
- */
3078
- export declare class RepositoryNameExistsException extends __BaseException {
3079
- readonly name: "RepositoryNameExistsException";
3080
- readonly $fault: "client";
3081
- /**
3082
- * @internal
3083
- */
3084
- constructor(opts: __ExceptionOptionType<RepositoryNameExistsException, __BaseException>);
3085
- }
3086
- /**
3087
- * <p>The tag policy is not valid.</p>
3088
- * @public
3089
- */
3090
- export declare class TagPolicyException extends __BaseException {
3091
- readonly name: "TagPolicyException";
3092
- readonly $fault: "client";
3093
- /**
3094
- * @internal
3095
- */
3096
- constructor(opts: __ExceptionOptionType<TagPolicyException, __BaseException>);
3097
- }
3098
- /**
3099
- * <p>The maximum number of tags for an CodeCommit resource has been exceeded.</p>
3100
- * @public
3101
- */
3102
- export declare class TooManyTagsException extends __BaseException {
3103
- readonly name: "TooManyTagsException";
3104
- readonly $fault: "client";
3105
- /**
3106
- * @internal
3107
- */
3108
- constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
3109
- }
3110
- /**
3111
- * <p>The merge cannot be completed because the target branch has been modified. Another user might have modified the target branch while the merge was in progress. Wait a few minutes, and then try again.</p>
3112
- * @public
3113
- */
3114
- export declare class ConcurrentReferenceUpdateException extends __BaseException {
3115
- readonly name: "ConcurrentReferenceUpdateException";
3116
- readonly $fault: "client";
3117
- /**
3118
- * @internal
3119
- */
3120
- constructor(opts: __ExceptionOptionType<ConcurrentReferenceUpdateException, __BaseException>);
3121
- }
3122
- /**
3123
- * @public
3124
- * @enum
3125
- */
3126
- export declare const ReplacementTypeEnum: {
3127
- readonly KEEP_BASE: "KEEP_BASE";
3128
- readonly KEEP_DESTINATION: "KEEP_DESTINATION";
3129
- readonly KEEP_SOURCE: "KEEP_SOURCE";
3130
- readonly USE_NEW_CONTENT: "USE_NEW_CONTENT";
3131
- };
3132
- /**
3133
- * @public
3134
- */
3135
- export type ReplacementTypeEnum = (typeof ReplacementTypeEnum)[keyof typeof ReplacementTypeEnum];
3136
1559
  /**
3137
1560
  * <p>Information about a replacement content entry in the conflict of a merge or pull request operation.</p>
3138
1561
  * @public
@@ -3267,102 +1690,6 @@ export interface CreateUnreferencedMergeCommitOutput {
3267
1690
  */
3268
1691
  treeId?: string | undefined;
3269
1692
  }
3270
- /**
3271
- * <p>The specified conflict resolution list is not valid.</p>
3272
- * @public
3273
- */
3274
- export declare class InvalidConflictResolutionException extends __BaseException {
3275
- readonly name: "InvalidConflictResolutionException";
3276
- readonly $fault: "client";
3277
- /**
3278
- * @internal
3279
- */
3280
- constructor(opts: __ExceptionOptionType<InvalidConflictResolutionException, __BaseException>);
3281
- }
3282
- /**
3283
- * <p>Automerge was specified for resolving the conflict, but the replacement type is not valid or content is missing. </p>
3284
- * @public
3285
- */
3286
- export declare class InvalidReplacementContentException extends __BaseException {
3287
- readonly name: "InvalidReplacementContentException";
3288
- readonly $fault: "client";
3289
- /**
3290
- * @internal
3291
- */
3292
- constructor(opts: __ExceptionOptionType<InvalidReplacementContentException, __BaseException>);
3293
- }
3294
- /**
3295
- * <p>Automerge was specified for resolving the conflict, but the specified replacement type is not valid.</p>
3296
- * @public
3297
- */
3298
- export declare class InvalidReplacementTypeException extends __BaseException {
3299
- readonly name: "InvalidReplacementTypeException";
3300
- readonly $fault: "client";
3301
- /**
3302
- * @internal
3303
- */
3304
- constructor(opts: __ExceptionOptionType<InvalidReplacementTypeException, __BaseException>);
3305
- }
3306
- /**
3307
- * <p>The pull request cannot be merged automatically into the destination branch. You must manually merge the branches and resolve any conflicts.</p>
3308
- * @public
3309
- */
3310
- export declare class ManualMergeRequiredException extends __BaseException {
3311
- readonly name: "ManualMergeRequiredException";
3312
- readonly $fault: "client";
3313
- /**
3314
- * @internal
3315
- */
3316
- constructor(opts: __ExceptionOptionType<ManualMergeRequiredException, __BaseException>);
3317
- }
3318
- /**
3319
- * <p>The number of allowed conflict resolution entries was exceeded.</p>
3320
- * @public
3321
- */
3322
- export declare class MaximumConflictResolutionEntriesExceededException extends __BaseException {
3323
- readonly name: "MaximumConflictResolutionEntriesExceededException";
3324
- readonly $fault: "client";
3325
- /**
3326
- * @internal
3327
- */
3328
- constructor(opts: __ExceptionOptionType<MaximumConflictResolutionEntriesExceededException, __BaseException>);
3329
- }
3330
- /**
3331
- * <p>More than one conflict resolution entries exists for the conflict. A conflict can have only one conflict resolution entry.</p>
3332
- * @public
3333
- */
3334
- export declare class MultipleConflictResolutionEntriesException extends __BaseException {
3335
- readonly name: "MultipleConflictResolutionEntriesException";
3336
- readonly $fault: "client";
3337
- /**
3338
- * @internal
3339
- */
3340
- constructor(opts: __ExceptionOptionType<MultipleConflictResolutionEntriesException, __BaseException>);
3341
- }
3342
- /**
3343
- * <p>USE_NEW_CONTENT was specified, but no replacement content has been provided.</p>
3344
- * @public
3345
- */
3346
- export declare class ReplacementContentRequiredException extends __BaseException {
3347
- readonly name: "ReplacementContentRequiredException";
3348
- readonly $fault: "client";
3349
- /**
3350
- * @internal
3351
- */
3352
- constructor(opts: __ExceptionOptionType<ReplacementContentRequiredException, __BaseException>);
3353
- }
3354
- /**
3355
- * <p>A replacement type is required.</p>
3356
- * @public
3357
- */
3358
- export declare class ReplacementTypeRequiredException extends __BaseException {
3359
- readonly name: "ReplacementTypeRequiredException";
3360
- readonly $fault: "client";
3361
- /**
3362
- * @internal
3363
- */
3364
- constructor(opts: __ExceptionOptionType<ReplacementTypeRequiredException, __BaseException>);
3365
- }
3366
1693
  /**
3367
1694
  * @public
3368
1695
  */
@@ -3384,18 +1711,6 @@ export interface DeleteApprovalRuleTemplateOutput {
3384
1711
  */
3385
1712
  approvalRuleTemplateId: string | undefined;
3386
1713
  }
3387
- /**
3388
- * <p>The specified branch is the default branch for the repository, and cannot be deleted. To delete this branch, you must first set another branch as the default branch.</p>
3389
- * @public
3390
- */
3391
- export declare class DefaultBranchCannotBeDeletedException extends __BaseException {
3392
- readonly name: "DefaultBranchCannotBeDeletedException";
3393
- readonly $fault: "client";
3394
- /**
3395
- * @internal
3396
- */
3397
- constructor(opts: __ExceptionOptionType<DefaultBranchCannotBeDeletedException, __BaseException>);
3398
- }
3399
1714
  /**
3400
1715
  * <p>Represents the input of a delete branch operation.</p>
3401
1716
  * @public
@@ -3423,43 +1738,6 @@ export interface DeleteBranchOutput {
3423
1738
  */
3424
1739
  deletedBranch?: BranchInfo | undefined;
3425
1740
  }
3426
- /**
3427
- * <p>This comment has already been deleted. You cannot edit or delete a deleted comment.</p>
3428
- * @public
3429
- */
3430
- export declare class CommentDeletedException extends __BaseException {
3431
- readonly name: "CommentDeletedException";
3432
- readonly $fault: "client";
3433
- /**
3434
- * @internal
3435
- */
3436
- constructor(opts: __ExceptionOptionType<CommentDeletedException, __BaseException>);
3437
- }
3438
- /**
3439
- * <p>No comment exists with the provided ID. Verify that you have used the correct ID, and
3440
- * then try again.</p>
3441
- * @public
3442
- */
3443
- export declare class CommentDoesNotExistException extends __BaseException {
3444
- readonly name: "CommentDoesNotExistException";
3445
- readonly $fault: "client";
3446
- /**
3447
- * @internal
3448
- */
3449
- constructor(opts: __ExceptionOptionType<CommentDoesNotExistException, __BaseException>);
3450
- }
3451
- /**
3452
- * <p>The comment ID is missing or null. A comment ID is required.</p>
3453
- * @public
3454
- */
3455
- export declare class CommentIdRequiredException extends __BaseException {
3456
- readonly name: "CommentIdRequiredException";
3457
- readonly $fault: "client";
3458
- /**
3459
- * @internal
3460
- */
3461
- constructor(opts: __ExceptionOptionType<CommentIdRequiredException, __BaseException>);
3462
- }
3463
1741
  /**
3464
1742
  * @public
3465
1743
  */
@@ -3540,18 +1818,6 @@ export interface DeleteCommentContentOutput {
3540
1818
  */
3541
1819
  comment?: Comment | undefined;
3542
1820
  }
3543
- /**
3544
- * <p>The comment ID is not in a valid format. Make sure that you have provided the full comment ID.</p>
3545
- * @public
3546
- */
3547
- export declare class InvalidCommentIdException extends __BaseException {
3548
- readonly name: "InvalidCommentIdException";
3549
- readonly $fault: "client";
3550
- /**
3551
- * @internal
3552
- */
3553
- constructor(opts: __ExceptionOptionType<InvalidCommentIdException, __BaseException>);
3554
- }
3555
1821
  /**
3556
1822
  * @public
3557
1823
  */
@@ -3778,25 +2044,6 @@ export interface DescribeMergeConflictsOutput {
3778
2044
  */
3779
2045
  baseCommitId?: string | undefined;
3780
2046
  }
3781
- /**
3782
- * @public
3783
- * @enum
3784
- */
3785
- export declare const PullRequestEventType: {
3786
- readonly PULL_REQUEST_APPROVAL_RULE_CREATED: "PULL_REQUEST_APPROVAL_RULE_CREATED";
3787
- readonly PULL_REQUEST_APPROVAL_RULE_DELETED: "PULL_REQUEST_APPROVAL_RULE_DELETED";
3788
- readonly PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN: "PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN";
3789
- readonly PULL_REQUEST_APPROVAL_RULE_UPDATED: "PULL_REQUEST_APPROVAL_RULE_UPDATED";
3790
- readonly PULL_REQUEST_APPROVAL_STATE_CHANGED: "PULL_REQUEST_APPROVAL_STATE_CHANGED";
3791
- readonly PULL_REQUEST_CREATED: "PULL_REQUEST_CREATED";
3792
- readonly PULL_REQUEST_MERGE_STATE_CHANGED: "PULL_REQUEST_MERGE_STATE_CHANGED";
3793
- readonly PULL_REQUEST_SOURCE_REFERENCE_UPDATED: "PULL_REQUEST_SOURCE_REFERENCE_UPDATED";
3794
- readonly PULL_REQUEST_STATUS_CHANGED: "PULL_REQUEST_STATUS_CHANGED";
3795
- };
3796
- /**
3797
- * @public
3798
- */
3799
- export type PullRequestEventType = (typeof PullRequestEventType)[keyof typeof PullRequestEventType];
3800
2047
  /**
3801
2048
  * @public
3802
2049
  */
@@ -3995,43 +2242,6 @@ export interface DescribePullRequestEventsOutput {
3995
2242
  */
3996
2243
  nextToken?: string | undefined;
3997
2244
  }
3998
- /**
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,
4000
- * and then try again.</p>
4001
- * @public
4002
- */
4003
- export declare class InvalidActorArnException extends __BaseException {
4004
- readonly name: "InvalidActorArnException";
4005
- readonly $fault: "client";
4006
- /**
4007
- * @internal
4008
- */
4009
- constructor(opts: __ExceptionOptionType<InvalidActorArnException, __BaseException>);
4010
- }
4011
- /**
4012
- * <p>The specified number of maximum results is not valid.</p>
4013
- * @public
4014
- */
4015
- export declare class InvalidMaxResultsException extends __BaseException {
4016
- readonly name: "InvalidMaxResultsException";
4017
- readonly $fault: "client";
4018
- /**
4019
- * @internal
4020
- */
4021
- constructor(opts: __ExceptionOptionType<InvalidMaxResultsException, __BaseException>);
4022
- }
4023
- /**
4024
- * <p>The pull request event type is not valid. </p>
4025
- * @public
4026
- */
4027
- export declare class InvalidPullRequestEventTypeException extends __BaseException {
4028
- readonly name: "InvalidPullRequestEventTypeException";
4029
- readonly $fault: "client";
4030
- /**
4031
- * @internal
4032
- */
4033
- constructor(opts: __ExceptionOptionType<InvalidPullRequestEventTypeException, __BaseException>);
4034
- }
4035
2245
  /**
4036
2246
  * @public
4037
2247
  */
@@ -4101,42 +2311,6 @@ export interface EvaluatePullRequestApprovalRulesOutput {
4101
2311
  */
4102
2312
  evaluation: Evaluation | undefined;
4103
2313
  }
4104
- /**
4105
- * <p>The revision ID is not valid. Use GetPullRequest to determine the value.</p>
4106
- * @public
4107
- */
4108
- export declare class InvalidRevisionIdException extends __BaseException {
4109
- readonly name: "InvalidRevisionIdException";
4110
- readonly $fault: "client";
4111
- /**
4112
- * @internal
4113
- */
4114
- constructor(opts: __ExceptionOptionType<InvalidRevisionIdException, __BaseException>);
4115
- }
4116
- /**
4117
- * <p>A revision ID is required, but was not provided.</p>
4118
- * @public
4119
- */
4120
- export declare class RevisionIdRequiredException extends __BaseException {
4121
- readonly name: "RevisionIdRequiredException";
4122
- readonly $fault: "client";
4123
- /**
4124
- * @internal
4125
- */
4126
- constructor(opts: __ExceptionOptionType<RevisionIdRequiredException, __BaseException>);
4127
- }
4128
- /**
4129
- * <p>The revision ID provided in the request does not match the current revision ID. Use GetPullRequest to retrieve the current revision ID.</p>
4130
- * @public
4131
- */
4132
- export declare class RevisionNotCurrentException extends __BaseException {
4133
- readonly name: "RevisionNotCurrentException";
4134
- readonly $fault: "client";
4135
- /**
4136
- * @internal
4137
- */
4138
- constructor(opts: __ExceptionOptionType<RevisionNotCurrentException, __BaseException>);
4139
- }
4140
2314
  /**
4141
2315
  * @public
4142
2316
  */
@@ -4157,19 +2331,6 @@ export interface GetApprovalRuleTemplateOutput {
4157
2331
  */
4158
2332
  approvalRuleTemplate: ApprovalRuleTemplate | undefined;
4159
2333
  }
4160
- /**
4161
- * <p>The specified file exceeds the file size limit for CodeCommit. For more information about limits in CodeCommit, see
4162
- * <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Quotas</a> in the <i>CodeCommit User Guide</i>.</p>
4163
- * @public
4164
- */
4165
- export declare class FileTooLargeException extends __BaseException {
4166
- readonly name: "FileTooLargeException";
4167
- readonly $fault: "client";
4168
- /**
4169
- * @internal
4170
- */
4171
- constructor(opts: __ExceptionOptionType<FileTooLargeException, __BaseException>);
4172
- }
4173
2334
  /**
4174
2335
  * <p>Represents the input of a get blob operation.</p>
4175
2336
  * @public
@@ -4197,18 +2358,6 @@ export interface GetBlobOutput {
4197
2358
  */
4198
2359
  content: Uint8Array | undefined;
4199
2360
  }
4200
- /**
4201
- * <p>The specified blob is not valid.</p>
4202
- * @public
4203
- */
4204
- export declare class InvalidBlobIdException extends __BaseException {
4205
- readonly name: "InvalidBlobIdException";
4206
- readonly $fault: "client";
4207
- /**
4208
- * @internal
4209
- */
4210
- constructor(opts: __ExceptionOptionType<InvalidBlobIdException, __BaseException>);
4211
- }
4212
2361
  /**
4213
2362
  * <p>Represents the input of a get branch operation.</p>
4214
2363
  * @public
@@ -4340,18 +2489,6 @@ export interface GetCommentReactionsOutput {
4340
2489
  */
4341
2490
  nextToken?: string | undefined;
4342
2491
  }
4343
- /**
4344
- * <p>The Amazon Resource Name (ARN) of the user or identity is not valid.</p>
4345
- * @public
4346
- */
4347
- export declare class InvalidReactionUserArnException extends __BaseException {
4348
- readonly name: "InvalidReactionUserArnException";
4349
- readonly $fault: "client";
4350
- /**
4351
- * @internal
4352
- */
4353
- constructor(opts: __ExceptionOptionType<InvalidReactionUserArnException, __BaseException>);
4354
- }
4355
2492
  /**
4356
2493
  * @public
4357
2494
  */
@@ -4386,19 +2523,7 @@ export interface GetCommentsForComparedCommitInput {
4386
2523
  maxResults?: number | undefined;
4387
2524
  }
4388
2525
  /**
4389
- * @public
4390
- * @enum
4391
- */
4392
- export declare const RelativeFileVersionEnum: {
4393
- readonly AFTER: "AFTER";
4394
- readonly BEFORE: "BEFORE";
4395
- };
4396
- /**
4397
- * @public
4398
- */
4399
- export type RelativeFileVersionEnum = (typeof RelativeFileVersionEnum)[keyof typeof RelativeFileVersionEnum];
4400
- /**
4401
- * <p>Returns information about the location of a change or comment in the comparison between two commits or a pull request.</p>
2526
+ * <p>Returns information about the location of a change or comment in the comparison between two commits or a pull request.</p>
4402
2527
  * @public
4403
2528
  */
4404
2529
  export interface Location {
@@ -4585,30 +2710,6 @@ export interface GetCommentsForPullRequestOutput {
4585
2710
  */
4586
2711
  nextToken?: string | undefined;
4587
2712
  }
4588
- /**
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>
4590
- * @public
4591
- */
4592
- export declare class RepositoryNotAssociatedWithPullRequestException extends __BaseException {
4593
- readonly name: "RepositoryNotAssociatedWithPullRequestException";
4594
- readonly $fault: "client";
4595
- /**
4596
- * @internal
4597
- */
4598
- constructor(opts: __ExceptionOptionType<RepositoryNotAssociatedWithPullRequestException, __BaseException>);
4599
- }
4600
- /**
4601
- * <p>The specified commit ID does not exist.</p>
4602
- * @public
4603
- */
4604
- export declare class CommitIdDoesNotExistException extends __BaseException {
4605
- readonly name: "CommitIdDoesNotExistException";
4606
- readonly $fault: "client";
4607
- /**
4608
- * @internal
4609
- */
4610
- constructor(opts: __ExceptionOptionType<CommitIdDoesNotExistException, __BaseException>);
4611
- }
4612
2713
  /**
4613
2714
  * <p>Represents the input of a get commit operation.</p>
4614
2715
  * @public
@@ -4725,18 +2826,6 @@ export interface GetDifferencesOutput {
4725
2826
  */
4726
2827
  NextToken?: string | undefined;
4727
2828
  }
4728
- /**
4729
- * <p>The specified path does not exist.</p>
4730
- * @public
4731
- */
4732
- export declare class PathDoesNotExistException extends __BaseException {
4733
- readonly name: "PathDoesNotExistException";
4734
- readonly $fault: "client";
4735
- /**
4736
- * @internal
4737
- */
4738
- constructor(opts: __ExceptionOptionType<PathDoesNotExistException, __BaseException>);
4739
- }
4740
2829
  /**
4741
2830
  * @public
4742
2831
  */
@@ -4802,19 +2891,6 @@ export interface GetFileOutput {
4802
2891
  */
4803
2892
  fileContent: Uint8Array | undefined;
4804
2893
  }
4805
- /**
4806
- * <p>The specified folder does not exist. Either the folder name is not correct, or you did
4807
- * not enter the full path to the folder.</p>
4808
- * @public
4809
- */
4810
- export declare class FolderDoesNotExistException extends __BaseException {
4811
- readonly name: "FolderDoesNotExistException";
4812
- readonly $fault: "client";
4813
- /**
4814
- * @internal
4815
- */
4816
- constructor(opts: __ExceptionOptionType<FolderDoesNotExistException, __BaseException>);
4817
- }
4818
2894
  /**
4819
2895
  * @public
4820
2896
  */
@@ -5129,30 +3205,6 @@ export interface GetMergeConflictsOutput {
5129
3205
  */
5130
3206
  nextToken?: string | undefined;
5131
3207
  }
5132
- /**
5133
- * <p>The destination commit specifier is not valid. You must provide a valid branch name, tag, or full commit ID. </p>
5134
- * @public
5135
- */
5136
- export declare class InvalidDestinationCommitSpecifierException extends __BaseException {
5137
- readonly name: "InvalidDestinationCommitSpecifierException";
5138
- readonly $fault: "client";
5139
- /**
5140
- * @internal
5141
- */
5142
- constructor(opts: __ExceptionOptionType<InvalidDestinationCommitSpecifierException, __BaseException>);
5143
- }
5144
- /**
5145
- * <p>The source commit specifier is not valid. You must provide a valid branch name, tag, or full commit ID.</p>
5146
- * @public
5147
- */
5148
- export declare class InvalidSourceCommitSpecifierException extends __BaseException {
5149
- readonly name: "InvalidSourceCommitSpecifierException";
5150
- readonly $fault: "client";
5151
- /**
5152
- * @internal
5153
- */
5154
- constructor(opts: __ExceptionOptionType<InvalidSourceCommitSpecifierException, __BaseException>);
5155
- }
5156
3208
  /**
5157
3209
  * @public
5158
3210
  */
@@ -5325,20 +3377,6 @@ export interface GetRepositoryTriggersInput {
5325
3377
  */
5326
3378
  repositoryName: string | undefined;
5327
3379
  }
5328
- /**
5329
- * @public
5330
- * @enum
5331
- */
5332
- export declare const RepositoryTriggerEventEnum: {
5333
- readonly ALL: "all";
5334
- readonly CREATE_REFERENCE: "createReference";
5335
- readonly DELETE_REFERENCE: "deleteReference";
5336
- readonly UPDATE_REFERENCE: "updateReference";
5337
- };
5338
- /**
5339
- * @public
5340
- */
5341
- export type RepositoryTriggerEventEnum = (typeof RepositoryTriggerEventEnum)[keyof typeof RepositoryTriggerEventEnum];
5342
3380
  /**
5343
3381
  * <p>Information about a trigger for a repository. </p>
5344
3382
  * <note>
@@ -5534,3 +3572,1419 @@ export interface ListFileCommitHistoryRequest {
5534
3572
  */
5535
3573
  nextToken?: string | undefined;
5536
3574
  }
3575
+ /**
3576
+ * <p>Information about a version of a file.</p>
3577
+ * @public
3578
+ */
3579
+ export interface FileVersion {
3580
+ /**
3581
+ * <p>Returns information about a specific commit.</p>
3582
+ * @public
3583
+ */
3584
+ commit?: Commit | undefined;
3585
+ /**
3586
+ * <p>The blob ID of the object that represents the content of the file in this version.</p>
3587
+ * @public
3588
+ */
3589
+ blobId?: string | undefined;
3590
+ /**
3591
+ * <p>The name and path of the file at which this blob is indexed which contains the data for this version of the file. This value will
3592
+ * vary between file versions if a file is renamed or if its path changes.</p>
3593
+ * @public
3594
+ */
3595
+ path?: string | undefined;
3596
+ /**
3597
+ * <p>An array of commit IDs that contain more recent versions of this file. If there are no additional versions of the file, this array will be empty.</p>
3598
+ * @public
3599
+ */
3600
+ revisionChildren?: string[] | undefined;
3601
+ }
3602
+ /**
3603
+ * @public
3604
+ */
3605
+ export interface ListFileCommitHistoryResponse {
3606
+ /**
3607
+ * <p>An array of FileVersion objects that form a directed acyclic graph (DAG) of the changes to the file made by the commits that changed the file.</p>
3608
+ * @public
3609
+ */
3610
+ revisionDag: FileVersion[] | undefined;
3611
+ /**
3612
+ * <p>An enumeration token that can be used to return the next batch of results.</p>
3613
+ * @public
3614
+ */
3615
+ nextToken?: string | undefined;
3616
+ }
3617
+ /**
3618
+ * @public
3619
+ */
3620
+ export interface ListPullRequestsInput {
3621
+ /**
3622
+ * <p>The name of the repository for which you want to list pull requests.</p>
3623
+ * @public
3624
+ */
3625
+ repositoryName: string | undefined;
3626
+ /**
3627
+ * <p>Optional. The Amazon Resource Name (ARN) of the user who created the pull request. If used, this filters the results
3628
+ * to pull requests created by that user.</p>
3629
+ * @public
3630
+ */
3631
+ authorArn?: string | undefined;
3632
+ /**
3633
+ * <p>Optional. The status of the pull request. If used, this refines the results to the pull requests that match the specified status.</p>
3634
+ * @public
3635
+ */
3636
+ pullRequestStatus?: PullRequestStatusEnum | undefined;
3637
+ /**
3638
+ * <p>An enumeration token that, when provided in a request, returns the next batch of the
3639
+ * results.</p>
3640
+ * @public
3641
+ */
3642
+ nextToken?: string | undefined;
3643
+ /**
3644
+ * <p>A non-zero, non-negative integer used to limit the number of returned results.</p>
3645
+ * @public
3646
+ */
3647
+ maxResults?: number | undefined;
3648
+ }
3649
+ /**
3650
+ * @public
3651
+ */
3652
+ export interface ListPullRequestsOutput {
3653
+ /**
3654
+ * <p>The system-generated IDs of the pull requests.</p>
3655
+ * @public
3656
+ */
3657
+ pullRequestIds: string[] | undefined;
3658
+ /**
3659
+ * <p>An enumeration token that allows the operation to batch the next results of the operation.</p>
3660
+ * @public
3661
+ */
3662
+ nextToken?: string | undefined;
3663
+ }
3664
+ /**
3665
+ * <p>Represents the input of a list repositories operation.</p>
3666
+ * @public
3667
+ */
3668
+ export interface ListRepositoriesInput {
3669
+ /**
3670
+ * <p>An enumeration token that allows the operation to batch the results of the operation.
3671
+ * Batch sizes are 1,000 for list repository operations. When the client sends the token back to CodeCommit,
3672
+ * another page of 1,000 records is retrieved.</p>
3673
+ * @public
3674
+ */
3675
+ nextToken?: string | undefined;
3676
+ /**
3677
+ * <p>The criteria used to sort the results of a list repositories operation.</p>
3678
+ * @public
3679
+ */
3680
+ sortBy?: SortByEnum | undefined;
3681
+ /**
3682
+ * <p>The order in which to sort the results of a list repositories operation.</p>
3683
+ * @public
3684
+ */
3685
+ order?: OrderEnum | undefined;
3686
+ }
3687
+ /**
3688
+ * <p>Information about a repository name and ID.</p>
3689
+ * @public
3690
+ */
3691
+ export interface RepositoryNameIdPair {
3692
+ /**
3693
+ * <p>The name associated with the repository.</p>
3694
+ * @public
3695
+ */
3696
+ repositoryName?: string | undefined;
3697
+ /**
3698
+ * <p>The ID associated with the repository.</p>
3699
+ * @public
3700
+ */
3701
+ repositoryId?: string | undefined;
3702
+ }
3703
+ /**
3704
+ * <p>Represents the output of a list repositories operation.</p>
3705
+ * @public
3706
+ */
3707
+ export interface ListRepositoriesOutput {
3708
+ /**
3709
+ * <p>Lists the repositories called by the list repositories operation.</p>
3710
+ * @public
3711
+ */
3712
+ repositories?: RepositoryNameIdPair[] | undefined;
3713
+ /**
3714
+ * <p>An enumeration token that allows the operation to batch the results of the operation.
3715
+ * Batch sizes are 1,000 for list repository operations. When the client sends the token back to CodeCommit,
3716
+ * another page of 1,000 records is retrieved.</p>
3717
+ * @public
3718
+ */
3719
+ nextToken?: string | undefined;
3720
+ }
3721
+ /**
3722
+ * @public
3723
+ */
3724
+ export interface ListRepositoriesForApprovalRuleTemplateInput {
3725
+ /**
3726
+ * <p>The name of the approval rule template for which you want to list repositories that are associated with that template.</p>
3727
+ * @public
3728
+ */
3729
+ approvalRuleTemplateName: string | undefined;
3730
+ /**
3731
+ * <p>An enumeration token that, when provided in a request, returns the next batch of the
3732
+ * results.</p>
3733
+ * @public
3734
+ */
3735
+ nextToken?: string | undefined;
3736
+ /**
3737
+ * <p>A non-zero, non-negative integer used to limit the number of returned results.</p>
3738
+ * @public
3739
+ */
3740
+ maxResults?: number | undefined;
3741
+ }
3742
+ /**
3743
+ * @public
3744
+ */
3745
+ export interface ListRepositoriesForApprovalRuleTemplateOutput {
3746
+ /**
3747
+ * <p>A list of repository names that are associated with the specified approval rule template.</p>
3748
+ * @public
3749
+ */
3750
+ repositoryNames?: string[] | undefined;
3751
+ /**
3752
+ * <p>An enumeration token that allows the operation to batch the next results of the operation.</p>
3753
+ * @public
3754
+ */
3755
+ nextToken?: string | undefined;
3756
+ }
3757
+ /**
3758
+ * @public
3759
+ */
3760
+ export interface ListTagsForResourceInput {
3761
+ /**
3762
+ * <p>The Amazon Resource Name (ARN) of the resource for which you want to get information
3763
+ * about tags, if any.</p>
3764
+ * @public
3765
+ */
3766
+ resourceArn: string | undefined;
3767
+ /**
3768
+ * <p>An enumeration token that, when provided in a request, returns the next batch of the
3769
+ * results.</p>
3770
+ * @public
3771
+ */
3772
+ nextToken?: string | undefined;
3773
+ }
3774
+ /**
3775
+ * @public
3776
+ */
3777
+ export interface ListTagsForResourceOutput {
3778
+ /**
3779
+ * <p>A list of tag key and value pairs associated with the specified resource.</p>
3780
+ * @public
3781
+ */
3782
+ tags?: Record<string, string> | undefined;
3783
+ /**
3784
+ * <p>An enumeration token that allows the operation to batch the next results of the operation.</p>
3785
+ * @public
3786
+ */
3787
+ nextToken?: string | undefined;
3788
+ }
3789
+ /**
3790
+ * @public
3791
+ */
3792
+ export interface MergeBranchesByFastForwardInput {
3793
+ /**
3794
+ * <p>The name of the repository where you want to merge two branches.</p>
3795
+ * @public
3796
+ */
3797
+ repositoryName: string | undefined;
3798
+ /**
3799
+ * <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
3800
+ * (for example, a branch name or a full commit ID).</p>
3801
+ * @public
3802
+ */
3803
+ sourceCommitSpecifier: string | undefined;
3804
+ /**
3805
+ * <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
3806
+ * (for example, a branch name or a full commit ID).</p>
3807
+ * @public
3808
+ */
3809
+ destinationCommitSpecifier: string | undefined;
3810
+ /**
3811
+ * <p>The branch where the merge is applied.</p>
3812
+ * @public
3813
+ */
3814
+ targetBranch?: string | undefined;
3815
+ }
3816
+ /**
3817
+ * @public
3818
+ */
3819
+ export interface MergeBranchesByFastForwardOutput {
3820
+ /**
3821
+ * <p>The commit ID of the merge in the destination or target branch.</p>
3822
+ * @public
3823
+ */
3824
+ commitId?: string | undefined;
3825
+ /**
3826
+ * <p>The tree ID of the merge in the destination or target branch.</p>
3827
+ * @public
3828
+ */
3829
+ treeId?: string | undefined;
3830
+ }
3831
+ /**
3832
+ * @public
3833
+ */
3834
+ export interface MergeBranchesBySquashInput {
3835
+ /**
3836
+ * <p>The name of the repository where you want to merge two branches.</p>
3837
+ * @public
3838
+ */
3839
+ repositoryName: string | undefined;
3840
+ /**
3841
+ * <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
3842
+ * (for example, a branch name or a full commit ID).</p>
3843
+ * @public
3844
+ */
3845
+ sourceCommitSpecifier: string | undefined;
3846
+ /**
3847
+ * <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
3848
+ * (for example, a branch name or a full commit ID).</p>
3849
+ * @public
3850
+ */
3851
+ destinationCommitSpecifier: string | undefined;
3852
+ /**
3853
+ * <p>The branch where the merge is applied. </p>
3854
+ * @public
3855
+ */
3856
+ targetBranch?: string | undefined;
3857
+ /**
3858
+ * <p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used,
3859
+ * which returns a not-mergeable result if the same file has differences in both branches.
3860
+ * If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in
3861
+ * both branches has differences on the same line.</p>
3862
+ * @public
3863
+ */
3864
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
3865
+ /**
3866
+ * <p>Specifies which branch to use when resolving conflicts, or whether to attempt
3867
+ * automatically merging two versions of a file. The default is NONE, which requires any
3868
+ * conflicts to be resolved manually before the merge operation is successful.</p>
3869
+ * @public
3870
+ */
3871
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
3872
+ /**
3873
+ * <p>The name of the author who created the commit. This information is used as both the
3874
+ * author and committer for the commit.</p>
3875
+ * @public
3876
+ */
3877
+ authorName?: string | undefined;
3878
+ /**
3879
+ * <p>The email address of the person merging the branches. This information is used in the
3880
+ * commit information for the merge.</p>
3881
+ * @public
3882
+ */
3883
+ email?: string | undefined;
3884
+ /**
3885
+ * <p>The commit message for the merge.</p>
3886
+ * @public
3887
+ */
3888
+ commitMessage?: string | undefined;
3889
+ /**
3890
+ * <p>If the commit contains deletions, whether to keep a folder or folder structure if the
3891
+ * changes leave the folders empty. If this is specified as true, a .gitkeep file is
3892
+ * created for empty folders. The default is false.</p>
3893
+ * @public
3894
+ */
3895
+ keepEmptyFolders?: boolean | undefined;
3896
+ /**
3897
+ * <p>If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when
3898
+ * resolving conflicts during a merge.</p>
3899
+ * @public
3900
+ */
3901
+ conflictResolution?: ConflictResolution | undefined;
3902
+ }
3903
+ /**
3904
+ * @public
3905
+ */
3906
+ export interface MergeBranchesBySquashOutput {
3907
+ /**
3908
+ * <p>The commit ID of the merge in the destination or target branch.</p>
3909
+ * @public
3910
+ */
3911
+ commitId?: string | undefined;
3912
+ /**
3913
+ * <p>The tree ID of the merge in the destination or target branch.</p>
3914
+ * @public
3915
+ */
3916
+ treeId?: string | undefined;
3917
+ }
3918
+ /**
3919
+ * @public
3920
+ */
3921
+ export interface MergeBranchesByThreeWayInput {
3922
+ /**
3923
+ * <p>The name of the repository where you want to merge two branches.</p>
3924
+ * @public
3925
+ */
3926
+ repositoryName: string | undefined;
3927
+ /**
3928
+ * <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
3929
+ * (for example, a branch name or a full commit ID).</p>
3930
+ * @public
3931
+ */
3932
+ sourceCommitSpecifier: string | undefined;
3933
+ /**
3934
+ * <p>The branch, tag, HEAD, or other fully qualified reference used to identify a commit
3935
+ * (for example, a branch name or a full commit ID).</p>
3936
+ * @public
3937
+ */
3938
+ destinationCommitSpecifier: string | undefined;
3939
+ /**
3940
+ * <p>The branch where the merge is applied. </p>
3941
+ * @public
3942
+ */
3943
+ targetBranch?: string | undefined;
3944
+ /**
3945
+ * <p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used,
3946
+ * which returns a not-mergeable result if the same file has differences in both branches.
3947
+ * If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in
3948
+ * both branches has differences on the same line.</p>
3949
+ * @public
3950
+ */
3951
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
3952
+ /**
3953
+ * <p>Specifies which branch to use when resolving conflicts, or whether to attempt
3954
+ * automatically merging two versions of a file. The default is NONE, which requires any
3955
+ * conflicts to be resolved manually before the merge operation is successful.</p>
3956
+ * @public
3957
+ */
3958
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
3959
+ /**
3960
+ * <p>The name of the author who created the commit. This information is used as both the
3961
+ * author and committer for the commit.</p>
3962
+ * @public
3963
+ */
3964
+ authorName?: string | undefined;
3965
+ /**
3966
+ * <p>The email address of the person merging the branches. This information is used in the
3967
+ * commit information for the merge.</p>
3968
+ * @public
3969
+ */
3970
+ email?: string | undefined;
3971
+ /**
3972
+ * <p>The commit message to include in the commit information for the merge.</p>
3973
+ * @public
3974
+ */
3975
+ commitMessage?: string | undefined;
3976
+ /**
3977
+ * <p>If the commit contains deletions, whether to keep a folder or folder structure if the
3978
+ * changes leave the folders empty. If true, a .gitkeep file is created for empty folders.
3979
+ * The default is false.</p>
3980
+ * @public
3981
+ */
3982
+ keepEmptyFolders?: boolean | undefined;
3983
+ /**
3984
+ * <p>If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when
3985
+ * resolving conflicts during a merge.</p>
3986
+ * @public
3987
+ */
3988
+ conflictResolution?: ConflictResolution | undefined;
3989
+ }
3990
+ /**
3991
+ * @public
3992
+ */
3993
+ export interface MergeBranchesByThreeWayOutput {
3994
+ /**
3995
+ * <p>The commit ID of the merge in the destination or target branch.</p>
3996
+ * @public
3997
+ */
3998
+ commitId?: string | undefined;
3999
+ /**
4000
+ * <p>The tree ID of the merge in the destination or target branch.</p>
4001
+ * @public
4002
+ */
4003
+ treeId?: string | undefined;
4004
+ }
4005
+ /**
4006
+ * @public
4007
+ */
4008
+ export interface MergePullRequestByFastForwardInput {
4009
+ /**
4010
+ * <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
4011
+ * @public
4012
+ */
4013
+ pullRequestId: string | undefined;
4014
+ /**
4015
+ * <p>The name of the repository where the pull request was created.</p>
4016
+ * @public
4017
+ */
4018
+ repositoryName: string | undefined;
4019
+ /**
4020
+ * <p>The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an
4021
+ * exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.</p>
4022
+ * @public
4023
+ */
4024
+ sourceCommitId?: string | undefined;
4025
+ }
4026
+ /**
4027
+ * @public
4028
+ */
4029
+ export interface MergePullRequestByFastForwardOutput {
4030
+ /**
4031
+ * <p>Information about the specified pull request, including the merge.</p>
4032
+ * @public
4033
+ */
4034
+ pullRequest?: PullRequest | undefined;
4035
+ }
4036
+ /**
4037
+ * @public
4038
+ */
4039
+ export interface MergePullRequestBySquashInput {
4040
+ /**
4041
+ * <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
4042
+ * @public
4043
+ */
4044
+ pullRequestId: string | undefined;
4045
+ /**
4046
+ * <p>The name of the repository where the pull request was created.</p>
4047
+ * @public
4048
+ */
4049
+ repositoryName: string | undefined;
4050
+ /**
4051
+ * <p>The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an
4052
+ * exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.</p>
4053
+ * @public
4054
+ */
4055
+ sourceCommitId?: string | undefined;
4056
+ /**
4057
+ * <p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used,
4058
+ * which returns a not-mergeable result if the same file has differences in both branches.
4059
+ * If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in
4060
+ * both branches has differences on the same line.</p>
4061
+ * @public
4062
+ */
4063
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
4064
+ /**
4065
+ * <p>Specifies which branch to use when resolving conflicts, or whether to attempt
4066
+ * automatically merging two versions of a file. The default is NONE, which requires any
4067
+ * conflicts to be resolved manually before the merge operation is successful.</p>
4068
+ * @public
4069
+ */
4070
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
4071
+ /**
4072
+ * <p>The commit message to include in the commit information for the merge.</p>
4073
+ * @public
4074
+ */
4075
+ commitMessage?: string | undefined;
4076
+ /**
4077
+ * <p>The name of the author who created the commit. This information is used as both the
4078
+ * author and committer for the commit.</p>
4079
+ * @public
4080
+ */
4081
+ authorName?: string | undefined;
4082
+ /**
4083
+ * <p>The email address of the person merging the branches. This information is used in the
4084
+ * commit information for the merge.</p>
4085
+ * @public
4086
+ */
4087
+ email?: string | undefined;
4088
+ /**
4089
+ * <p>If the commit contains deletions, whether to keep a folder or folder structure if the
4090
+ * changes leave the folders empty. If true, a .gitkeep file is created for empty folders.
4091
+ * The default is false.</p>
4092
+ * @public
4093
+ */
4094
+ keepEmptyFolders?: boolean | undefined;
4095
+ /**
4096
+ * <p>If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when
4097
+ * resolving conflicts during a merge.</p>
4098
+ * @public
4099
+ */
4100
+ conflictResolution?: ConflictResolution | undefined;
4101
+ }
4102
+ /**
4103
+ * @public
4104
+ */
4105
+ export interface MergePullRequestBySquashOutput {
4106
+ /**
4107
+ * <p>Returns information about a pull request.</p>
4108
+ * @public
4109
+ */
4110
+ pullRequest?: PullRequest | undefined;
4111
+ }
4112
+ /**
4113
+ * @public
4114
+ */
4115
+ export interface MergePullRequestByThreeWayInput {
4116
+ /**
4117
+ * <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
4118
+ * @public
4119
+ */
4120
+ pullRequestId: string | undefined;
4121
+ /**
4122
+ * <p>The name of the repository where the pull request was created.</p>
4123
+ * @public
4124
+ */
4125
+ repositoryName: string | undefined;
4126
+ /**
4127
+ * <p>The full commit ID of the original or updated commit in the pull request source branch. Pass this value if you want an
4128
+ * exception thrown if the current commit ID of the tip of the source branch does not match this commit ID.</p>
4129
+ * @public
4130
+ */
4131
+ sourceCommitId?: string | undefined;
4132
+ /**
4133
+ * <p>The level of conflict detail to use. If unspecified, the default FILE_LEVEL is used,
4134
+ * which returns a not-mergeable result if the same file has differences in both branches.
4135
+ * If LINE_LEVEL is specified, a conflict is considered not mergeable if the same file in
4136
+ * both branches has differences on the same line.</p>
4137
+ * @public
4138
+ */
4139
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
4140
+ /**
4141
+ * <p>Specifies which branch to use when resolving conflicts, or whether to attempt
4142
+ * automatically merging two versions of a file. The default is NONE, which requires any
4143
+ * conflicts to be resolved manually before the merge operation is successful.</p>
4144
+ * @public
4145
+ */
4146
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
4147
+ /**
4148
+ * <p>The commit message to include in the commit information for the merge.</p>
4149
+ * @public
4150
+ */
4151
+ commitMessage?: string | undefined;
4152
+ /**
4153
+ * <p>The name of the author who created the commit. This information is used as both the
4154
+ * author and committer for the commit.</p>
4155
+ * @public
4156
+ */
4157
+ authorName?: string | undefined;
4158
+ /**
4159
+ * <p>The email address of the person merging the branches. This information is used in the
4160
+ * commit information for the merge.</p>
4161
+ * @public
4162
+ */
4163
+ email?: string | undefined;
4164
+ /**
4165
+ * <p>If the commit contains deletions, whether to keep a folder or folder structure if the
4166
+ * changes leave the folders empty. If true, a .gitkeep file is created for empty folders.
4167
+ * The default is false.</p>
4168
+ * @public
4169
+ */
4170
+ keepEmptyFolders?: boolean | undefined;
4171
+ /**
4172
+ * <p>If AUTOMERGE is the conflict resolution strategy, a list of inputs to use when
4173
+ * resolving conflicts during a merge.</p>
4174
+ * @public
4175
+ */
4176
+ conflictResolution?: ConflictResolution | undefined;
4177
+ }
4178
+ /**
4179
+ * @public
4180
+ */
4181
+ export interface MergePullRequestByThreeWayOutput {
4182
+ /**
4183
+ * <p>Returns information about a pull request.</p>
4184
+ * @public
4185
+ */
4186
+ pullRequest?: PullRequest | undefined;
4187
+ }
4188
+ /**
4189
+ * @public
4190
+ */
4191
+ export interface OverridePullRequestApprovalRulesInput {
4192
+ /**
4193
+ * <p>The system-generated ID of the pull request for which you want to override all
4194
+ * approval rule requirements. To get this information, use
4195
+ * <a>GetPullRequest</a>.</p>
4196
+ * @public
4197
+ */
4198
+ pullRequestId: string | undefined;
4199
+ /**
4200
+ * <p>The system-generated ID of the most recent revision of the pull request. You cannot override approval rules for anything but the most recent revision of a pull request.
4201
+ * To get the revision ID, use GetPullRequest.</p>
4202
+ * @public
4203
+ */
4204
+ revisionId: string | undefined;
4205
+ /**
4206
+ * <p>Whether you want to set aside approval rule requirements for the pull request (OVERRIDE) or revoke a previous override and apply
4207
+ * approval rule requirements (REVOKE). REVOKE status is not stored.</p>
4208
+ * @public
4209
+ */
4210
+ overrideStatus: OverrideStatus | undefined;
4211
+ }
4212
+ /**
4213
+ * @public
4214
+ */
4215
+ export interface PostCommentForComparedCommitInput {
4216
+ /**
4217
+ * <p>The name of the repository where you want to post a comment on the comparison between commits.</p>
4218
+ * @public
4219
+ */
4220
+ repositoryName: string | undefined;
4221
+ /**
4222
+ * <p>To establish the directionality of the comparison, the full commit ID of the before
4223
+ * commit. Required for commenting on any commit unless that commit is the initial
4224
+ * commit.</p>
4225
+ * @public
4226
+ */
4227
+ beforeCommitId?: string | undefined;
4228
+ /**
4229
+ * <p>To establish the directionality of the comparison, the full commit ID of the after
4230
+ * commit.</p>
4231
+ * @public
4232
+ */
4233
+ afterCommitId: string | undefined;
4234
+ /**
4235
+ * <p>The location of the comparison where you want to comment.</p>
4236
+ * @public
4237
+ */
4238
+ location?: Location | undefined;
4239
+ /**
4240
+ * <p>The content of the comment you want to make.</p>
4241
+ * @public
4242
+ */
4243
+ content: string | undefined;
4244
+ /**
4245
+ * <p>A unique, client-generated idempotency token that, when provided in a request, ensures
4246
+ * the request cannot be repeated with a changed parameter. If a request is received with
4247
+ * the same parameters and a token is included, the request returns information about the
4248
+ * initial request that used that token.</p>
4249
+ * @public
4250
+ */
4251
+ clientRequestToken?: string | undefined;
4252
+ }
4253
+ /**
4254
+ * @public
4255
+ */
4256
+ export interface PostCommentForComparedCommitOutput {
4257
+ /**
4258
+ * <p>The name of the repository where you posted a comment on the comparison between commits.</p>
4259
+ * @public
4260
+ */
4261
+ repositoryName?: string | undefined;
4262
+ /**
4263
+ * <p>In the directionality you established, the full commit ID of the before commit.</p>
4264
+ * @public
4265
+ */
4266
+ beforeCommitId?: string | undefined;
4267
+ /**
4268
+ * <p>In the directionality you established, the full commit ID of the after commit.</p>
4269
+ * @public
4270
+ */
4271
+ afterCommitId?: string | undefined;
4272
+ /**
4273
+ * <p>In the directionality you established, the blob ID of the before blob.</p>
4274
+ * @public
4275
+ */
4276
+ beforeBlobId?: string | undefined;
4277
+ /**
4278
+ * <p>In the directionality you established, the blob ID of the after blob.</p>
4279
+ * @public
4280
+ */
4281
+ afterBlobId?: string | undefined;
4282
+ /**
4283
+ * <p>The location of the comment in the comparison between the two commits.</p>
4284
+ * @public
4285
+ */
4286
+ location?: Location | undefined;
4287
+ /**
4288
+ * <p>The content of the comment you posted.</p>
4289
+ * @public
4290
+ */
4291
+ comment?: Comment | undefined;
4292
+ }
4293
+ /**
4294
+ * @public
4295
+ */
4296
+ export interface PostCommentForPullRequestInput {
4297
+ /**
4298
+ * <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
4299
+ * @public
4300
+ */
4301
+ pullRequestId: string | undefined;
4302
+ /**
4303
+ * <p>The name of the repository where you want to post a comment on a pull request.</p>
4304
+ * @public
4305
+ */
4306
+ repositoryName: string | undefined;
4307
+ /**
4308
+ * <p>The full commit ID of the commit in the destination branch that was the tip of the branch at the time the pull request was created.</p>
4309
+ * @public
4310
+ */
4311
+ beforeCommitId: string | undefined;
4312
+ /**
4313
+ * <p>The full commit ID of the commit in the source branch that is the current tip of the branch for the pull request when you post the comment.</p>
4314
+ * @public
4315
+ */
4316
+ afterCommitId: string | undefined;
4317
+ /**
4318
+ * <p>The location of the change where you want to post your comment. If no location is
4319
+ * provided, the comment is posted as a general comment on the pull request difference
4320
+ * between the before commit ID and the after commit ID.</p>
4321
+ * @public
4322
+ */
4323
+ location?: Location | undefined;
4324
+ /**
4325
+ * <p>The content of your comment on the change.</p>
4326
+ * @public
4327
+ */
4328
+ content: string | undefined;
4329
+ /**
4330
+ * <p>A unique, client-generated idempotency token that, when provided in a request, ensures
4331
+ * the request cannot be repeated with a changed parameter. If a request is received with
4332
+ * the same parameters and a token is included, the request returns information about the
4333
+ * initial request that used that token.</p>
4334
+ * @public
4335
+ */
4336
+ clientRequestToken?: string | undefined;
4337
+ }
4338
+ /**
4339
+ * @public
4340
+ */
4341
+ export interface PostCommentForPullRequestOutput {
4342
+ /**
4343
+ * <p>The name of the repository where you posted a comment on a pull request.</p>
4344
+ * @public
4345
+ */
4346
+ repositoryName?: string | undefined;
4347
+ /**
4348
+ * <p>The system-generated ID of the pull request. </p>
4349
+ * @public
4350
+ */
4351
+ pullRequestId?: string | undefined;
4352
+ /**
4353
+ * <p>The full commit ID of the commit in the source branch used to create the pull request,
4354
+ * or in the case of an updated pull request, the full commit ID of the commit used to update the pull request.</p>
4355
+ * @public
4356
+ */
4357
+ beforeCommitId?: string | undefined;
4358
+ /**
4359
+ * <p>The full commit ID of the commit in the destination branch where the pull request is
4360
+ * merged.</p>
4361
+ * @public
4362
+ */
4363
+ afterCommitId?: string | undefined;
4364
+ /**
4365
+ * <p>In the directionality of the pull request, the blob ID of the before blob.</p>
4366
+ * @public
4367
+ */
4368
+ beforeBlobId?: string | undefined;
4369
+ /**
4370
+ * <p>In the directionality of the pull request, the blob ID of the after blob.</p>
4371
+ * @public
4372
+ */
4373
+ afterBlobId?: string | undefined;
4374
+ /**
4375
+ * <p>The location of the change where you posted your comment.</p>
4376
+ * @public
4377
+ */
4378
+ location?: Location | undefined;
4379
+ /**
4380
+ * <p>The content of the comment you posted.</p>
4381
+ * @public
4382
+ */
4383
+ comment?: Comment | undefined;
4384
+ }
4385
+ /**
4386
+ * @public
4387
+ */
4388
+ export interface PostCommentReplyInput {
4389
+ /**
4390
+ * <p>The system-generated ID of the comment to which you want to reply. To get this ID, use <a>GetCommentsForComparedCommit</a>
4391
+ * or <a>GetCommentsForPullRequest</a>.</p>
4392
+ * @public
4393
+ */
4394
+ inReplyTo: string | undefined;
4395
+ /**
4396
+ * <p>A unique, client-generated idempotency token that, when provided in a request, ensures
4397
+ * the request cannot be repeated with a changed parameter. If a request is received with
4398
+ * the same parameters and a token is included, the request returns information about the
4399
+ * initial request that used that token.</p>
4400
+ * @public
4401
+ */
4402
+ clientRequestToken?: string | undefined;
4403
+ /**
4404
+ * <p>The contents of your reply to a comment.</p>
4405
+ * @public
4406
+ */
4407
+ content: string | undefined;
4408
+ }
4409
+ /**
4410
+ * @public
4411
+ */
4412
+ export interface PostCommentReplyOutput {
4413
+ /**
4414
+ * <p>Information about the reply to a comment.</p>
4415
+ * @public
4416
+ */
4417
+ comment?: Comment | undefined;
4418
+ }
4419
+ /**
4420
+ * @public
4421
+ */
4422
+ export interface PutCommentReactionInput {
4423
+ /**
4424
+ * <p>The ID of the comment to which you want to add or update a reaction.</p>
4425
+ * @public
4426
+ */
4427
+ commentId: string | undefined;
4428
+ /**
4429
+ * <p>The emoji reaction you want to add or update. To remove a reaction, provide a value of blank or null. You can also provide the value of none.
4430
+ * For information about emoji reaction values supported in CodeCommit, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/how-to-commit-comment.html#emoji-reaction-table">CodeCommit User Guide</a>.</p>
4431
+ * @public
4432
+ */
4433
+ reactionValue: string | undefined;
4434
+ }
4435
+ /**
4436
+ * @public
4437
+ */
4438
+ export interface PutFileInput {
4439
+ /**
4440
+ * <p>The name of the repository where you want to add or update the file.</p>
4441
+ * @public
4442
+ */
4443
+ repositoryName: string | undefined;
4444
+ /**
4445
+ * <p>The name of the branch where you want to add or update the file. If this is an empty
4446
+ * repository, this branch is created.</p>
4447
+ * @public
4448
+ */
4449
+ branchName: string | undefined;
4450
+ /**
4451
+ * <p>The content of the file, in binary object format. </p>
4452
+ * @public
4453
+ */
4454
+ fileContent: Uint8Array | undefined;
4455
+ /**
4456
+ * <p>The name of the file you want to add or update, including the relative path to the file in the repository.</p>
4457
+ * <note>
4458
+ * <p>If the path does not currently exist in the repository, the path is created as part of adding
4459
+ * the file.</p>
4460
+ * </note>
4461
+ * @public
4462
+ */
4463
+ filePath: string | undefined;
4464
+ /**
4465
+ * <p>The file mode permissions of the blob. Valid file mode permissions are listed
4466
+ * here.</p>
4467
+ * @public
4468
+ */
4469
+ fileMode?: FileModeTypeEnum | undefined;
4470
+ /**
4471
+ * <p>The full commit ID of the head commit in the branch where you want to add or update the file. If this is an empty repository,
4472
+ * no commit ID is required. If this is not an empty repository, a commit ID is required. </p>
4473
+ * <p>The commit ID must match the ID of the head commit at the time of the operation.
4474
+ * Otherwise, an error occurs, and the file is not added or updated.</p>
4475
+ * @public
4476
+ */
4477
+ parentCommitId?: string | undefined;
4478
+ /**
4479
+ * <p>A message about why this file was added or updated. Although it is optional, a message
4480
+ * makes the commit history for your repository more useful.</p>
4481
+ * @public
4482
+ */
4483
+ commitMessage?: string | undefined;
4484
+ /**
4485
+ * <p>The name of the person adding or updating the file. Although it is optional, a name
4486
+ * makes the commit history for your repository more useful.</p>
4487
+ * @public
4488
+ */
4489
+ name?: string | undefined;
4490
+ /**
4491
+ * <p>An email address for the person adding or updating the file.</p>
4492
+ * @public
4493
+ */
4494
+ email?: string | undefined;
4495
+ }
4496
+ /**
4497
+ * @public
4498
+ */
4499
+ export interface PutFileOutput {
4500
+ /**
4501
+ * <p>The full SHA ID of the commit that contains this file change.</p>
4502
+ * @public
4503
+ */
4504
+ commitId: string | undefined;
4505
+ /**
4506
+ * <p>The ID of the blob, which is its SHA-1 pointer.</p>
4507
+ * @public
4508
+ */
4509
+ blobId: string | undefined;
4510
+ /**
4511
+ * <p>The full SHA-1 pointer of the tree information for the commit that contains this file change.</p>
4512
+ * @public
4513
+ */
4514
+ treeId: string | undefined;
4515
+ }
4516
+ /**
4517
+ * <p>Represents the input of a put repository triggers operation.</p>
4518
+ * @public
4519
+ */
4520
+ export interface PutRepositoryTriggersInput {
4521
+ /**
4522
+ * <p>The name of the repository where you want to create or update the trigger.</p>
4523
+ * @public
4524
+ */
4525
+ repositoryName: string | undefined;
4526
+ /**
4527
+ * <p>The JSON block of configuration information for each trigger.</p>
4528
+ * @public
4529
+ */
4530
+ triggers: RepositoryTrigger[] | undefined;
4531
+ }
4532
+ /**
4533
+ * <p>Represents the output of a put repository triggers operation.</p>
4534
+ * @public
4535
+ */
4536
+ export interface PutRepositoryTriggersOutput {
4537
+ /**
4538
+ * <p>The system-generated unique ID for the create or update operation.</p>
4539
+ * @public
4540
+ */
4541
+ configurationId?: string | undefined;
4542
+ }
4543
+ /**
4544
+ * @public
4545
+ */
4546
+ export interface TagResourceInput {
4547
+ /**
4548
+ * <p>The Amazon Resource Name (ARN) of the resource to which you want to add or update tags.</p>
4549
+ * @public
4550
+ */
4551
+ resourceArn: string | undefined;
4552
+ /**
4553
+ * <p>The key-value pair to use when tagging this repository.</p>
4554
+ * @public
4555
+ */
4556
+ tags: Record<string, string> | undefined;
4557
+ }
4558
+ /**
4559
+ * <p>Represents the input of a test repository triggers operation.</p>
4560
+ * @public
4561
+ */
4562
+ export interface TestRepositoryTriggersInput {
4563
+ /**
4564
+ * <p>The name of the repository in which to test the triggers.</p>
4565
+ * @public
4566
+ */
4567
+ repositoryName: string | undefined;
4568
+ /**
4569
+ * <p>The list of triggers to test.</p>
4570
+ * @public
4571
+ */
4572
+ triggers: RepositoryTrigger[] | undefined;
4573
+ }
4574
+ /**
4575
+ * <p>A trigger failed to run.</p>
4576
+ * @public
4577
+ */
4578
+ export interface RepositoryTriggerExecutionFailure {
4579
+ /**
4580
+ * <p>The name of the trigger that did not run.</p>
4581
+ * @public
4582
+ */
4583
+ trigger?: string | undefined;
4584
+ /**
4585
+ * <p>Message information about the trigger that did not run.</p>
4586
+ * @public
4587
+ */
4588
+ failureMessage?: string | undefined;
4589
+ }
4590
+ /**
4591
+ * <p>Represents the output of a test repository triggers operation.</p>
4592
+ * @public
4593
+ */
4594
+ export interface TestRepositoryTriggersOutput {
4595
+ /**
4596
+ * <p>The list of triggers that were successfully tested. This list provides the names of the triggers that were successfully tested, separated by commas.</p>
4597
+ * @public
4598
+ */
4599
+ successfulExecutions?: string[] | undefined;
4600
+ /**
4601
+ * <p>The list of triggers that were not tested. This list provides the names of the
4602
+ * triggers that could not be tested, separated by commas.</p>
4603
+ * @public
4604
+ */
4605
+ failedExecutions?: RepositoryTriggerExecutionFailure[] | undefined;
4606
+ }
4607
+ /**
4608
+ * @public
4609
+ */
4610
+ export interface UntagResourceInput {
4611
+ /**
4612
+ * <p>The Amazon Resource Name (ARN) of the resource to which you want to remove tags.</p>
4613
+ * @public
4614
+ */
4615
+ resourceArn: string | undefined;
4616
+ /**
4617
+ * <p>The tag key for each tag that you want to remove from the resource.</p>
4618
+ * @public
4619
+ */
4620
+ tagKeys: string[] | undefined;
4621
+ }
4622
+ /**
4623
+ * @public
4624
+ */
4625
+ export interface UpdateApprovalRuleTemplateContentInput {
4626
+ /**
4627
+ * <p>The name of the approval rule template where you want to update the content of the rule. </p>
4628
+ * @public
4629
+ */
4630
+ approvalRuleTemplateName: string | undefined;
4631
+ /**
4632
+ * <p>The content that replaces the existing content of the rule. Content statements must be
4633
+ * complete. You cannot provide only the changes.</p>
4634
+ * @public
4635
+ */
4636
+ newRuleContent: string | undefined;
4637
+ /**
4638
+ * <p>The SHA-256 hash signature for the content of the approval rule. You can retrieve this
4639
+ * information by using
4640
+ * <a>GetPullRequest</a>.</p>
4641
+ * @public
4642
+ */
4643
+ existingRuleContentSha256?: string | undefined;
4644
+ }
4645
+ /**
4646
+ * @public
4647
+ */
4648
+ export interface UpdateApprovalRuleTemplateContentOutput {
4649
+ /**
4650
+ * <p>Returns information about an approval rule template.</p>
4651
+ * @public
4652
+ */
4653
+ approvalRuleTemplate: ApprovalRuleTemplate | undefined;
4654
+ }
4655
+ /**
4656
+ * @public
4657
+ */
4658
+ export interface UpdateApprovalRuleTemplateDescriptionInput {
4659
+ /**
4660
+ * <p>The name of the template for which you want to update the description.</p>
4661
+ * @public
4662
+ */
4663
+ approvalRuleTemplateName: string | undefined;
4664
+ /**
4665
+ * <p>The updated description of the approval rule template.</p>
4666
+ * @public
4667
+ */
4668
+ approvalRuleTemplateDescription: string | undefined;
4669
+ }
4670
+ /**
4671
+ * @public
4672
+ */
4673
+ export interface UpdateApprovalRuleTemplateDescriptionOutput {
4674
+ /**
4675
+ * <p>The structure and content of the updated approval rule template.</p>
4676
+ * @public
4677
+ */
4678
+ approvalRuleTemplate: ApprovalRuleTemplate | undefined;
4679
+ }
4680
+ /**
4681
+ * @public
4682
+ */
4683
+ export interface UpdateApprovalRuleTemplateNameInput {
4684
+ /**
4685
+ * <p>The current name of the approval rule template.</p>
4686
+ * @public
4687
+ */
4688
+ oldApprovalRuleTemplateName: string | undefined;
4689
+ /**
4690
+ * <p>The new name you want to apply to the approval rule template.</p>
4691
+ * @public
4692
+ */
4693
+ newApprovalRuleTemplateName: string | undefined;
4694
+ }
4695
+ /**
4696
+ * @public
4697
+ */
4698
+ export interface UpdateApprovalRuleTemplateNameOutput {
4699
+ /**
4700
+ * <p>The structure and content of the updated approval rule template.</p>
4701
+ * @public
4702
+ */
4703
+ approvalRuleTemplate: ApprovalRuleTemplate | undefined;
4704
+ }
4705
+ /**
4706
+ * @public
4707
+ */
4708
+ export interface UpdateCommentInput {
4709
+ /**
4710
+ * <p>The system-generated ID of the comment you want to update. To get this ID, use <a>GetCommentsForComparedCommit</a>
4711
+ * or <a>GetCommentsForPullRequest</a>.</p>
4712
+ * @public
4713
+ */
4714
+ commentId: string | undefined;
4715
+ /**
4716
+ * <p>The updated content to replace the existing content of the comment.</p>
4717
+ * @public
4718
+ */
4719
+ content: string | undefined;
4720
+ }
4721
+ /**
4722
+ * @public
4723
+ */
4724
+ export interface UpdateCommentOutput {
4725
+ /**
4726
+ * <p>Information about the updated comment.</p>
4727
+ * @public
4728
+ */
4729
+ comment?: Comment | undefined;
4730
+ }
4731
+ /**
4732
+ * <p>Represents the input of an update default branch operation.</p>
4733
+ * @public
4734
+ */
4735
+ export interface UpdateDefaultBranchInput {
4736
+ /**
4737
+ * <p>The name of the repository for which you want to set or change the default branch.</p>
4738
+ * @public
4739
+ */
4740
+ repositoryName: string | undefined;
4741
+ /**
4742
+ * <p>The name of the branch to set as the default branch.</p>
4743
+ * @public
4744
+ */
4745
+ defaultBranchName: string | undefined;
4746
+ }
4747
+ /**
4748
+ * @public
4749
+ */
4750
+ export interface UpdatePullRequestApprovalRuleContentInput {
4751
+ /**
4752
+ * <p>The system-generated ID of the pull request.</p>
4753
+ * @public
4754
+ */
4755
+ pullRequestId: string | undefined;
4756
+ /**
4757
+ * <p>The name of the approval rule you want to update.</p>
4758
+ * @public
4759
+ */
4760
+ approvalRuleName: string | undefined;
4761
+ /**
4762
+ * <p>The SHA-256 hash signature for the content of the approval rule. You can retrieve this
4763
+ * information by using
4764
+ * <a>GetPullRequest</a>.</p>
4765
+ * @public
4766
+ */
4767
+ existingRuleContentSha256?: string | undefined;
4768
+ /**
4769
+ * <p>The updated content for the approval rule.</p>
4770
+ * <note>
4771
+ * <p>When you update the content of the approval rule, you can specify approvers in an
4772
+ * approval pool in one of two ways:</p>
4773
+ * <ul>
4774
+ * <li>
4775
+ * <p>
4776
+ * <b>CodeCommitApprovers</b>: This option only
4777
+ * requires an Amazon Web Services account and a resource. It can be used for both IAM users
4778
+ * and federated access users whose name matches the provided resource name.
4779
+ * This is a very powerful option that offers a great deal of flexibility. For
4780
+ * example, if you specify the Amazon Web Services account <i>123456789012</i>
4781
+ * and <i>Mary_Major</i>, all of the following are counted as
4782
+ * approvals coming from that user:</p>
4783
+ * <ul>
4784
+ * <li>
4785
+ * <p>An IAM user in the account
4786
+ * (arn:aws:iam::<i>123456789012</i>:user/<i>Mary_Major</i>)</p>
4787
+ * </li>
4788
+ * <li>
4789
+ * <p>A federated user identified in IAM as Mary_Major
4790
+ * (arn:aws:sts::<i>123456789012</i>:federated-user/<i>Mary_Major</i>)</p>
4791
+ * </li>
4792
+ * </ul>
4793
+ * <p>This option does not recognize an active session of someone assuming the
4794
+ * role of CodeCommitReview with a role session name of
4795
+ * <i>Mary_Major</i>
4796
+ * (arn:aws:sts::<i>123456789012</i>:assumed-role/CodeCommitReview/<i>Mary_Major</i>)
4797
+ * unless you include a wildcard (*Mary_Major).</p>
4798
+ * </li>
4799
+ * <li>
4800
+ * <p>
4801
+ * <b>Fully qualified ARN</b>: This option allows
4802
+ * you to specify the fully qualified Amazon Resource Name (ARN) of the IAM
4803
+ * user or role. </p>
4804
+ * </li>
4805
+ * </ul>
4806
+ * <p>For more information about IAM ARNs, wildcards, and formats, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_identifiers.html">IAM
4807
+ * Identifiers</a> in the <i>IAM User Guide</i>.</p>
4808
+ * </note>
4809
+ * @public
4810
+ */
4811
+ newRuleContent: string | undefined;
4812
+ }
4813
+ /**
4814
+ * @public
4815
+ */
4816
+ export interface UpdatePullRequestApprovalRuleContentOutput {
4817
+ /**
4818
+ * <p>Information about the updated approval rule.</p>
4819
+ * @public
4820
+ */
4821
+ approvalRule: ApprovalRule | undefined;
4822
+ }
4823
+ /**
4824
+ * @public
4825
+ */
4826
+ export interface UpdatePullRequestApprovalStateInput {
4827
+ /**
4828
+ * <p>The system-generated ID of the pull request.</p>
4829
+ * @public
4830
+ */
4831
+ pullRequestId: string | undefined;
4832
+ /**
4833
+ * <p>The system-generated ID of the revision.</p>
4834
+ * @public
4835
+ */
4836
+ revisionId: string | undefined;
4837
+ /**
4838
+ * <p>The approval state to associate with the user on the pull request.</p>
4839
+ * @public
4840
+ */
4841
+ approvalState: ApprovalState | undefined;
4842
+ }
4843
+ /**
4844
+ * @public
4845
+ */
4846
+ export interface UpdatePullRequestDescriptionInput {
4847
+ /**
4848
+ * <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
4849
+ * @public
4850
+ */
4851
+ pullRequestId: string | undefined;
4852
+ /**
4853
+ * <p>The updated content of the description for the pull request. This content replaces the
4854
+ * existing description.</p>
4855
+ * @public
4856
+ */
4857
+ description: string | undefined;
4858
+ }
4859
+ /**
4860
+ * @public
4861
+ */
4862
+ export interface UpdatePullRequestDescriptionOutput {
4863
+ /**
4864
+ * <p>Information about the updated pull request.</p>
4865
+ * @public
4866
+ */
4867
+ pullRequest: PullRequest | undefined;
4868
+ }
4869
+ /**
4870
+ * @public
4871
+ */
4872
+ export interface UpdatePullRequestStatusInput {
4873
+ /**
4874
+ * <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
4875
+ * @public
4876
+ */
4877
+ pullRequestId: string | undefined;
4878
+ /**
4879
+ * <p>The status of the pull request. The only valid operations are to update the status
4880
+ * from <code>OPEN</code> to <code>OPEN</code>, <code>OPEN</code> to <code>CLOSED</code> or
4881
+ * from <code>CLOSED</code> to <code>CLOSED</code>.</p>
4882
+ * @public
4883
+ */
4884
+ pullRequestStatus: PullRequestStatusEnum | undefined;
4885
+ }
4886
+ /**
4887
+ * @public
4888
+ */
4889
+ export interface UpdatePullRequestStatusOutput {
4890
+ /**
4891
+ * <p>Information about the pull request.</p>
4892
+ * @public
4893
+ */
4894
+ pullRequest: PullRequest | undefined;
4895
+ }
4896
+ /**
4897
+ * @public
4898
+ */
4899
+ export interface UpdatePullRequestTitleInput {
4900
+ /**
4901
+ * <p>The system-generated ID of the pull request. To get this ID, use <a>ListPullRequests</a>.</p>
4902
+ * @public
4903
+ */
4904
+ pullRequestId: string | undefined;
4905
+ /**
4906
+ * <p>The updated title of the pull request. This replaces the existing title.</p>
4907
+ * @public
4908
+ */
4909
+ title: string | undefined;
4910
+ }
4911
+ /**
4912
+ * @public
4913
+ */
4914
+ export interface UpdatePullRequestTitleOutput {
4915
+ /**
4916
+ * <p>Information about the updated pull request.</p>
4917
+ * @public
4918
+ */
4919
+ pullRequest: PullRequest | undefined;
4920
+ }
4921
+ /**
4922
+ * <p>Represents the input of an update repository description operation.</p>
4923
+ * @public
4924
+ */
4925
+ export interface UpdateRepositoryDescriptionInput {
4926
+ /**
4927
+ * <p>The name of the repository to set or change the comment or description for.</p>
4928
+ * @public
4929
+ */
4930
+ repositoryName: string | undefined;
4931
+ /**
4932
+ * <p>The new comment or description for the specified repository. Repository descriptions are limited to 1,000 characters.</p>
4933
+ * @public
4934
+ */
4935
+ repositoryDescription?: string | undefined;
4936
+ }
4937
+ /**
4938
+ * @public
4939
+ */
4940
+ export interface UpdateRepositoryEncryptionKeyInput {
4941
+ /**
4942
+ * <p>The name of the repository for which you want to update the KMS encryption key used to encrypt and decrypt the repository.</p>
4943
+ * @public
4944
+ */
4945
+ repositoryName: string | undefined;
4946
+ /**
4947
+ * <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
4948
+ * programmatically retrieve a key ID. For more information about acceptable values for keyID, see
4949
+ * <a href="https://docs.aws.amazon.com/kms/latest/APIReference/API_Decrypt.html#KMS-Decrypt-request-KeyId">KeyId</a> in the Decrypt API description in
4950
+ * the <i>Key Management Service API Reference</i>.</p>
4951
+ * @public
4952
+ */
4953
+ kmsKeyId: string | undefined;
4954
+ }
4955
+ /**
4956
+ * @public
4957
+ */
4958
+ export interface UpdateRepositoryEncryptionKeyOutput {
4959
+ /**
4960
+ * <p>The ID of the repository.</p>
4961
+ * @public
4962
+ */
4963
+ repositoryId?: string | undefined;
4964
+ /**
4965
+ * <p>The ID of the encryption key.</p>
4966
+ * @public
4967
+ */
4968
+ kmsKeyId?: string | undefined;
4969
+ /**
4970
+ * <p>The ID of the encryption key formerly used to encrypt and decrypt the repository.</p>
4971
+ * @public
4972
+ */
4973
+ originalKmsKeyId?: string | undefined;
4974
+ }
4975
+ /**
4976
+ * <p>Represents the input of an update repository description operation.</p>
4977
+ * @public
4978
+ */
4979
+ export interface UpdateRepositoryNameInput {
4980
+ /**
4981
+ * <p>The current name of the repository.</p>
4982
+ * @public
4983
+ */
4984
+ oldName: string | undefined;
4985
+ /**
4986
+ * <p>The new name for the repository.</p>
4987
+ * @public
4988
+ */
4989
+ newName: string | undefined;
4990
+ }