@aws-sdk/client-codecommit 3.289.0 → 3.290.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 (78) hide show
  1. package/dist-types/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +48 -0
  2. package/dist-types/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +35 -0
  3. package/dist-types/commands/BatchDescribeMergeConflictsCommand.d.ts +71 -0
  4. package/dist-types/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +35 -0
  5. package/dist-types/commands/BatchGetCommitsCommand.d.ts +37 -0
  6. package/dist-types/commands/BatchGetRepositoriesCommand.d.ts +31 -0
  7. package/dist-types/commands/CreateApprovalRuleTemplateCommand.d.ts +30 -0
  8. package/dist-types/commands/CreateBranchCommand.d.ts +50 -0
  9. package/dist-types/commands/CreateCommitCommand.d.ts +140 -0
  10. package/dist-types/commands/CreatePullRequestApprovalRuleCommand.d.ts +47 -0
  11. package/dist-types/commands/CreatePullRequestCommand.d.ts +93 -0
  12. package/dist-types/commands/CreateRepositoryCommand.d.ts +49 -0
  13. package/dist-types/commands/CreateUnreferencedMergeCommitCommand.d.ts +122 -0
  14. package/dist-types/commands/DeleteApprovalRuleTemplateCommand.d.ts +14 -0
  15. package/dist-types/commands/DeleteBranchCommand.d.ts +40 -0
  16. package/dist-types/commands/DeleteCommentContentCommand.d.ts +14 -0
  17. package/dist-types/commands/DeleteFileCommand.d.ts +79 -0
  18. package/dist-types/commands/DeletePullRequestApprovalRuleCommand.d.ts +38 -0
  19. package/dist-types/commands/DeleteRepositoryCommand.d.ts +28 -0
  20. package/dist-types/commands/DescribeMergeConflictsCommand.d.ts +78 -0
  21. package/dist-types/commands/DescribePullRequestEventsCommand.d.ts +41 -0
  22. package/dist-types/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +44 -0
  23. package/dist-types/commands/EvaluatePullRequestApprovalRulesCommand.d.ts +34 -0
  24. package/dist-types/commands/GetApprovalRuleTemplateCommand.d.ts +14 -0
  25. package/dist-types/commands/GetBlobCommand.d.ts +44 -0
  26. package/dist-types/commands/GetBranchCommand.d.ts +40 -0
  27. package/dist-types/commands/GetCommentCommand.d.ts +29 -0
  28. package/dist-types/commands/GetCommentReactionsCommand.d.ts +23 -0
  29. package/dist-types/commands/GetCommentsForComparedCommitCommand.d.ts +46 -0
  30. package/dist-types/commands/GetCommentsForPullRequestCommand.d.ts +58 -0
  31. package/dist-types/commands/GetCommitCommand.d.ts +40 -0
  32. package/dist-types/commands/GetDifferencesCommand.d.ts +55 -0
  33. package/dist-types/commands/GetFileCommand.d.ts +51 -0
  34. package/dist-types/commands/GetFolderCommand.d.ts +47 -0
  35. package/dist-types/commands/GetMergeCommitCommand.d.ts +46 -0
  36. package/dist-types/commands/GetMergeConflictsCommand.d.ts +74 -0
  37. package/dist-types/commands/GetMergeOptionsCommand.d.ts +56 -0
  38. package/dist-types/commands/GetPullRequestApprovalStatesCommand.d.ts +31 -0
  39. package/dist-types/commands/GetPullRequestCommand.d.ts +25 -0
  40. package/dist-types/commands/GetPullRequestOverrideStateCommand.d.ts +31 -0
  41. package/dist-types/commands/GetRepositoryCommand.d.ts +31 -0
  42. package/dist-types/commands/GetRepositoryTriggersCommand.d.ts +31 -0
  43. package/dist-types/commands/ListApprovalRuleTemplatesCommand.d.ts +7 -0
  44. package/dist-types/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +37 -0
  45. package/dist-types/commands/ListBranchesCommand.d.ts +34 -0
  46. package/dist-types/commands/ListPullRequestsCommand.d.ts +46 -0
  47. package/dist-types/commands/ListRepositoriesCommand.d.ts +10 -0
  48. package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +35 -0
  49. package/dist-types/commands/ListTagsForResourceCommand.d.ts +23 -0
  50. package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +66 -0
  51. package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +132 -0
  52. package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +132 -0
  53. package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +65 -0
  54. package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +128 -0
  55. package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +128 -0
  56. package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +46 -0
  57. package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +82 -0
  58. package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +94 -0
  59. package/dist-types/commands/PostCommentReplyCommand.d.ts +31 -0
  60. package/dist-types/commands/PutCommentReactionCommand.d.ts +23 -0
  61. package/dist-types/commands/PutFileCommand.d.ts +110 -0
  62. package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +74 -0
  63. package/dist-types/commands/TagResourceCommand.d.ts +38 -0
  64. package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +74 -0
  65. package/dist-types/commands/UntagResourceCommand.d.ts +38 -0
  66. package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +23 -0
  67. package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +20 -0
  68. package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +19 -0
  69. package/dist-types/commands/UpdateCommentCommand.d.ts +23 -0
  70. package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +40 -0
  71. package/dist-types/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +50 -0
  72. package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +50 -0
  73. package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +17 -0
  74. package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +34 -0
  75. package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +19 -0
  76. package/dist-types/commands/UpdateRepositoryDescriptionCommand.d.ts +34 -0
  77. package/dist-types/commands/UpdateRepositoryNameCommand.d.ts +19 -0
  78. package/package.json +29 -29
@@ -31,6 +31,29 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceOut
31
31
  * @see {@link ListTagsForResourceCommandOutput} for command's `response` shape.
32
32
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
33
33
  *
34
+ * @throws {@link InvalidRepositoryNameException} (client fault)
35
+ * <p>A specified repository name is not valid.</p>
36
+ *
37
+ * <note>
38
+ * <p>This exception occurs only when a specified repository name is not valid. Other
39
+ * exceptions occur when a required repository parameter is missing, or when a
40
+ * specified repository does not exist.</p>
41
+ * </note>
42
+ *
43
+ * @throws {@link InvalidResourceArnException} (client fault)
44
+ * <p>The value for the resource ARN is not valid. For more information about resources in AWS CodeCommit, see
45
+ * <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a>
46
+ * in the AWS CodeCommit User Guide.</p>
47
+ *
48
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
49
+ * <p>The specified repository does not exist.</p>
50
+ *
51
+ * @throws {@link ResourceArnRequiredException} (client fault)
52
+ * <p>A valid Amazon Resource Name (ARN) for an AWS CodeCommit resource is required. For a list of valid resources in AWS CodeCommit, see
53
+ * <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a>
54
+ * in the AWS CodeCommit User Guide.</p>
55
+ *
56
+ *
34
57
  */
35
58
  export declare class ListTagsForResourceCommand extends $Command<ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput, CodeCommitClientResolvedConfig> {
36
59
  readonly input: ListTagsForResourceCommandInput;
@@ -29,6 +29,72 @@ export interface MergeBranchesByFastForwardCommandOutput extends MergeBranchesBy
29
29
  * @see {@link MergeBranchesByFastForwardCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link BranchDoesNotExistException} (client fault)
33
+ * <p>The specified branch does not exist.</p>
34
+ *
35
+ * @throws {@link BranchNameIsTagNameException} (client fault)
36
+ * <p>The specified branch name is not valid because it is a tag name. Enter the name of a
37
+ * branch in the repository. For a list of valid branch names, use <a>ListBranches</a>.</p>
38
+ *
39
+ * @throws {@link BranchNameRequiredException} (client fault)
40
+ * <p>A branch name is required, but was not specified.</p>
41
+ *
42
+ * @throws {@link CommitDoesNotExistException} (client fault)
43
+ * <p>The specified commit does not exist or no commit was specified, and the specified repository has no default branch.</p>
44
+ *
45
+ * @throws {@link CommitRequiredException} (client fault)
46
+ * <p>A commit was not specified.</p>
47
+ *
48
+ * @throws {@link ConcurrentReferenceUpdateException} (client fault)
49
+ * <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>
50
+ *
51
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
52
+ * <p>An encryption integrity check failed.</p>
53
+ *
54
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
55
+ * <p>An encryption key could not be accessed.</p>
56
+ *
57
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
58
+ * <p>The encryption key is disabled.</p>
59
+ *
60
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
61
+ * <p>No encryption key was found.</p>
62
+ *
63
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
64
+ * <p>The encryption key is not available.</p>
65
+ *
66
+ * @throws {@link InvalidBranchNameException} (client fault)
67
+ * <p>The specified reference name is not valid.</p>
68
+ *
69
+ * @throws {@link InvalidCommitException} (client fault)
70
+ * <p>The specified commit is not valid.</p>
71
+ *
72
+ * @throws {@link InvalidRepositoryNameException} (client fault)
73
+ * <p>A specified repository name is not valid.</p>
74
+ *
75
+ * <note>
76
+ * <p>This exception occurs only when a specified repository name is not valid. Other
77
+ * exceptions occur when a required repository parameter is missing, or when a
78
+ * specified repository does not exist.</p>
79
+ * </note>
80
+ *
81
+ * @throws {@link InvalidTargetBranchException} (client fault)
82
+ * <p>The specified target branch is not valid.</p>
83
+ *
84
+ * @throws {@link ManualMergeRequiredException} (client fault)
85
+ * <p>The pull request cannot be merged automatically into the destination branch. You must manually merge the branches and resolve any conflicts.</p>
86
+ *
87
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
88
+ * <p>The specified repository does not exist.</p>
89
+ *
90
+ * @throws {@link RepositoryNameRequiredException} (client fault)
91
+ * <p>A repository name is required, but was not specified.</p>
92
+ *
93
+ * @throws {@link TipsDivergenceExceededException} (client fault)
94
+ * <p>The divergence between the tips of the provided commit specifiers is too great to determine whether there might be
95
+ * any merge conflicts. Locally compare the specifiers using <code>git diff</code> or a diff tool.</p>
96
+ *
97
+ *
32
98
  */
33
99
  export declare class MergeBranchesByFastForwardCommand extends $Command<MergeBranchesByFastForwardCommandInput, MergeBranchesByFastForwardCommandOutput, CodeCommitClientResolvedConfig> {
34
100
  readonly input: MergeBranchesByFastForwardCommandInput;
@@ -29,6 +29,138 @@ export interface MergeBranchesBySquashCommandOutput extends MergeBranchesBySquas
29
29
  * @see {@link MergeBranchesBySquashCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link BranchDoesNotExistException} (client fault)
33
+ * <p>The specified branch does not exist.</p>
34
+ *
35
+ * @throws {@link BranchNameIsTagNameException} (client fault)
36
+ * <p>The specified branch name is not valid because it is a tag name. Enter the name of a
37
+ * branch in the repository. For a list of valid branch names, use <a>ListBranches</a>.</p>
38
+ *
39
+ * @throws {@link BranchNameRequiredException} (client fault)
40
+ * <p>A branch name is required, but was not specified.</p>
41
+ *
42
+ * @throws {@link CommitDoesNotExistException} (client fault)
43
+ * <p>The specified commit does not exist or no commit was specified, and the specified repository has no default branch.</p>
44
+ *
45
+ * @throws {@link CommitMessageLengthExceededException} (client fault)
46
+ * <p>The commit message is too long. Provide a shorter string. </p>
47
+ *
48
+ * @throws {@link CommitRequiredException} (client fault)
49
+ * <p>A commit was not specified.</p>
50
+ *
51
+ * @throws {@link ConcurrentReferenceUpdateException} (client fault)
52
+ * <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>
53
+ *
54
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
55
+ * <p>An encryption integrity check failed.</p>
56
+ *
57
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
58
+ * <p>An encryption key could not be accessed.</p>
59
+ *
60
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
61
+ * <p>The encryption key is disabled.</p>
62
+ *
63
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
64
+ * <p>No encryption key was found.</p>
65
+ *
66
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
67
+ * <p>The encryption key is not available.</p>
68
+ *
69
+ * @throws {@link FileContentSizeLimitExceededException} (client fault)
70
+ * <p>The file cannot be added because it is too large. The maximum file size is 6 MB, and
71
+ * the combined file content change size is 7 MB. Consider making these changes using a Git
72
+ * client.</p>
73
+ *
74
+ * @throws {@link FileModeRequiredException} (client fault)
75
+ * <p>The commit cannot be created because no file mode has been specified. A file mode is
76
+ * required to update mode permissions for a file.</p>
77
+ *
78
+ * @throws {@link FolderContentSizeLimitExceededException} (client fault)
79
+ * <p>The commit cannot be created because at least one of the overall changes in the commit results in a
80
+ * folder whose contents exceed the limit of 6 MB. Either reduce the number and size of your changes,
81
+ * or split the changes across multiple folders.</p>
82
+ *
83
+ * @throws {@link InvalidBranchNameException} (client fault)
84
+ * <p>The specified reference name is not valid.</p>
85
+ *
86
+ * @throws {@link InvalidCommitException} (client fault)
87
+ * <p>The specified commit is not valid.</p>
88
+ *
89
+ * @throws {@link InvalidConflictDetailLevelException} (client fault)
90
+ * <p>The specified conflict detail level is not valid.</p>
91
+ *
92
+ * @throws {@link InvalidConflictResolutionException} (client fault)
93
+ * <p>The specified conflict resolution list is not valid.</p>
94
+ *
95
+ * @throws {@link InvalidConflictResolutionStrategyException} (client fault)
96
+ * <p>The specified conflict resolution strategy is not valid.</p>
97
+ *
98
+ * @throws {@link InvalidEmailException} (client fault)
99
+ * <p>The specified email address either contains one or more characters that are not allowed, or it exceeds the maximum number of characters
100
+ * allowed for an email address.</p>
101
+ *
102
+ * @throws {@link InvalidFileModeException} (client fault)
103
+ * <p>The specified file mode permission is not valid. For a list of valid file mode permissions, see <a>PutFile</a>. </p>
104
+ *
105
+ * @throws {@link InvalidPathException} (client fault)
106
+ * <p>The specified path is not valid.</p>
107
+ *
108
+ * @throws {@link InvalidReplacementContentException} (client fault)
109
+ * <p>Automerge was specified for resolving the conflict, but the replacement type is not valid or content is missing. </p>
110
+ *
111
+ * @throws {@link InvalidReplacementTypeException} (client fault)
112
+ * <p>Automerge was specified for resolving the conflict, but the specified replacement type is not valid.</p>
113
+ *
114
+ * @throws {@link InvalidRepositoryNameException} (client fault)
115
+ * <p>A specified repository name is not valid.</p>
116
+ *
117
+ * <note>
118
+ * <p>This exception occurs only when a specified repository name is not valid. Other
119
+ * exceptions occur when a required repository parameter is missing, or when a
120
+ * specified repository does not exist.</p>
121
+ * </note>
122
+ *
123
+ * @throws {@link InvalidTargetBranchException} (client fault)
124
+ * <p>The specified target branch is not valid.</p>
125
+ *
126
+ * @throws {@link ManualMergeRequiredException} (client fault)
127
+ * <p>The pull request cannot be merged automatically into the destination branch. You must manually merge the branches and resolve any conflicts.</p>
128
+ *
129
+ * @throws {@link MaximumConflictResolutionEntriesExceededException} (client fault)
130
+ * <p>The number of allowed conflict resolution entries was exceeded.</p>
131
+ *
132
+ * @throws {@link MaximumFileContentToLoadExceededException} (client fault)
133
+ * <p>The number of files to load exceeds the allowed limit.</p>
134
+ *
135
+ * @throws {@link MaximumItemsToCompareExceededException} (client fault)
136
+ * <p>The number of items to compare between the source or destination branches and the merge base has exceeded the maximum allowed.</p>
137
+ *
138
+ * @throws {@link MultipleConflictResolutionEntriesException} (client fault)
139
+ * <p>More than one conflict resolution entries exists for the conflict. A conflict can have only one conflict resolution entry.</p>
140
+ *
141
+ * @throws {@link NameLengthExceededException} (client fault)
142
+ * <p>The user name is not valid because it has exceeded the character limit for author names. </p>
143
+ *
144
+ * @throws {@link PathRequiredException} (client fault)
145
+ * <p>The folderPath for a location cannot be null.</p>
146
+ *
147
+ * @throws {@link ReplacementContentRequiredException} (client fault)
148
+ * <p>USE_NEW_CONTENT was specified, but no replacement content has been provided.</p>
149
+ *
150
+ * @throws {@link ReplacementTypeRequiredException} (client fault)
151
+ * <p>A replacement type is required.</p>
152
+ *
153
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
154
+ * <p>The specified repository does not exist.</p>
155
+ *
156
+ * @throws {@link RepositoryNameRequiredException} (client fault)
157
+ * <p>A repository name is required, but was not specified.</p>
158
+ *
159
+ * @throws {@link TipsDivergenceExceededException} (client fault)
160
+ * <p>The divergence between the tips of the provided commit specifiers is too great to determine whether there might be
161
+ * any merge conflicts. Locally compare the specifiers using <code>git diff</code> or a diff tool.</p>
162
+ *
163
+ *
32
164
  */
33
165
  export declare class MergeBranchesBySquashCommand extends $Command<MergeBranchesBySquashCommandInput, MergeBranchesBySquashCommandOutput, CodeCommitClientResolvedConfig> {
34
166
  readonly input: MergeBranchesBySquashCommandInput;
@@ -29,6 +29,138 @@ export interface MergeBranchesByThreeWayCommandOutput extends MergeBranchesByThr
29
29
  * @see {@link MergeBranchesByThreeWayCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link BranchDoesNotExistException} (client fault)
33
+ * <p>The specified branch does not exist.</p>
34
+ *
35
+ * @throws {@link BranchNameIsTagNameException} (client fault)
36
+ * <p>The specified branch name is not valid because it is a tag name. Enter the name of a
37
+ * branch in the repository. For a list of valid branch names, use <a>ListBranches</a>.</p>
38
+ *
39
+ * @throws {@link BranchNameRequiredException} (client fault)
40
+ * <p>A branch name is required, but was not specified.</p>
41
+ *
42
+ * @throws {@link CommitDoesNotExistException} (client fault)
43
+ * <p>The specified commit does not exist or no commit was specified, and the specified repository has no default branch.</p>
44
+ *
45
+ * @throws {@link CommitMessageLengthExceededException} (client fault)
46
+ * <p>The commit message is too long. Provide a shorter string. </p>
47
+ *
48
+ * @throws {@link CommitRequiredException} (client fault)
49
+ * <p>A commit was not specified.</p>
50
+ *
51
+ * @throws {@link ConcurrentReferenceUpdateException} (client fault)
52
+ * <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>
53
+ *
54
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
55
+ * <p>An encryption integrity check failed.</p>
56
+ *
57
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
58
+ * <p>An encryption key could not be accessed.</p>
59
+ *
60
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
61
+ * <p>The encryption key is disabled.</p>
62
+ *
63
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
64
+ * <p>No encryption key was found.</p>
65
+ *
66
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
67
+ * <p>The encryption key is not available.</p>
68
+ *
69
+ * @throws {@link FileContentSizeLimitExceededException} (client fault)
70
+ * <p>The file cannot be added because it is too large. The maximum file size is 6 MB, and
71
+ * the combined file content change size is 7 MB. Consider making these changes using a Git
72
+ * client.</p>
73
+ *
74
+ * @throws {@link FileModeRequiredException} (client fault)
75
+ * <p>The commit cannot be created because no file mode has been specified. A file mode is
76
+ * required to update mode permissions for a file.</p>
77
+ *
78
+ * @throws {@link FolderContentSizeLimitExceededException} (client fault)
79
+ * <p>The commit cannot be created because at least one of the overall changes in the commit results in a
80
+ * folder whose contents exceed the limit of 6 MB. Either reduce the number and size of your changes,
81
+ * or split the changes across multiple folders.</p>
82
+ *
83
+ * @throws {@link InvalidBranchNameException} (client fault)
84
+ * <p>The specified reference name is not valid.</p>
85
+ *
86
+ * @throws {@link InvalidCommitException} (client fault)
87
+ * <p>The specified commit is not valid.</p>
88
+ *
89
+ * @throws {@link InvalidConflictDetailLevelException} (client fault)
90
+ * <p>The specified conflict detail level is not valid.</p>
91
+ *
92
+ * @throws {@link InvalidConflictResolutionException} (client fault)
93
+ * <p>The specified conflict resolution list is not valid.</p>
94
+ *
95
+ * @throws {@link InvalidConflictResolutionStrategyException} (client fault)
96
+ * <p>The specified conflict resolution strategy is not valid.</p>
97
+ *
98
+ * @throws {@link InvalidEmailException} (client fault)
99
+ * <p>The specified email address either contains one or more characters that are not allowed, or it exceeds the maximum number of characters
100
+ * allowed for an email address.</p>
101
+ *
102
+ * @throws {@link InvalidFileModeException} (client fault)
103
+ * <p>The specified file mode permission is not valid. For a list of valid file mode permissions, see <a>PutFile</a>. </p>
104
+ *
105
+ * @throws {@link InvalidPathException} (client fault)
106
+ * <p>The specified path is not valid.</p>
107
+ *
108
+ * @throws {@link InvalidReplacementContentException} (client fault)
109
+ * <p>Automerge was specified for resolving the conflict, but the replacement type is not valid or content is missing. </p>
110
+ *
111
+ * @throws {@link InvalidReplacementTypeException} (client fault)
112
+ * <p>Automerge was specified for resolving the conflict, but the specified replacement type is not valid.</p>
113
+ *
114
+ * @throws {@link InvalidRepositoryNameException} (client fault)
115
+ * <p>A specified repository name is not valid.</p>
116
+ *
117
+ * <note>
118
+ * <p>This exception occurs only when a specified repository name is not valid. Other
119
+ * exceptions occur when a required repository parameter is missing, or when a
120
+ * specified repository does not exist.</p>
121
+ * </note>
122
+ *
123
+ * @throws {@link InvalidTargetBranchException} (client fault)
124
+ * <p>The specified target branch is not valid.</p>
125
+ *
126
+ * @throws {@link ManualMergeRequiredException} (client fault)
127
+ * <p>The pull request cannot be merged automatically into the destination branch. You must manually merge the branches and resolve any conflicts.</p>
128
+ *
129
+ * @throws {@link MaximumConflictResolutionEntriesExceededException} (client fault)
130
+ * <p>The number of allowed conflict resolution entries was exceeded.</p>
131
+ *
132
+ * @throws {@link MaximumFileContentToLoadExceededException} (client fault)
133
+ * <p>The number of files to load exceeds the allowed limit.</p>
134
+ *
135
+ * @throws {@link MaximumItemsToCompareExceededException} (client fault)
136
+ * <p>The number of items to compare between the source or destination branches and the merge base has exceeded the maximum allowed.</p>
137
+ *
138
+ * @throws {@link MultipleConflictResolutionEntriesException} (client fault)
139
+ * <p>More than one conflict resolution entries exists for the conflict. A conflict can have only one conflict resolution entry.</p>
140
+ *
141
+ * @throws {@link NameLengthExceededException} (client fault)
142
+ * <p>The user name is not valid because it has exceeded the character limit for author names. </p>
143
+ *
144
+ * @throws {@link PathRequiredException} (client fault)
145
+ * <p>The folderPath for a location cannot be null.</p>
146
+ *
147
+ * @throws {@link ReplacementContentRequiredException} (client fault)
148
+ * <p>USE_NEW_CONTENT was specified, but no replacement content has been provided.</p>
149
+ *
150
+ * @throws {@link ReplacementTypeRequiredException} (client fault)
151
+ * <p>A replacement type is required.</p>
152
+ *
153
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
154
+ * <p>The specified repository does not exist.</p>
155
+ *
156
+ * @throws {@link RepositoryNameRequiredException} (client fault)
157
+ * <p>A repository name is required, but was not specified.</p>
158
+ *
159
+ * @throws {@link TipsDivergenceExceededException} (client fault)
160
+ * <p>The divergence between the tips of the provided commit specifiers is too great to determine whether there might be
161
+ * any merge conflicts. Locally compare the specifiers using <code>git diff</code> or a diff tool.</p>
162
+ *
163
+ *
32
164
  */
33
165
  export declare class MergeBranchesByThreeWayCommand extends $Command<MergeBranchesByThreeWayCommandInput, MergeBranchesByThreeWayCommandOutput, CodeCommitClientResolvedConfig> {
34
166
  readonly input: MergeBranchesByThreeWayCommandInput;
@@ -30,6 +30,71 @@ export interface MergePullRequestByFastForwardCommandOutput extends MergePullReq
30
30
  * @see {@link MergePullRequestByFastForwardCommandOutput} for command's `response` shape.
31
31
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
32
32
  *
33
+ * @throws {@link ConcurrentReferenceUpdateException} (client fault)
34
+ * <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>
35
+ *
36
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
37
+ * <p>An encryption integrity check failed.</p>
38
+ *
39
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
40
+ * <p>An encryption key could not be accessed.</p>
41
+ *
42
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
43
+ * <p>The encryption key is disabled.</p>
44
+ *
45
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
46
+ * <p>No encryption key was found.</p>
47
+ *
48
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
49
+ * <p>The encryption key is not available.</p>
50
+ *
51
+ * @throws {@link InvalidCommitIdException} (client fault)
52
+ * <p>The specified commit ID is not valid.</p>
53
+ *
54
+ * @throws {@link InvalidPullRequestIdException} (client fault)
55
+ * <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>
56
+ *
57
+ * @throws {@link InvalidRepositoryNameException} (client fault)
58
+ * <p>A specified repository name is not valid.</p>
59
+ *
60
+ * <note>
61
+ * <p>This exception occurs only when a specified repository name is not valid. Other
62
+ * exceptions occur when a required repository parameter is missing, or when a
63
+ * specified repository does not exist.</p>
64
+ * </note>
65
+ *
66
+ * @throws {@link ManualMergeRequiredException} (client fault)
67
+ * <p>The pull request cannot be merged automatically into the destination branch. You must manually merge the branches and resolve any conflicts.</p>
68
+ *
69
+ * @throws {@link PullRequestAlreadyClosedException} (client fault)
70
+ * <p>The pull request status cannot be updated because it is already closed.</p>
71
+ *
72
+ * @throws {@link PullRequestApprovalRulesNotSatisfiedException} (client fault)
73
+ * <p>The pull request cannot be merged because one or more approval rules applied to the pull request have conditions that have not been met.</p>
74
+ *
75
+ * @throws {@link PullRequestDoesNotExistException} (client fault)
76
+ * <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>
77
+ *
78
+ * @throws {@link PullRequestIdRequiredException} (client fault)
79
+ * <p>A pull request ID is required, but none was provided.</p>
80
+ *
81
+ * @throws {@link ReferenceDoesNotExistException} (client fault)
82
+ * <p>The specified reference does not exist. You must provide a full commit ID.</p>
83
+ *
84
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
85
+ * <p>The specified repository does not exist.</p>
86
+ *
87
+ * @throws {@link RepositoryNameRequiredException} (client fault)
88
+ * <p>A repository name is required, but was not specified.</p>
89
+ *
90
+ * @throws {@link RepositoryNotAssociatedWithPullRequestException} (client fault)
91
+ * <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>
92
+ *
93
+ * @throws {@link TipOfSourceReferenceIsDifferentException} (client fault)
94
+ * <p>The tip of the source branch in the destination repository does not match the tip of the source branch specified in your request.
95
+ * The pull request might have been updated. Make sure that you have the latest changes.</p>
96
+ *
97
+ *
33
98
  */
34
99
  export declare class MergePullRequestByFastForwardCommand extends $Command<MergePullRequestByFastForwardCommandInput, MergePullRequestByFastForwardCommandOutput, CodeCommitClientResolvedConfig> {
35
100
  readonly input: MergePullRequestByFastForwardCommandInput;
@@ -30,6 +30,134 @@ export interface MergePullRequestBySquashCommandOutput extends MergePullRequestB
30
30
  * @see {@link MergePullRequestBySquashCommandOutput} for command's `response` shape.
31
31
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
32
32
  *
33
+ * @throws {@link CommitMessageLengthExceededException} (client fault)
34
+ * <p>The commit message is too long. Provide a shorter string. </p>
35
+ *
36
+ * @throws {@link ConcurrentReferenceUpdateException} (client fault)
37
+ * <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>
38
+ *
39
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
40
+ * <p>An encryption integrity check failed.</p>
41
+ *
42
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
43
+ * <p>An encryption key could not be accessed.</p>
44
+ *
45
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
46
+ * <p>The encryption key is disabled.</p>
47
+ *
48
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
49
+ * <p>No encryption key was found.</p>
50
+ *
51
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
52
+ * <p>The encryption key is not available.</p>
53
+ *
54
+ * @throws {@link FileContentSizeLimitExceededException} (client fault)
55
+ * <p>The file cannot be added because it is too large. The maximum file size is 6 MB, and
56
+ * the combined file content change size is 7 MB. Consider making these changes using a Git
57
+ * client.</p>
58
+ *
59
+ * @throws {@link FolderContentSizeLimitExceededException} (client fault)
60
+ * <p>The commit cannot be created because at least one of the overall changes in the commit results in a
61
+ * folder whose contents exceed the limit of 6 MB. Either reduce the number and size of your changes,
62
+ * or split the changes across multiple folders.</p>
63
+ *
64
+ * @throws {@link InvalidCommitIdException} (client fault)
65
+ * <p>The specified commit ID is not valid.</p>
66
+ *
67
+ * @throws {@link InvalidConflictDetailLevelException} (client fault)
68
+ * <p>The specified conflict detail level is not valid.</p>
69
+ *
70
+ * @throws {@link InvalidConflictResolutionException} (client fault)
71
+ * <p>The specified conflict resolution list is not valid.</p>
72
+ *
73
+ * @throws {@link InvalidConflictResolutionStrategyException} (client fault)
74
+ * <p>The specified conflict resolution strategy is not valid.</p>
75
+ *
76
+ * @throws {@link InvalidEmailException} (client fault)
77
+ * <p>The specified email address either contains one or more characters that are not allowed, or it exceeds the maximum number of characters
78
+ * allowed for an email address.</p>
79
+ *
80
+ * @throws {@link InvalidFileModeException} (client fault)
81
+ * <p>The specified file mode permission is not valid. For a list of valid file mode permissions, see <a>PutFile</a>. </p>
82
+ *
83
+ * @throws {@link InvalidPathException} (client fault)
84
+ * <p>The specified path is not valid.</p>
85
+ *
86
+ * @throws {@link InvalidPullRequestIdException} (client fault)
87
+ * <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>
88
+ *
89
+ * @throws {@link InvalidReplacementContentException} (client fault)
90
+ * <p>Automerge was specified for resolving the conflict, but the replacement type is not valid or content is missing. </p>
91
+ *
92
+ * @throws {@link InvalidReplacementTypeException} (client fault)
93
+ * <p>Automerge was specified for resolving the conflict, but the specified replacement type is not valid.</p>
94
+ *
95
+ * @throws {@link InvalidRepositoryNameException} (client fault)
96
+ * <p>A specified repository name is not valid.</p>
97
+ *
98
+ * <note>
99
+ * <p>This exception occurs only when a specified repository name is not valid. Other
100
+ * exceptions occur when a required repository parameter is missing, or when a
101
+ * specified repository does not exist.</p>
102
+ * </note>
103
+ *
104
+ * @throws {@link ManualMergeRequiredException} (client fault)
105
+ * <p>The pull request cannot be merged automatically into the destination branch. You must manually merge the branches and resolve any conflicts.</p>
106
+ *
107
+ * @throws {@link MaximumConflictResolutionEntriesExceededException} (client fault)
108
+ * <p>The number of allowed conflict resolution entries was exceeded.</p>
109
+ *
110
+ * @throws {@link MaximumFileContentToLoadExceededException} (client fault)
111
+ * <p>The number of files to load exceeds the allowed limit.</p>
112
+ *
113
+ * @throws {@link MaximumItemsToCompareExceededException} (client fault)
114
+ * <p>The number of items to compare between the source or destination branches and the merge base has exceeded the maximum allowed.</p>
115
+ *
116
+ * @throws {@link MultipleConflictResolutionEntriesException} (client fault)
117
+ * <p>More than one conflict resolution entries exists for the conflict. A conflict can have only one conflict resolution entry.</p>
118
+ *
119
+ * @throws {@link NameLengthExceededException} (client fault)
120
+ * <p>The user name is not valid because it has exceeded the character limit for author names. </p>
121
+ *
122
+ * @throws {@link PathRequiredException} (client fault)
123
+ * <p>The folderPath for a location cannot be null.</p>
124
+ *
125
+ * @throws {@link PullRequestAlreadyClosedException} (client fault)
126
+ * <p>The pull request status cannot be updated because it is already closed.</p>
127
+ *
128
+ * @throws {@link PullRequestApprovalRulesNotSatisfiedException} (client fault)
129
+ * <p>The pull request cannot be merged because one or more approval rules applied to the pull request have conditions that have not been met.</p>
130
+ *
131
+ * @throws {@link PullRequestDoesNotExistException} (client fault)
132
+ * <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>
133
+ *
134
+ * @throws {@link PullRequestIdRequiredException} (client fault)
135
+ * <p>A pull request ID is required, but none was provided.</p>
136
+ *
137
+ * @throws {@link ReplacementContentRequiredException} (client fault)
138
+ * <p>USE_NEW_CONTENT was specified, but no replacement content has been provided.</p>
139
+ *
140
+ * @throws {@link ReplacementTypeRequiredException} (client fault)
141
+ * <p>A replacement type is required.</p>
142
+ *
143
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
144
+ * <p>The specified repository does not exist.</p>
145
+ *
146
+ * @throws {@link RepositoryNameRequiredException} (client fault)
147
+ * <p>A repository name is required, but was not specified.</p>
148
+ *
149
+ * @throws {@link RepositoryNotAssociatedWithPullRequestException} (client fault)
150
+ * <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>
151
+ *
152
+ * @throws {@link TipOfSourceReferenceIsDifferentException} (client fault)
153
+ * <p>The tip of the source branch in the destination repository does not match the tip of the source branch specified in your request.
154
+ * The pull request might have been updated. Make sure that you have the latest changes.</p>
155
+ *
156
+ * @throws {@link TipsDivergenceExceededException} (client fault)
157
+ * <p>The divergence between the tips of the provided commit specifiers is too great to determine whether there might be
158
+ * any merge conflicts. Locally compare the specifiers using <code>git diff</code> or a diff tool.</p>
159
+ *
160
+ *
33
161
  */
34
162
  export declare class MergePullRequestBySquashCommand extends $Command<MergePullRequestBySquashCommandInput, MergePullRequestBySquashCommandOutput, CodeCommitClientResolvedConfig> {
35
163
  readonly input: MergePullRequestBySquashCommandInput;