@aws-sdk/client-codecommit 3.289.0 → 3.292.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 +35 -40
@@ -30,6 +30,134 @@ export interface MergePullRequestByThreeWayCommandOutput extends MergePullReques
30
30
  * @see {@link MergePullRequestByThreeWayCommandOutput} 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 MergePullRequestByThreeWayCommand extends $Command<MergePullRequestByThreeWayCommandInput, MergePullRequestByThreeWayCommandOutput, CodeCommitClientResolvedConfig> {
35
163
  readonly input: MergePullRequestByThreeWayCommandInput;
@@ -29,6 +29,52 @@ export interface OverridePullRequestApprovalRulesCommandOutput extends __Metadat
29
29
  * @see {@link OverridePullRequestApprovalRulesCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
33
+ * <p>An encryption integrity check failed.</p>
34
+ *
35
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
36
+ * <p>An encryption key could not be accessed.</p>
37
+ *
38
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
39
+ * <p>The encryption key is disabled.</p>
40
+ *
41
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
42
+ * <p>No encryption key was found.</p>
43
+ *
44
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
45
+ * <p>The encryption key is not available.</p>
46
+ *
47
+ * @throws {@link InvalidOverrideStatusException} (client fault)
48
+ * <p>The override status is not valid. Valid statuses are OVERRIDE and REVOKE.</p>
49
+ *
50
+ * @throws {@link InvalidPullRequestIdException} (client fault)
51
+ * <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>
52
+ *
53
+ * @throws {@link InvalidRevisionIdException} (client fault)
54
+ * <p>The revision ID is not valid. Use GetPullRequest to determine the value.</p>
55
+ *
56
+ * @throws {@link OverrideAlreadySetException} (client fault)
57
+ * <p>The pull request has already had its approval rules set to override.</p>
58
+ *
59
+ * @throws {@link OverrideStatusRequiredException} (client fault)
60
+ * <p>An override status is required, but no value was provided. Valid values include OVERRIDE and REVOKE.</p>
61
+ *
62
+ * @throws {@link PullRequestAlreadyClosedException} (client fault)
63
+ * <p>The pull request status cannot be updated because it is already closed.</p>
64
+ *
65
+ * @throws {@link PullRequestDoesNotExistException} (client fault)
66
+ * <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>
67
+ *
68
+ * @throws {@link PullRequestIdRequiredException} (client fault)
69
+ * <p>A pull request ID is required, but none was provided.</p>
70
+ *
71
+ * @throws {@link RevisionIdRequiredException} (client fault)
72
+ * <p>A revision ID is required, but was not provided.</p>
73
+ *
74
+ * @throws {@link RevisionNotCurrentException} (client fault)
75
+ * <p>The revision ID provided in the request does not match the current revision ID. Use GetPullRequest to retrieve the current revision ID.</p>
76
+ *
77
+ *
32
78
  */
33
79
  export declare class OverridePullRequestApprovalRulesCommand extends $Command<OverridePullRequestApprovalRulesCommandInput, OverridePullRequestApprovalRulesCommandOutput, CodeCommitClientResolvedConfig> {
34
80
  readonly input: OverridePullRequestApprovalRulesCommandInput;
@@ -29,6 +29,88 @@ export interface PostCommentForComparedCommitCommandOutput extends PostCommentFo
29
29
  * @see {@link PostCommentForComparedCommitCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link BeforeCommitIdAndAfterCommitIdAreSameException} (client fault)
33
+ * <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>
34
+ *
35
+ * @throws {@link ClientRequestTokenRequiredException} (client fault)
36
+ * <p>A client request token is required. A client request token is an unique,
37
+ * client-generated idempotency token that, when provided in a request, ensures the request
38
+ * cannot be repeated with a changed parameter. If a request is received with the same
39
+ * parameters and a token is included, the request returns information about the initial
40
+ * request that used that token.</p>
41
+ *
42
+ * @throws {@link CommentContentRequiredException} (client fault)
43
+ * <p>The comment is empty. You must provide some content for a comment. The content cannot be null.</p>
44
+ *
45
+ * @throws {@link CommentContentSizeLimitExceededException} (client fault)
46
+ * <p>The comment is too large. Comments are limited to 1,000 characters.</p>
47
+ *
48
+ * @throws {@link CommitDoesNotExistException} (client fault)
49
+ * <p>The specified commit does not exist or no commit was specified, and the specified repository has no default branch.</p>
50
+ *
51
+ * @throws {@link CommitIdRequiredException} (client fault)
52
+ * <p>A commit ID was not specified.</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 IdempotencyParameterMismatchException} (client fault)
70
+ * <p>The client request token is not valid. Either the token is not in a valid format, or
71
+ * the token has been used in a previous request and cannot be reused.</p>
72
+ *
73
+ * @throws {@link InvalidClientRequestTokenException} (client fault)
74
+ * <p>The client request token is not valid.</p>
75
+ *
76
+ * @throws {@link InvalidCommitIdException} (client fault)
77
+ * <p>The specified commit ID is not valid.</p>
78
+ *
79
+ * @throws {@link InvalidFileLocationException} (client fault)
80
+ * <p>The location of the file is not valid. Make sure that you include the file name and
81
+ * extension.</p>
82
+ *
83
+ * @throws {@link InvalidFilePositionException} (client fault)
84
+ * <p>The position is not valid. Make sure that the line number exists in the version of the file you want to comment on.</p>
85
+ *
86
+ * @throws {@link InvalidPathException} (client fault)
87
+ * <p>The specified path is not valid.</p>
88
+ *
89
+ * @throws {@link InvalidRelativeFileVersionEnumException} (client fault)
90
+ * <p>Either the enum is not in a valid format, or the specified file version enum is not valid in respect to the current file version.</p>
91
+ *
92
+ * @throws {@link InvalidRepositoryNameException} (client fault)
93
+ * <p>A specified repository name is not valid.</p>
94
+ *
95
+ * <note>
96
+ * <p>This exception occurs only when a specified repository name is not valid. Other
97
+ * exceptions occur when a required repository parameter is missing, or when a
98
+ * specified repository does not exist.</p>
99
+ * </note>
100
+ *
101
+ * @throws {@link PathDoesNotExistException} (client fault)
102
+ * <p>The specified path does not exist.</p>
103
+ *
104
+ * @throws {@link PathRequiredException} (client fault)
105
+ * <p>The folderPath for a location cannot be null.</p>
106
+ *
107
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
108
+ * <p>The specified repository does not exist.</p>
109
+ *
110
+ * @throws {@link RepositoryNameRequiredException} (client fault)
111
+ * <p>A repository name is required, but was not specified.</p>
112
+ *
113
+ *
32
114
  */
33
115
  export declare class PostCommentForComparedCommitCommand extends $Command<PostCommentForComparedCommitCommandInput, PostCommentForComparedCommitCommandOutput, CodeCommitClientResolvedConfig> {
34
116
  readonly input: PostCommentForComparedCommitCommandInput;
@@ -29,6 +29,100 @@ export interface PostCommentForPullRequestCommandOutput extends PostCommentForPu
29
29
  * @see {@link PostCommentForPullRequestCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link BeforeCommitIdAndAfterCommitIdAreSameException} (client fault)
33
+ * <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>
34
+ *
35
+ * @throws {@link ClientRequestTokenRequiredException} (client fault)
36
+ * <p>A client request token is required. A client request token is an unique,
37
+ * client-generated idempotency token that, when provided in a request, ensures the request
38
+ * cannot be repeated with a changed parameter. If a request is received with the same
39
+ * parameters and a token is included, the request returns information about the initial
40
+ * request that used that token.</p>
41
+ *
42
+ * @throws {@link CommentContentRequiredException} (client fault)
43
+ * <p>The comment is empty. You must provide some content for a comment. The content cannot be null.</p>
44
+ *
45
+ * @throws {@link CommentContentSizeLimitExceededException} (client fault)
46
+ * <p>The comment is too large. Comments are limited to 1,000 characters.</p>
47
+ *
48
+ * @throws {@link CommitDoesNotExistException} (client fault)
49
+ * <p>The specified commit does not exist or no commit was specified, and the specified repository has no default branch.</p>
50
+ *
51
+ * @throws {@link CommitIdRequiredException} (client fault)
52
+ * <p>A commit ID was not specified.</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 IdempotencyParameterMismatchException} (client fault)
70
+ * <p>The client request token is not valid. Either the token is not in a valid format, or
71
+ * the token has been used in a previous request and cannot be reused.</p>
72
+ *
73
+ * @throws {@link InvalidClientRequestTokenException} (client fault)
74
+ * <p>The client request token is not valid.</p>
75
+ *
76
+ * @throws {@link InvalidCommitIdException} (client fault)
77
+ * <p>The specified commit ID is not valid.</p>
78
+ *
79
+ * @throws {@link InvalidFileLocationException} (client fault)
80
+ * <p>The location of the file is not valid. Make sure that you include the file name and
81
+ * extension.</p>
82
+ *
83
+ * @throws {@link InvalidFilePositionException} (client fault)
84
+ * <p>The position is not valid. Make sure that the line number exists in the version of the file you want to comment on.</p>
85
+ *
86
+ * @throws {@link InvalidPathException} (client fault)
87
+ * <p>The specified path is not valid.</p>
88
+ *
89
+ * @throws {@link InvalidPullRequestIdException} (client fault)
90
+ * <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>
91
+ *
92
+ * @throws {@link InvalidRelativeFileVersionEnumException} (client fault)
93
+ * <p>Either the enum is not in a valid format, or the specified file version enum is not valid in respect to the current file version.</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 PathDoesNotExistException} (client fault)
105
+ * <p>The specified path does not exist.</p>
106
+ *
107
+ * @throws {@link PathRequiredException} (client fault)
108
+ * <p>The folderPath for a location cannot be null.</p>
109
+ *
110
+ * @throws {@link PullRequestDoesNotExistException} (client fault)
111
+ * <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>
112
+ *
113
+ * @throws {@link PullRequestIdRequiredException} (client fault)
114
+ * <p>A pull request ID is required, but none was provided.</p>
115
+ *
116
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
117
+ * <p>The specified repository does not exist.</p>
118
+ *
119
+ * @throws {@link RepositoryNameRequiredException} (client fault)
120
+ * <p>A repository name is required, but was not specified.</p>
121
+ *
122
+ * @throws {@link RepositoryNotAssociatedWithPullRequestException} (client fault)
123
+ * <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>
124
+ *
125
+ *
32
126
  */
33
127
  export declare class PostCommentForPullRequestCommand extends $Command<PostCommentForPullRequestCommandInput, PostCommentForPullRequestCommandOutput, CodeCommitClientResolvedConfig> {
34
128
  readonly input: PostCommentForPullRequestCommandInput;
@@ -29,6 +29,37 @@ export interface PostCommentReplyCommandOutput extends PostCommentReplyOutput, _
29
29
  * @see {@link PostCommentReplyCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link ClientRequestTokenRequiredException} (client fault)
33
+ * <p>A client request token is required. A client request token is an unique,
34
+ * client-generated idempotency token that, when provided in a request, ensures the request
35
+ * cannot be repeated with a changed parameter. If a request is received with the same
36
+ * parameters and a token is included, the request returns information about the initial
37
+ * request that used that token.</p>
38
+ *
39
+ * @throws {@link CommentContentRequiredException} (client fault)
40
+ * <p>The comment is empty. You must provide some content for a comment. The content cannot be null.</p>
41
+ *
42
+ * @throws {@link CommentContentSizeLimitExceededException} (client fault)
43
+ * <p>The comment is too large. Comments are limited to 1,000 characters.</p>
44
+ *
45
+ * @throws {@link CommentDoesNotExistException} (client fault)
46
+ * <p>No comment exists with the provided ID. Verify that you have used the correct ID, and
47
+ * then try again.</p>
48
+ *
49
+ * @throws {@link CommentIdRequiredException} (client fault)
50
+ * <p>The comment ID is missing or null. A comment ID is required.</p>
51
+ *
52
+ * @throws {@link IdempotencyParameterMismatchException} (client fault)
53
+ * <p>The client request token is not valid. Either the token is not in a valid format, or
54
+ * the token has been used in a previous request and cannot be reused.</p>
55
+ *
56
+ * @throws {@link InvalidClientRequestTokenException} (client fault)
57
+ * <p>The client request token is not valid.</p>
58
+ *
59
+ * @throws {@link InvalidCommentIdException} (client fault)
60
+ * <p>The comment ID is not in a valid format. Make sure that you have provided the full comment ID.</p>
61
+ *
62
+ *
32
63
  */
33
64
  export declare class PostCommentReplyCommand extends $Command<PostCommentReplyCommandInput, PostCommentReplyCommandOutput, CodeCommitClientResolvedConfig> {
34
65
  readonly input: PostCommentReplyCommandInput;
@@ -30,6 +30,29 @@ export interface PutCommentReactionCommandOutput extends __MetadataBearer {
30
30
  * @see {@link PutCommentReactionCommandOutput} for command's `response` shape.
31
31
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
32
32
  *
33
+ * @throws {@link CommentDeletedException} (client fault)
34
+ * <p>This comment has already been deleted. You cannot edit or delete a deleted comment.</p>
35
+ *
36
+ * @throws {@link CommentDoesNotExistException} (client fault)
37
+ * <p>No comment exists with the provided ID. Verify that you have used the correct ID, and
38
+ * then try again.</p>
39
+ *
40
+ * @throws {@link CommentIdRequiredException} (client fault)
41
+ * <p>The comment ID is missing or null. A comment ID is required.</p>
42
+ *
43
+ * @throws {@link InvalidCommentIdException} (client fault)
44
+ * <p>The comment ID is not in a valid format. Make sure that you have provided the full comment ID.</p>
45
+ *
46
+ * @throws {@link InvalidReactionValueException} (client fault)
47
+ * <p>The value of the reaction is not valid. For more information, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">AWS CodeCommit User Guide</a>.</p>
48
+ *
49
+ * @throws {@link ReactionLimitExceededException} (client fault)
50
+ * <p>The number of reactions has been exceeded. Reactions are limited to one reaction per user for each individual comment ID.</p>
51
+ *
52
+ * @throws {@link ReactionValueRequiredException} (client fault)
53
+ * <p>A reaction value is required. </p>
54
+ *
55
+ *
33
56
  */
34
57
  export declare class PutCommentReactionCommand extends $Command<PutCommentReactionCommandInput, PutCommentReactionCommandOutput, CodeCommitClientResolvedConfig> {
35
58
  readonly input: PutCommentReactionCommandInput;
@@ -29,6 +29,116 @@ export interface PutFileCommandOutput extends PutFileOutput, __MetadataBearer {
29
29
  * @see {@link PutFileCommandOutput} 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 CommitMessageLengthExceededException} (client fault)
43
+ * <p>The commit message is too long. Provide a shorter string. </p>
44
+ *
45
+ * @throws {@link DirectoryNameConflictsWithFileNameException} (client fault)
46
+ * <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.
47
+ * Either provide a different name for the file, or specify a different path for the file.</p>
48
+ *
49
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
50
+ * <p>An encryption integrity check failed.</p>
51
+ *
52
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
53
+ * <p>An encryption key could not be accessed.</p>
54
+ *
55
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
56
+ * <p>The encryption key is disabled.</p>
57
+ *
58
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
59
+ * <p>No encryption key was found.</p>
60
+ *
61
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
62
+ * <p>The encryption key is not available.</p>
63
+ *
64
+ * @throws {@link FileContentRequiredException} (client fault)
65
+ * <p>The file cannot be added because it is empty. Empty files cannot be added to the repository with this API.</p>
66
+ *
67
+ * @throws {@link FileContentSizeLimitExceededException} (client fault)
68
+ * <p>The file cannot be added because it is too large. The maximum file size is 6 MB, and
69
+ * the combined file content change size is 7 MB. Consider making these changes using a Git
70
+ * client.</p>
71
+ *
72
+ * @throws {@link FileNameConflictsWithDirectoryNameException} (client fault)
73
+ * <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
74
+ * another name for the file, or add the file in a directory that does not match the file name.</p>
75
+ *
76
+ * @throws {@link FilePathConflictsWithSubmodulePathException} (client fault)
77
+ * <p>The commit cannot be created because a specified file path points to a submodule. Verify that the destination files
78
+ * have valid file paths that do not point to a submodule.</p>
79
+ *
80
+ * @throws {@link FolderContentSizeLimitExceededException} (client fault)
81
+ * <p>The commit cannot be created because at least one of the overall changes in the commit results in a
82
+ * folder whose contents exceed the limit of 6 MB. Either reduce the number and size of your changes,
83
+ * or split the changes across multiple folders.</p>
84
+ *
85
+ * @throws {@link InvalidBranchNameException} (client fault)
86
+ * <p>The specified reference name is not valid.</p>
87
+ *
88
+ * @throws {@link InvalidDeletionParameterException} (client fault)
89
+ * <p>The specified deletion parameter is not valid.</p>
90
+ *
91
+ * @throws {@link InvalidEmailException} (client fault)
92
+ * <p>The specified email address either contains one or more characters that are not allowed, or it exceeds the maximum number of characters
93
+ * allowed for an email address.</p>
94
+ *
95
+ * @throws {@link InvalidFileModeException} (client fault)
96
+ * <p>The specified file mode permission is not valid. For a list of valid file mode permissions, see <a>PutFile</a>. </p>
97
+ *
98
+ * @throws {@link InvalidParentCommitIdException} (client fault)
99
+ * <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
100
+ * want to add or update a file.</p>
101
+ *
102
+ * @throws {@link InvalidPathException} (client fault)
103
+ * <p>The specified path is not valid.</p>
104
+ *
105
+ * @throws {@link InvalidRepositoryNameException} (client fault)
106
+ * <p>A specified repository name is not valid.</p>
107
+ *
108
+ * <note>
109
+ * <p>This exception occurs only when a specified repository name is not valid. Other
110
+ * exceptions occur when a required repository parameter is missing, or when a
111
+ * specified repository does not exist.</p>
112
+ * </note>
113
+ *
114
+ * @throws {@link NameLengthExceededException} (client fault)
115
+ * <p>The user name is not valid because it has exceeded the character limit for author names. </p>
116
+ *
117
+ * @throws {@link ParentCommitDoesNotExistException} (client fault)
118
+ * <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>
119
+ *
120
+ * @throws {@link ParentCommitIdOutdatedException} (client fault)
121
+ * <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
122
+ * of the branch, use <a>GetBranch</a>.</p>
123
+ *
124
+ * @throws {@link ParentCommitIdRequiredException} (client fault)
125
+ * <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
126
+ * (for example, git pull or git log).</p>
127
+ *
128
+ * @throws {@link PathRequiredException} (client fault)
129
+ * <p>The folderPath for a location cannot be null.</p>
130
+ *
131
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
132
+ * <p>The specified repository does not exist.</p>
133
+ *
134
+ * @throws {@link RepositoryNameRequiredException} (client fault)
135
+ * <p>A repository name is required, but was not specified.</p>
136
+ *
137
+ * @throws {@link SameFileContentException} (client fault)
138
+ * <p>The file was not added or updated because the content of the file is exactly the same as the content of that file in the repository and branch
139
+ * that you specified.</p>
140
+ *
141
+ *
32
142
  */
33
143
  export declare class PutFileCommand extends $Command<PutFileCommandInput, PutFileCommandOutput, CodeCommitClientResolvedConfig> {
34
144
  readonly input: PutFileCommandInput;
@@ -29,6 +29,80 @@ export interface PutRepositoryTriggersCommandOutput extends PutRepositoryTrigger
29
29
  * @see {@link PutRepositoryTriggersCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
33
+ * <p>An encryption integrity check failed.</p>
34
+ *
35
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
36
+ * <p>An encryption key could not be accessed.</p>
37
+ *
38
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
39
+ * <p>The encryption key is disabled.</p>
40
+ *
41
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
42
+ * <p>No encryption key was found.</p>
43
+ *
44
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
45
+ * <p>The encryption key is not available.</p>
46
+ *
47
+ * @throws {@link InvalidRepositoryNameException} (client fault)
48
+ * <p>A specified repository name is not valid.</p>
49
+ *
50
+ * <note>
51
+ * <p>This exception occurs only when a specified repository name is not valid. Other
52
+ * exceptions occur when a required repository parameter is missing, or when a
53
+ * specified repository does not exist.</p>
54
+ * </note>
55
+ *
56
+ * @throws {@link InvalidRepositoryTriggerBranchNameException} (client fault)
57
+ * <p>One or more branch names specified for the trigger is not valid.</p>
58
+ *
59
+ * @throws {@link InvalidRepositoryTriggerCustomDataException} (client fault)
60
+ * <p>The custom data provided for the trigger is not valid.</p>
61
+ *
62
+ * @throws {@link InvalidRepositoryTriggerDestinationArnException} (client fault)
63
+ * <p>The Amazon Resource Name (ARN) for the trigger is not valid for the specified destination. The most common reason for this error is that the ARN does not meet the requirements for the service type.</p>
64
+ *
65
+ * @throws {@link InvalidRepositoryTriggerEventsException} (client fault)
66
+ * <p>One or more events specified for the trigger is not valid. Check to make sure that all events specified match the requirements for allowed events.</p>
67
+ *
68
+ * @throws {@link InvalidRepositoryTriggerNameException} (client fault)
69
+ * <p>The name of the trigger is not valid.</p>
70
+ *
71
+ * @throws {@link InvalidRepositoryTriggerRegionException} (client fault)
72
+ * <p>The AWS Region for the trigger target does not match the AWS Region for the
73
+ * repository. Triggers must be created in the same Region as the target for the
74
+ * trigger.</p>
75
+ *
76
+ * @throws {@link MaximumBranchesExceededException} (client fault)
77
+ * <p>The number of branches for the trigger was exceeded.</p>
78
+ *
79
+ * @throws {@link MaximumRepositoryTriggersExceededException} (client fault)
80
+ * <p>The number of triggers allowed for the repository was exceeded.</p>
81
+ *
82
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
83
+ * <p>The specified repository does not exist.</p>
84
+ *
85
+ * @throws {@link RepositoryNameRequiredException} (client fault)
86
+ * <p>A repository name is required, but was not specified.</p>
87
+ *
88
+ * @throws {@link RepositoryTriggerBranchNameListRequiredException} (client fault)
89
+ * <p>At least one branch name is required, but was not specified in the trigger
90
+ * configuration.</p>
91
+ *
92
+ * @throws {@link RepositoryTriggerDestinationArnRequiredException} (client fault)
93
+ * <p>A destination ARN for the target service for the trigger is required, but was not
94
+ * specified.</p>
95
+ *
96
+ * @throws {@link RepositoryTriggerEventsListRequiredException} (client fault)
97
+ * <p>At least one event for the trigger is required, but was not specified.</p>
98
+ *
99
+ * @throws {@link RepositoryTriggerNameRequiredException} (client fault)
100
+ * <p>A name for the trigger is required, but was not specified.</p>
101
+ *
102
+ * @throws {@link RepositoryTriggersListRequiredException} (client fault)
103
+ * <p>The list of triggers for the repository is required, but was not specified.</p>
104
+ *
105
+ *
32
106
  */
33
107
  export declare class PutRepositoryTriggersCommand extends $Command<PutRepositoryTriggersCommandInput, PutRepositoryTriggersCommandOutput, CodeCommitClientResolvedConfig> {
34
108
  readonly input: PutRepositoryTriggersCommandInput;