@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
@@ -29,6 +29,99 @@ export interface CreatePullRequestCommandOutput extends CreatePullRequestOutput,
29
29
  * @see {@link CreatePullRequestCommandOutput} 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 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 IdempotencyParameterMismatchException} (client fault)
55
+ * <p>The client request token is not valid. Either the token is not in a valid format, or
56
+ * the token has been used in a previous request and cannot be reused.</p>
57
+ *
58
+ * @throws {@link InvalidClientRequestTokenException} (client fault)
59
+ * <p>The client request token is not valid.</p>
60
+ *
61
+ * @throws {@link InvalidDescriptionException} (client fault)
62
+ * <p>The pull request description is not valid. Descriptions cannot be more than 1,000
63
+ * characters.</p>
64
+ *
65
+ * @throws {@link InvalidReferenceNameException} (client fault)
66
+ * <p>The specified reference name format is not valid. Reference names must conform to the
67
+ * Git references format (for example, refs/heads/master). For more information, see <a href="https://git-scm.com/book/en/v2/Git-Internals-Git-References">Git Internals -
68
+ * Git References</a> or consult your Git documentation.</p>
69
+ *
70
+ * @throws {@link InvalidRepositoryNameException} (client fault)
71
+ * <p>A specified repository name is not valid.</p>
72
+ *
73
+ * <note>
74
+ * <p>This exception occurs only when a specified repository name is not valid. Other
75
+ * exceptions occur when a required repository parameter is missing, or when a
76
+ * specified repository does not exist.</p>
77
+ * </note>
78
+ *
79
+ * @throws {@link InvalidTargetException} (client fault)
80
+ * <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>
81
+ *
82
+ * @throws {@link InvalidTargetsException} (client fault)
83
+ * <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
84
+ * the repository name, source branch, and destination branch for a pull request.</p>
85
+ *
86
+ * @throws {@link InvalidTitleException} (client fault)
87
+ * <p>The title of the pull request is not valid. Pull request titles cannot exceed 100 characters in length.</p>
88
+ *
89
+ * @throws {@link MaximumOpenPullRequestsExceededException} (client fault)
90
+ * <p>You cannot create the pull request because the repository has too many open pull requests.
91
+ * 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>
92
+ *
93
+ * @throws {@link MultipleRepositoriesInPullRequestException} (client fault)
94
+ * <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>
95
+ *
96
+ * @throws {@link ReferenceDoesNotExistException} (client fault)
97
+ * <p>The specified reference does not exist. You must provide a full commit ID.</p>
98
+ *
99
+ * @throws {@link ReferenceNameRequiredException} (client fault)
100
+ * <p>A reference name is required, but none was provided.</p>
101
+ *
102
+ * @throws {@link ReferenceTypeNotSupportedException} (client fault)
103
+ * <p>The specified reference is not a supported type. </p>
104
+ *
105
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
106
+ * <p>The specified repository does not exist.</p>
107
+ *
108
+ * @throws {@link RepositoryNameRequiredException} (client fault)
109
+ * <p>A repository name is required, but was not specified.</p>
110
+ *
111
+ * @throws {@link SourceAndDestinationAreSameException} (client fault)
112
+ * <p>The source branch and destination branch for the pull request are the same. You must
113
+ * specify different branches for the source and destination.</p>
114
+ *
115
+ * @throws {@link TargetRequiredException} (client fault)
116
+ * <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>
117
+ *
118
+ * @throws {@link TargetsRequiredException} (client fault)
119
+ * <p>An array of target objects is required. It cannot be empty or null.</p>
120
+ *
121
+ * @throws {@link TitleRequiredException} (client fault)
122
+ * <p>A pull request title is required. It cannot be empty or null.</p>
123
+ *
124
+ *
32
125
  */
33
126
  export declare class CreatePullRequestCommand extends $Command<CreatePullRequestCommandInput, CreatePullRequestCommandOutput, CodeCommitClientResolvedConfig> {
34
127
  readonly input: CreatePullRequestCommandInput;
@@ -29,6 +29,55 @@ export interface CreateRepositoryCommandOutput extends CreateRepositoryOutput, _
29
29
  * @see {@link CreateRepositoryCommandOutput} 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 InvalidRepositoryDescriptionException} (client fault)
48
+ * <p>The specified repository description is not valid.</p>
49
+ *
50
+ * @throws {@link InvalidRepositoryNameException} (client fault)
51
+ * <p>A specified repository name is not valid.</p>
52
+ *
53
+ * <note>
54
+ * <p>This exception occurs only when a specified repository name is not valid. Other
55
+ * exceptions occur when a required repository parameter is missing, or when a
56
+ * specified repository does not exist.</p>
57
+ * </note>
58
+ *
59
+ * @throws {@link InvalidSystemTagUsageException} (client fault)
60
+ * <p>The specified tag is not valid. Key names cannot be prefixed with aws:.</p>
61
+ *
62
+ * @throws {@link InvalidTagsMapException} (client fault)
63
+ * <p>The map of tags is not valid.</p>
64
+ *
65
+ * @throws {@link RepositoryLimitExceededException} (client fault)
66
+ * <p>A repository resource limit was exceeded.</p>
67
+ *
68
+ * @throws {@link RepositoryNameExistsException} (client fault)
69
+ * <p>The specified repository name already exists.</p>
70
+ *
71
+ * @throws {@link RepositoryNameRequiredException} (client fault)
72
+ * <p>A repository name is required, but was not specified.</p>
73
+ *
74
+ * @throws {@link TagPolicyException} (client fault)
75
+ * <p>The tag policy is not valid.</p>
76
+ *
77
+ * @throws {@link TooManyTagsException} (client fault)
78
+ * <p>The maximum number of tags for an AWS CodeCommit resource has been exceeded.</p>
79
+ *
80
+ *
32
81
  */
33
82
  export declare class CreateRepositoryCommand extends $Command<CreateRepositoryCommandInput, CreateRepositoryCommandOutput, CodeCommitClientResolvedConfig> {
34
83
  readonly input: CreateRepositoryCommandInput;
@@ -36,6 +36,128 @@ export interface CreateUnreferencedMergeCommitCommandOutput extends CreateUnrefe
36
36
  * @see {@link CreateUnreferencedMergeCommitCommandOutput} for command's `response` shape.
37
37
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
38
38
  *
39
+ * @throws {@link CommitDoesNotExistException} (client fault)
40
+ * <p>The specified commit does not exist or no commit was specified, and the specified repository has no default branch.</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 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 FileContentSizeLimitExceededException} (client fault)
67
+ * <p>The file cannot be added because it is too large. The maximum file size is 6 MB, and
68
+ * the combined file content change size is 7 MB. Consider making these changes using a Git
69
+ * client.</p>
70
+ *
71
+ * @throws {@link FileModeRequiredException} (client fault)
72
+ * <p>The commit cannot be created because no file mode has been specified. A file mode is
73
+ * required to update mode permissions for a file.</p>
74
+ *
75
+ * @throws {@link FolderContentSizeLimitExceededException} (client fault)
76
+ * <p>The commit cannot be created because at least one of the overall changes in the commit results in a
77
+ * folder whose contents exceed the limit of 6 MB. Either reduce the number and size of your changes,
78
+ * or split the changes across multiple folders.</p>
79
+ *
80
+ * @throws {@link InvalidCommitException} (client fault)
81
+ * <p>The specified commit is not valid.</p>
82
+ *
83
+ * @throws {@link InvalidConflictDetailLevelException} (client fault)
84
+ * <p>The specified conflict detail level is not valid.</p>
85
+ *
86
+ * @throws {@link InvalidConflictResolutionException} (client fault)
87
+ * <p>The specified conflict resolution list is not valid.</p>
88
+ *
89
+ * @throws {@link InvalidConflictResolutionStrategyException} (client fault)
90
+ * <p>The specified conflict resolution strategy is not valid.</p>
91
+ *
92
+ * @throws {@link InvalidEmailException} (client fault)
93
+ * <p>The specified email address either contains one or more characters that are not allowed, or it exceeds the maximum number of characters
94
+ * allowed for an email address.</p>
95
+ *
96
+ * @throws {@link InvalidFileModeException} (client fault)
97
+ * <p>The specified file mode permission is not valid. For a list of valid file mode permissions, see <a>PutFile</a>. </p>
98
+ *
99
+ * @throws {@link InvalidMergeOptionException} (client fault)
100
+ * <p>The specified merge option is not valid for this operation. Not all merge strategies are supported for all operations.</p>
101
+ *
102
+ * @throws {@link InvalidPathException} (client fault)
103
+ * <p>The specified path is not valid.</p>
104
+ *
105
+ * @throws {@link InvalidReplacementContentException} (client fault)
106
+ * <p>Automerge was specified for resolving the conflict, but the replacement type is not valid or content is missing. </p>
107
+ *
108
+ * @throws {@link InvalidReplacementTypeException} (client fault)
109
+ * <p>Automerge was specified for resolving the conflict, but the specified replacement type is not valid.</p>
110
+ *
111
+ * @throws {@link InvalidRepositoryNameException} (client fault)
112
+ * <p>A specified repository name is not valid.</p>
113
+ *
114
+ * <note>
115
+ * <p>This exception occurs only when a specified repository name is not valid. Other
116
+ * exceptions occur when a required repository parameter is missing, or when a
117
+ * specified repository does not exist.</p>
118
+ * </note>
119
+ *
120
+ * @throws {@link ManualMergeRequiredException} (client fault)
121
+ * <p>The pull request cannot be merged automatically into the destination branch. You must manually merge the branches and resolve any conflicts.</p>
122
+ *
123
+ * @throws {@link MaximumConflictResolutionEntriesExceededException} (client fault)
124
+ * <p>The number of allowed conflict resolution entries was exceeded.</p>
125
+ *
126
+ * @throws {@link MaximumFileContentToLoadExceededException} (client fault)
127
+ * <p>The number of files to load exceeds the allowed limit.</p>
128
+ *
129
+ * @throws {@link MaximumItemsToCompareExceededException} (client fault)
130
+ * <p>The number of items to compare between the source or destination branches and the merge base has exceeded the maximum allowed.</p>
131
+ *
132
+ * @throws {@link MergeOptionRequiredException} (client fault)
133
+ * <p>A merge option or stategy is required, and none was provided.</p>
134
+ *
135
+ * @throws {@link MultipleConflictResolutionEntriesException} (client fault)
136
+ * <p>More than one conflict resolution entries exists for the conflict. A conflict can have only one conflict resolution entry.</p>
137
+ *
138
+ * @throws {@link NameLengthExceededException} (client fault)
139
+ * <p>The user name is not valid because it has exceeded the character limit for author names. </p>
140
+ *
141
+ * @throws {@link PathRequiredException} (client fault)
142
+ * <p>The folderPath for a location cannot be null.</p>
143
+ *
144
+ * @throws {@link ReplacementContentRequiredException} (client fault)
145
+ * <p>USE_NEW_CONTENT was specified, but no replacement content has been provided.</p>
146
+ *
147
+ * @throws {@link ReplacementTypeRequiredException} (client fault)
148
+ * <p>A replacement type is required.</p>
149
+ *
150
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
151
+ * <p>The specified repository does not exist.</p>
152
+ *
153
+ * @throws {@link RepositoryNameRequiredException} (client fault)
154
+ * <p>A repository name is required, but was not specified.</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
+ *
39
161
  */
40
162
  export declare class CreateUnreferencedMergeCommitCommand extends $Command<CreateUnreferencedMergeCommitCommandInput, CreateUnreferencedMergeCommitCommandOutput, CodeCommitClientResolvedConfig> {
41
163
  readonly input: CreateUnreferencedMergeCommitCommandInput;
@@ -29,6 +29,20 @@ export interface DeleteApprovalRuleTemplateCommandOutput extends DeleteApprovalR
29
29
  * @see {@link DeleteApprovalRuleTemplateCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link ApprovalRuleTemplateInUseException} (client fault)
33
+ * <p>The approval rule template is associated with one or more repositories. You cannot delete a template that is associated with a repository. Remove
34
+ * all associations, and then try again.</p>
35
+ *
36
+ * @throws {@link ApprovalRuleTemplateNameRequiredException} (client fault)
37
+ * <p>An approval rule template name is required, but was not specified.</p>
38
+ *
39
+ * @throws {@link InvalidApprovalRuleTemplateNameException} (client fault)
40
+ * <p>The name of the approval rule template is not valid. Template names must be between 1
41
+ * and 100 valid characters in length. For more information about limits in AWS CodeCommit,
42
+ * see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">AWS
43
+ * CodeCommit User Guide</a>.</p>
44
+ *
45
+ *
32
46
  */
33
47
  export declare class DeleteApprovalRuleTemplateCommand extends $Command<DeleteApprovalRuleTemplateCommandInput, DeleteApprovalRuleTemplateCommandOutput, CodeCommitClientResolvedConfig> {
34
48
  readonly input: DeleteApprovalRuleTemplateCommandInput;
@@ -29,6 +29,46 @@ export interface DeleteBranchCommandOutput extends DeleteBranchOutput, __Metadat
29
29
  * @see {@link DeleteBranchCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link BranchNameRequiredException} (client fault)
33
+ * <p>A branch name is required, but was not specified.</p>
34
+ *
35
+ * @throws {@link DefaultBranchCannotBeDeletedException} (client fault)
36
+ * <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>
37
+ *
38
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
39
+ * <p>An encryption integrity check failed.</p>
40
+ *
41
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
42
+ * <p>An encryption key could not be accessed.</p>
43
+ *
44
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
45
+ * <p>The encryption key is disabled.</p>
46
+ *
47
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
48
+ * <p>No encryption key was found.</p>
49
+ *
50
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
51
+ * <p>The encryption key is not available.</p>
52
+ *
53
+ * @throws {@link InvalidBranchNameException} (client fault)
54
+ * <p>The specified reference name is not valid.</p>
55
+ *
56
+ * @throws {@link InvalidRepositoryNameException} (client fault)
57
+ * <p>A specified repository name is not valid.</p>
58
+ *
59
+ * <note>
60
+ * <p>This exception occurs only when a specified repository name is not valid. Other
61
+ * exceptions occur when a required repository parameter is missing, or when a
62
+ * specified repository does not exist.</p>
63
+ * </note>
64
+ *
65
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
66
+ * <p>The specified repository does not exist.</p>
67
+ *
68
+ * @throws {@link RepositoryNameRequiredException} (client fault)
69
+ * <p>A repository name is required, but was not specified.</p>
70
+ *
71
+ *
32
72
  */
33
73
  export declare class DeleteBranchCommand extends $Command<DeleteBranchCommandInput, DeleteBranchCommandOutput, CodeCommitClientResolvedConfig> {
34
74
  readonly input: DeleteBranchCommandInput;
@@ -29,6 +29,20 @@ export interface DeleteCommentContentCommandOutput extends DeleteCommentContentO
29
29
  * @see {@link DeleteCommentContentCommandOutput} for command's `response` shape.
30
30
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
31
31
  *
32
+ * @throws {@link CommentDeletedException} (client fault)
33
+ * <p>This comment has already been deleted. You cannot edit or delete a deleted comment.</p>
34
+ *
35
+ * @throws {@link CommentDoesNotExistException} (client fault)
36
+ * <p>No comment exists with the provided ID. Verify that you have used the correct ID, and
37
+ * then try again.</p>
38
+ *
39
+ * @throws {@link CommentIdRequiredException} (client fault)
40
+ * <p>The comment ID is missing or null. A comment ID is required.</p>
41
+ *
42
+ * @throws {@link InvalidCommentIdException} (client fault)
43
+ * <p>The comment ID is not in a valid format. Make sure that you have provided the full comment ID.</p>
44
+ *
45
+ *
32
46
  */
33
47
  export declare class DeleteCommentContentCommand extends $Command<DeleteCommentContentCommandInput, DeleteCommentContentCommandOutput, CodeCommitClientResolvedConfig> {
34
48
  readonly input: DeleteCommentContentCommandInput;
@@ -31,6 +31,85 @@ export interface DeleteFileCommandOutput extends DeleteFileOutput, __MetadataBea
31
31
  * @see {@link DeleteFileCommandOutput} for command's `response` shape.
32
32
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
33
33
  *
34
+ * @throws {@link BranchDoesNotExistException} (client fault)
35
+ * <p>The specified branch does not exist.</p>
36
+ *
37
+ * @throws {@link BranchNameIsTagNameException} (client fault)
38
+ * <p>The specified branch name is not valid because it is a tag name. Enter the name of a
39
+ * branch in the repository. For a list of valid branch names, use <a>ListBranches</a>.</p>
40
+ *
41
+ * @throws {@link BranchNameRequiredException} (client fault)
42
+ * <p>A branch name is required, but was not specified.</p>
43
+ *
44
+ * @throws {@link CommitMessageLengthExceededException} (client fault)
45
+ * <p>The commit message is too long. Provide a shorter string. </p>
46
+ *
47
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
48
+ * <p>An encryption integrity check failed.</p>
49
+ *
50
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
51
+ * <p>An encryption key could not be accessed.</p>
52
+ *
53
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
54
+ * <p>The encryption key is disabled.</p>
55
+ *
56
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
57
+ * <p>No encryption key was found.</p>
58
+ *
59
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
60
+ * <p>The encryption key is not available.</p>
61
+ *
62
+ * @throws {@link FileDoesNotExistException} (client fault)
63
+ * <p>The specified file does not exist. Verify that you have used the correct file name,
64
+ * full path, and extension.</p>
65
+ *
66
+ * @throws {@link InvalidBranchNameException} (client fault)
67
+ * <p>The specified reference name is not valid.</p>
68
+ *
69
+ * @throws {@link InvalidEmailException} (client fault)
70
+ * <p>The specified email address either contains one or more characters that are not allowed, or it exceeds the maximum number of characters
71
+ * allowed for an email address.</p>
72
+ *
73
+ * @throws {@link InvalidParentCommitIdException} (client fault)
74
+ * <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
75
+ * want to add or update a file.</p>
76
+ *
77
+ * @throws {@link InvalidPathException} (client fault)
78
+ * <p>The specified path is not valid.</p>
79
+ *
80
+ * @throws {@link InvalidRepositoryNameException} (client fault)
81
+ * <p>A specified repository name is not valid.</p>
82
+ *
83
+ * <note>
84
+ * <p>This exception occurs only when a specified repository name is not valid. Other
85
+ * exceptions occur when a required repository parameter is missing, or when a
86
+ * specified repository does not exist.</p>
87
+ * </note>
88
+ *
89
+ * @throws {@link NameLengthExceededException} (client fault)
90
+ * <p>The user name is not valid because it has exceeded the character limit for author names. </p>
91
+ *
92
+ * @throws {@link ParentCommitDoesNotExistException} (client fault)
93
+ * <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>
94
+ *
95
+ * @throws {@link ParentCommitIdOutdatedException} (client fault)
96
+ * <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
97
+ * of the branch, use <a>GetBranch</a>.</p>
98
+ *
99
+ * @throws {@link ParentCommitIdRequiredException} (client fault)
100
+ * <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
101
+ * (for example, git pull or git log).</p>
102
+ *
103
+ * @throws {@link PathRequiredException} (client fault)
104
+ * <p>The folderPath for a location cannot be null.</p>
105
+ *
106
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
107
+ * <p>The specified repository does not exist.</p>
108
+ *
109
+ * @throws {@link RepositoryNameRequiredException} (client fault)
110
+ * <p>A repository name is required, but was not specified.</p>
111
+ *
112
+ *
34
113
  */
35
114
  export declare class DeleteFileCommand extends $Command<DeleteFileCommandInput, DeleteFileCommandOutput, CodeCommitClientResolvedConfig> {
36
115
  readonly input: DeleteFileCommandInput;
@@ -31,6 +31,44 @@ export interface DeletePullRequestApprovalRuleCommandOutput extends DeletePullRe
31
31
  * @see {@link DeletePullRequestApprovalRuleCommandOutput} for command's `response` shape.
32
32
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
33
33
  *
34
+ * @throws {@link ApprovalRuleNameRequiredException} (client fault)
35
+ * <p>An approval rule name is required, but was not specified.</p>
36
+ *
37
+ * @throws {@link CannotDeleteApprovalRuleFromTemplateException} (client fault)
38
+ * <p>The approval rule cannot be deleted from the pull request because it was created by an
39
+ * approval rule template and applied to the pull request automatically.</p>
40
+ *
41
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
42
+ * <p>An encryption integrity check failed.</p>
43
+ *
44
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
45
+ * <p>An encryption key could not be accessed.</p>
46
+ *
47
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
48
+ * <p>The encryption key is disabled.</p>
49
+ *
50
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
51
+ * <p>No encryption key was found.</p>
52
+ *
53
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
54
+ * <p>The encryption key is not available.</p>
55
+ *
56
+ * @throws {@link InvalidApprovalRuleNameException} (client fault)
57
+ * <p>The name for the approval rule is not valid.</p>
58
+ *
59
+ * @throws {@link InvalidPullRequestIdException} (client fault)
60
+ * <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>
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
+ *
34
72
  */
35
73
  export declare class DeletePullRequestApprovalRuleCommand extends $Command<DeletePullRequestApprovalRuleCommandInput, DeletePullRequestApprovalRuleCommandOutput, CodeCommitClientResolvedConfig> {
36
74
  readonly input: DeletePullRequestApprovalRuleCommandInput;
@@ -34,6 +34,34 @@ export interface DeleteRepositoryCommandOutput extends DeleteRepositoryOutput, _
34
34
  * @see {@link DeleteRepositoryCommandOutput} for command's `response` shape.
35
35
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
36
36
  *
37
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
38
+ * <p>An encryption integrity check failed.</p>
39
+ *
40
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
41
+ * <p>An encryption key could not be accessed.</p>
42
+ *
43
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
44
+ * <p>The encryption key is disabled.</p>
45
+ *
46
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
47
+ * <p>No encryption key was found.</p>
48
+ *
49
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
50
+ * <p>The encryption key is not available.</p>
51
+ *
52
+ * @throws {@link InvalidRepositoryNameException} (client fault)
53
+ * <p>A specified repository name is not valid.</p>
54
+ *
55
+ * <note>
56
+ * <p>This exception occurs only when a specified repository name is not valid. Other
57
+ * exceptions occur when a required repository parameter is missing, or when a
58
+ * specified repository does not exist.</p>
59
+ * </note>
60
+ *
61
+ * @throws {@link RepositoryNameRequiredException} (client fault)
62
+ * <p>A repository name is required, but was not specified.</p>
63
+ *
64
+ *
37
65
  */
38
66
  export declare class DeleteRepositoryCommand extends $Command<DeleteRepositoryCommandInput, DeleteRepositoryCommandOutput, CodeCommitClientResolvedConfig> {
39
67
  readonly input: DeleteRepositoryCommandInput;
@@ -31,6 +31,84 @@ export interface DescribeMergeConflictsCommandOutput extends DescribeMergeConfli
31
31
  * @see {@link DescribeMergeConflictsCommandOutput} for command's `response` shape.
32
32
  * @see {@link CodeCommitClientResolvedConfig | config} for CodeCommitClient's `config` shape.
33
33
  *
34
+ * @throws {@link CommitDoesNotExistException} (client fault)
35
+ * <p>The specified commit does not exist or no commit was specified, and the specified repository has no default branch.</p>
36
+ *
37
+ * @throws {@link CommitRequiredException} (client fault)
38
+ * <p>A commit was not specified.</p>
39
+ *
40
+ * @throws {@link EncryptionIntegrityChecksFailedException} (server fault)
41
+ * <p>An encryption integrity check failed.</p>
42
+ *
43
+ * @throws {@link EncryptionKeyAccessDeniedException} (client fault)
44
+ * <p>An encryption key could not be accessed.</p>
45
+ *
46
+ * @throws {@link EncryptionKeyDisabledException} (client fault)
47
+ * <p>The encryption key is disabled.</p>
48
+ *
49
+ * @throws {@link EncryptionKeyNotFoundException} (client fault)
50
+ * <p>No encryption key was found.</p>
51
+ *
52
+ * @throws {@link EncryptionKeyUnavailableException} (client fault)
53
+ * <p>The encryption key is not available.</p>
54
+ *
55
+ * @throws {@link FileDoesNotExistException} (client fault)
56
+ * <p>The specified file does not exist. Verify that you have used the correct file name,
57
+ * full path, and extension.</p>
58
+ *
59
+ * @throws {@link InvalidCommitException} (client fault)
60
+ * <p>The specified commit is not valid.</p>
61
+ *
62
+ * @throws {@link InvalidConflictDetailLevelException} (client fault)
63
+ * <p>The specified conflict detail level is not valid.</p>
64
+ *
65
+ * @throws {@link InvalidConflictResolutionStrategyException} (client fault)
66
+ * <p>The specified conflict resolution strategy is not valid.</p>
67
+ *
68
+ * @throws {@link InvalidContinuationTokenException} (client fault)
69
+ * <p>The specified continuation token is not valid.</p>
70
+ *
71
+ * @throws {@link InvalidMaxMergeHunksException} (client fault)
72
+ * <p>The specified value for the number of merge hunks to return is not valid.</p>
73
+ *
74
+ * @throws {@link InvalidMergeOptionException} (client fault)
75
+ * <p>The specified merge option is not valid for this operation. Not all merge strategies are supported for all operations.</p>
76
+ *
77
+ * @throws {@link InvalidPathException} (client fault)
78
+ * <p>The specified path is not valid.</p>
79
+ *
80
+ * @throws {@link InvalidRepositoryNameException} (client fault)
81
+ * <p>A specified repository name is not valid.</p>
82
+ *
83
+ * <note>
84
+ * <p>This exception occurs only when a specified repository name is not valid. Other
85
+ * exceptions occur when a required repository parameter is missing, or when a
86
+ * specified repository does not exist.</p>
87
+ * </note>
88
+ *
89
+ * @throws {@link MaximumFileContentToLoadExceededException} (client fault)
90
+ * <p>The number of files to load exceeds the allowed limit.</p>
91
+ *
92
+ * @throws {@link MaximumItemsToCompareExceededException} (client fault)
93
+ * <p>The number of items to compare between the source or destination branches and the merge base has exceeded the maximum allowed.</p>
94
+ *
95
+ * @throws {@link MergeOptionRequiredException} (client fault)
96
+ * <p>A merge option or stategy is required, and none was provided.</p>
97
+ *
98
+ * @throws {@link PathRequiredException} (client fault)
99
+ * <p>The folderPath for a location cannot be null.</p>
100
+ *
101
+ * @throws {@link RepositoryDoesNotExistException} (client fault)
102
+ * <p>The specified repository does not exist.</p>
103
+ *
104
+ * @throws {@link RepositoryNameRequiredException} (client fault)
105
+ * <p>A repository name is required, but was not specified.</p>
106
+ *
107
+ * @throws {@link TipsDivergenceExceededException} (client fault)
108
+ * <p>The divergence between the tips of the provided commit specifiers is too great to determine whether there might be
109
+ * any merge conflicts. Locally compare the specifiers using <code>git diff</code> or a diff tool.</p>
110
+ *
111
+ *
34
112
  */
35
113
  export declare class DescribeMergeConflictsCommand extends $Command<DescribeMergeConflictsCommandInput, DescribeMergeConflictsCommandOutput, CodeCommitClientResolvedConfig> {
36
114
  readonly input: DescribeMergeConflictsCommandInput;