@aws-sdk/client-codecommit 3.52.0 → 3.54.1

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.
@@ -1,9 +1,25 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.PutFileEntry = exports.SourceFileSpecifier = exports.DeleteFileEntry = exports.CreateBranchInput = exports.CreateApprovalRuleTemplateOutput = exports.CreateApprovalRuleTemplateInput = exports.BranchInfo = exports.BlobMetadata = exports.BatchGetRepositoriesOutput = exports.RepositoryMetadata = exports.BatchGetRepositoriesInput = exports.BatchGetCommitsOutput = exports.BatchGetCommitsError = exports.Commit = exports.UserInfo = exports.BatchGetCommitsInput = exports.BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput = exports.BatchDisassociateApprovalRuleTemplateFromRepositoriesError = exports.BatchDisassociateApprovalRuleTemplateFromRepositoriesInput = exports.BatchDescribeMergeConflictsOutput = exports.BatchDescribeMergeConflictsError = exports.Conflict = exports.MergeHunk = exports.MergeHunkDetail = exports.ConflictMetadata = exports.ObjectTypes = exports.ObjectTypeEnum = exports.MergeOperations = exports.ChangeTypeEnum = exports.IsBinaryFile = exports.FileSizes = exports.FileModes = exports.FileModeTypeEnum = exports.BatchDescribeMergeConflictsInput = exports.MergeOptionTypeEnum = exports.ConflictResolutionStrategyTypeEnum = exports.ConflictDetailLevelTypeEnum = exports.BatchAssociateApprovalRuleTemplateWithRepositoriesOutput = exports.BatchAssociateApprovalRuleTemplateWithRepositoriesError = exports.BatchAssociateApprovalRuleTemplateWithRepositoriesInput = exports.AssociateApprovalRuleTemplateWithRepositoryInput = exports.ApprovalStateChangedEventMetadata = exports.ApprovalRuleTemplate = exports.ApprovalRuleOverriddenEventMetadata = exports.OverrideStatus = exports.ApprovalRuleEventMetadata = exports.ApprovalRule = exports.OriginApprovalRuleTemplate = exports.Approval = exports.ApprovalState = void 0;
4
- exports.GetBlobInput = exports.GetApprovalRuleTemplateOutput = exports.GetApprovalRuleTemplateInput = exports.EvaluatePullRequestApprovalRulesOutput = exports.Evaluation = exports.EvaluatePullRequestApprovalRulesInput = exports.DisassociateApprovalRuleTemplateFromRepositoryInput = exports.DescribePullRequestEventsOutput = exports.PullRequestEvent = exports.PullRequestStatusChangedEventMetadata = exports.PullRequestSourceReferenceUpdatedEventMetadata = exports.PullRequestMergedStateChangedEventMetadata = exports.PullRequestCreatedEventMetadata = exports.DescribePullRequestEventsInput = exports.PullRequestEventType = exports.DescribeMergeConflictsOutput = exports.DescribeMergeConflictsInput = exports.DeleteRepositoryOutput = exports.DeleteRepositoryInput = exports.DeletePullRequestApprovalRuleOutput = exports.DeletePullRequestApprovalRuleInput = exports.DeleteFileOutput = exports.DeleteFileInput = exports.DeleteCommentContentOutput = exports.Comment = exports.DeleteCommentContentInput = exports.DeleteBranchOutput = exports.DeleteBranchInput = exports.DeleteApprovalRuleTemplateOutput = exports.DeleteApprovalRuleTemplateInput = exports.CreateUnreferencedMergeCommitOutput = exports.CreateUnreferencedMergeCommitInput = exports.ConflictResolution = exports.ReplaceContentEntry = exports.ReplacementTypeEnum = exports.CreateRepositoryOutput = exports.CreateRepositoryInput = exports.CreatePullRequestApprovalRuleOutput = exports.CreatePullRequestApprovalRuleInput = exports.CreatePullRequestOutput = exports.PullRequest = exports.PullRequestTarget = exports.MergeMetadata = exports.PullRequestStatusEnum = exports.CreatePullRequestInput = exports.Target = exports.CreateCommitOutput = exports.FileMetadata = exports.CreateCommitInput = exports.SetFileModeEntry = void 0;
5
- exports.ListApprovalRuleTemplatesOutput = exports.ListApprovalRuleTemplatesInput = exports.GetRepositoryTriggersOutput = exports.RepositoryTrigger = exports.RepositoryTriggerEventEnum = exports.GetRepositoryTriggersInput = exports.GetRepositoryOutput = exports.GetRepositoryInput = exports.GetPullRequestOverrideStateOutput = exports.GetPullRequestOverrideStateInput = exports.GetPullRequestApprovalStatesOutput = exports.GetPullRequestApprovalStatesInput = exports.GetPullRequestOutput = exports.GetPullRequestInput = exports.GetMergeOptionsOutput = exports.GetMergeOptionsInput = exports.GetMergeConflictsOutput = exports.GetMergeConflictsInput = exports.GetMergeCommitOutput = exports.GetMergeCommitInput = exports.GetFolderOutput = exports.SymbolicLink = exports.SubModule = exports.Folder = exports.File = exports.GetFolderInput = exports.GetFileOutput = exports.GetFileInput = exports.GetDifferencesOutput = exports.Difference = exports.GetDifferencesInput = exports.GetCommitOutput = exports.GetCommitInput = exports.GetCommentsForPullRequestOutput = exports.CommentsForPullRequest = exports.GetCommentsForPullRequestInput = exports.GetCommentsForComparedCommitOutput = exports.CommentsForComparedCommit = exports.Location = exports.RelativeFileVersionEnum = exports.GetCommentsForComparedCommitInput = exports.GetCommentReactionsOutput = exports.ReactionForComment = exports.ReactionValueFormats = exports.GetCommentReactionsInput = exports.GetCommentOutput = exports.GetCommentInput = exports.GetBranchOutput = exports.GetBranchInput = exports.GetBlobOutput = void 0;
6
- exports.ListPullRequestsOutput = exports.ListPullRequestsInput = exports.ListBranchesOutput = exports.ListBranchesInput = exports.ListAssociatedApprovalRuleTemplatesForRepositoryOutput = exports.ListAssociatedApprovalRuleTemplatesForRepositoryInput = void 0;
3
+ exports.ConflictMetadata = exports.ObjectTypes = exports.ObjectTypeEnum = exports.MergeOperations = exports.ChangeTypeEnum = exports.IsBinaryFile = exports.FileSizes = exports.FileModes = exports.FileModeTypeEnum = exports.BatchDescribeMergeConflictsInput = exports.MergeOptionTypeEnum = exports.ConflictResolutionStrategyTypeEnum = exports.ConflictDetailLevelTypeEnum = exports.RepositoryNamesRequiredException = exports.MaximumRepositoryNamesExceededException = exports.BatchAssociateApprovalRuleTemplateWithRepositoriesOutput = exports.BatchAssociateApprovalRuleTemplateWithRepositoriesError = exports.BatchAssociateApprovalRuleTemplateWithRepositoriesInput = exports.AuthorDoesNotExistException = exports.RepositoryNameRequiredException = exports.RepositoryDoesNotExistException = exports.MaximumRuleTemplatesAssociatedWithRepositoryException = exports.InvalidRepositoryNameException = exports.InvalidApprovalRuleTemplateNameException = exports.EncryptionKeyUnavailableException = exports.EncryptionKeyNotFoundException = exports.EncryptionKeyDisabledException = exports.EncryptionKeyAccessDeniedException = exports.EncryptionIntegrityChecksFailedException = exports.AssociateApprovalRuleTemplateWithRepositoryInput = exports.ApprovalStateRequiredException = exports.ApprovalStateChangedEventMetadata = exports.ApprovalRuleTemplateNameRequiredException = exports.ApprovalRuleTemplateNameAlreadyExistsException = exports.ApprovalRuleTemplateInUseException = exports.ApprovalRuleTemplateDoesNotExistException = exports.ApprovalRuleTemplateContentRequiredException = exports.ApprovalRuleTemplate = exports.ApprovalRuleOverriddenEventMetadata = exports.OverrideStatus = exports.ApprovalRuleNameRequiredException = exports.ApprovalRuleNameAlreadyExistsException = exports.ApprovalRuleEventMetadata = exports.ApprovalRuleDoesNotExistException = exports.ApprovalRuleContentRequiredException = exports.ApprovalRule = exports.OriginApprovalRuleTemplate = exports.Approval = exports.ApprovalState = exports.ActorDoesNotExistException = void 0;
4
+ exports.CreateBranchInput = exports.CommitIdRequiredException = exports.NumberOfRuleTemplatesExceededException = exports.InvalidApprovalRuleTemplateDescriptionException = exports.InvalidApprovalRuleTemplateContentException = exports.CreateApprovalRuleTemplateOutput = exports.CreateApprovalRuleTemplateInput = exports.ClientRequestTokenRequiredException = exports.CannotModifyApprovalRuleFromTemplateException = exports.CannotDeleteApprovalRuleFromTemplateException = exports.BranchNameRequiredException = exports.BranchNameIsTagNameException = exports.BranchNameExistsException = exports.BranchInfo = exports.BranchDoesNotExistException = exports.BlobMetadata = exports.BlobIdRequiredException = exports.BlobIdDoesNotExistException = exports.BeforeCommitIdAndAfterCommitIdAreSameException = exports.BatchGetRepositoriesOutput = exports.RepositoryMetadata = exports.BatchGetRepositoriesInput = exports.CommitIdsListRequiredException = exports.CommitIdsLimitExceededException = exports.BatchGetCommitsOutput = exports.BatchGetCommitsError = exports.Commit = exports.UserInfo = exports.BatchGetCommitsInput = exports.BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput = exports.BatchDisassociateApprovalRuleTemplateFromRepositoriesError = exports.BatchDisassociateApprovalRuleTemplateFromRepositoriesInput = exports.TipsDivergenceExceededException = exports.MergeOptionRequiredException = exports.MaximumItemsToCompareExceededException = exports.MaximumFileContentToLoadExceededException = exports.InvalidMergeOptionException = exports.InvalidMaxMergeHunksException = exports.InvalidMaxConflictFilesException = exports.InvalidContinuationTokenException = exports.InvalidConflictResolutionStrategyException = exports.InvalidConflictDetailLevelException = exports.InvalidCommitException = exports.CommitRequiredException = exports.CommitDoesNotExistException = exports.BatchDescribeMergeConflictsOutput = exports.BatchDescribeMergeConflictsError = exports.Conflict = exports.MergeHunk = exports.MergeHunkDetail = void 0;
5
+ exports.MaximumOpenPullRequestsExceededException = exports.InvalidTitleException = exports.InvalidTargetsException = exports.InvalidTargetException = exports.InvalidReferenceNameException = exports.InvalidDescriptionException = exports.InvalidClientRequestTokenException = exports.IdempotencyParameterMismatchException = exports.CreatePullRequestOutput = exports.PullRequest = exports.PullRequestTarget = exports.MergeMetadata = exports.PullRequestStatusEnum = exports.CreatePullRequestInput = exports.Target = exports.SourceFileOrContentRequiredException = exports.SamePathRequestException = exports.RestrictedSourceFileException = exports.PutFileEntryConflictException = exports.PathRequiredException = exports.ParentCommitIdRequiredException = exports.ParentCommitIdOutdatedException = exports.ParentCommitDoesNotExistException = exports.NoChangeException = exports.NameLengthExceededException = exports.MaximumFileEntriesExceededException = exports.InvalidPathException = exports.InvalidParentCommitIdException = exports.InvalidFileModeException = exports.InvalidEmailException = exports.InvalidDeletionParameterException = exports.FolderContentSizeLimitExceededException = exports.FilePathConflictsWithSubmodulePathException = exports.FileNameConflictsWithDirectoryNameException = exports.FileModeRequiredException = exports.FileEntryRequiredException = exports.FileDoesNotExistException = exports.FileContentSizeLimitExceededException = exports.FileContentAndSourceFileSpecifiedException = exports.DirectoryNameConflictsWithFileNameException = exports.CreateCommitOutput = exports.FileMetadata = exports.CreateCommitInput = exports.SetFileModeEntry = exports.PutFileEntry = exports.SourceFileSpecifier = exports.DeleteFileEntry = exports.CommitMessageLengthExceededException = exports.InvalidCommitIdException = exports.InvalidBranchNameException = void 0;
6
+ exports.Comment = exports.DeleteCommentContentInput = exports.CommentIdRequiredException = exports.CommentDoesNotExistException = exports.CommentDeletedException = exports.DeleteBranchOutput = exports.DeleteBranchInput = exports.DefaultBranchCannotBeDeletedException = exports.DeleteApprovalRuleTemplateOutput = exports.DeleteApprovalRuleTemplateInput = exports.ReplacementTypeRequiredException = exports.ReplacementContentRequiredException = exports.MultipleConflictResolutionEntriesException = exports.MaximumConflictResolutionEntriesExceededException = exports.ManualMergeRequiredException = exports.InvalidReplacementTypeException = exports.InvalidReplacementContentException = exports.InvalidConflictResolutionException = exports.CreateUnreferencedMergeCommitOutput = exports.CreateUnreferencedMergeCommitInput = exports.ConflictResolution = exports.ReplaceContentEntry = exports.ReplacementTypeEnum = exports.ConcurrentReferenceUpdateException = exports.TooManyTagsException = exports.TagPolicyException = exports.RepositoryNameExistsException = exports.RepositoryLimitExceededException = exports.InvalidTagsMapException = exports.InvalidSystemTagUsageException = exports.InvalidRepositoryDescriptionException = exports.CreateRepositoryOutput = exports.CreateRepositoryInput = exports.PullRequestIdRequiredException = exports.PullRequestDoesNotExistException = exports.PullRequestAlreadyClosedException = exports.NumberOfRulesExceededException = exports.InvalidPullRequestIdException = exports.InvalidApprovalRuleNameException = exports.InvalidApprovalRuleContentException = exports.CreatePullRequestApprovalRuleOutput = exports.CreatePullRequestApprovalRuleInput = exports.TitleRequiredException = exports.TargetsRequiredException = exports.TargetRequiredException = exports.SourceAndDestinationAreSameException = exports.ReferenceTypeNotSupportedException = exports.ReferenceNameRequiredException = exports.ReferenceDoesNotExistException = exports.MultipleRepositoriesInPullRequestException = void 0;
7
+ exports.CommentsForPullRequest = exports.GetCommentsForPullRequestInput = exports.GetCommentsForComparedCommitOutput = exports.CommentsForComparedCommit = exports.Location = exports.RelativeFileVersionEnum = exports.GetCommentsForComparedCommitInput = exports.InvalidReactionUserArnException = exports.GetCommentReactionsOutput = exports.ReactionForComment = exports.ReactionValueFormats = exports.GetCommentReactionsInput = exports.GetCommentOutput = exports.GetCommentInput = exports.GetBranchOutput = exports.GetBranchInput = exports.InvalidBlobIdException = exports.GetBlobOutput = exports.GetBlobInput = exports.FileTooLargeException = exports.GetApprovalRuleTemplateOutput = exports.GetApprovalRuleTemplateInput = exports.RevisionNotCurrentException = exports.RevisionIdRequiredException = exports.InvalidRevisionIdException = exports.EvaluatePullRequestApprovalRulesOutput = exports.Evaluation = exports.EvaluatePullRequestApprovalRulesInput = exports.DisassociateApprovalRuleTemplateFromRepositoryInput = exports.InvalidPullRequestEventTypeException = exports.InvalidMaxResultsException = exports.InvalidActorArnException = exports.DescribePullRequestEventsOutput = exports.PullRequestEvent = exports.PullRequestStatusChangedEventMetadata = exports.PullRequestSourceReferenceUpdatedEventMetadata = exports.PullRequestMergedStateChangedEventMetadata = exports.PullRequestCreatedEventMetadata = exports.DescribePullRequestEventsInput = exports.PullRequestEventType = exports.DescribeMergeConflictsOutput = exports.DescribeMergeConflictsInput = exports.DeleteRepositoryOutput = exports.DeleteRepositoryInput = exports.DeletePullRequestApprovalRuleOutput = exports.DeletePullRequestApprovalRuleInput = exports.DeleteFileOutput = exports.DeleteFileInput = exports.InvalidCommentIdException = exports.DeleteCommentContentOutput = void 0;
8
+ exports.InvalidSortByException = exports.InvalidOrderException = exports.ListPullRequestsOutput = exports.ListPullRequestsInput = exports.InvalidPullRequestStatusException = exports.InvalidAuthorArnException = exports.ListBranchesOutput = exports.ListBranchesInput = exports.ListAssociatedApprovalRuleTemplatesForRepositoryOutput = exports.ListAssociatedApprovalRuleTemplatesForRepositoryInput = exports.ListApprovalRuleTemplatesOutput = exports.ListApprovalRuleTemplatesInput = exports.GetRepositoryTriggersOutput = exports.RepositoryTrigger = exports.RepositoryTriggerEventEnum = exports.GetRepositoryTriggersInput = exports.GetRepositoryOutput = exports.GetRepositoryInput = exports.GetPullRequestOverrideStateOutput = exports.GetPullRequestOverrideStateInput = exports.GetPullRequestApprovalStatesOutput = exports.GetPullRequestApprovalStatesInput = exports.GetPullRequestOutput = exports.GetPullRequestInput = exports.GetMergeOptionsOutput = exports.GetMergeOptionsInput = exports.InvalidSourceCommitSpecifierException = exports.InvalidDestinationCommitSpecifierException = exports.GetMergeConflictsOutput = exports.GetMergeConflictsInput = exports.GetMergeCommitOutput = exports.GetMergeCommitInput = exports.GetFolderOutput = exports.SymbolicLink = exports.SubModule = exports.Folder = exports.File = exports.GetFolderInput = exports.FolderDoesNotExistException = exports.GetFileOutput = exports.GetFileInput = exports.PathDoesNotExistException = exports.GetDifferencesOutput = exports.Difference = exports.GetDifferencesInput = exports.GetCommitOutput = exports.GetCommitInput = exports.CommitIdDoesNotExistException = exports.RepositoryNotAssociatedWithPullRequestException = exports.GetCommentsForPullRequestOutput = void 0;
9
+ const CodeCommitServiceException_1 = require("./CodeCommitServiceException");
10
+ class ActorDoesNotExistException extends CodeCommitServiceException_1.CodeCommitServiceException {
11
+ constructor(opts) {
12
+ super({
13
+ name: "ActorDoesNotExistException",
14
+ $fault: "client",
15
+ ...opts,
16
+ });
17
+ this.name = "ActorDoesNotExistException";
18
+ this.$fault = "client";
19
+ Object.setPrototypeOf(this, ActorDoesNotExistException.prototype);
20
+ }
21
+ }
22
+ exports.ActorDoesNotExistException = ActorDoesNotExistException;
7
23
  var ApprovalState;
8
24
  (function (ApprovalState) {
9
25
  ApprovalState["APPROVE"] = "APPROVE";
@@ -27,12 +43,64 @@ var ApprovalRule;
27
43
  ...obj,
28
44
  });
29
45
  })(ApprovalRule = exports.ApprovalRule || (exports.ApprovalRule = {}));
46
+ class ApprovalRuleContentRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
47
+ constructor(opts) {
48
+ super({
49
+ name: "ApprovalRuleContentRequiredException",
50
+ $fault: "client",
51
+ ...opts,
52
+ });
53
+ this.name = "ApprovalRuleContentRequiredException";
54
+ this.$fault = "client";
55
+ Object.setPrototypeOf(this, ApprovalRuleContentRequiredException.prototype);
56
+ }
57
+ }
58
+ exports.ApprovalRuleContentRequiredException = ApprovalRuleContentRequiredException;
59
+ class ApprovalRuleDoesNotExistException extends CodeCommitServiceException_1.CodeCommitServiceException {
60
+ constructor(opts) {
61
+ super({
62
+ name: "ApprovalRuleDoesNotExistException",
63
+ $fault: "client",
64
+ ...opts,
65
+ });
66
+ this.name = "ApprovalRuleDoesNotExistException";
67
+ this.$fault = "client";
68
+ Object.setPrototypeOf(this, ApprovalRuleDoesNotExistException.prototype);
69
+ }
70
+ }
71
+ exports.ApprovalRuleDoesNotExistException = ApprovalRuleDoesNotExistException;
30
72
  var ApprovalRuleEventMetadata;
31
73
  (function (ApprovalRuleEventMetadata) {
32
74
  ApprovalRuleEventMetadata.filterSensitiveLog = (obj) => ({
33
75
  ...obj,
34
76
  });
35
77
  })(ApprovalRuleEventMetadata = exports.ApprovalRuleEventMetadata || (exports.ApprovalRuleEventMetadata = {}));
78
+ class ApprovalRuleNameAlreadyExistsException extends CodeCommitServiceException_1.CodeCommitServiceException {
79
+ constructor(opts) {
80
+ super({
81
+ name: "ApprovalRuleNameAlreadyExistsException",
82
+ $fault: "client",
83
+ ...opts,
84
+ });
85
+ this.name = "ApprovalRuleNameAlreadyExistsException";
86
+ this.$fault = "client";
87
+ Object.setPrototypeOf(this, ApprovalRuleNameAlreadyExistsException.prototype);
88
+ }
89
+ }
90
+ exports.ApprovalRuleNameAlreadyExistsException = ApprovalRuleNameAlreadyExistsException;
91
+ class ApprovalRuleNameRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
92
+ constructor(opts) {
93
+ super({
94
+ name: "ApprovalRuleNameRequiredException",
95
+ $fault: "client",
96
+ ...opts,
97
+ });
98
+ this.name = "ApprovalRuleNameRequiredException";
99
+ this.$fault = "client";
100
+ Object.setPrototypeOf(this, ApprovalRuleNameRequiredException.prototype);
101
+ }
102
+ }
103
+ exports.ApprovalRuleNameRequiredException = ApprovalRuleNameRequiredException;
36
104
  var OverrideStatus;
37
105
  (function (OverrideStatus) {
38
106
  OverrideStatus["OVERRIDE"] = "OVERRIDE";
@@ -50,18 +118,239 @@ var ApprovalRuleTemplate;
50
118
  ...obj,
51
119
  });
52
120
  })(ApprovalRuleTemplate = exports.ApprovalRuleTemplate || (exports.ApprovalRuleTemplate = {}));
121
+ class ApprovalRuleTemplateContentRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
122
+ constructor(opts) {
123
+ super({
124
+ name: "ApprovalRuleTemplateContentRequiredException",
125
+ $fault: "client",
126
+ ...opts,
127
+ });
128
+ this.name = "ApprovalRuleTemplateContentRequiredException";
129
+ this.$fault = "client";
130
+ Object.setPrototypeOf(this, ApprovalRuleTemplateContentRequiredException.prototype);
131
+ }
132
+ }
133
+ exports.ApprovalRuleTemplateContentRequiredException = ApprovalRuleTemplateContentRequiredException;
134
+ class ApprovalRuleTemplateDoesNotExistException extends CodeCommitServiceException_1.CodeCommitServiceException {
135
+ constructor(opts) {
136
+ super({
137
+ name: "ApprovalRuleTemplateDoesNotExistException",
138
+ $fault: "client",
139
+ ...opts,
140
+ });
141
+ this.name = "ApprovalRuleTemplateDoesNotExistException";
142
+ this.$fault = "client";
143
+ Object.setPrototypeOf(this, ApprovalRuleTemplateDoesNotExistException.prototype);
144
+ }
145
+ }
146
+ exports.ApprovalRuleTemplateDoesNotExistException = ApprovalRuleTemplateDoesNotExistException;
147
+ class ApprovalRuleTemplateInUseException extends CodeCommitServiceException_1.CodeCommitServiceException {
148
+ constructor(opts) {
149
+ super({
150
+ name: "ApprovalRuleTemplateInUseException",
151
+ $fault: "client",
152
+ ...opts,
153
+ });
154
+ this.name = "ApprovalRuleTemplateInUseException";
155
+ this.$fault = "client";
156
+ Object.setPrototypeOf(this, ApprovalRuleTemplateInUseException.prototype);
157
+ }
158
+ }
159
+ exports.ApprovalRuleTemplateInUseException = ApprovalRuleTemplateInUseException;
160
+ class ApprovalRuleTemplateNameAlreadyExistsException extends CodeCommitServiceException_1.CodeCommitServiceException {
161
+ constructor(opts) {
162
+ super({
163
+ name: "ApprovalRuleTemplateNameAlreadyExistsException",
164
+ $fault: "client",
165
+ ...opts,
166
+ });
167
+ this.name = "ApprovalRuleTemplateNameAlreadyExistsException";
168
+ this.$fault = "client";
169
+ Object.setPrototypeOf(this, ApprovalRuleTemplateNameAlreadyExistsException.prototype);
170
+ }
171
+ }
172
+ exports.ApprovalRuleTemplateNameAlreadyExistsException = ApprovalRuleTemplateNameAlreadyExistsException;
173
+ class ApprovalRuleTemplateNameRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
174
+ constructor(opts) {
175
+ super({
176
+ name: "ApprovalRuleTemplateNameRequiredException",
177
+ $fault: "client",
178
+ ...opts,
179
+ });
180
+ this.name = "ApprovalRuleTemplateNameRequiredException";
181
+ this.$fault = "client";
182
+ Object.setPrototypeOf(this, ApprovalRuleTemplateNameRequiredException.prototype);
183
+ }
184
+ }
185
+ exports.ApprovalRuleTemplateNameRequiredException = ApprovalRuleTemplateNameRequiredException;
53
186
  var ApprovalStateChangedEventMetadata;
54
187
  (function (ApprovalStateChangedEventMetadata) {
55
188
  ApprovalStateChangedEventMetadata.filterSensitiveLog = (obj) => ({
56
189
  ...obj,
57
190
  });
58
191
  })(ApprovalStateChangedEventMetadata = exports.ApprovalStateChangedEventMetadata || (exports.ApprovalStateChangedEventMetadata = {}));
192
+ class ApprovalStateRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
193
+ constructor(opts) {
194
+ super({
195
+ name: "ApprovalStateRequiredException",
196
+ $fault: "client",
197
+ ...opts,
198
+ });
199
+ this.name = "ApprovalStateRequiredException";
200
+ this.$fault = "client";
201
+ Object.setPrototypeOf(this, ApprovalStateRequiredException.prototype);
202
+ }
203
+ }
204
+ exports.ApprovalStateRequiredException = ApprovalStateRequiredException;
59
205
  var AssociateApprovalRuleTemplateWithRepositoryInput;
60
206
  (function (AssociateApprovalRuleTemplateWithRepositoryInput) {
61
207
  AssociateApprovalRuleTemplateWithRepositoryInput.filterSensitiveLog = (obj) => ({
62
208
  ...obj,
63
209
  });
64
210
  })(AssociateApprovalRuleTemplateWithRepositoryInput = exports.AssociateApprovalRuleTemplateWithRepositoryInput || (exports.AssociateApprovalRuleTemplateWithRepositoryInput = {}));
211
+ class EncryptionIntegrityChecksFailedException extends CodeCommitServiceException_1.CodeCommitServiceException {
212
+ constructor(opts) {
213
+ super({
214
+ name: "EncryptionIntegrityChecksFailedException",
215
+ $fault: "server",
216
+ ...opts,
217
+ });
218
+ this.name = "EncryptionIntegrityChecksFailedException";
219
+ this.$fault = "server";
220
+ Object.setPrototypeOf(this, EncryptionIntegrityChecksFailedException.prototype);
221
+ }
222
+ }
223
+ exports.EncryptionIntegrityChecksFailedException = EncryptionIntegrityChecksFailedException;
224
+ class EncryptionKeyAccessDeniedException extends CodeCommitServiceException_1.CodeCommitServiceException {
225
+ constructor(opts) {
226
+ super({
227
+ name: "EncryptionKeyAccessDeniedException",
228
+ $fault: "client",
229
+ ...opts,
230
+ });
231
+ this.name = "EncryptionKeyAccessDeniedException";
232
+ this.$fault = "client";
233
+ Object.setPrototypeOf(this, EncryptionKeyAccessDeniedException.prototype);
234
+ }
235
+ }
236
+ exports.EncryptionKeyAccessDeniedException = EncryptionKeyAccessDeniedException;
237
+ class EncryptionKeyDisabledException extends CodeCommitServiceException_1.CodeCommitServiceException {
238
+ constructor(opts) {
239
+ super({
240
+ name: "EncryptionKeyDisabledException",
241
+ $fault: "client",
242
+ ...opts,
243
+ });
244
+ this.name = "EncryptionKeyDisabledException";
245
+ this.$fault = "client";
246
+ Object.setPrototypeOf(this, EncryptionKeyDisabledException.prototype);
247
+ }
248
+ }
249
+ exports.EncryptionKeyDisabledException = EncryptionKeyDisabledException;
250
+ class EncryptionKeyNotFoundException extends CodeCommitServiceException_1.CodeCommitServiceException {
251
+ constructor(opts) {
252
+ super({
253
+ name: "EncryptionKeyNotFoundException",
254
+ $fault: "client",
255
+ ...opts,
256
+ });
257
+ this.name = "EncryptionKeyNotFoundException";
258
+ this.$fault = "client";
259
+ Object.setPrototypeOf(this, EncryptionKeyNotFoundException.prototype);
260
+ }
261
+ }
262
+ exports.EncryptionKeyNotFoundException = EncryptionKeyNotFoundException;
263
+ class EncryptionKeyUnavailableException extends CodeCommitServiceException_1.CodeCommitServiceException {
264
+ constructor(opts) {
265
+ super({
266
+ name: "EncryptionKeyUnavailableException",
267
+ $fault: "client",
268
+ ...opts,
269
+ });
270
+ this.name = "EncryptionKeyUnavailableException";
271
+ this.$fault = "client";
272
+ Object.setPrototypeOf(this, EncryptionKeyUnavailableException.prototype);
273
+ }
274
+ }
275
+ exports.EncryptionKeyUnavailableException = EncryptionKeyUnavailableException;
276
+ class InvalidApprovalRuleTemplateNameException extends CodeCommitServiceException_1.CodeCommitServiceException {
277
+ constructor(opts) {
278
+ super({
279
+ name: "InvalidApprovalRuleTemplateNameException",
280
+ $fault: "client",
281
+ ...opts,
282
+ });
283
+ this.name = "InvalidApprovalRuleTemplateNameException";
284
+ this.$fault = "client";
285
+ Object.setPrototypeOf(this, InvalidApprovalRuleTemplateNameException.prototype);
286
+ }
287
+ }
288
+ exports.InvalidApprovalRuleTemplateNameException = InvalidApprovalRuleTemplateNameException;
289
+ class InvalidRepositoryNameException extends CodeCommitServiceException_1.CodeCommitServiceException {
290
+ constructor(opts) {
291
+ super({
292
+ name: "InvalidRepositoryNameException",
293
+ $fault: "client",
294
+ ...opts,
295
+ });
296
+ this.name = "InvalidRepositoryNameException";
297
+ this.$fault = "client";
298
+ Object.setPrototypeOf(this, InvalidRepositoryNameException.prototype);
299
+ }
300
+ }
301
+ exports.InvalidRepositoryNameException = InvalidRepositoryNameException;
302
+ class MaximumRuleTemplatesAssociatedWithRepositoryException extends CodeCommitServiceException_1.CodeCommitServiceException {
303
+ constructor(opts) {
304
+ super({
305
+ name: "MaximumRuleTemplatesAssociatedWithRepositoryException",
306
+ $fault: "client",
307
+ ...opts,
308
+ });
309
+ this.name = "MaximumRuleTemplatesAssociatedWithRepositoryException";
310
+ this.$fault = "client";
311
+ Object.setPrototypeOf(this, MaximumRuleTemplatesAssociatedWithRepositoryException.prototype);
312
+ }
313
+ }
314
+ exports.MaximumRuleTemplatesAssociatedWithRepositoryException = MaximumRuleTemplatesAssociatedWithRepositoryException;
315
+ class RepositoryDoesNotExistException extends CodeCommitServiceException_1.CodeCommitServiceException {
316
+ constructor(opts) {
317
+ super({
318
+ name: "RepositoryDoesNotExistException",
319
+ $fault: "client",
320
+ ...opts,
321
+ });
322
+ this.name = "RepositoryDoesNotExistException";
323
+ this.$fault = "client";
324
+ Object.setPrototypeOf(this, RepositoryDoesNotExistException.prototype);
325
+ }
326
+ }
327
+ exports.RepositoryDoesNotExistException = RepositoryDoesNotExistException;
328
+ class RepositoryNameRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
329
+ constructor(opts) {
330
+ super({
331
+ name: "RepositoryNameRequiredException",
332
+ $fault: "client",
333
+ ...opts,
334
+ });
335
+ this.name = "RepositoryNameRequiredException";
336
+ this.$fault = "client";
337
+ Object.setPrototypeOf(this, RepositoryNameRequiredException.prototype);
338
+ }
339
+ }
340
+ exports.RepositoryNameRequiredException = RepositoryNameRequiredException;
341
+ class AuthorDoesNotExistException extends CodeCommitServiceException_1.CodeCommitServiceException {
342
+ constructor(opts) {
343
+ super({
344
+ name: "AuthorDoesNotExistException",
345
+ $fault: "client",
346
+ ...opts,
347
+ });
348
+ this.name = "AuthorDoesNotExistException";
349
+ this.$fault = "client";
350
+ Object.setPrototypeOf(this, AuthorDoesNotExistException.prototype);
351
+ }
352
+ }
353
+ exports.AuthorDoesNotExistException = AuthorDoesNotExistException;
65
354
  var BatchAssociateApprovalRuleTemplateWithRepositoriesInput;
66
355
  (function (BatchAssociateApprovalRuleTemplateWithRepositoriesInput) {
67
356
  BatchAssociateApprovalRuleTemplateWithRepositoriesInput.filterSensitiveLog = (obj) => ({
@@ -80,6 +369,32 @@ var BatchAssociateApprovalRuleTemplateWithRepositoriesOutput;
80
369
  ...obj,
81
370
  });
82
371
  })(BatchAssociateApprovalRuleTemplateWithRepositoriesOutput = exports.BatchAssociateApprovalRuleTemplateWithRepositoriesOutput || (exports.BatchAssociateApprovalRuleTemplateWithRepositoriesOutput = {}));
372
+ class MaximumRepositoryNamesExceededException extends CodeCommitServiceException_1.CodeCommitServiceException {
373
+ constructor(opts) {
374
+ super({
375
+ name: "MaximumRepositoryNamesExceededException",
376
+ $fault: "client",
377
+ ...opts,
378
+ });
379
+ this.name = "MaximumRepositoryNamesExceededException";
380
+ this.$fault = "client";
381
+ Object.setPrototypeOf(this, MaximumRepositoryNamesExceededException.prototype);
382
+ }
383
+ }
384
+ exports.MaximumRepositoryNamesExceededException = MaximumRepositoryNamesExceededException;
385
+ class RepositoryNamesRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
386
+ constructor(opts) {
387
+ super({
388
+ name: "RepositoryNamesRequiredException",
389
+ $fault: "client",
390
+ ...opts,
391
+ });
392
+ this.name = "RepositoryNamesRequiredException";
393
+ this.$fault = "client";
394
+ Object.setPrototypeOf(this, RepositoryNamesRequiredException.prototype);
395
+ }
396
+ }
397
+ exports.RepositoryNamesRequiredException = RepositoryNamesRequiredException;
83
398
  var ConflictDetailLevelTypeEnum;
84
399
  (function (ConflictDetailLevelTypeEnum) {
85
400
  ConflictDetailLevelTypeEnum["FILE_LEVEL"] = "FILE_LEVEL";
@@ -189,6 +504,175 @@ var BatchDescribeMergeConflictsOutput;
189
504
  ...obj,
190
505
  });
191
506
  })(BatchDescribeMergeConflictsOutput = exports.BatchDescribeMergeConflictsOutput || (exports.BatchDescribeMergeConflictsOutput = {}));
507
+ class CommitDoesNotExistException extends CodeCommitServiceException_1.CodeCommitServiceException {
508
+ constructor(opts) {
509
+ super({
510
+ name: "CommitDoesNotExistException",
511
+ $fault: "client",
512
+ ...opts,
513
+ });
514
+ this.name = "CommitDoesNotExistException";
515
+ this.$fault = "client";
516
+ Object.setPrototypeOf(this, CommitDoesNotExistException.prototype);
517
+ }
518
+ }
519
+ exports.CommitDoesNotExistException = CommitDoesNotExistException;
520
+ class CommitRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
521
+ constructor(opts) {
522
+ super({
523
+ name: "CommitRequiredException",
524
+ $fault: "client",
525
+ ...opts,
526
+ });
527
+ this.name = "CommitRequiredException";
528
+ this.$fault = "client";
529
+ Object.setPrototypeOf(this, CommitRequiredException.prototype);
530
+ }
531
+ }
532
+ exports.CommitRequiredException = CommitRequiredException;
533
+ class InvalidCommitException extends CodeCommitServiceException_1.CodeCommitServiceException {
534
+ constructor(opts) {
535
+ super({
536
+ name: "InvalidCommitException",
537
+ $fault: "client",
538
+ ...opts,
539
+ });
540
+ this.name = "InvalidCommitException";
541
+ this.$fault = "client";
542
+ Object.setPrototypeOf(this, InvalidCommitException.prototype);
543
+ }
544
+ }
545
+ exports.InvalidCommitException = InvalidCommitException;
546
+ class InvalidConflictDetailLevelException extends CodeCommitServiceException_1.CodeCommitServiceException {
547
+ constructor(opts) {
548
+ super({
549
+ name: "InvalidConflictDetailLevelException",
550
+ $fault: "client",
551
+ ...opts,
552
+ });
553
+ this.name = "InvalidConflictDetailLevelException";
554
+ this.$fault = "client";
555
+ Object.setPrototypeOf(this, InvalidConflictDetailLevelException.prototype);
556
+ }
557
+ }
558
+ exports.InvalidConflictDetailLevelException = InvalidConflictDetailLevelException;
559
+ class InvalidConflictResolutionStrategyException extends CodeCommitServiceException_1.CodeCommitServiceException {
560
+ constructor(opts) {
561
+ super({
562
+ name: "InvalidConflictResolutionStrategyException",
563
+ $fault: "client",
564
+ ...opts,
565
+ });
566
+ this.name = "InvalidConflictResolutionStrategyException";
567
+ this.$fault = "client";
568
+ Object.setPrototypeOf(this, InvalidConflictResolutionStrategyException.prototype);
569
+ }
570
+ }
571
+ exports.InvalidConflictResolutionStrategyException = InvalidConflictResolutionStrategyException;
572
+ class InvalidContinuationTokenException extends CodeCommitServiceException_1.CodeCommitServiceException {
573
+ constructor(opts) {
574
+ super({
575
+ name: "InvalidContinuationTokenException",
576
+ $fault: "client",
577
+ ...opts,
578
+ });
579
+ this.name = "InvalidContinuationTokenException";
580
+ this.$fault = "client";
581
+ Object.setPrototypeOf(this, InvalidContinuationTokenException.prototype);
582
+ }
583
+ }
584
+ exports.InvalidContinuationTokenException = InvalidContinuationTokenException;
585
+ class InvalidMaxConflictFilesException extends CodeCommitServiceException_1.CodeCommitServiceException {
586
+ constructor(opts) {
587
+ super({
588
+ name: "InvalidMaxConflictFilesException",
589
+ $fault: "client",
590
+ ...opts,
591
+ });
592
+ this.name = "InvalidMaxConflictFilesException";
593
+ this.$fault = "client";
594
+ Object.setPrototypeOf(this, InvalidMaxConflictFilesException.prototype);
595
+ }
596
+ }
597
+ exports.InvalidMaxConflictFilesException = InvalidMaxConflictFilesException;
598
+ class InvalidMaxMergeHunksException extends CodeCommitServiceException_1.CodeCommitServiceException {
599
+ constructor(opts) {
600
+ super({
601
+ name: "InvalidMaxMergeHunksException",
602
+ $fault: "client",
603
+ ...opts,
604
+ });
605
+ this.name = "InvalidMaxMergeHunksException";
606
+ this.$fault = "client";
607
+ Object.setPrototypeOf(this, InvalidMaxMergeHunksException.prototype);
608
+ }
609
+ }
610
+ exports.InvalidMaxMergeHunksException = InvalidMaxMergeHunksException;
611
+ class InvalidMergeOptionException extends CodeCommitServiceException_1.CodeCommitServiceException {
612
+ constructor(opts) {
613
+ super({
614
+ name: "InvalidMergeOptionException",
615
+ $fault: "client",
616
+ ...opts,
617
+ });
618
+ this.name = "InvalidMergeOptionException";
619
+ this.$fault = "client";
620
+ Object.setPrototypeOf(this, InvalidMergeOptionException.prototype);
621
+ }
622
+ }
623
+ exports.InvalidMergeOptionException = InvalidMergeOptionException;
624
+ class MaximumFileContentToLoadExceededException extends CodeCommitServiceException_1.CodeCommitServiceException {
625
+ constructor(opts) {
626
+ super({
627
+ name: "MaximumFileContentToLoadExceededException",
628
+ $fault: "client",
629
+ ...opts,
630
+ });
631
+ this.name = "MaximumFileContentToLoadExceededException";
632
+ this.$fault = "client";
633
+ Object.setPrototypeOf(this, MaximumFileContentToLoadExceededException.prototype);
634
+ }
635
+ }
636
+ exports.MaximumFileContentToLoadExceededException = MaximumFileContentToLoadExceededException;
637
+ class MaximumItemsToCompareExceededException extends CodeCommitServiceException_1.CodeCommitServiceException {
638
+ constructor(opts) {
639
+ super({
640
+ name: "MaximumItemsToCompareExceededException",
641
+ $fault: "client",
642
+ ...opts,
643
+ });
644
+ this.name = "MaximumItemsToCompareExceededException";
645
+ this.$fault = "client";
646
+ Object.setPrototypeOf(this, MaximumItemsToCompareExceededException.prototype);
647
+ }
648
+ }
649
+ exports.MaximumItemsToCompareExceededException = MaximumItemsToCompareExceededException;
650
+ class MergeOptionRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
651
+ constructor(opts) {
652
+ super({
653
+ name: "MergeOptionRequiredException",
654
+ $fault: "client",
655
+ ...opts,
656
+ });
657
+ this.name = "MergeOptionRequiredException";
658
+ this.$fault = "client";
659
+ Object.setPrototypeOf(this, MergeOptionRequiredException.prototype);
660
+ }
661
+ }
662
+ exports.MergeOptionRequiredException = MergeOptionRequiredException;
663
+ class TipsDivergenceExceededException extends CodeCommitServiceException_1.CodeCommitServiceException {
664
+ constructor(opts) {
665
+ super({
666
+ name: "TipsDivergenceExceededException",
667
+ $fault: "client",
668
+ ...opts,
669
+ });
670
+ this.name = "TipsDivergenceExceededException";
671
+ this.$fault = "client";
672
+ Object.setPrototypeOf(this, TipsDivergenceExceededException.prototype);
673
+ }
674
+ }
675
+ exports.TipsDivergenceExceededException = TipsDivergenceExceededException;
192
676
  var BatchDisassociateApprovalRuleTemplateFromRepositoriesInput;
193
677
  (function (BatchDisassociateApprovalRuleTemplateFromRepositoriesInput) {
194
678
  BatchDisassociateApprovalRuleTemplateFromRepositoriesInput.filterSensitiveLog = (obj) => ({
@@ -237,6 +721,32 @@ var BatchGetCommitsOutput;
237
721
  ...obj,
238
722
  });
239
723
  })(BatchGetCommitsOutput = exports.BatchGetCommitsOutput || (exports.BatchGetCommitsOutput = {}));
724
+ class CommitIdsLimitExceededException extends CodeCommitServiceException_1.CodeCommitServiceException {
725
+ constructor(opts) {
726
+ super({
727
+ name: "CommitIdsLimitExceededException",
728
+ $fault: "client",
729
+ ...opts,
730
+ });
731
+ this.name = "CommitIdsLimitExceededException";
732
+ this.$fault = "client";
733
+ Object.setPrototypeOf(this, CommitIdsLimitExceededException.prototype);
734
+ }
735
+ }
736
+ exports.CommitIdsLimitExceededException = CommitIdsLimitExceededException;
737
+ class CommitIdsListRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
738
+ constructor(opts) {
739
+ super({
740
+ name: "CommitIdsListRequiredException",
741
+ $fault: "client",
742
+ ...opts,
743
+ });
744
+ this.name = "CommitIdsListRequiredException";
745
+ this.$fault = "client";
746
+ Object.setPrototypeOf(this, CommitIdsListRequiredException.prototype);
747
+ }
748
+ }
749
+ exports.CommitIdsListRequiredException = CommitIdsListRequiredException;
240
750
  var BatchGetRepositoriesInput;
241
751
  (function (BatchGetRepositoriesInput) {
242
752
  BatchGetRepositoriesInput.filterSensitiveLog = (obj) => ({
@@ -255,18 +765,148 @@ var BatchGetRepositoriesOutput;
255
765
  ...obj,
256
766
  });
257
767
  })(BatchGetRepositoriesOutput = exports.BatchGetRepositoriesOutput || (exports.BatchGetRepositoriesOutput = {}));
768
+ class BeforeCommitIdAndAfterCommitIdAreSameException extends CodeCommitServiceException_1.CodeCommitServiceException {
769
+ constructor(opts) {
770
+ super({
771
+ name: "BeforeCommitIdAndAfterCommitIdAreSameException",
772
+ $fault: "client",
773
+ ...opts,
774
+ });
775
+ this.name = "BeforeCommitIdAndAfterCommitIdAreSameException";
776
+ this.$fault = "client";
777
+ Object.setPrototypeOf(this, BeforeCommitIdAndAfterCommitIdAreSameException.prototype);
778
+ }
779
+ }
780
+ exports.BeforeCommitIdAndAfterCommitIdAreSameException = BeforeCommitIdAndAfterCommitIdAreSameException;
781
+ class BlobIdDoesNotExistException extends CodeCommitServiceException_1.CodeCommitServiceException {
782
+ constructor(opts) {
783
+ super({
784
+ name: "BlobIdDoesNotExistException",
785
+ $fault: "client",
786
+ ...opts,
787
+ });
788
+ this.name = "BlobIdDoesNotExistException";
789
+ this.$fault = "client";
790
+ Object.setPrototypeOf(this, BlobIdDoesNotExistException.prototype);
791
+ }
792
+ }
793
+ exports.BlobIdDoesNotExistException = BlobIdDoesNotExistException;
794
+ class BlobIdRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
795
+ constructor(opts) {
796
+ super({
797
+ name: "BlobIdRequiredException",
798
+ $fault: "client",
799
+ ...opts,
800
+ });
801
+ this.name = "BlobIdRequiredException";
802
+ this.$fault = "client";
803
+ Object.setPrototypeOf(this, BlobIdRequiredException.prototype);
804
+ }
805
+ }
806
+ exports.BlobIdRequiredException = BlobIdRequiredException;
258
807
  var BlobMetadata;
259
808
  (function (BlobMetadata) {
260
809
  BlobMetadata.filterSensitiveLog = (obj) => ({
261
810
  ...obj,
262
811
  });
263
812
  })(BlobMetadata = exports.BlobMetadata || (exports.BlobMetadata = {}));
813
+ class BranchDoesNotExistException extends CodeCommitServiceException_1.CodeCommitServiceException {
814
+ constructor(opts) {
815
+ super({
816
+ name: "BranchDoesNotExistException",
817
+ $fault: "client",
818
+ ...opts,
819
+ });
820
+ this.name = "BranchDoesNotExistException";
821
+ this.$fault = "client";
822
+ Object.setPrototypeOf(this, BranchDoesNotExistException.prototype);
823
+ }
824
+ }
825
+ exports.BranchDoesNotExistException = BranchDoesNotExistException;
264
826
  var BranchInfo;
265
827
  (function (BranchInfo) {
266
828
  BranchInfo.filterSensitiveLog = (obj) => ({
267
829
  ...obj,
268
830
  });
269
831
  })(BranchInfo = exports.BranchInfo || (exports.BranchInfo = {}));
832
+ class BranchNameExistsException extends CodeCommitServiceException_1.CodeCommitServiceException {
833
+ constructor(opts) {
834
+ super({
835
+ name: "BranchNameExistsException",
836
+ $fault: "client",
837
+ ...opts,
838
+ });
839
+ this.name = "BranchNameExistsException";
840
+ this.$fault = "client";
841
+ Object.setPrototypeOf(this, BranchNameExistsException.prototype);
842
+ }
843
+ }
844
+ exports.BranchNameExistsException = BranchNameExistsException;
845
+ class BranchNameIsTagNameException extends CodeCommitServiceException_1.CodeCommitServiceException {
846
+ constructor(opts) {
847
+ super({
848
+ name: "BranchNameIsTagNameException",
849
+ $fault: "client",
850
+ ...opts,
851
+ });
852
+ this.name = "BranchNameIsTagNameException";
853
+ this.$fault = "client";
854
+ Object.setPrototypeOf(this, BranchNameIsTagNameException.prototype);
855
+ }
856
+ }
857
+ exports.BranchNameIsTagNameException = BranchNameIsTagNameException;
858
+ class BranchNameRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
859
+ constructor(opts) {
860
+ super({
861
+ name: "BranchNameRequiredException",
862
+ $fault: "client",
863
+ ...opts,
864
+ });
865
+ this.name = "BranchNameRequiredException";
866
+ this.$fault = "client";
867
+ Object.setPrototypeOf(this, BranchNameRequiredException.prototype);
868
+ }
869
+ }
870
+ exports.BranchNameRequiredException = BranchNameRequiredException;
871
+ class CannotDeleteApprovalRuleFromTemplateException extends CodeCommitServiceException_1.CodeCommitServiceException {
872
+ constructor(opts) {
873
+ super({
874
+ name: "CannotDeleteApprovalRuleFromTemplateException",
875
+ $fault: "client",
876
+ ...opts,
877
+ });
878
+ this.name = "CannotDeleteApprovalRuleFromTemplateException";
879
+ this.$fault = "client";
880
+ Object.setPrototypeOf(this, CannotDeleteApprovalRuleFromTemplateException.prototype);
881
+ }
882
+ }
883
+ exports.CannotDeleteApprovalRuleFromTemplateException = CannotDeleteApprovalRuleFromTemplateException;
884
+ class CannotModifyApprovalRuleFromTemplateException extends CodeCommitServiceException_1.CodeCommitServiceException {
885
+ constructor(opts) {
886
+ super({
887
+ name: "CannotModifyApprovalRuleFromTemplateException",
888
+ $fault: "client",
889
+ ...opts,
890
+ });
891
+ this.name = "CannotModifyApprovalRuleFromTemplateException";
892
+ this.$fault = "client";
893
+ Object.setPrototypeOf(this, CannotModifyApprovalRuleFromTemplateException.prototype);
894
+ }
895
+ }
896
+ exports.CannotModifyApprovalRuleFromTemplateException = CannotModifyApprovalRuleFromTemplateException;
897
+ class ClientRequestTokenRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
898
+ constructor(opts) {
899
+ super({
900
+ name: "ClientRequestTokenRequiredException",
901
+ $fault: "client",
902
+ ...opts,
903
+ });
904
+ this.name = "ClientRequestTokenRequiredException";
905
+ this.$fault = "client";
906
+ Object.setPrototypeOf(this, ClientRequestTokenRequiredException.prototype);
907
+ }
908
+ }
909
+ exports.ClientRequestTokenRequiredException = ClientRequestTokenRequiredException;
270
910
  var CreateApprovalRuleTemplateInput;
271
911
  (function (CreateApprovalRuleTemplateInput) {
272
912
  CreateApprovalRuleTemplateInput.filterSensitiveLog = (obj) => ({
@@ -279,12 +919,103 @@ var CreateApprovalRuleTemplateOutput;
279
919
  ...obj,
280
920
  });
281
921
  })(CreateApprovalRuleTemplateOutput = exports.CreateApprovalRuleTemplateOutput || (exports.CreateApprovalRuleTemplateOutput = {}));
922
+ class InvalidApprovalRuleTemplateContentException extends CodeCommitServiceException_1.CodeCommitServiceException {
923
+ constructor(opts) {
924
+ super({
925
+ name: "InvalidApprovalRuleTemplateContentException",
926
+ $fault: "client",
927
+ ...opts,
928
+ });
929
+ this.name = "InvalidApprovalRuleTemplateContentException";
930
+ this.$fault = "client";
931
+ Object.setPrototypeOf(this, InvalidApprovalRuleTemplateContentException.prototype);
932
+ }
933
+ }
934
+ exports.InvalidApprovalRuleTemplateContentException = InvalidApprovalRuleTemplateContentException;
935
+ class InvalidApprovalRuleTemplateDescriptionException extends CodeCommitServiceException_1.CodeCommitServiceException {
936
+ constructor(opts) {
937
+ super({
938
+ name: "InvalidApprovalRuleTemplateDescriptionException",
939
+ $fault: "client",
940
+ ...opts,
941
+ });
942
+ this.name = "InvalidApprovalRuleTemplateDescriptionException";
943
+ this.$fault = "client";
944
+ Object.setPrototypeOf(this, InvalidApprovalRuleTemplateDescriptionException.prototype);
945
+ }
946
+ }
947
+ exports.InvalidApprovalRuleTemplateDescriptionException = InvalidApprovalRuleTemplateDescriptionException;
948
+ class NumberOfRuleTemplatesExceededException extends CodeCommitServiceException_1.CodeCommitServiceException {
949
+ constructor(opts) {
950
+ super({
951
+ name: "NumberOfRuleTemplatesExceededException",
952
+ $fault: "client",
953
+ ...opts,
954
+ });
955
+ this.name = "NumberOfRuleTemplatesExceededException";
956
+ this.$fault = "client";
957
+ Object.setPrototypeOf(this, NumberOfRuleTemplatesExceededException.prototype);
958
+ }
959
+ }
960
+ exports.NumberOfRuleTemplatesExceededException = NumberOfRuleTemplatesExceededException;
961
+ class CommitIdRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
962
+ constructor(opts) {
963
+ super({
964
+ name: "CommitIdRequiredException",
965
+ $fault: "client",
966
+ ...opts,
967
+ });
968
+ this.name = "CommitIdRequiredException";
969
+ this.$fault = "client";
970
+ Object.setPrototypeOf(this, CommitIdRequiredException.prototype);
971
+ }
972
+ }
973
+ exports.CommitIdRequiredException = CommitIdRequiredException;
282
974
  var CreateBranchInput;
283
975
  (function (CreateBranchInput) {
284
976
  CreateBranchInput.filterSensitiveLog = (obj) => ({
285
977
  ...obj,
286
978
  });
287
979
  })(CreateBranchInput = exports.CreateBranchInput || (exports.CreateBranchInput = {}));
980
+ class InvalidBranchNameException extends CodeCommitServiceException_1.CodeCommitServiceException {
981
+ constructor(opts) {
982
+ super({
983
+ name: "InvalidBranchNameException",
984
+ $fault: "client",
985
+ ...opts,
986
+ });
987
+ this.name = "InvalidBranchNameException";
988
+ this.$fault = "client";
989
+ Object.setPrototypeOf(this, InvalidBranchNameException.prototype);
990
+ }
991
+ }
992
+ exports.InvalidBranchNameException = InvalidBranchNameException;
993
+ class InvalidCommitIdException extends CodeCommitServiceException_1.CodeCommitServiceException {
994
+ constructor(opts) {
995
+ super({
996
+ name: "InvalidCommitIdException",
997
+ $fault: "client",
998
+ ...opts,
999
+ });
1000
+ this.name = "InvalidCommitIdException";
1001
+ this.$fault = "client";
1002
+ Object.setPrototypeOf(this, InvalidCommitIdException.prototype);
1003
+ }
1004
+ }
1005
+ exports.InvalidCommitIdException = InvalidCommitIdException;
1006
+ class CommitMessageLengthExceededException extends CodeCommitServiceException_1.CodeCommitServiceException {
1007
+ constructor(opts) {
1008
+ super({
1009
+ name: "CommitMessageLengthExceededException",
1010
+ $fault: "client",
1011
+ ...opts,
1012
+ });
1013
+ this.name = "CommitMessageLengthExceededException";
1014
+ this.$fault = "client";
1015
+ Object.setPrototypeOf(this, CommitMessageLengthExceededException.prototype);
1016
+ }
1017
+ }
1018
+ exports.CommitMessageLengthExceededException = CommitMessageLengthExceededException;
288
1019
  var DeleteFileEntry;
289
1020
  (function (DeleteFileEntry) {
290
1021
  DeleteFileEntry.filterSensitiveLog = (obj) => ({
@@ -327,6 +1058,331 @@ var CreateCommitOutput;
327
1058
  ...obj,
328
1059
  });
329
1060
  })(CreateCommitOutput = exports.CreateCommitOutput || (exports.CreateCommitOutput = {}));
1061
+ class DirectoryNameConflictsWithFileNameException extends CodeCommitServiceException_1.CodeCommitServiceException {
1062
+ constructor(opts) {
1063
+ super({
1064
+ name: "DirectoryNameConflictsWithFileNameException",
1065
+ $fault: "client",
1066
+ ...opts,
1067
+ });
1068
+ this.name = "DirectoryNameConflictsWithFileNameException";
1069
+ this.$fault = "client";
1070
+ Object.setPrototypeOf(this, DirectoryNameConflictsWithFileNameException.prototype);
1071
+ }
1072
+ }
1073
+ exports.DirectoryNameConflictsWithFileNameException = DirectoryNameConflictsWithFileNameException;
1074
+ class FileContentAndSourceFileSpecifiedException extends CodeCommitServiceException_1.CodeCommitServiceException {
1075
+ constructor(opts) {
1076
+ super({
1077
+ name: "FileContentAndSourceFileSpecifiedException",
1078
+ $fault: "client",
1079
+ ...opts,
1080
+ });
1081
+ this.name = "FileContentAndSourceFileSpecifiedException";
1082
+ this.$fault = "client";
1083
+ Object.setPrototypeOf(this, FileContentAndSourceFileSpecifiedException.prototype);
1084
+ }
1085
+ }
1086
+ exports.FileContentAndSourceFileSpecifiedException = FileContentAndSourceFileSpecifiedException;
1087
+ class FileContentSizeLimitExceededException extends CodeCommitServiceException_1.CodeCommitServiceException {
1088
+ constructor(opts) {
1089
+ super({
1090
+ name: "FileContentSizeLimitExceededException",
1091
+ $fault: "client",
1092
+ ...opts,
1093
+ });
1094
+ this.name = "FileContentSizeLimitExceededException";
1095
+ this.$fault = "client";
1096
+ Object.setPrototypeOf(this, FileContentSizeLimitExceededException.prototype);
1097
+ }
1098
+ }
1099
+ exports.FileContentSizeLimitExceededException = FileContentSizeLimitExceededException;
1100
+ class FileDoesNotExistException extends CodeCommitServiceException_1.CodeCommitServiceException {
1101
+ constructor(opts) {
1102
+ super({
1103
+ name: "FileDoesNotExistException",
1104
+ $fault: "client",
1105
+ ...opts,
1106
+ });
1107
+ this.name = "FileDoesNotExistException";
1108
+ this.$fault = "client";
1109
+ Object.setPrototypeOf(this, FileDoesNotExistException.prototype);
1110
+ }
1111
+ }
1112
+ exports.FileDoesNotExistException = FileDoesNotExistException;
1113
+ class FileEntryRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
1114
+ constructor(opts) {
1115
+ super({
1116
+ name: "FileEntryRequiredException",
1117
+ $fault: "client",
1118
+ ...opts,
1119
+ });
1120
+ this.name = "FileEntryRequiredException";
1121
+ this.$fault = "client";
1122
+ Object.setPrototypeOf(this, FileEntryRequiredException.prototype);
1123
+ }
1124
+ }
1125
+ exports.FileEntryRequiredException = FileEntryRequiredException;
1126
+ class FileModeRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
1127
+ constructor(opts) {
1128
+ super({
1129
+ name: "FileModeRequiredException",
1130
+ $fault: "client",
1131
+ ...opts,
1132
+ });
1133
+ this.name = "FileModeRequiredException";
1134
+ this.$fault = "client";
1135
+ Object.setPrototypeOf(this, FileModeRequiredException.prototype);
1136
+ }
1137
+ }
1138
+ exports.FileModeRequiredException = FileModeRequiredException;
1139
+ class FileNameConflictsWithDirectoryNameException extends CodeCommitServiceException_1.CodeCommitServiceException {
1140
+ constructor(opts) {
1141
+ super({
1142
+ name: "FileNameConflictsWithDirectoryNameException",
1143
+ $fault: "client",
1144
+ ...opts,
1145
+ });
1146
+ this.name = "FileNameConflictsWithDirectoryNameException";
1147
+ this.$fault = "client";
1148
+ Object.setPrototypeOf(this, FileNameConflictsWithDirectoryNameException.prototype);
1149
+ }
1150
+ }
1151
+ exports.FileNameConflictsWithDirectoryNameException = FileNameConflictsWithDirectoryNameException;
1152
+ class FilePathConflictsWithSubmodulePathException extends CodeCommitServiceException_1.CodeCommitServiceException {
1153
+ constructor(opts) {
1154
+ super({
1155
+ name: "FilePathConflictsWithSubmodulePathException",
1156
+ $fault: "client",
1157
+ ...opts,
1158
+ });
1159
+ this.name = "FilePathConflictsWithSubmodulePathException";
1160
+ this.$fault = "client";
1161
+ Object.setPrototypeOf(this, FilePathConflictsWithSubmodulePathException.prototype);
1162
+ }
1163
+ }
1164
+ exports.FilePathConflictsWithSubmodulePathException = FilePathConflictsWithSubmodulePathException;
1165
+ class FolderContentSizeLimitExceededException extends CodeCommitServiceException_1.CodeCommitServiceException {
1166
+ constructor(opts) {
1167
+ super({
1168
+ name: "FolderContentSizeLimitExceededException",
1169
+ $fault: "client",
1170
+ ...opts,
1171
+ });
1172
+ this.name = "FolderContentSizeLimitExceededException";
1173
+ this.$fault = "client";
1174
+ Object.setPrototypeOf(this, FolderContentSizeLimitExceededException.prototype);
1175
+ }
1176
+ }
1177
+ exports.FolderContentSizeLimitExceededException = FolderContentSizeLimitExceededException;
1178
+ class InvalidDeletionParameterException extends CodeCommitServiceException_1.CodeCommitServiceException {
1179
+ constructor(opts) {
1180
+ super({
1181
+ name: "InvalidDeletionParameterException",
1182
+ $fault: "client",
1183
+ ...opts,
1184
+ });
1185
+ this.name = "InvalidDeletionParameterException";
1186
+ this.$fault = "client";
1187
+ Object.setPrototypeOf(this, InvalidDeletionParameterException.prototype);
1188
+ }
1189
+ }
1190
+ exports.InvalidDeletionParameterException = InvalidDeletionParameterException;
1191
+ class InvalidEmailException extends CodeCommitServiceException_1.CodeCommitServiceException {
1192
+ constructor(opts) {
1193
+ super({
1194
+ name: "InvalidEmailException",
1195
+ $fault: "client",
1196
+ ...opts,
1197
+ });
1198
+ this.name = "InvalidEmailException";
1199
+ this.$fault = "client";
1200
+ Object.setPrototypeOf(this, InvalidEmailException.prototype);
1201
+ }
1202
+ }
1203
+ exports.InvalidEmailException = InvalidEmailException;
1204
+ class InvalidFileModeException extends CodeCommitServiceException_1.CodeCommitServiceException {
1205
+ constructor(opts) {
1206
+ super({
1207
+ name: "InvalidFileModeException",
1208
+ $fault: "client",
1209
+ ...opts,
1210
+ });
1211
+ this.name = "InvalidFileModeException";
1212
+ this.$fault = "client";
1213
+ Object.setPrototypeOf(this, InvalidFileModeException.prototype);
1214
+ }
1215
+ }
1216
+ exports.InvalidFileModeException = InvalidFileModeException;
1217
+ class InvalidParentCommitIdException extends CodeCommitServiceException_1.CodeCommitServiceException {
1218
+ constructor(opts) {
1219
+ super({
1220
+ name: "InvalidParentCommitIdException",
1221
+ $fault: "client",
1222
+ ...opts,
1223
+ });
1224
+ this.name = "InvalidParentCommitIdException";
1225
+ this.$fault = "client";
1226
+ Object.setPrototypeOf(this, InvalidParentCommitIdException.prototype);
1227
+ }
1228
+ }
1229
+ exports.InvalidParentCommitIdException = InvalidParentCommitIdException;
1230
+ class InvalidPathException extends CodeCommitServiceException_1.CodeCommitServiceException {
1231
+ constructor(opts) {
1232
+ super({
1233
+ name: "InvalidPathException",
1234
+ $fault: "client",
1235
+ ...opts,
1236
+ });
1237
+ this.name = "InvalidPathException";
1238
+ this.$fault = "client";
1239
+ Object.setPrototypeOf(this, InvalidPathException.prototype);
1240
+ }
1241
+ }
1242
+ exports.InvalidPathException = InvalidPathException;
1243
+ class MaximumFileEntriesExceededException extends CodeCommitServiceException_1.CodeCommitServiceException {
1244
+ constructor(opts) {
1245
+ super({
1246
+ name: "MaximumFileEntriesExceededException",
1247
+ $fault: "client",
1248
+ ...opts,
1249
+ });
1250
+ this.name = "MaximumFileEntriesExceededException";
1251
+ this.$fault = "client";
1252
+ Object.setPrototypeOf(this, MaximumFileEntriesExceededException.prototype);
1253
+ }
1254
+ }
1255
+ exports.MaximumFileEntriesExceededException = MaximumFileEntriesExceededException;
1256
+ class NameLengthExceededException extends CodeCommitServiceException_1.CodeCommitServiceException {
1257
+ constructor(opts) {
1258
+ super({
1259
+ name: "NameLengthExceededException",
1260
+ $fault: "client",
1261
+ ...opts,
1262
+ });
1263
+ this.name = "NameLengthExceededException";
1264
+ this.$fault = "client";
1265
+ Object.setPrototypeOf(this, NameLengthExceededException.prototype);
1266
+ }
1267
+ }
1268
+ exports.NameLengthExceededException = NameLengthExceededException;
1269
+ class NoChangeException extends CodeCommitServiceException_1.CodeCommitServiceException {
1270
+ constructor(opts) {
1271
+ super({
1272
+ name: "NoChangeException",
1273
+ $fault: "client",
1274
+ ...opts,
1275
+ });
1276
+ this.name = "NoChangeException";
1277
+ this.$fault = "client";
1278
+ Object.setPrototypeOf(this, NoChangeException.prototype);
1279
+ }
1280
+ }
1281
+ exports.NoChangeException = NoChangeException;
1282
+ class ParentCommitDoesNotExistException extends CodeCommitServiceException_1.CodeCommitServiceException {
1283
+ constructor(opts) {
1284
+ super({
1285
+ name: "ParentCommitDoesNotExistException",
1286
+ $fault: "client",
1287
+ ...opts,
1288
+ });
1289
+ this.name = "ParentCommitDoesNotExistException";
1290
+ this.$fault = "client";
1291
+ Object.setPrototypeOf(this, ParentCommitDoesNotExistException.prototype);
1292
+ }
1293
+ }
1294
+ exports.ParentCommitDoesNotExistException = ParentCommitDoesNotExistException;
1295
+ class ParentCommitIdOutdatedException extends CodeCommitServiceException_1.CodeCommitServiceException {
1296
+ constructor(opts) {
1297
+ super({
1298
+ name: "ParentCommitIdOutdatedException",
1299
+ $fault: "client",
1300
+ ...opts,
1301
+ });
1302
+ this.name = "ParentCommitIdOutdatedException";
1303
+ this.$fault = "client";
1304
+ Object.setPrototypeOf(this, ParentCommitIdOutdatedException.prototype);
1305
+ }
1306
+ }
1307
+ exports.ParentCommitIdOutdatedException = ParentCommitIdOutdatedException;
1308
+ class ParentCommitIdRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
1309
+ constructor(opts) {
1310
+ super({
1311
+ name: "ParentCommitIdRequiredException",
1312
+ $fault: "client",
1313
+ ...opts,
1314
+ });
1315
+ this.name = "ParentCommitIdRequiredException";
1316
+ this.$fault = "client";
1317
+ Object.setPrototypeOf(this, ParentCommitIdRequiredException.prototype);
1318
+ }
1319
+ }
1320
+ exports.ParentCommitIdRequiredException = ParentCommitIdRequiredException;
1321
+ class PathRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
1322
+ constructor(opts) {
1323
+ super({
1324
+ name: "PathRequiredException",
1325
+ $fault: "client",
1326
+ ...opts,
1327
+ });
1328
+ this.name = "PathRequiredException";
1329
+ this.$fault = "client";
1330
+ Object.setPrototypeOf(this, PathRequiredException.prototype);
1331
+ }
1332
+ }
1333
+ exports.PathRequiredException = PathRequiredException;
1334
+ class PutFileEntryConflictException extends CodeCommitServiceException_1.CodeCommitServiceException {
1335
+ constructor(opts) {
1336
+ super({
1337
+ name: "PutFileEntryConflictException",
1338
+ $fault: "client",
1339
+ ...opts,
1340
+ });
1341
+ this.name = "PutFileEntryConflictException";
1342
+ this.$fault = "client";
1343
+ Object.setPrototypeOf(this, PutFileEntryConflictException.prototype);
1344
+ }
1345
+ }
1346
+ exports.PutFileEntryConflictException = PutFileEntryConflictException;
1347
+ class RestrictedSourceFileException extends CodeCommitServiceException_1.CodeCommitServiceException {
1348
+ constructor(opts) {
1349
+ super({
1350
+ name: "RestrictedSourceFileException",
1351
+ $fault: "client",
1352
+ ...opts,
1353
+ });
1354
+ this.name = "RestrictedSourceFileException";
1355
+ this.$fault = "client";
1356
+ Object.setPrototypeOf(this, RestrictedSourceFileException.prototype);
1357
+ }
1358
+ }
1359
+ exports.RestrictedSourceFileException = RestrictedSourceFileException;
1360
+ class SamePathRequestException extends CodeCommitServiceException_1.CodeCommitServiceException {
1361
+ constructor(opts) {
1362
+ super({
1363
+ name: "SamePathRequestException",
1364
+ $fault: "client",
1365
+ ...opts,
1366
+ });
1367
+ this.name = "SamePathRequestException";
1368
+ this.$fault = "client";
1369
+ Object.setPrototypeOf(this, SamePathRequestException.prototype);
1370
+ }
1371
+ }
1372
+ exports.SamePathRequestException = SamePathRequestException;
1373
+ class SourceFileOrContentRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
1374
+ constructor(opts) {
1375
+ super({
1376
+ name: "SourceFileOrContentRequiredException",
1377
+ $fault: "client",
1378
+ ...opts,
1379
+ });
1380
+ this.name = "SourceFileOrContentRequiredException";
1381
+ this.$fault = "client";
1382
+ Object.setPrototypeOf(this, SourceFileOrContentRequiredException.prototype);
1383
+ }
1384
+ }
1385
+ exports.SourceFileOrContentRequiredException = SourceFileOrContentRequiredException;
330
1386
  var Target;
331
1387
  (function (Target) {
332
1388
  Target.filterSensitiveLog = (obj) => ({
@@ -368,6 +1424,214 @@ var CreatePullRequestOutput;
368
1424
  ...obj,
369
1425
  });
370
1426
  })(CreatePullRequestOutput = exports.CreatePullRequestOutput || (exports.CreatePullRequestOutput = {}));
1427
+ class IdempotencyParameterMismatchException extends CodeCommitServiceException_1.CodeCommitServiceException {
1428
+ constructor(opts) {
1429
+ super({
1430
+ name: "IdempotencyParameterMismatchException",
1431
+ $fault: "client",
1432
+ ...opts,
1433
+ });
1434
+ this.name = "IdempotencyParameterMismatchException";
1435
+ this.$fault = "client";
1436
+ Object.setPrototypeOf(this, IdempotencyParameterMismatchException.prototype);
1437
+ }
1438
+ }
1439
+ exports.IdempotencyParameterMismatchException = IdempotencyParameterMismatchException;
1440
+ class InvalidClientRequestTokenException extends CodeCommitServiceException_1.CodeCommitServiceException {
1441
+ constructor(opts) {
1442
+ super({
1443
+ name: "InvalidClientRequestTokenException",
1444
+ $fault: "client",
1445
+ ...opts,
1446
+ });
1447
+ this.name = "InvalidClientRequestTokenException";
1448
+ this.$fault = "client";
1449
+ Object.setPrototypeOf(this, InvalidClientRequestTokenException.prototype);
1450
+ }
1451
+ }
1452
+ exports.InvalidClientRequestTokenException = InvalidClientRequestTokenException;
1453
+ class InvalidDescriptionException extends CodeCommitServiceException_1.CodeCommitServiceException {
1454
+ constructor(opts) {
1455
+ super({
1456
+ name: "InvalidDescriptionException",
1457
+ $fault: "client",
1458
+ ...opts,
1459
+ });
1460
+ this.name = "InvalidDescriptionException";
1461
+ this.$fault = "client";
1462
+ Object.setPrototypeOf(this, InvalidDescriptionException.prototype);
1463
+ }
1464
+ }
1465
+ exports.InvalidDescriptionException = InvalidDescriptionException;
1466
+ class InvalidReferenceNameException extends CodeCommitServiceException_1.CodeCommitServiceException {
1467
+ constructor(opts) {
1468
+ super({
1469
+ name: "InvalidReferenceNameException",
1470
+ $fault: "client",
1471
+ ...opts,
1472
+ });
1473
+ this.name = "InvalidReferenceNameException";
1474
+ this.$fault = "client";
1475
+ Object.setPrototypeOf(this, InvalidReferenceNameException.prototype);
1476
+ }
1477
+ }
1478
+ exports.InvalidReferenceNameException = InvalidReferenceNameException;
1479
+ class InvalidTargetException extends CodeCommitServiceException_1.CodeCommitServiceException {
1480
+ constructor(opts) {
1481
+ super({
1482
+ name: "InvalidTargetException",
1483
+ $fault: "client",
1484
+ ...opts,
1485
+ });
1486
+ this.name = "InvalidTargetException";
1487
+ this.$fault = "client";
1488
+ Object.setPrototypeOf(this, InvalidTargetException.prototype);
1489
+ }
1490
+ }
1491
+ exports.InvalidTargetException = InvalidTargetException;
1492
+ class InvalidTargetsException extends CodeCommitServiceException_1.CodeCommitServiceException {
1493
+ constructor(opts) {
1494
+ super({
1495
+ name: "InvalidTargetsException",
1496
+ $fault: "client",
1497
+ ...opts,
1498
+ });
1499
+ this.name = "InvalidTargetsException";
1500
+ this.$fault = "client";
1501
+ Object.setPrototypeOf(this, InvalidTargetsException.prototype);
1502
+ }
1503
+ }
1504
+ exports.InvalidTargetsException = InvalidTargetsException;
1505
+ class InvalidTitleException extends CodeCommitServiceException_1.CodeCommitServiceException {
1506
+ constructor(opts) {
1507
+ super({
1508
+ name: "InvalidTitleException",
1509
+ $fault: "client",
1510
+ ...opts,
1511
+ });
1512
+ this.name = "InvalidTitleException";
1513
+ this.$fault = "client";
1514
+ Object.setPrototypeOf(this, InvalidTitleException.prototype);
1515
+ }
1516
+ }
1517
+ exports.InvalidTitleException = InvalidTitleException;
1518
+ class MaximumOpenPullRequestsExceededException extends CodeCommitServiceException_1.CodeCommitServiceException {
1519
+ constructor(opts) {
1520
+ super({
1521
+ name: "MaximumOpenPullRequestsExceededException",
1522
+ $fault: "client",
1523
+ ...opts,
1524
+ });
1525
+ this.name = "MaximumOpenPullRequestsExceededException";
1526
+ this.$fault = "client";
1527
+ Object.setPrototypeOf(this, MaximumOpenPullRequestsExceededException.prototype);
1528
+ }
1529
+ }
1530
+ exports.MaximumOpenPullRequestsExceededException = MaximumOpenPullRequestsExceededException;
1531
+ class MultipleRepositoriesInPullRequestException extends CodeCommitServiceException_1.CodeCommitServiceException {
1532
+ constructor(opts) {
1533
+ super({
1534
+ name: "MultipleRepositoriesInPullRequestException",
1535
+ $fault: "client",
1536
+ ...opts,
1537
+ });
1538
+ this.name = "MultipleRepositoriesInPullRequestException";
1539
+ this.$fault = "client";
1540
+ Object.setPrototypeOf(this, MultipleRepositoriesInPullRequestException.prototype);
1541
+ }
1542
+ }
1543
+ exports.MultipleRepositoriesInPullRequestException = MultipleRepositoriesInPullRequestException;
1544
+ class ReferenceDoesNotExistException extends CodeCommitServiceException_1.CodeCommitServiceException {
1545
+ constructor(opts) {
1546
+ super({
1547
+ name: "ReferenceDoesNotExistException",
1548
+ $fault: "client",
1549
+ ...opts,
1550
+ });
1551
+ this.name = "ReferenceDoesNotExistException";
1552
+ this.$fault = "client";
1553
+ Object.setPrototypeOf(this, ReferenceDoesNotExistException.prototype);
1554
+ }
1555
+ }
1556
+ exports.ReferenceDoesNotExistException = ReferenceDoesNotExistException;
1557
+ class ReferenceNameRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
1558
+ constructor(opts) {
1559
+ super({
1560
+ name: "ReferenceNameRequiredException",
1561
+ $fault: "client",
1562
+ ...opts,
1563
+ });
1564
+ this.name = "ReferenceNameRequiredException";
1565
+ this.$fault = "client";
1566
+ Object.setPrototypeOf(this, ReferenceNameRequiredException.prototype);
1567
+ }
1568
+ }
1569
+ exports.ReferenceNameRequiredException = ReferenceNameRequiredException;
1570
+ class ReferenceTypeNotSupportedException extends CodeCommitServiceException_1.CodeCommitServiceException {
1571
+ constructor(opts) {
1572
+ super({
1573
+ name: "ReferenceTypeNotSupportedException",
1574
+ $fault: "client",
1575
+ ...opts,
1576
+ });
1577
+ this.name = "ReferenceTypeNotSupportedException";
1578
+ this.$fault = "client";
1579
+ Object.setPrototypeOf(this, ReferenceTypeNotSupportedException.prototype);
1580
+ }
1581
+ }
1582
+ exports.ReferenceTypeNotSupportedException = ReferenceTypeNotSupportedException;
1583
+ class SourceAndDestinationAreSameException extends CodeCommitServiceException_1.CodeCommitServiceException {
1584
+ constructor(opts) {
1585
+ super({
1586
+ name: "SourceAndDestinationAreSameException",
1587
+ $fault: "client",
1588
+ ...opts,
1589
+ });
1590
+ this.name = "SourceAndDestinationAreSameException";
1591
+ this.$fault = "client";
1592
+ Object.setPrototypeOf(this, SourceAndDestinationAreSameException.prototype);
1593
+ }
1594
+ }
1595
+ exports.SourceAndDestinationAreSameException = SourceAndDestinationAreSameException;
1596
+ class TargetRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
1597
+ constructor(opts) {
1598
+ super({
1599
+ name: "TargetRequiredException",
1600
+ $fault: "client",
1601
+ ...opts,
1602
+ });
1603
+ this.name = "TargetRequiredException";
1604
+ this.$fault = "client";
1605
+ Object.setPrototypeOf(this, TargetRequiredException.prototype);
1606
+ }
1607
+ }
1608
+ exports.TargetRequiredException = TargetRequiredException;
1609
+ class TargetsRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
1610
+ constructor(opts) {
1611
+ super({
1612
+ name: "TargetsRequiredException",
1613
+ $fault: "client",
1614
+ ...opts,
1615
+ });
1616
+ this.name = "TargetsRequiredException";
1617
+ this.$fault = "client";
1618
+ Object.setPrototypeOf(this, TargetsRequiredException.prototype);
1619
+ }
1620
+ }
1621
+ exports.TargetsRequiredException = TargetsRequiredException;
1622
+ class TitleRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
1623
+ constructor(opts) {
1624
+ super({
1625
+ name: "TitleRequiredException",
1626
+ $fault: "client",
1627
+ ...opts,
1628
+ });
1629
+ this.name = "TitleRequiredException";
1630
+ this.$fault = "client";
1631
+ Object.setPrototypeOf(this, TitleRequiredException.prototype);
1632
+ }
1633
+ }
1634
+ exports.TitleRequiredException = TitleRequiredException;
371
1635
  var CreatePullRequestApprovalRuleInput;
372
1636
  (function (CreatePullRequestApprovalRuleInput) {
373
1637
  CreatePullRequestApprovalRuleInput.filterSensitiveLog = (obj) => ({
@@ -380,6 +1644,97 @@ var CreatePullRequestApprovalRuleOutput;
380
1644
  ...obj,
381
1645
  });
382
1646
  })(CreatePullRequestApprovalRuleOutput = exports.CreatePullRequestApprovalRuleOutput || (exports.CreatePullRequestApprovalRuleOutput = {}));
1647
+ class InvalidApprovalRuleContentException extends CodeCommitServiceException_1.CodeCommitServiceException {
1648
+ constructor(opts) {
1649
+ super({
1650
+ name: "InvalidApprovalRuleContentException",
1651
+ $fault: "client",
1652
+ ...opts,
1653
+ });
1654
+ this.name = "InvalidApprovalRuleContentException";
1655
+ this.$fault = "client";
1656
+ Object.setPrototypeOf(this, InvalidApprovalRuleContentException.prototype);
1657
+ }
1658
+ }
1659
+ exports.InvalidApprovalRuleContentException = InvalidApprovalRuleContentException;
1660
+ class InvalidApprovalRuleNameException extends CodeCommitServiceException_1.CodeCommitServiceException {
1661
+ constructor(opts) {
1662
+ super({
1663
+ name: "InvalidApprovalRuleNameException",
1664
+ $fault: "client",
1665
+ ...opts,
1666
+ });
1667
+ this.name = "InvalidApprovalRuleNameException";
1668
+ this.$fault = "client";
1669
+ Object.setPrototypeOf(this, InvalidApprovalRuleNameException.prototype);
1670
+ }
1671
+ }
1672
+ exports.InvalidApprovalRuleNameException = InvalidApprovalRuleNameException;
1673
+ class InvalidPullRequestIdException extends CodeCommitServiceException_1.CodeCommitServiceException {
1674
+ constructor(opts) {
1675
+ super({
1676
+ name: "InvalidPullRequestIdException",
1677
+ $fault: "client",
1678
+ ...opts,
1679
+ });
1680
+ this.name = "InvalidPullRequestIdException";
1681
+ this.$fault = "client";
1682
+ Object.setPrototypeOf(this, InvalidPullRequestIdException.prototype);
1683
+ }
1684
+ }
1685
+ exports.InvalidPullRequestIdException = InvalidPullRequestIdException;
1686
+ class NumberOfRulesExceededException extends CodeCommitServiceException_1.CodeCommitServiceException {
1687
+ constructor(opts) {
1688
+ super({
1689
+ name: "NumberOfRulesExceededException",
1690
+ $fault: "client",
1691
+ ...opts,
1692
+ });
1693
+ this.name = "NumberOfRulesExceededException";
1694
+ this.$fault = "client";
1695
+ Object.setPrototypeOf(this, NumberOfRulesExceededException.prototype);
1696
+ }
1697
+ }
1698
+ exports.NumberOfRulesExceededException = NumberOfRulesExceededException;
1699
+ class PullRequestAlreadyClosedException extends CodeCommitServiceException_1.CodeCommitServiceException {
1700
+ constructor(opts) {
1701
+ super({
1702
+ name: "PullRequestAlreadyClosedException",
1703
+ $fault: "client",
1704
+ ...opts,
1705
+ });
1706
+ this.name = "PullRequestAlreadyClosedException";
1707
+ this.$fault = "client";
1708
+ Object.setPrototypeOf(this, PullRequestAlreadyClosedException.prototype);
1709
+ }
1710
+ }
1711
+ exports.PullRequestAlreadyClosedException = PullRequestAlreadyClosedException;
1712
+ class PullRequestDoesNotExistException extends CodeCommitServiceException_1.CodeCommitServiceException {
1713
+ constructor(opts) {
1714
+ super({
1715
+ name: "PullRequestDoesNotExistException",
1716
+ $fault: "client",
1717
+ ...opts,
1718
+ });
1719
+ this.name = "PullRequestDoesNotExistException";
1720
+ this.$fault = "client";
1721
+ Object.setPrototypeOf(this, PullRequestDoesNotExistException.prototype);
1722
+ }
1723
+ }
1724
+ exports.PullRequestDoesNotExistException = PullRequestDoesNotExistException;
1725
+ class PullRequestIdRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
1726
+ constructor(opts) {
1727
+ super({
1728
+ name: "PullRequestIdRequiredException",
1729
+ $fault: "client",
1730
+ ...opts,
1731
+ });
1732
+ this.name = "PullRequestIdRequiredException";
1733
+ this.$fault = "client";
1734
+ Object.setPrototypeOf(this, PullRequestIdRequiredException.prototype);
1735
+ }
1736
+ }
1737
+ exports.PullRequestIdRequiredException = PullRequestIdRequiredException;
383
1738
  var CreateRepositoryInput;
384
1739
  (function (CreateRepositoryInput) {
385
1740
  CreateRepositoryInput.filterSensitiveLog = (obj) => ({
@@ -392,6 +1747,110 @@ var CreateRepositoryOutput;
392
1747
  ...obj,
393
1748
  });
394
1749
  })(CreateRepositoryOutput = exports.CreateRepositoryOutput || (exports.CreateRepositoryOutput = {}));
1750
+ class InvalidRepositoryDescriptionException extends CodeCommitServiceException_1.CodeCommitServiceException {
1751
+ constructor(opts) {
1752
+ super({
1753
+ name: "InvalidRepositoryDescriptionException",
1754
+ $fault: "client",
1755
+ ...opts,
1756
+ });
1757
+ this.name = "InvalidRepositoryDescriptionException";
1758
+ this.$fault = "client";
1759
+ Object.setPrototypeOf(this, InvalidRepositoryDescriptionException.prototype);
1760
+ }
1761
+ }
1762
+ exports.InvalidRepositoryDescriptionException = InvalidRepositoryDescriptionException;
1763
+ class InvalidSystemTagUsageException extends CodeCommitServiceException_1.CodeCommitServiceException {
1764
+ constructor(opts) {
1765
+ super({
1766
+ name: "InvalidSystemTagUsageException",
1767
+ $fault: "client",
1768
+ ...opts,
1769
+ });
1770
+ this.name = "InvalidSystemTagUsageException";
1771
+ this.$fault = "client";
1772
+ Object.setPrototypeOf(this, InvalidSystemTagUsageException.prototype);
1773
+ }
1774
+ }
1775
+ exports.InvalidSystemTagUsageException = InvalidSystemTagUsageException;
1776
+ class InvalidTagsMapException extends CodeCommitServiceException_1.CodeCommitServiceException {
1777
+ constructor(opts) {
1778
+ super({
1779
+ name: "InvalidTagsMapException",
1780
+ $fault: "client",
1781
+ ...opts,
1782
+ });
1783
+ this.name = "InvalidTagsMapException";
1784
+ this.$fault = "client";
1785
+ Object.setPrototypeOf(this, InvalidTagsMapException.prototype);
1786
+ }
1787
+ }
1788
+ exports.InvalidTagsMapException = InvalidTagsMapException;
1789
+ class RepositoryLimitExceededException extends CodeCommitServiceException_1.CodeCommitServiceException {
1790
+ constructor(opts) {
1791
+ super({
1792
+ name: "RepositoryLimitExceededException",
1793
+ $fault: "client",
1794
+ ...opts,
1795
+ });
1796
+ this.name = "RepositoryLimitExceededException";
1797
+ this.$fault = "client";
1798
+ Object.setPrototypeOf(this, RepositoryLimitExceededException.prototype);
1799
+ }
1800
+ }
1801
+ exports.RepositoryLimitExceededException = RepositoryLimitExceededException;
1802
+ class RepositoryNameExistsException extends CodeCommitServiceException_1.CodeCommitServiceException {
1803
+ constructor(opts) {
1804
+ super({
1805
+ name: "RepositoryNameExistsException",
1806
+ $fault: "client",
1807
+ ...opts,
1808
+ });
1809
+ this.name = "RepositoryNameExistsException";
1810
+ this.$fault = "client";
1811
+ Object.setPrototypeOf(this, RepositoryNameExistsException.prototype);
1812
+ }
1813
+ }
1814
+ exports.RepositoryNameExistsException = RepositoryNameExistsException;
1815
+ class TagPolicyException extends CodeCommitServiceException_1.CodeCommitServiceException {
1816
+ constructor(opts) {
1817
+ super({
1818
+ name: "TagPolicyException",
1819
+ $fault: "client",
1820
+ ...opts,
1821
+ });
1822
+ this.name = "TagPolicyException";
1823
+ this.$fault = "client";
1824
+ Object.setPrototypeOf(this, TagPolicyException.prototype);
1825
+ }
1826
+ }
1827
+ exports.TagPolicyException = TagPolicyException;
1828
+ class TooManyTagsException extends CodeCommitServiceException_1.CodeCommitServiceException {
1829
+ constructor(opts) {
1830
+ super({
1831
+ name: "TooManyTagsException",
1832
+ $fault: "client",
1833
+ ...opts,
1834
+ });
1835
+ this.name = "TooManyTagsException";
1836
+ this.$fault = "client";
1837
+ Object.setPrototypeOf(this, TooManyTagsException.prototype);
1838
+ }
1839
+ }
1840
+ exports.TooManyTagsException = TooManyTagsException;
1841
+ class ConcurrentReferenceUpdateException extends CodeCommitServiceException_1.CodeCommitServiceException {
1842
+ constructor(opts) {
1843
+ super({
1844
+ name: "ConcurrentReferenceUpdateException",
1845
+ $fault: "client",
1846
+ ...opts,
1847
+ });
1848
+ this.name = "ConcurrentReferenceUpdateException";
1849
+ this.$fault = "client";
1850
+ Object.setPrototypeOf(this, ConcurrentReferenceUpdateException.prototype);
1851
+ }
1852
+ }
1853
+ exports.ConcurrentReferenceUpdateException = ConcurrentReferenceUpdateException;
395
1854
  var ReplacementTypeEnum;
396
1855
  (function (ReplacementTypeEnum) {
397
1856
  ReplacementTypeEnum["KEEP_BASE"] = "KEEP_BASE";
@@ -423,6 +1882,110 @@ var CreateUnreferencedMergeCommitOutput;
423
1882
  ...obj,
424
1883
  });
425
1884
  })(CreateUnreferencedMergeCommitOutput = exports.CreateUnreferencedMergeCommitOutput || (exports.CreateUnreferencedMergeCommitOutput = {}));
1885
+ class InvalidConflictResolutionException extends CodeCommitServiceException_1.CodeCommitServiceException {
1886
+ constructor(opts) {
1887
+ super({
1888
+ name: "InvalidConflictResolutionException",
1889
+ $fault: "client",
1890
+ ...opts,
1891
+ });
1892
+ this.name = "InvalidConflictResolutionException";
1893
+ this.$fault = "client";
1894
+ Object.setPrototypeOf(this, InvalidConflictResolutionException.prototype);
1895
+ }
1896
+ }
1897
+ exports.InvalidConflictResolutionException = InvalidConflictResolutionException;
1898
+ class InvalidReplacementContentException extends CodeCommitServiceException_1.CodeCommitServiceException {
1899
+ constructor(opts) {
1900
+ super({
1901
+ name: "InvalidReplacementContentException",
1902
+ $fault: "client",
1903
+ ...opts,
1904
+ });
1905
+ this.name = "InvalidReplacementContentException";
1906
+ this.$fault = "client";
1907
+ Object.setPrototypeOf(this, InvalidReplacementContentException.prototype);
1908
+ }
1909
+ }
1910
+ exports.InvalidReplacementContentException = InvalidReplacementContentException;
1911
+ class InvalidReplacementTypeException extends CodeCommitServiceException_1.CodeCommitServiceException {
1912
+ constructor(opts) {
1913
+ super({
1914
+ name: "InvalidReplacementTypeException",
1915
+ $fault: "client",
1916
+ ...opts,
1917
+ });
1918
+ this.name = "InvalidReplacementTypeException";
1919
+ this.$fault = "client";
1920
+ Object.setPrototypeOf(this, InvalidReplacementTypeException.prototype);
1921
+ }
1922
+ }
1923
+ exports.InvalidReplacementTypeException = InvalidReplacementTypeException;
1924
+ class ManualMergeRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
1925
+ constructor(opts) {
1926
+ super({
1927
+ name: "ManualMergeRequiredException",
1928
+ $fault: "client",
1929
+ ...opts,
1930
+ });
1931
+ this.name = "ManualMergeRequiredException";
1932
+ this.$fault = "client";
1933
+ Object.setPrototypeOf(this, ManualMergeRequiredException.prototype);
1934
+ }
1935
+ }
1936
+ exports.ManualMergeRequiredException = ManualMergeRequiredException;
1937
+ class MaximumConflictResolutionEntriesExceededException extends CodeCommitServiceException_1.CodeCommitServiceException {
1938
+ constructor(opts) {
1939
+ super({
1940
+ name: "MaximumConflictResolutionEntriesExceededException",
1941
+ $fault: "client",
1942
+ ...opts,
1943
+ });
1944
+ this.name = "MaximumConflictResolutionEntriesExceededException";
1945
+ this.$fault = "client";
1946
+ Object.setPrototypeOf(this, MaximumConflictResolutionEntriesExceededException.prototype);
1947
+ }
1948
+ }
1949
+ exports.MaximumConflictResolutionEntriesExceededException = MaximumConflictResolutionEntriesExceededException;
1950
+ class MultipleConflictResolutionEntriesException extends CodeCommitServiceException_1.CodeCommitServiceException {
1951
+ constructor(opts) {
1952
+ super({
1953
+ name: "MultipleConflictResolutionEntriesException",
1954
+ $fault: "client",
1955
+ ...opts,
1956
+ });
1957
+ this.name = "MultipleConflictResolutionEntriesException";
1958
+ this.$fault = "client";
1959
+ Object.setPrototypeOf(this, MultipleConflictResolutionEntriesException.prototype);
1960
+ }
1961
+ }
1962
+ exports.MultipleConflictResolutionEntriesException = MultipleConflictResolutionEntriesException;
1963
+ class ReplacementContentRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
1964
+ constructor(opts) {
1965
+ super({
1966
+ name: "ReplacementContentRequiredException",
1967
+ $fault: "client",
1968
+ ...opts,
1969
+ });
1970
+ this.name = "ReplacementContentRequiredException";
1971
+ this.$fault = "client";
1972
+ Object.setPrototypeOf(this, ReplacementContentRequiredException.prototype);
1973
+ }
1974
+ }
1975
+ exports.ReplacementContentRequiredException = ReplacementContentRequiredException;
1976
+ class ReplacementTypeRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
1977
+ constructor(opts) {
1978
+ super({
1979
+ name: "ReplacementTypeRequiredException",
1980
+ $fault: "client",
1981
+ ...opts,
1982
+ });
1983
+ this.name = "ReplacementTypeRequiredException";
1984
+ this.$fault = "client";
1985
+ Object.setPrototypeOf(this, ReplacementTypeRequiredException.prototype);
1986
+ }
1987
+ }
1988
+ exports.ReplacementTypeRequiredException = ReplacementTypeRequiredException;
426
1989
  var DeleteApprovalRuleTemplateInput;
427
1990
  (function (DeleteApprovalRuleTemplateInput) {
428
1991
  DeleteApprovalRuleTemplateInput.filterSensitiveLog = (obj) => ({
@@ -435,6 +1998,19 @@ var DeleteApprovalRuleTemplateOutput;
435
1998
  ...obj,
436
1999
  });
437
2000
  })(DeleteApprovalRuleTemplateOutput = exports.DeleteApprovalRuleTemplateOutput || (exports.DeleteApprovalRuleTemplateOutput = {}));
2001
+ class DefaultBranchCannotBeDeletedException extends CodeCommitServiceException_1.CodeCommitServiceException {
2002
+ constructor(opts) {
2003
+ super({
2004
+ name: "DefaultBranchCannotBeDeletedException",
2005
+ $fault: "client",
2006
+ ...opts,
2007
+ });
2008
+ this.name = "DefaultBranchCannotBeDeletedException";
2009
+ this.$fault = "client";
2010
+ Object.setPrototypeOf(this, DefaultBranchCannotBeDeletedException.prototype);
2011
+ }
2012
+ }
2013
+ exports.DefaultBranchCannotBeDeletedException = DefaultBranchCannotBeDeletedException;
438
2014
  var DeleteBranchInput;
439
2015
  (function (DeleteBranchInput) {
440
2016
  DeleteBranchInput.filterSensitiveLog = (obj) => ({
@@ -447,6 +2023,45 @@ var DeleteBranchOutput;
447
2023
  ...obj,
448
2024
  });
449
2025
  })(DeleteBranchOutput = exports.DeleteBranchOutput || (exports.DeleteBranchOutput = {}));
2026
+ class CommentDeletedException extends CodeCommitServiceException_1.CodeCommitServiceException {
2027
+ constructor(opts) {
2028
+ super({
2029
+ name: "CommentDeletedException",
2030
+ $fault: "client",
2031
+ ...opts,
2032
+ });
2033
+ this.name = "CommentDeletedException";
2034
+ this.$fault = "client";
2035
+ Object.setPrototypeOf(this, CommentDeletedException.prototype);
2036
+ }
2037
+ }
2038
+ exports.CommentDeletedException = CommentDeletedException;
2039
+ class CommentDoesNotExistException extends CodeCommitServiceException_1.CodeCommitServiceException {
2040
+ constructor(opts) {
2041
+ super({
2042
+ name: "CommentDoesNotExistException",
2043
+ $fault: "client",
2044
+ ...opts,
2045
+ });
2046
+ this.name = "CommentDoesNotExistException";
2047
+ this.$fault = "client";
2048
+ Object.setPrototypeOf(this, CommentDoesNotExistException.prototype);
2049
+ }
2050
+ }
2051
+ exports.CommentDoesNotExistException = CommentDoesNotExistException;
2052
+ class CommentIdRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
2053
+ constructor(opts) {
2054
+ super({
2055
+ name: "CommentIdRequiredException",
2056
+ $fault: "client",
2057
+ ...opts,
2058
+ });
2059
+ this.name = "CommentIdRequiredException";
2060
+ this.$fault = "client";
2061
+ Object.setPrototypeOf(this, CommentIdRequiredException.prototype);
2062
+ }
2063
+ }
2064
+ exports.CommentIdRequiredException = CommentIdRequiredException;
450
2065
  var DeleteCommentContentInput;
451
2066
  (function (DeleteCommentContentInput) {
452
2067
  DeleteCommentContentInput.filterSensitiveLog = (obj) => ({
@@ -465,6 +2080,19 @@ var DeleteCommentContentOutput;
465
2080
  ...obj,
466
2081
  });
467
2082
  })(DeleteCommentContentOutput = exports.DeleteCommentContentOutput || (exports.DeleteCommentContentOutput = {}));
2083
+ class InvalidCommentIdException extends CodeCommitServiceException_1.CodeCommitServiceException {
2084
+ constructor(opts) {
2085
+ super({
2086
+ name: "InvalidCommentIdException",
2087
+ $fault: "client",
2088
+ ...opts,
2089
+ });
2090
+ this.name = "InvalidCommentIdException";
2091
+ this.$fault = "client";
2092
+ Object.setPrototypeOf(this, InvalidCommentIdException.prototype);
2093
+ }
2094
+ }
2095
+ exports.InvalidCommentIdException = InvalidCommentIdException;
468
2096
  var DeleteFileInput;
469
2097
  (function (DeleteFileInput) {
470
2098
  DeleteFileInput.filterSensitiveLog = (obj) => ({
@@ -567,6 +2195,45 @@ var DescribePullRequestEventsOutput;
567
2195
  ...obj,
568
2196
  });
569
2197
  })(DescribePullRequestEventsOutput = exports.DescribePullRequestEventsOutput || (exports.DescribePullRequestEventsOutput = {}));
2198
+ class InvalidActorArnException extends CodeCommitServiceException_1.CodeCommitServiceException {
2199
+ constructor(opts) {
2200
+ super({
2201
+ name: "InvalidActorArnException",
2202
+ $fault: "client",
2203
+ ...opts,
2204
+ });
2205
+ this.name = "InvalidActorArnException";
2206
+ this.$fault = "client";
2207
+ Object.setPrototypeOf(this, InvalidActorArnException.prototype);
2208
+ }
2209
+ }
2210
+ exports.InvalidActorArnException = InvalidActorArnException;
2211
+ class InvalidMaxResultsException extends CodeCommitServiceException_1.CodeCommitServiceException {
2212
+ constructor(opts) {
2213
+ super({
2214
+ name: "InvalidMaxResultsException",
2215
+ $fault: "client",
2216
+ ...opts,
2217
+ });
2218
+ this.name = "InvalidMaxResultsException";
2219
+ this.$fault = "client";
2220
+ Object.setPrototypeOf(this, InvalidMaxResultsException.prototype);
2221
+ }
2222
+ }
2223
+ exports.InvalidMaxResultsException = InvalidMaxResultsException;
2224
+ class InvalidPullRequestEventTypeException extends CodeCommitServiceException_1.CodeCommitServiceException {
2225
+ constructor(opts) {
2226
+ super({
2227
+ name: "InvalidPullRequestEventTypeException",
2228
+ $fault: "client",
2229
+ ...opts,
2230
+ });
2231
+ this.name = "InvalidPullRequestEventTypeException";
2232
+ this.$fault = "client";
2233
+ Object.setPrototypeOf(this, InvalidPullRequestEventTypeException.prototype);
2234
+ }
2235
+ }
2236
+ exports.InvalidPullRequestEventTypeException = InvalidPullRequestEventTypeException;
570
2237
  var DisassociateApprovalRuleTemplateFromRepositoryInput;
571
2238
  (function (DisassociateApprovalRuleTemplateFromRepositoryInput) {
572
2239
  DisassociateApprovalRuleTemplateFromRepositoryInput.filterSensitiveLog = (obj) => ({
@@ -591,6 +2258,45 @@ var EvaluatePullRequestApprovalRulesOutput;
591
2258
  ...obj,
592
2259
  });
593
2260
  })(EvaluatePullRequestApprovalRulesOutput = exports.EvaluatePullRequestApprovalRulesOutput || (exports.EvaluatePullRequestApprovalRulesOutput = {}));
2261
+ class InvalidRevisionIdException extends CodeCommitServiceException_1.CodeCommitServiceException {
2262
+ constructor(opts) {
2263
+ super({
2264
+ name: "InvalidRevisionIdException",
2265
+ $fault: "client",
2266
+ ...opts,
2267
+ });
2268
+ this.name = "InvalidRevisionIdException";
2269
+ this.$fault = "client";
2270
+ Object.setPrototypeOf(this, InvalidRevisionIdException.prototype);
2271
+ }
2272
+ }
2273
+ exports.InvalidRevisionIdException = InvalidRevisionIdException;
2274
+ class RevisionIdRequiredException extends CodeCommitServiceException_1.CodeCommitServiceException {
2275
+ constructor(opts) {
2276
+ super({
2277
+ name: "RevisionIdRequiredException",
2278
+ $fault: "client",
2279
+ ...opts,
2280
+ });
2281
+ this.name = "RevisionIdRequiredException";
2282
+ this.$fault = "client";
2283
+ Object.setPrototypeOf(this, RevisionIdRequiredException.prototype);
2284
+ }
2285
+ }
2286
+ exports.RevisionIdRequiredException = RevisionIdRequiredException;
2287
+ class RevisionNotCurrentException extends CodeCommitServiceException_1.CodeCommitServiceException {
2288
+ constructor(opts) {
2289
+ super({
2290
+ name: "RevisionNotCurrentException",
2291
+ $fault: "client",
2292
+ ...opts,
2293
+ });
2294
+ this.name = "RevisionNotCurrentException";
2295
+ this.$fault = "client";
2296
+ Object.setPrototypeOf(this, RevisionNotCurrentException.prototype);
2297
+ }
2298
+ }
2299
+ exports.RevisionNotCurrentException = RevisionNotCurrentException;
594
2300
  var GetApprovalRuleTemplateInput;
595
2301
  (function (GetApprovalRuleTemplateInput) {
596
2302
  GetApprovalRuleTemplateInput.filterSensitiveLog = (obj) => ({
@@ -603,6 +2309,19 @@ var GetApprovalRuleTemplateOutput;
603
2309
  ...obj,
604
2310
  });
605
2311
  })(GetApprovalRuleTemplateOutput = exports.GetApprovalRuleTemplateOutput || (exports.GetApprovalRuleTemplateOutput = {}));
2312
+ class FileTooLargeException extends CodeCommitServiceException_1.CodeCommitServiceException {
2313
+ constructor(opts) {
2314
+ super({
2315
+ name: "FileTooLargeException",
2316
+ $fault: "client",
2317
+ ...opts,
2318
+ });
2319
+ this.name = "FileTooLargeException";
2320
+ this.$fault = "client";
2321
+ Object.setPrototypeOf(this, FileTooLargeException.prototype);
2322
+ }
2323
+ }
2324
+ exports.FileTooLargeException = FileTooLargeException;
606
2325
  var GetBlobInput;
607
2326
  (function (GetBlobInput) {
608
2327
  GetBlobInput.filterSensitiveLog = (obj) => ({
@@ -615,6 +2334,19 @@ var GetBlobOutput;
615
2334
  ...obj,
616
2335
  });
617
2336
  })(GetBlobOutput = exports.GetBlobOutput || (exports.GetBlobOutput = {}));
2337
+ class InvalidBlobIdException extends CodeCommitServiceException_1.CodeCommitServiceException {
2338
+ constructor(opts) {
2339
+ super({
2340
+ name: "InvalidBlobIdException",
2341
+ $fault: "client",
2342
+ ...opts,
2343
+ });
2344
+ this.name = "InvalidBlobIdException";
2345
+ this.$fault = "client";
2346
+ Object.setPrototypeOf(this, InvalidBlobIdException.prototype);
2347
+ }
2348
+ }
2349
+ exports.InvalidBlobIdException = InvalidBlobIdException;
618
2350
  var GetBranchInput;
619
2351
  (function (GetBranchInput) {
620
2352
  GetBranchInput.filterSensitiveLog = (obj) => ({
@@ -663,6 +2395,19 @@ var GetCommentReactionsOutput;
663
2395
  ...obj,
664
2396
  });
665
2397
  })(GetCommentReactionsOutput = exports.GetCommentReactionsOutput || (exports.GetCommentReactionsOutput = {}));
2398
+ class InvalidReactionUserArnException extends CodeCommitServiceException_1.CodeCommitServiceException {
2399
+ constructor(opts) {
2400
+ super({
2401
+ name: "InvalidReactionUserArnException",
2402
+ $fault: "client",
2403
+ ...opts,
2404
+ });
2405
+ this.name = "InvalidReactionUserArnException";
2406
+ this.$fault = "client";
2407
+ Object.setPrototypeOf(this, InvalidReactionUserArnException.prototype);
2408
+ }
2409
+ }
2410
+ exports.InvalidReactionUserArnException = InvalidReactionUserArnException;
666
2411
  var GetCommentsForComparedCommitInput;
667
2412
  (function (GetCommentsForComparedCommitInput) {
668
2413
  GetCommentsForComparedCommitInput.filterSensitiveLog = (obj) => ({
@@ -710,6 +2455,32 @@ var GetCommentsForPullRequestOutput;
710
2455
  ...obj,
711
2456
  });
712
2457
  })(GetCommentsForPullRequestOutput = exports.GetCommentsForPullRequestOutput || (exports.GetCommentsForPullRequestOutput = {}));
2458
+ class RepositoryNotAssociatedWithPullRequestException extends CodeCommitServiceException_1.CodeCommitServiceException {
2459
+ constructor(opts) {
2460
+ super({
2461
+ name: "RepositoryNotAssociatedWithPullRequestException",
2462
+ $fault: "client",
2463
+ ...opts,
2464
+ });
2465
+ this.name = "RepositoryNotAssociatedWithPullRequestException";
2466
+ this.$fault = "client";
2467
+ Object.setPrototypeOf(this, RepositoryNotAssociatedWithPullRequestException.prototype);
2468
+ }
2469
+ }
2470
+ exports.RepositoryNotAssociatedWithPullRequestException = RepositoryNotAssociatedWithPullRequestException;
2471
+ class CommitIdDoesNotExistException extends CodeCommitServiceException_1.CodeCommitServiceException {
2472
+ constructor(opts) {
2473
+ super({
2474
+ name: "CommitIdDoesNotExistException",
2475
+ $fault: "client",
2476
+ ...opts,
2477
+ });
2478
+ this.name = "CommitIdDoesNotExistException";
2479
+ this.$fault = "client";
2480
+ Object.setPrototypeOf(this, CommitIdDoesNotExistException.prototype);
2481
+ }
2482
+ }
2483
+ exports.CommitIdDoesNotExistException = CommitIdDoesNotExistException;
713
2484
  var GetCommitInput;
714
2485
  (function (GetCommitInput) {
715
2486
  GetCommitInput.filterSensitiveLog = (obj) => ({
@@ -740,6 +2511,19 @@ var GetDifferencesOutput;
740
2511
  ...obj,
741
2512
  });
742
2513
  })(GetDifferencesOutput = exports.GetDifferencesOutput || (exports.GetDifferencesOutput = {}));
2514
+ class PathDoesNotExistException extends CodeCommitServiceException_1.CodeCommitServiceException {
2515
+ constructor(opts) {
2516
+ super({
2517
+ name: "PathDoesNotExistException",
2518
+ $fault: "client",
2519
+ ...opts,
2520
+ });
2521
+ this.name = "PathDoesNotExistException";
2522
+ this.$fault = "client";
2523
+ Object.setPrototypeOf(this, PathDoesNotExistException.prototype);
2524
+ }
2525
+ }
2526
+ exports.PathDoesNotExistException = PathDoesNotExistException;
743
2527
  var GetFileInput;
744
2528
  (function (GetFileInput) {
745
2529
  GetFileInput.filterSensitiveLog = (obj) => ({
@@ -752,6 +2536,19 @@ var GetFileOutput;
752
2536
  ...obj,
753
2537
  });
754
2538
  })(GetFileOutput = exports.GetFileOutput || (exports.GetFileOutput = {}));
2539
+ class FolderDoesNotExistException extends CodeCommitServiceException_1.CodeCommitServiceException {
2540
+ constructor(opts) {
2541
+ super({
2542
+ name: "FolderDoesNotExistException",
2543
+ $fault: "client",
2544
+ ...opts,
2545
+ });
2546
+ this.name = "FolderDoesNotExistException";
2547
+ this.$fault = "client";
2548
+ Object.setPrototypeOf(this, FolderDoesNotExistException.prototype);
2549
+ }
2550
+ }
2551
+ exports.FolderDoesNotExistException = FolderDoesNotExistException;
755
2552
  var GetFolderInput;
756
2553
  (function (GetFolderInput) {
757
2554
  GetFolderInput.filterSensitiveLog = (obj) => ({
@@ -812,6 +2609,32 @@ var GetMergeConflictsOutput;
812
2609
  ...obj,
813
2610
  });
814
2611
  })(GetMergeConflictsOutput = exports.GetMergeConflictsOutput || (exports.GetMergeConflictsOutput = {}));
2612
+ class InvalidDestinationCommitSpecifierException extends CodeCommitServiceException_1.CodeCommitServiceException {
2613
+ constructor(opts) {
2614
+ super({
2615
+ name: "InvalidDestinationCommitSpecifierException",
2616
+ $fault: "client",
2617
+ ...opts,
2618
+ });
2619
+ this.name = "InvalidDestinationCommitSpecifierException";
2620
+ this.$fault = "client";
2621
+ Object.setPrototypeOf(this, InvalidDestinationCommitSpecifierException.prototype);
2622
+ }
2623
+ }
2624
+ exports.InvalidDestinationCommitSpecifierException = InvalidDestinationCommitSpecifierException;
2625
+ class InvalidSourceCommitSpecifierException extends CodeCommitServiceException_1.CodeCommitServiceException {
2626
+ constructor(opts) {
2627
+ super({
2628
+ name: "InvalidSourceCommitSpecifierException",
2629
+ $fault: "client",
2630
+ ...opts,
2631
+ });
2632
+ this.name = "InvalidSourceCommitSpecifierException";
2633
+ this.$fault = "client";
2634
+ Object.setPrototypeOf(this, InvalidSourceCommitSpecifierException.prototype);
2635
+ }
2636
+ }
2637
+ exports.InvalidSourceCommitSpecifierException = InvalidSourceCommitSpecifierException;
815
2638
  var GetMergeOptionsInput;
816
2639
  (function (GetMergeOptionsInput) {
817
2640
  GetMergeOptionsInput.filterSensitiveLog = (obj) => ({
@@ -933,6 +2756,32 @@ var ListBranchesOutput;
933
2756
  ...obj,
934
2757
  });
935
2758
  })(ListBranchesOutput = exports.ListBranchesOutput || (exports.ListBranchesOutput = {}));
2759
+ class InvalidAuthorArnException extends CodeCommitServiceException_1.CodeCommitServiceException {
2760
+ constructor(opts) {
2761
+ super({
2762
+ name: "InvalidAuthorArnException",
2763
+ $fault: "client",
2764
+ ...opts,
2765
+ });
2766
+ this.name = "InvalidAuthorArnException";
2767
+ this.$fault = "client";
2768
+ Object.setPrototypeOf(this, InvalidAuthorArnException.prototype);
2769
+ }
2770
+ }
2771
+ exports.InvalidAuthorArnException = InvalidAuthorArnException;
2772
+ class InvalidPullRequestStatusException extends CodeCommitServiceException_1.CodeCommitServiceException {
2773
+ constructor(opts) {
2774
+ super({
2775
+ name: "InvalidPullRequestStatusException",
2776
+ $fault: "client",
2777
+ ...opts,
2778
+ });
2779
+ this.name = "InvalidPullRequestStatusException";
2780
+ this.$fault = "client";
2781
+ Object.setPrototypeOf(this, InvalidPullRequestStatusException.prototype);
2782
+ }
2783
+ }
2784
+ exports.InvalidPullRequestStatusException = InvalidPullRequestStatusException;
936
2785
  var ListPullRequestsInput;
937
2786
  (function (ListPullRequestsInput) {
938
2787
  ListPullRequestsInput.filterSensitiveLog = (obj) => ({
@@ -945,3 +2794,29 @@ var ListPullRequestsOutput;
945
2794
  ...obj,
946
2795
  });
947
2796
  })(ListPullRequestsOutput = exports.ListPullRequestsOutput || (exports.ListPullRequestsOutput = {}));
2797
+ class InvalidOrderException extends CodeCommitServiceException_1.CodeCommitServiceException {
2798
+ constructor(opts) {
2799
+ super({
2800
+ name: "InvalidOrderException",
2801
+ $fault: "client",
2802
+ ...opts,
2803
+ });
2804
+ this.name = "InvalidOrderException";
2805
+ this.$fault = "client";
2806
+ Object.setPrototypeOf(this, InvalidOrderException.prototype);
2807
+ }
2808
+ }
2809
+ exports.InvalidOrderException = InvalidOrderException;
2810
+ class InvalidSortByException extends CodeCommitServiceException_1.CodeCommitServiceException {
2811
+ constructor(opts) {
2812
+ super({
2813
+ name: "InvalidSortByException",
2814
+ $fault: "client",
2815
+ ...opts,
2816
+ });
2817
+ this.name = "InvalidSortByException";
2818
+ this.$fault = "client";
2819
+ Object.setPrototypeOf(this, InvalidSortByException.prototype);
2820
+ }
2821
+ }
2822
+ exports.InvalidSortByException = InvalidSortByException;