@aws-sdk/client-codecommit 3.933.0 → 3.935.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/dist-cjs/index.js +87 -87
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +86 -0
  4. package/dist-es/models/errors.js +2269 -0
  5. package/dist-es/models/models_0.js +1 -1795
  6. package/dist-es/schemas/schemas_0.js +1 -1
  7. package/dist-types/commands/ListFileCommitHistoryCommand.d.ts +1 -2
  8. package/dist-types/commands/ListPullRequestsCommand.d.ts +1 -1
  9. package/dist-types/commands/ListRepositoriesCommand.d.ts +1 -1
  10. package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +1 -1
  11. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  12. package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +1 -1
  13. package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +1 -1
  14. package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +1 -1
  15. package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +1 -1
  16. package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +1 -1
  17. package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +1 -1
  18. package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +1 -1
  19. package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +1 -1
  20. package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +1 -1
  21. package/dist-types/commands/PostCommentReplyCommand.d.ts +1 -1
  22. package/dist-types/commands/PutCommentReactionCommand.d.ts +1 -1
  23. package/dist-types/commands/PutFileCommand.d.ts +1 -1
  24. package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +1 -1
  25. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  26. package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +1 -1
  27. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  28. package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +1 -1
  29. package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +1 -1
  30. package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +1 -1
  31. package/dist-types/commands/UpdateCommentCommand.d.ts +1 -1
  32. package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +1 -1
  33. package/dist-types/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +1 -1
  34. package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +1 -1
  35. package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +1 -1
  36. package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +1 -1
  37. package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +1 -1
  38. package/dist-types/commands/UpdateRepositoryDescriptionCommand.d.ts +1 -1
  39. package/dist-types/commands/UpdateRepositoryEncryptionKeyCommand.d.ts +1 -1
  40. package/dist-types/commands/UpdateRepositoryNameCommand.d.ts +1 -1
  41. package/dist-types/index.d.ts +3 -1
  42. package/dist-types/models/enums.d.ts +214 -0
  43. package/dist-types/models/errors.d.ts +2337 -0
  44. package/dist-types/models/models_0.d.ts +1480 -2026
  45. package/dist-types/ts3.4/commands/ListFileCommitHistoryCommand.d.ts +4 -2
  46. package/dist-types/ts3.4/commands/ListPullRequestsCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/ListRepositoriesCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/MergeBranchesByFastForwardCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/MergeBranchesBySquashCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/MergeBranchesByThreeWayCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/MergePullRequestByFastForwardCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/MergePullRequestBySquashCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/MergePullRequestByThreeWayCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/OverridePullRequestApprovalRulesCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/PostCommentForComparedCommitCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/PostCommentForPullRequestCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/PostCommentReplyCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/PutCommentReactionCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/PutFileCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/PutRepositoryTriggersCommand.d.ts +1 -1
  63. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/TestRepositoryTriggersCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +1 -1
  68. package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +1 -1
  69. package/dist-types/ts3.4/commands/UpdateCommentCommand.d.ts +1 -1
  70. package/dist-types/ts3.4/commands/UpdateDefaultBranchCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +1 -1
  72. package/dist-types/ts3.4/commands/UpdatePullRequestApprovalStateCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/UpdatePullRequestDescriptionCommand.d.ts +1 -1
  74. package/dist-types/ts3.4/commands/UpdatePullRequestStatusCommand.d.ts +1 -1
  75. package/dist-types/ts3.4/commands/UpdatePullRequestTitleCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/UpdateRepositoryDescriptionCommand.d.ts +1 -1
  77. package/dist-types/ts3.4/commands/UpdateRepositoryEncryptionKeyCommand.d.ts +1 -1
  78. package/dist-types/ts3.4/commands/UpdateRepositoryNameCommand.d.ts +1 -1
  79. package/dist-types/ts3.4/index.d.ts +3 -1
  80. package/dist-types/ts3.4/models/enums.d.ts +115 -0
  81. package/dist-types/ts3.4/models/errors.d.ts +1621 -0
  82. package/dist-types/ts3.4/models/models_0.d.ts +332 -1326
  83. package/package.json +12 -12
  84. package/dist-es/models/index.js +0 -2
  85. package/dist-es/models/models_1.js +0 -561
  86. package/dist-types/models/index.d.ts +0 -2
  87. package/dist-types/models/models_1.d.ts +0 -2007
  88. package/dist-types/ts3.4/models/index.d.ts +0 -2
  89. package/dist-types/ts3.4/models/models_1.d.ts +0 -742
@@ -1,17 +1,21 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
- import { CodeCommitServiceException as __BaseException } from "./CodeCommitServiceException";
3
- export declare class ActorDoesNotExistException extends __BaseException {
4
- readonly name: "ActorDoesNotExistException";
5
- readonly $fault: "client";
6
- constructor(
7
- opts: __ExceptionOptionType<ActorDoesNotExistException, __BaseException>
8
- );
9
- }
10
- export declare const ApprovalState: {
11
- readonly APPROVE: "APPROVE";
12
- readonly REVOKE: "REVOKE";
13
- };
14
- export type ApprovalState = (typeof ApprovalState)[keyof typeof ApprovalState];
1
+ import {
2
+ ApprovalState,
3
+ BatchGetRepositoriesErrorCodeEnum,
4
+ ChangeTypeEnum,
5
+ ConflictDetailLevelTypeEnum,
6
+ ConflictResolutionStrategyTypeEnum,
7
+ FileModeTypeEnum,
8
+ MergeOptionTypeEnum,
9
+ ObjectTypeEnum,
10
+ OrderEnum,
11
+ OverrideStatus,
12
+ PullRequestEventType,
13
+ PullRequestStatusEnum,
14
+ RelativeFileVersionEnum,
15
+ ReplacementTypeEnum,
16
+ RepositoryTriggerEventEnum,
17
+ SortByEnum,
18
+ } from "./enums";
15
19
  export interface Approval {
16
20
  userArn?: string | undefined;
17
21
  approvalState?: ApprovalState | undefined;
@@ -30,57 +34,11 @@ export interface ApprovalRule {
30
34
  lastModifiedUser?: string | undefined;
31
35
  originApprovalRuleTemplate?: OriginApprovalRuleTemplate | undefined;
32
36
  }
33
- export declare class ApprovalRuleContentRequiredException extends __BaseException {
34
- readonly name: "ApprovalRuleContentRequiredException";
35
- readonly $fault: "client";
36
- constructor(
37
- opts: __ExceptionOptionType<
38
- ApprovalRuleContentRequiredException,
39
- __BaseException
40
- >
41
- );
42
- }
43
- export declare class ApprovalRuleDoesNotExistException extends __BaseException {
44
- readonly name: "ApprovalRuleDoesNotExistException";
45
- readonly $fault: "client";
46
- constructor(
47
- opts: __ExceptionOptionType<
48
- ApprovalRuleDoesNotExistException,
49
- __BaseException
50
- >
51
- );
52
- }
53
37
  export interface ApprovalRuleEventMetadata {
54
38
  approvalRuleName?: string | undefined;
55
39
  approvalRuleId?: string | undefined;
56
40
  approvalRuleContent?: string | undefined;
57
41
  }
58
- export declare class ApprovalRuleNameAlreadyExistsException extends __BaseException {
59
- readonly name: "ApprovalRuleNameAlreadyExistsException";
60
- readonly $fault: "client";
61
- constructor(
62
- opts: __ExceptionOptionType<
63
- ApprovalRuleNameAlreadyExistsException,
64
- __BaseException
65
- >
66
- );
67
- }
68
- export declare class ApprovalRuleNameRequiredException extends __BaseException {
69
- readonly name: "ApprovalRuleNameRequiredException";
70
- readonly $fault: "client";
71
- constructor(
72
- opts: __ExceptionOptionType<
73
- ApprovalRuleNameRequiredException,
74
- __BaseException
75
- >
76
- );
77
- }
78
- export declare const OverrideStatus: {
79
- readonly OVERRIDE: "OVERRIDE";
80
- readonly REVOKE: "REVOKE";
81
- };
82
- export type OverrideStatus =
83
- (typeof OverrideStatus)[keyof typeof OverrideStatus];
84
42
  export interface ApprovalRuleOverriddenEventMetadata {
85
43
  revisionId?: string | undefined;
86
44
  overrideStatus?: OverrideStatus | undefined;
@@ -95,169 +53,14 @@ export interface ApprovalRuleTemplate {
95
53
  creationDate?: Date | undefined;
96
54
  lastModifiedUser?: string | undefined;
97
55
  }
98
- export declare class ApprovalRuleTemplateContentRequiredException extends __BaseException {
99
- readonly name: "ApprovalRuleTemplateContentRequiredException";
100
- readonly $fault: "client";
101
- constructor(
102
- opts: __ExceptionOptionType<
103
- ApprovalRuleTemplateContentRequiredException,
104
- __BaseException
105
- >
106
- );
107
- }
108
- export declare class ApprovalRuleTemplateDoesNotExistException extends __BaseException {
109
- readonly name: "ApprovalRuleTemplateDoesNotExistException";
110
- readonly $fault: "client";
111
- constructor(
112
- opts: __ExceptionOptionType<
113
- ApprovalRuleTemplateDoesNotExistException,
114
- __BaseException
115
- >
116
- );
117
- }
118
- export declare class ApprovalRuleTemplateInUseException extends __BaseException {
119
- readonly name: "ApprovalRuleTemplateInUseException";
120
- readonly $fault: "client";
121
- constructor(
122
- opts: __ExceptionOptionType<
123
- ApprovalRuleTemplateInUseException,
124
- __BaseException
125
- >
126
- );
127
- }
128
- export declare class ApprovalRuleTemplateNameAlreadyExistsException extends __BaseException {
129
- readonly name: "ApprovalRuleTemplateNameAlreadyExistsException";
130
- readonly $fault: "client";
131
- constructor(
132
- opts: __ExceptionOptionType<
133
- ApprovalRuleTemplateNameAlreadyExistsException,
134
- __BaseException
135
- >
136
- );
137
- }
138
- export declare class ApprovalRuleTemplateNameRequiredException extends __BaseException {
139
- readonly name: "ApprovalRuleTemplateNameRequiredException";
140
- readonly $fault: "client";
141
- constructor(
142
- opts: __ExceptionOptionType<
143
- ApprovalRuleTemplateNameRequiredException,
144
- __BaseException
145
- >
146
- );
147
- }
148
56
  export interface ApprovalStateChangedEventMetadata {
149
57
  revisionId?: string | undefined;
150
58
  approvalStatus?: ApprovalState | undefined;
151
59
  }
152
- export declare class ApprovalStateRequiredException extends __BaseException {
153
- readonly name: "ApprovalStateRequiredException";
154
- readonly $fault: "client";
155
- constructor(
156
- opts: __ExceptionOptionType<ApprovalStateRequiredException, __BaseException>
157
- );
158
- }
159
60
  export interface AssociateApprovalRuleTemplateWithRepositoryInput {
160
61
  approvalRuleTemplateName: string | undefined;
161
62
  repositoryName: string | undefined;
162
63
  }
163
- export declare class EncryptionIntegrityChecksFailedException extends __BaseException {
164
- readonly name: "EncryptionIntegrityChecksFailedException";
165
- readonly $fault: "server";
166
- constructor(
167
- opts: __ExceptionOptionType<
168
- EncryptionIntegrityChecksFailedException,
169
- __BaseException
170
- >
171
- );
172
- }
173
- export declare class EncryptionKeyAccessDeniedException extends __BaseException {
174
- readonly name: "EncryptionKeyAccessDeniedException";
175
- readonly $fault: "client";
176
- constructor(
177
- opts: __ExceptionOptionType<
178
- EncryptionKeyAccessDeniedException,
179
- __BaseException
180
- >
181
- );
182
- }
183
- export declare class EncryptionKeyDisabledException extends __BaseException {
184
- readonly name: "EncryptionKeyDisabledException";
185
- readonly $fault: "client";
186
- constructor(
187
- opts: __ExceptionOptionType<EncryptionKeyDisabledException, __BaseException>
188
- );
189
- }
190
- export declare class EncryptionKeyNotFoundException extends __BaseException {
191
- readonly name: "EncryptionKeyNotFoundException";
192
- readonly $fault: "client";
193
- constructor(
194
- opts: __ExceptionOptionType<EncryptionKeyNotFoundException, __BaseException>
195
- );
196
- }
197
- export declare class EncryptionKeyUnavailableException extends __BaseException {
198
- readonly name: "EncryptionKeyUnavailableException";
199
- readonly $fault: "client";
200
- constructor(
201
- opts: __ExceptionOptionType<
202
- EncryptionKeyUnavailableException,
203
- __BaseException
204
- >
205
- );
206
- }
207
- export declare class InvalidApprovalRuleTemplateNameException extends __BaseException {
208
- readonly name: "InvalidApprovalRuleTemplateNameException";
209
- readonly $fault: "client";
210
- constructor(
211
- opts: __ExceptionOptionType<
212
- InvalidApprovalRuleTemplateNameException,
213
- __BaseException
214
- >
215
- );
216
- }
217
- export declare class InvalidRepositoryNameException extends __BaseException {
218
- readonly name: "InvalidRepositoryNameException";
219
- readonly $fault: "client";
220
- constructor(
221
- opts: __ExceptionOptionType<InvalidRepositoryNameException, __BaseException>
222
- );
223
- }
224
- export declare class MaximumRuleTemplatesAssociatedWithRepositoryException extends __BaseException {
225
- readonly name: "MaximumRuleTemplatesAssociatedWithRepositoryException";
226
- readonly $fault: "client";
227
- constructor(
228
- opts: __ExceptionOptionType<
229
- MaximumRuleTemplatesAssociatedWithRepositoryException,
230
- __BaseException
231
- >
232
- );
233
- }
234
- export declare class RepositoryDoesNotExistException extends __BaseException {
235
- readonly name: "RepositoryDoesNotExistException";
236
- readonly $fault: "client";
237
- constructor(
238
- opts: __ExceptionOptionType<
239
- RepositoryDoesNotExistException,
240
- __BaseException
241
- >
242
- );
243
- }
244
- export declare class RepositoryNameRequiredException extends __BaseException {
245
- readonly name: "RepositoryNameRequiredException";
246
- readonly $fault: "client";
247
- constructor(
248
- opts: __ExceptionOptionType<
249
- RepositoryNameRequiredException,
250
- __BaseException
251
- >
252
- );
253
- }
254
- export declare class AuthorDoesNotExistException extends __BaseException {
255
- readonly name: "AuthorDoesNotExistException";
256
- readonly $fault: "client";
257
- constructor(
258
- opts: __ExceptionOptionType<AuthorDoesNotExistException, __BaseException>
259
- );
260
- }
261
64
  export interface BatchAssociateApprovalRuleTemplateWithRepositoriesInput {
262
65
  approvalRuleTemplateName: string | undefined;
263
66
  repositoryNames: string[] | undefined;
@@ -271,47 +74,6 @@ export interface BatchAssociateApprovalRuleTemplateWithRepositoriesOutput {
271
74
  associatedRepositoryNames: string[] | undefined;
272
75
  errors: BatchAssociateApprovalRuleTemplateWithRepositoriesError[] | undefined;
273
76
  }
274
- export declare class MaximumRepositoryNamesExceededException extends __BaseException {
275
- readonly name: "MaximumRepositoryNamesExceededException";
276
- readonly $fault: "client";
277
- constructor(
278
- opts: __ExceptionOptionType<
279
- MaximumRepositoryNamesExceededException,
280
- __BaseException
281
- >
282
- );
283
- }
284
- export declare class RepositoryNamesRequiredException extends __BaseException {
285
- readonly name: "RepositoryNamesRequiredException";
286
- readonly $fault: "client";
287
- constructor(
288
- opts: __ExceptionOptionType<
289
- RepositoryNamesRequiredException,
290
- __BaseException
291
- >
292
- );
293
- }
294
- export declare const ConflictDetailLevelTypeEnum: {
295
- readonly FILE_LEVEL: "FILE_LEVEL";
296
- readonly LINE_LEVEL: "LINE_LEVEL";
297
- };
298
- export type ConflictDetailLevelTypeEnum =
299
- (typeof ConflictDetailLevelTypeEnum)[keyof typeof ConflictDetailLevelTypeEnum];
300
- export declare const ConflictResolutionStrategyTypeEnum: {
301
- readonly ACCEPT_DESTINATION: "ACCEPT_DESTINATION";
302
- readonly ACCEPT_SOURCE: "ACCEPT_SOURCE";
303
- readonly AUTOMERGE: "AUTOMERGE";
304
- readonly NONE: "NONE";
305
- };
306
- export type ConflictResolutionStrategyTypeEnum =
307
- (typeof ConflictResolutionStrategyTypeEnum)[keyof typeof ConflictResolutionStrategyTypeEnum];
308
- export declare const MergeOptionTypeEnum: {
309
- readonly FAST_FORWARD_MERGE: "FAST_FORWARD_MERGE";
310
- readonly SQUASH_MERGE: "SQUASH_MERGE";
311
- readonly THREE_WAY_MERGE: "THREE_WAY_MERGE";
312
- };
313
- export type MergeOptionTypeEnum =
314
- (typeof MergeOptionTypeEnum)[keyof typeof MergeOptionTypeEnum];
315
77
  export interface BatchDescribeMergeConflictsInput {
316
78
  repositoryName: string | undefined;
317
79
  destinationCommitSpecifier: string | undefined;
@@ -324,13 +86,6 @@ export interface BatchDescribeMergeConflictsInput {
324
86
  conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
325
87
  nextToken?: string | undefined;
326
88
  }
327
- export declare const FileModeTypeEnum: {
328
- readonly EXECUTABLE: "EXECUTABLE";
329
- readonly NORMAL: "NORMAL";
330
- readonly SYMLINK: "SYMLINK";
331
- };
332
- export type FileModeTypeEnum =
333
- (typeof FileModeTypeEnum)[keyof typeof FileModeTypeEnum];
334
89
  export interface FileModes {
335
90
  source?: FileModeTypeEnum | undefined;
336
91
  destination?: FileModeTypeEnum | undefined;
@@ -346,25 +101,10 @@ export interface IsBinaryFile {
346
101
  destination?: boolean | undefined;
347
102
  base?: boolean | undefined;
348
103
  }
349
- export declare const ChangeTypeEnum: {
350
- readonly ADDED: "A";
351
- readonly DELETED: "D";
352
- readonly MODIFIED: "M";
353
- };
354
- export type ChangeTypeEnum =
355
- (typeof ChangeTypeEnum)[keyof typeof ChangeTypeEnum];
356
104
  export interface MergeOperations {
357
105
  source?: ChangeTypeEnum | undefined;
358
106
  destination?: ChangeTypeEnum | undefined;
359
107
  }
360
- export declare const ObjectTypeEnum: {
361
- readonly DIRECTORY: "DIRECTORY";
362
- readonly FILE: "FILE";
363
- readonly GIT_LINK: "GIT_LINK";
364
- readonly SYMBOLIC_LINK: "SYMBOLIC_LINK";
365
- };
366
- export type ObjectTypeEnum =
367
- (typeof ObjectTypeEnum)[keyof typeof ObjectTypeEnum];
368
108
  export interface ObjectTypes {
369
109
  source?: ObjectTypeEnum | undefined;
370
110
  destination?: ObjectTypeEnum | undefined;
@@ -410,118 +150,6 @@ export interface BatchDescribeMergeConflictsOutput {
410
150
  sourceCommitId: string | undefined;
411
151
  baseCommitId?: string | undefined;
412
152
  }
413
- export declare class CommitDoesNotExistException extends __BaseException {
414
- readonly name: "CommitDoesNotExistException";
415
- readonly $fault: "client";
416
- constructor(
417
- opts: __ExceptionOptionType<CommitDoesNotExistException, __BaseException>
418
- );
419
- }
420
- export declare class CommitRequiredException extends __BaseException {
421
- readonly name: "CommitRequiredException";
422
- readonly $fault: "client";
423
- constructor(
424
- opts: __ExceptionOptionType<CommitRequiredException, __BaseException>
425
- );
426
- }
427
- export declare class InvalidCommitException extends __BaseException {
428
- readonly name: "InvalidCommitException";
429
- readonly $fault: "client";
430
- constructor(
431
- opts: __ExceptionOptionType<InvalidCommitException, __BaseException>
432
- );
433
- }
434
- export declare class InvalidConflictDetailLevelException extends __BaseException {
435
- readonly name: "InvalidConflictDetailLevelException";
436
- readonly $fault: "client";
437
- constructor(
438
- opts: __ExceptionOptionType<
439
- InvalidConflictDetailLevelException,
440
- __BaseException
441
- >
442
- );
443
- }
444
- export declare class InvalidConflictResolutionStrategyException extends __BaseException {
445
- readonly name: "InvalidConflictResolutionStrategyException";
446
- readonly $fault: "client";
447
- constructor(
448
- opts: __ExceptionOptionType<
449
- InvalidConflictResolutionStrategyException,
450
- __BaseException
451
- >
452
- );
453
- }
454
- export declare class InvalidContinuationTokenException extends __BaseException {
455
- readonly name: "InvalidContinuationTokenException";
456
- readonly $fault: "client";
457
- constructor(
458
- opts: __ExceptionOptionType<
459
- InvalidContinuationTokenException,
460
- __BaseException
461
- >
462
- );
463
- }
464
- export declare class InvalidMaxConflictFilesException extends __BaseException {
465
- readonly name: "InvalidMaxConflictFilesException";
466
- readonly $fault: "client";
467
- constructor(
468
- opts: __ExceptionOptionType<
469
- InvalidMaxConflictFilesException,
470
- __BaseException
471
- >
472
- );
473
- }
474
- export declare class InvalidMaxMergeHunksException extends __BaseException {
475
- readonly name: "InvalidMaxMergeHunksException";
476
- readonly $fault: "client";
477
- constructor(
478
- opts: __ExceptionOptionType<InvalidMaxMergeHunksException, __BaseException>
479
- );
480
- }
481
- export declare class InvalidMergeOptionException extends __BaseException {
482
- readonly name: "InvalidMergeOptionException";
483
- readonly $fault: "client";
484
- constructor(
485
- opts: __ExceptionOptionType<InvalidMergeOptionException, __BaseException>
486
- );
487
- }
488
- export declare class MaximumFileContentToLoadExceededException extends __BaseException {
489
- readonly name: "MaximumFileContentToLoadExceededException";
490
- readonly $fault: "client";
491
- constructor(
492
- opts: __ExceptionOptionType<
493
- MaximumFileContentToLoadExceededException,
494
- __BaseException
495
- >
496
- );
497
- }
498
- export declare class MaximumItemsToCompareExceededException extends __BaseException {
499
- readonly name: "MaximumItemsToCompareExceededException";
500
- readonly $fault: "client";
501
- constructor(
502
- opts: __ExceptionOptionType<
503
- MaximumItemsToCompareExceededException,
504
- __BaseException
505
- >
506
- );
507
- }
508
- export declare class MergeOptionRequiredException extends __BaseException {
509
- readonly name: "MergeOptionRequiredException";
510
- readonly $fault: "client";
511
- constructor(
512
- opts: __ExceptionOptionType<MergeOptionRequiredException, __BaseException>
513
- );
514
- }
515
- export declare class TipsDivergenceExceededException extends __BaseException {
516
- readonly name: "TipsDivergenceExceededException";
517
- readonly $fault: "client";
518
- constructor(
519
- opts: __ExceptionOptionType<
520
- TipsDivergenceExceededException,
521
- __BaseException
522
- >
523
- );
524
- }
525
153
  export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesInput {
526
154
  approvalRuleTemplateName: string | undefined;
527
155
  repositoryNames: string[] | undefined;
@@ -564,36 +192,9 @@ export interface BatchGetCommitsOutput {
564
192
  commits?: Commit[] | undefined;
565
193
  errors?: BatchGetCommitsError[] | undefined;
566
194
  }
567
- export declare class CommitIdsLimitExceededException extends __BaseException {
568
- readonly name: "CommitIdsLimitExceededException";
569
- readonly $fault: "client";
570
- constructor(
571
- opts: __ExceptionOptionType<
572
- CommitIdsLimitExceededException,
573
- __BaseException
574
- >
575
- );
576
- }
577
- export declare class CommitIdsListRequiredException extends __BaseException {
578
- readonly name: "CommitIdsListRequiredException";
579
- readonly $fault: "client";
580
- constructor(
581
- opts: __ExceptionOptionType<CommitIdsListRequiredException, __BaseException>
582
- );
583
- }
584
195
  export interface BatchGetRepositoriesInput {
585
196
  repositoryNames: string[] | undefined;
586
197
  }
587
- export declare const BatchGetRepositoriesErrorCodeEnum: {
588
- readonly ENCRYPTION_INTEGRITY_CHECKS_FAILED_EXCEPTION: "EncryptionIntegrityChecksFailedException";
589
- readonly ENCRYPTION_KEY_ACCESS_DENIED_EXCEPTION: "EncryptionKeyAccessDeniedException";
590
- readonly ENCRYPTION_KEY_DISABLED_EXCEPTION: "EncryptionKeyDisabledException";
591
- readonly ENCRYPTION_KEY_NOT_FOUND_EXCEPTION: "EncryptionKeyNotFoundException";
592
- readonly ENCRYPTION_KEY_UNAVAILABLE_EXCEPTION: "EncryptionKeyUnavailableException";
593
- readonly REPOSITORY_DOES_NOT_EXIST_EXCEPTION: "RepositoryDoesNotExistException";
594
- };
595
- export type BatchGetRepositoriesErrorCodeEnum =
596
- (typeof BatchGetRepositoriesErrorCodeEnum)[keyof typeof BatchGetRepositoriesErrorCodeEnum];
597
198
  export interface BatchGetRepositoriesError {
598
199
  repositoryId?: string | undefined;
599
200
  repositoryName?: string | undefined;
@@ -618,97 +219,15 @@ export interface BatchGetRepositoriesOutput {
618
219
  repositoriesNotFound?: string[] | undefined;
619
220
  errors?: BatchGetRepositoriesError[] | undefined;
620
221
  }
621
- export declare class BeforeCommitIdAndAfterCommitIdAreSameException extends __BaseException {
622
- readonly name: "BeforeCommitIdAndAfterCommitIdAreSameException";
623
- readonly $fault: "client";
624
- constructor(
625
- opts: __ExceptionOptionType<
626
- BeforeCommitIdAndAfterCommitIdAreSameException,
627
- __BaseException
628
- >
629
- );
630
- }
631
- export declare class BlobIdDoesNotExistException extends __BaseException {
632
- readonly name: "BlobIdDoesNotExistException";
633
- readonly $fault: "client";
634
- constructor(
635
- opts: __ExceptionOptionType<BlobIdDoesNotExistException, __BaseException>
636
- );
637
- }
638
- export declare class BlobIdRequiredException extends __BaseException {
639
- readonly name: "BlobIdRequiredException";
640
- readonly $fault: "client";
641
- constructor(
642
- opts: __ExceptionOptionType<BlobIdRequiredException, __BaseException>
643
- );
644
- }
645
222
  export interface BlobMetadata {
646
223
  blobId?: string | undefined;
647
224
  path?: string | undefined;
648
225
  mode?: string | undefined;
649
226
  }
650
- export declare class BranchDoesNotExistException extends __BaseException {
651
- readonly name: "BranchDoesNotExistException";
652
- readonly $fault: "client";
653
- constructor(
654
- opts: __ExceptionOptionType<BranchDoesNotExistException, __BaseException>
655
- );
656
- }
657
227
  export interface BranchInfo {
658
228
  branchName?: string | undefined;
659
229
  commitId?: string | undefined;
660
230
  }
661
- export declare class BranchNameExistsException extends __BaseException {
662
- readonly name: "BranchNameExistsException";
663
- readonly $fault: "client";
664
- constructor(
665
- opts: __ExceptionOptionType<BranchNameExistsException, __BaseException>
666
- );
667
- }
668
- export declare class BranchNameIsTagNameException extends __BaseException {
669
- readonly name: "BranchNameIsTagNameException";
670
- readonly $fault: "client";
671
- constructor(
672
- opts: __ExceptionOptionType<BranchNameIsTagNameException, __BaseException>
673
- );
674
- }
675
- export declare class BranchNameRequiredException extends __BaseException {
676
- readonly name: "BranchNameRequiredException";
677
- readonly $fault: "client";
678
- constructor(
679
- opts: __ExceptionOptionType<BranchNameRequiredException, __BaseException>
680
- );
681
- }
682
- export declare class CannotDeleteApprovalRuleFromTemplateException extends __BaseException {
683
- readonly name: "CannotDeleteApprovalRuleFromTemplateException";
684
- readonly $fault: "client";
685
- constructor(
686
- opts: __ExceptionOptionType<
687
- CannotDeleteApprovalRuleFromTemplateException,
688
- __BaseException
689
- >
690
- );
691
- }
692
- export declare class CannotModifyApprovalRuleFromTemplateException extends __BaseException {
693
- readonly name: "CannotModifyApprovalRuleFromTemplateException";
694
- readonly $fault: "client";
695
- constructor(
696
- opts: __ExceptionOptionType<
697
- CannotModifyApprovalRuleFromTemplateException,
698
- __BaseException
699
- >
700
- );
701
- }
702
- export declare class ClientRequestTokenRequiredException extends __BaseException {
703
- readonly name: "ClientRequestTokenRequiredException";
704
- readonly $fault: "client";
705
- constructor(
706
- opts: __ExceptionOptionType<
707
- ClientRequestTokenRequiredException,
708
- __BaseException
709
- >
710
- );
711
- }
712
231
  export interface CreateApprovalRuleTemplateInput {
713
232
  approvalRuleTemplateName: string | undefined;
714
233
  approvalRuleTemplateContent: string | undefined;
@@ -717,72 +236,11 @@ export interface CreateApprovalRuleTemplateInput {
717
236
  export interface CreateApprovalRuleTemplateOutput {
718
237
  approvalRuleTemplate: ApprovalRuleTemplate | undefined;
719
238
  }
720
- export declare class InvalidApprovalRuleTemplateContentException extends __BaseException {
721
- readonly name: "InvalidApprovalRuleTemplateContentException";
722
- readonly $fault: "client";
723
- constructor(
724
- opts: __ExceptionOptionType<
725
- InvalidApprovalRuleTemplateContentException,
726
- __BaseException
727
- >
728
- );
729
- }
730
- export declare class InvalidApprovalRuleTemplateDescriptionException extends __BaseException {
731
- readonly name: "InvalidApprovalRuleTemplateDescriptionException";
732
- readonly $fault: "client";
733
- constructor(
734
- opts: __ExceptionOptionType<
735
- InvalidApprovalRuleTemplateDescriptionException,
736
- __BaseException
737
- >
738
- );
739
- }
740
- export declare class NumberOfRuleTemplatesExceededException extends __BaseException {
741
- readonly name: "NumberOfRuleTemplatesExceededException";
742
- readonly $fault: "client";
743
- constructor(
744
- opts: __ExceptionOptionType<
745
- NumberOfRuleTemplatesExceededException,
746
- __BaseException
747
- >
748
- );
749
- }
750
- export declare class CommitIdRequiredException extends __BaseException {
751
- readonly name: "CommitIdRequiredException";
752
- readonly $fault: "client";
753
- constructor(
754
- opts: __ExceptionOptionType<CommitIdRequiredException, __BaseException>
755
- );
756
- }
757
239
  export interface CreateBranchInput {
758
240
  repositoryName: string | undefined;
759
241
  branchName: string | undefined;
760
242
  commitId: string | undefined;
761
243
  }
762
- export declare class InvalidBranchNameException extends __BaseException {
763
- readonly name: "InvalidBranchNameException";
764
- readonly $fault: "client";
765
- constructor(
766
- opts: __ExceptionOptionType<InvalidBranchNameException, __BaseException>
767
- );
768
- }
769
- export declare class InvalidCommitIdException extends __BaseException {
770
- readonly name: "InvalidCommitIdException";
771
- readonly $fault: "client";
772
- constructor(
773
- opts: __ExceptionOptionType<InvalidCommitIdException, __BaseException>
774
- );
775
- }
776
- export declare class CommitMessageLengthExceededException extends __BaseException {
777
- readonly name: "CommitMessageLengthExceededException";
778
- readonly $fault: "client";
779
- constructor(
780
- opts: __ExceptionOptionType<
781
- CommitMessageLengthExceededException,
782
- __BaseException
783
- >
784
- );
785
- }
786
244
  export interface DeleteFileEntry {
787
245
  filePath: string | undefined;
788
246
  }
@@ -824,215 +282,6 @@ export interface CreateCommitOutput {
824
282
  filesUpdated?: FileMetadata[] | undefined;
825
283
  filesDeleted?: FileMetadata[] | undefined;
826
284
  }
827
- export declare class DirectoryNameConflictsWithFileNameException extends __BaseException {
828
- readonly name: "DirectoryNameConflictsWithFileNameException";
829
- readonly $fault: "client";
830
- constructor(
831
- opts: __ExceptionOptionType<
832
- DirectoryNameConflictsWithFileNameException,
833
- __BaseException
834
- >
835
- );
836
- }
837
- export declare class FileContentAndSourceFileSpecifiedException extends __BaseException {
838
- readonly name: "FileContentAndSourceFileSpecifiedException";
839
- readonly $fault: "client";
840
- constructor(
841
- opts: __ExceptionOptionType<
842
- FileContentAndSourceFileSpecifiedException,
843
- __BaseException
844
- >
845
- );
846
- }
847
- export declare class FileContentSizeLimitExceededException extends __BaseException {
848
- readonly name: "FileContentSizeLimitExceededException";
849
- readonly $fault: "client";
850
- constructor(
851
- opts: __ExceptionOptionType<
852
- FileContentSizeLimitExceededException,
853
- __BaseException
854
- >
855
- );
856
- }
857
- export declare class FileDoesNotExistException extends __BaseException {
858
- readonly name: "FileDoesNotExistException";
859
- readonly $fault: "client";
860
- constructor(
861
- opts: __ExceptionOptionType<FileDoesNotExistException, __BaseException>
862
- );
863
- }
864
- export declare class FileEntryRequiredException extends __BaseException {
865
- readonly name: "FileEntryRequiredException";
866
- readonly $fault: "client";
867
- constructor(
868
- opts: __ExceptionOptionType<FileEntryRequiredException, __BaseException>
869
- );
870
- }
871
- export declare class FileModeRequiredException extends __BaseException {
872
- readonly name: "FileModeRequiredException";
873
- readonly $fault: "client";
874
- constructor(
875
- opts: __ExceptionOptionType<FileModeRequiredException, __BaseException>
876
- );
877
- }
878
- export declare class FileNameConflictsWithDirectoryNameException extends __BaseException {
879
- readonly name: "FileNameConflictsWithDirectoryNameException";
880
- readonly $fault: "client";
881
- constructor(
882
- opts: __ExceptionOptionType<
883
- FileNameConflictsWithDirectoryNameException,
884
- __BaseException
885
- >
886
- );
887
- }
888
- export declare class FilePathConflictsWithSubmodulePathException extends __BaseException {
889
- readonly name: "FilePathConflictsWithSubmodulePathException";
890
- readonly $fault: "client";
891
- constructor(
892
- opts: __ExceptionOptionType<
893
- FilePathConflictsWithSubmodulePathException,
894
- __BaseException
895
- >
896
- );
897
- }
898
- export declare class FolderContentSizeLimitExceededException extends __BaseException {
899
- readonly name: "FolderContentSizeLimitExceededException";
900
- readonly $fault: "client";
901
- constructor(
902
- opts: __ExceptionOptionType<
903
- FolderContentSizeLimitExceededException,
904
- __BaseException
905
- >
906
- );
907
- }
908
- export declare class InvalidDeletionParameterException extends __BaseException {
909
- readonly name: "InvalidDeletionParameterException";
910
- readonly $fault: "client";
911
- constructor(
912
- opts: __ExceptionOptionType<
913
- InvalidDeletionParameterException,
914
- __BaseException
915
- >
916
- );
917
- }
918
- export declare class InvalidEmailException extends __BaseException {
919
- readonly name: "InvalidEmailException";
920
- readonly $fault: "client";
921
- constructor(
922
- opts: __ExceptionOptionType<InvalidEmailException, __BaseException>
923
- );
924
- }
925
- export declare class InvalidFileModeException extends __BaseException {
926
- readonly name: "InvalidFileModeException";
927
- readonly $fault: "client";
928
- constructor(
929
- opts: __ExceptionOptionType<InvalidFileModeException, __BaseException>
930
- );
931
- }
932
- export declare class InvalidParentCommitIdException extends __BaseException {
933
- readonly name: "InvalidParentCommitIdException";
934
- readonly $fault: "client";
935
- constructor(
936
- opts: __ExceptionOptionType<InvalidParentCommitIdException, __BaseException>
937
- );
938
- }
939
- export declare class InvalidPathException extends __BaseException {
940
- readonly name: "InvalidPathException";
941
- readonly $fault: "client";
942
- constructor(
943
- opts: __ExceptionOptionType<InvalidPathException, __BaseException>
944
- );
945
- }
946
- export declare class MaximumFileEntriesExceededException extends __BaseException {
947
- readonly name: "MaximumFileEntriesExceededException";
948
- readonly $fault: "client";
949
- constructor(
950
- opts: __ExceptionOptionType<
951
- MaximumFileEntriesExceededException,
952
- __BaseException
953
- >
954
- );
955
- }
956
- export declare class NameLengthExceededException extends __BaseException {
957
- readonly name: "NameLengthExceededException";
958
- readonly $fault: "client";
959
- constructor(
960
- opts: __ExceptionOptionType<NameLengthExceededException, __BaseException>
961
- );
962
- }
963
- export declare class NoChangeException extends __BaseException {
964
- readonly name: "NoChangeException";
965
- readonly $fault: "client";
966
- constructor(opts: __ExceptionOptionType<NoChangeException, __BaseException>);
967
- }
968
- export declare class ParentCommitDoesNotExistException extends __BaseException {
969
- readonly name: "ParentCommitDoesNotExistException";
970
- readonly $fault: "client";
971
- constructor(
972
- opts: __ExceptionOptionType<
973
- ParentCommitDoesNotExistException,
974
- __BaseException
975
- >
976
- );
977
- }
978
- export declare class ParentCommitIdOutdatedException extends __BaseException {
979
- readonly name: "ParentCommitIdOutdatedException";
980
- readonly $fault: "client";
981
- constructor(
982
- opts: __ExceptionOptionType<
983
- ParentCommitIdOutdatedException,
984
- __BaseException
985
- >
986
- );
987
- }
988
- export declare class ParentCommitIdRequiredException extends __BaseException {
989
- readonly name: "ParentCommitIdRequiredException";
990
- readonly $fault: "client";
991
- constructor(
992
- opts: __ExceptionOptionType<
993
- ParentCommitIdRequiredException,
994
- __BaseException
995
- >
996
- );
997
- }
998
- export declare class PathRequiredException extends __BaseException {
999
- readonly name: "PathRequiredException";
1000
- readonly $fault: "client";
1001
- constructor(
1002
- opts: __ExceptionOptionType<PathRequiredException, __BaseException>
1003
- );
1004
- }
1005
- export declare class PutFileEntryConflictException extends __BaseException {
1006
- readonly name: "PutFileEntryConflictException";
1007
- readonly $fault: "client";
1008
- constructor(
1009
- opts: __ExceptionOptionType<PutFileEntryConflictException, __BaseException>
1010
- );
1011
- }
1012
- export declare class RestrictedSourceFileException extends __BaseException {
1013
- readonly name: "RestrictedSourceFileException";
1014
- readonly $fault: "client";
1015
- constructor(
1016
- opts: __ExceptionOptionType<RestrictedSourceFileException, __BaseException>
1017
- );
1018
- }
1019
- export declare class SamePathRequestException extends __BaseException {
1020
- readonly name: "SamePathRequestException";
1021
- readonly $fault: "client";
1022
- constructor(
1023
- opts: __ExceptionOptionType<SamePathRequestException, __BaseException>
1024
- );
1025
- }
1026
- export declare class SourceFileOrContentRequiredException extends __BaseException {
1027
- readonly name: "SourceFileOrContentRequiredException";
1028
- readonly $fault: "client";
1029
- constructor(
1030
- opts: __ExceptionOptionType<
1031
- SourceFileOrContentRequiredException,
1032
- __BaseException
1033
- >
1034
- );
1035
- }
1036
285
  export interface Target {
1037
286
  repositoryName: string | undefined;
1038
287
  sourceReference: string | undefined;
@@ -1044,12 +293,6 @@ export interface CreatePullRequestInput {
1044
293
  targets: Target[] | undefined;
1045
294
  clientRequestToken?: string | undefined;
1046
295
  }
1047
- export declare const PullRequestStatusEnum: {
1048
- readonly CLOSED: "CLOSED";
1049
- readonly OPEN: "OPEN";
1050
- };
1051
- export type PullRequestStatusEnum =
1052
- (typeof PullRequestStatusEnum)[keyof typeof PullRequestStatusEnum];
1053
296
  export interface MergeMetadata {
1054
297
  isMerged?: boolean | undefined;
1055
298
  mergedBy?: string | undefined;
@@ -1081,136 +324,6 @@ export interface PullRequest {
1081
324
  export interface CreatePullRequestOutput {
1082
325
  pullRequest: PullRequest | undefined;
1083
326
  }
1084
- export declare class IdempotencyParameterMismatchException extends __BaseException {
1085
- readonly name: "IdempotencyParameterMismatchException";
1086
- readonly $fault: "client";
1087
- constructor(
1088
- opts: __ExceptionOptionType<
1089
- IdempotencyParameterMismatchException,
1090
- __BaseException
1091
- >
1092
- );
1093
- }
1094
- export declare class InvalidClientRequestTokenException extends __BaseException {
1095
- readonly name: "InvalidClientRequestTokenException";
1096
- readonly $fault: "client";
1097
- constructor(
1098
- opts: __ExceptionOptionType<
1099
- InvalidClientRequestTokenException,
1100
- __BaseException
1101
- >
1102
- );
1103
- }
1104
- export declare class InvalidDescriptionException extends __BaseException {
1105
- readonly name: "InvalidDescriptionException";
1106
- readonly $fault: "client";
1107
- constructor(
1108
- opts: __ExceptionOptionType<InvalidDescriptionException, __BaseException>
1109
- );
1110
- }
1111
- export declare class InvalidReferenceNameException extends __BaseException {
1112
- readonly name: "InvalidReferenceNameException";
1113
- readonly $fault: "client";
1114
- constructor(
1115
- opts: __ExceptionOptionType<InvalidReferenceNameException, __BaseException>
1116
- );
1117
- }
1118
- export declare class InvalidTargetException extends __BaseException {
1119
- readonly name: "InvalidTargetException";
1120
- readonly $fault: "client";
1121
- constructor(
1122
- opts: __ExceptionOptionType<InvalidTargetException, __BaseException>
1123
- );
1124
- }
1125
- export declare class InvalidTargetsException extends __BaseException {
1126
- readonly name: "InvalidTargetsException";
1127
- readonly $fault: "client";
1128
- constructor(
1129
- opts: __ExceptionOptionType<InvalidTargetsException, __BaseException>
1130
- );
1131
- }
1132
- export declare class InvalidTitleException extends __BaseException {
1133
- readonly name: "InvalidTitleException";
1134
- readonly $fault: "client";
1135
- constructor(
1136
- opts: __ExceptionOptionType<InvalidTitleException, __BaseException>
1137
- );
1138
- }
1139
- export declare class MaximumOpenPullRequestsExceededException extends __BaseException {
1140
- readonly name: "MaximumOpenPullRequestsExceededException";
1141
- readonly $fault: "client";
1142
- constructor(
1143
- opts: __ExceptionOptionType<
1144
- MaximumOpenPullRequestsExceededException,
1145
- __BaseException
1146
- >
1147
- );
1148
- }
1149
- export declare class MultipleRepositoriesInPullRequestException extends __BaseException {
1150
- readonly name: "MultipleRepositoriesInPullRequestException";
1151
- readonly $fault: "client";
1152
- constructor(
1153
- opts: __ExceptionOptionType<
1154
- MultipleRepositoriesInPullRequestException,
1155
- __BaseException
1156
- >
1157
- );
1158
- }
1159
- export declare class ReferenceDoesNotExistException extends __BaseException {
1160
- readonly name: "ReferenceDoesNotExistException";
1161
- readonly $fault: "client";
1162
- constructor(
1163
- opts: __ExceptionOptionType<ReferenceDoesNotExistException, __BaseException>
1164
- );
1165
- }
1166
- export declare class ReferenceNameRequiredException extends __BaseException {
1167
- readonly name: "ReferenceNameRequiredException";
1168
- readonly $fault: "client";
1169
- constructor(
1170
- opts: __ExceptionOptionType<ReferenceNameRequiredException, __BaseException>
1171
- );
1172
- }
1173
- export declare class ReferenceTypeNotSupportedException extends __BaseException {
1174
- readonly name: "ReferenceTypeNotSupportedException";
1175
- readonly $fault: "client";
1176
- constructor(
1177
- opts: __ExceptionOptionType<
1178
- ReferenceTypeNotSupportedException,
1179
- __BaseException
1180
- >
1181
- );
1182
- }
1183
- export declare class SourceAndDestinationAreSameException extends __BaseException {
1184
- readonly name: "SourceAndDestinationAreSameException";
1185
- readonly $fault: "client";
1186
- constructor(
1187
- opts: __ExceptionOptionType<
1188
- SourceAndDestinationAreSameException,
1189
- __BaseException
1190
- >
1191
- );
1192
- }
1193
- export declare class TargetRequiredException extends __BaseException {
1194
- readonly name: "TargetRequiredException";
1195
- readonly $fault: "client";
1196
- constructor(
1197
- opts: __ExceptionOptionType<TargetRequiredException, __BaseException>
1198
- );
1199
- }
1200
- export declare class TargetsRequiredException extends __BaseException {
1201
- readonly name: "TargetsRequiredException";
1202
- readonly $fault: "client";
1203
- constructor(
1204
- opts: __ExceptionOptionType<TargetsRequiredException, __BaseException>
1205
- );
1206
- }
1207
- export declare class TitleRequiredException extends __BaseException {
1208
- readonly name: "TitleRequiredException";
1209
- readonly $fault: "client";
1210
- constructor(
1211
- opts: __ExceptionOptionType<TitleRequiredException, __BaseException>
1212
- );
1213
- }
1214
327
  export interface CreatePullRequestApprovalRuleInput {
1215
328
  pullRequestId: string | undefined;
1216
329
  approvalRuleName: string | undefined;
@@ -1219,67 +332,6 @@ export interface CreatePullRequestApprovalRuleInput {
1219
332
  export interface CreatePullRequestApprovalRuleOutput {
1220
333
  approvalRule: ApprovalRule | undefined;
1221
334
  }
1222
- export declare class InvalidApprovalRuleContentException extends __BaseException {
1223
- readonly name: "InvalidApprovalRuleContentException";
1224
- readonly $fault: "client";
1225
- constructor(
1226
- opts: __ExceptionOptionType<
1227
- InvalidApprovalRuleContentException,
1228
- __BaseException
1229
- >
1230
- );
1231
- }
1232
- export declare class InvalidApprovalRuleNameException extends __BaseException {
1233
- readonly name: "InvalidApprovalRuleNameException";
1234
- readonly $fault: "client";
1235
- constructor(
1236
- opts: __ExceptionOptionType<
1237
- InvalidApprovalRuleNameException,
1238
- __BaseException
1239
- >
1240
- );
1241
- }
1242
- export declare class InvalidPullRequestIdException extends __BaseException {
1243
- readonly name: "InvalidPullRequestIdException";
1244
- readonly $fault: "client";
1245
- constructor(
1246
- opts: __ExceptionOptionType<InvalidPullRequestIdException, __BaseException>
1247
- );
1248
- }
1249
- export declare class NumberOfRulesExceededException extends __BaseException {
1250
- readonly name: "NumberOfRulesExceededException";
1251
- readonly $fault: "client";
1252
- constructor(
1253
- opts: __ExceptionOptionType<NumberOfRulesExceededException, __BaseException>
1254
- );
1255
- }
1256
- export declare class PullRequestAlreadyClosedException extends __BaseException {
1257
- readonly name: "PullRequestAlreadyClosedException";
1258
- readonly $fault: "client";
1259
- constructor(
1260
- opts: __ExceptionOptionType<
1261
- PullRequestAlreadyClosedException,
1262
- __BaseException
1263
- >
1264
- );
1265
- }
1266
- export declare class PullRequestDoesNotExistException extends __BaseException {
1267
- readonly name: "PullRequestDoesNotExistException";
1268
- readonly $fault: "client";
1269
- constructor(
1270
- opts: __ExceptionOptionType<
1271
- PullRequestDoesNotExistException,
1272
- __BaseException
1273
- >
1274
- );
1275
- }
1276
- export declare class PullRequestIdRequiredException extends __BaseException {
1277
- readonly name: "PullRequestIdRequiredException";
1278
- readonly $fault: "client";
1279
- constructor(
1280
- opts: __ExceptionOptionType<PullRequestIdRequiredException, __BaseException>
1281
- );
1282
- }
1283
335
  export interface CreateRepositoryInput {
1284
336
  repositoryName: string | undefined;
1285
337
  repositoryDescription?: string | undefined;
@@ -1289,104 +341,6 @@ export interface CreateRepositoryInput {
1289
341
  export interface CreateRepositoryOutput {
1290
342
  repositoryMetadata?: RepositoryMetadata | undefined;
1291
343
  }
1292
- export declare class EncryptionKeyInvalidIdException extends __BaseException {
1293
- readonly name: "EncryptionKeyInvalidIdException";
1294
- readonly $fault: "client";
1295
- constructor(
1296
- opts: __ExceptionOptionType<
1297
- EncryptionKeyInvalidIdException,
1298
- __BaseException
1299
- >
1300
- );
1301
- }
1302
- export declare class EncryptionKeyInvalidUsageException extends __BaseException {
1303
- readonly name: "EncryptionKeyInvalidUsageException";
1304
- readonly $fault: "client";
1305
- constructor(
1306
- opts: __ExceptionOptionType<
1307
- EncryptionKeyInvalidUsageException,
1308
- __BaseException
1309
- >
1310
- );
1311
- }
1312
- export declare class InvalidRepositoryDescriptionException extends __BaseException {
1313
- readonly name: "InvalidRepositoryDescriptionException";
1314
- readonly $fault: "client";
1315
- constructor(
1316
- opts: __ExceptionOptionType<
1317
- InvalidRepositoryDescriptionException,
1318
- __BaseException
1319
- >
1320
- );
1321
- }
1322
- export declare class InvalidSystemTagUsageException extends __BaseException {
1323
- readonly name: "InvalidSystemTagUsageException";
1324
- readonly $fault: "client";
1325
- constructor(
1326
- opts: __ExceptionOptionType<InvalidSystemTagUsageException, __BaseException>
1327
- );
1328
- }
1329
- export declare class InvalidTagsMapException extends __BaseException {
1330
- readonly name: "InvalidTagsMapException";
1331
- readonly $fault: "client";
1332
- constructor(
1333
- opts: __ExceptionOptionType<InvalidTagsMapException, __BaseException>
1334
- );
1335
- }
1336
- export declare class OperationNotAllowedException extends __BaseException {
1337
- readonly name: "OperationNotAllowedException";
1338
- readonly $fault: "client";
1339
- constructor(
1340
- opts: __ExceptionOptionType<OperationNotAllowedException, __BaseException>
1341
- );
1342
- }
1343
- export declare class RepositoryLimitExceededException extends __BaseException {
1344
- readonly name: "RepositoryLimitExceededException";
1345
- readonly $fault: "client";
1346
- constructor(
1347
- opts: __ExceptionOptionType<
1348
- RepositoryLimitExceededException,
1349
- __BaseException
1350
- >
1351
- );
1352
- }
1353
- export declare class RepositoryNameExistsException extends __BaseException {
1354
- readonly name: "RepositoryNameExistsException";
1355
- readonly $fault: "client";
1356
- constructor(
1357
- opts: __ExceptionOptionType<RepositoryNameExistsException, __BaseException>
1358
- );
1359
- }
1360
- export declare class TagPolicyException extends __BaseException {
1361
- readonly name: "TagPolicyException";
1362
- readonly $fault: "client";
1363
- constructor(opts: __ExceptionOptionType<TagPolicyException, __BaseException>);
1364
- }
1365
- export declare class TooManyTagsException extends __BaseException {
1366
- readonly name: "TooManyTagsException";
1367
- readonly $fault: "client";
1368
- constructor(
1369
- opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
1370
- );
1371
- }
1372
- export declare class ConcurrentReferenceUpdateException extends __BaseException {
1373
- readonly name: "ConcurrentReferenceUpdateException";
1374
- readonly $fault: "client";
1375
- constructor(
1376
- opts: __ExceptionOptionType<
1377
- ConcurrentReferenceUpdateException,
1378
- __BaseException
1379
- >
1380
- );
1381
- }
1382
- export declare const ReplacementTypeEnum: {
1383
- readonly KEEP_BASE: "KEEP_BASE";
1384
- readonly KEEP_DESTINATION: "KEEP_DESTINATION";
1385
- readonly KEEP_SOURCE: "KEEP_SOURCE";
1386
- readonly USE_NEW_CONTENT: "USE_NEW_CONTENT";
1387
- };
1388
- export type ReplacementTypeEnum =
1389
- (typeof ReplacementTypeEnum)[keyof typeof ReplacementTypeEnum];
1390
344
  export interface ReplaceContentEntry {
1391
345
  filePath: string | undefined;
1392
346
  replacementType: ReplacementTypeEnum | undefined;
@@ -1415,99 +369,12 @@ export interface CreateUnreferencedMergeCommitOutput {
1415
369
  commitId?: string | undefined;
1416
370
  treeId?: string | undefined;
1417
371
  }
1418
- export declare class InvalidConflictResolutionException extends __BaseException {
1419
- readonly name: "InvalidConflictResolutionException";
1420
- readonly $fault: "client";
1421
- constructor(
1422
- opts: __ExceptionOptionType<
1423
- InvalidConflictResolutionException,
1424
- __BaseException
1425
- >
1426
- );
1427
- }
1428
- export declare class InvalidReplacementContentException extends __BaseException {
1429
- readonly name: "InvalidReplacementContentException";
1430
- readonly $fault: "client";
1431
- constructor(
1432
- opts: __ExceptionOptionType<
1433
- InvalidReplacementContentException,
1434
- __BaseException
1435
- >
1436
- );
1437
- }
1438
- export declare class InvalidReplacementTypeException extends __BaseException {
1439
- readonly name: "InvalidReplacementTypeException";
1440
- readonly $fault: "client";
1441
- constructor(
1442
- opts: __ExceptionOptionType<
1443
- InvalidReplacementTypeException,
1444
- __BaseException
1445
- >
1446
- );
1447
- }
1448
- export declare class ManualMergeRequiredException extends __BaseException {
1449
- readonly name: "ManualMergeRequiredException";
1450
- readonly $fault: "client";
1451
- constructor(
1452
- opts: __ExceptionOptionType<ManualMergeRequiredException, __BaseException>
1453
- );
1454
- }
1455
- export declare class MaximumConflictResolutionEntriesExceededException extends __BaseException {
1456
- readonly name: "MaximumConflictResolutionEntriesExceededException";
1457
- readonly $fault: "client";
1458
- constructor(
1459
- opts: __ExceptionOptionType<
1460
- MaximumConflictResolutionEntriesExceededException,
1461
- __BaseException
1462
- >
1463
- );
1464
- }
1465
- export declare class MultipleConflictResolutionEntriesException extends __BaseException {
1466
- readonly name: "MultipleConflictResolutionEntriesException";
1467
- readonly $fault: "client";
1468
- constructor(
1469
- opts: __ExceptionOptionType<
1470
- MultipleConflictResolutionEntriesException,
1471
- __BaseException
1472
- >
1473
- );
1474
- }
1475
- export declare class ReplacementContentRequiredException extends __BaseException {
1476
- readonly name: "ReplacementContentRequiredException";
1477
- readonly $fault: "client";
1478
- constructor(
1479
- opts: __ExceptionOptionType<
1480
- ReplacementContentRequiredException,
1481
- __BaseException
1482
- >
1483
- );
1484
- }
1485
- export declare class ReplacementTypeRequiredException extends __BaseException {
1486
- readonly name: "ReplacementTypeRequiredException";
1487
- readonly $fault: "client";
1488
- constructor(
1489
- opts: __ExceptionOptionType<
1490
- ReplacementTypeRequiredException,
1491
- __BaseException
1492
- >
1493
- );
1494
- }
1495
372
  export interface DeleteApprovalRuleTemplateInput {
1496
373
  approvalRuleTemplateName: string | undefined;
1497
374
  }
1498
375
  export interface DeleteApprovalRuleTemplateOutput {
1499
376
  approvalRuleTemplateId: string | undefined;
1500
377
  }
1501
- export declare class DefaultBranchCannotBeDeletedException extends __BaseException {
1502
- readonly name: "DefaultBranchCannotBeDeletedException";
1503
- readonly $fault: "client";
1504
- constructor(
1505
- opts: __ExceptionOptionType<
1506
- DefaultBranchCannotBeDeletedException,
1507
- __BaseException
1508
- >
1509
- );
1510
- }
1511
378
  export interface DeleteBranchInput {
1512
379
  repositoryName: string | undefined;
1513
380
  branchName: string | undefined;
@@ -1515,27 +382,6 @@ export interface DeleteBranchInput {
1515
382
  export interface DeleteBranchOutput {
1516
383
  deletedBranch?: BranchInfo | undefined;
1517
384
  }
1518
- export declare class CommentDeletedException extends __BaseException {
1519
- readonly name: "CommentDeletedException";
1520
- readonly $fault: "client";
1521
- constructor(
1522
- opts: __ExceptionOptionType<CommentDeletedException, __BaseException>
1523
- );
1524
- }
1525
- export declare class CommentDoesNotExistException extends __BaseException {
1526
- readonly name: "CommentDoesNotExistException";
1527
- readonly $fault: "client";
1528
- constructor(
1529
- opts: __ExceptionOptionType<CommentDoesNotExistException, __BaseException>
1530
- );
1531
- }
1532
- export declare class CommentIdRequiredException extends __BaseException {
1533
- readonly name: "CommentIdRequiredException";
1534
- readonly $fault: "client";
1535
- constructor(
1536
- opts: __ExceptionOptionType<CommentIdRequiredException, __BaseException>
1537
- );
1538
- }
1539
385
  export interface DeleteCommentContentInput {
1540
386
  commentId: string | undefined;
1541
387
  }
@@ -1554,13 +400,6 @@ export interface Comment {
1554
400
  export interface DeleteCommentContentOutput {
1555
401
  comment?: Comment | undefined;
1556
402
  }
1557
- export declare class InvalidCommentIdException extends __BaseException {
1558
- readonly name: "InvalidCommentIdException";
1559
- readonly $fault: "client";
1560
- constructor(
1561
- opts: __ExceptionOptionType<InvalidCommentIdException, __BaseException>
1562
- );
1563
- }
1564
403
  export interface DeleteFileInput {
1565
404
  repositoryName: string | undefined;
1566
405
  branchName: string | undefined;
@@ -1609,19 +448,6 @@ export interface DescribeMergeConflictsOutput {
1609
448
  sourceCommitId: string | undefined;
1610
449
  baseCommitId?: string | undefined;
1611
450
  }
1612
- export declare const PullRequestEventType: {
1613
- readonly PULL_REQUEST_APPROVAL_RULE_CREATED: "PULL_REQUEST_APPROVAL_RULE_CREATED";
1614
- readonly PULL_REQUEST_APPROVAL_RULE_DELETED: "PULL_REQUEST_APPROVAL_RULE_DELETED";
1615
- readonly PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN: "PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN";
1616
- readonly PULL_REQUEST_APPROVAL_RULE_UPDATED: "PULL_REQUEST_APPROVAL_RULE_UPDATED";
1617
- readonly PULL_REQUEST_APPROVAL_STATE_CHANGED: "PULL_REQUEST_APPROVAL_STATE_CHANGED";
1618
- readonly PULL_REQUEST_CREATED: "PULL_REQUEST_CREATED";
1619
- readonly PULL_REQUEST_MERGE_STATE_CHANGED: "PULL_REQUEST_MERGE_STATE_CHANGED";
1620
- readonly PULL_REQUEST_SOURCE_REFERENCE_UPDATED: "PULL_REQUEST_SOURCE_REFERENCE_UPDATED";
1621
- readonly PULL_REQUEST_STATUS_CHANGED: "PULL_REQUEST_STATUS_CHANGED";
1622
- };
1623
- export type PullRequestEventType =
1624
- (typeof PullRequestEventType)[keyof typeof PullRequestEventType];
1625
451
  export interface DescribePullRequestEventsInput {
1626
452
  pullRequestId: string | undefined;
1627
453
  pullRequestEventType?: PullRequestEventType | undefined;
@@ -1676,30 +502,6 @@ export interface DescribePullRequestEventsOutput {
1676
502
  pullRequestEvents: PullRequestEvent[] | undefined;
1677
503
  nextToken?: string | undefined;
1678
504
  }
1679
- export declare class InvalidActorArnException extends __BaseException {
1680
- readonly name: "InvalidActorArnException";
1681
- readonly $fault: "client";
1682
- constructor(
1683
- opts: __ExceptionOptionType<InvalidActorArnException, __BaseException>
1684
- );
1685
- }
1686
- export declare class InvalidMaxResultsException extends __BaseException {
1687
- readonly name: "InvalidMaxResultsException";
1688
- readonly $fault: "client";
1689
- constructor(
1690
- opts: __ExceptionOptionType<InvalidMaxResultsException, __BaseException>
1691
- );
1692
- }
1693
- export declare class InvalidPullRequestEventTypeException extends __BaseException {
1694
- readonly name: "InvalidPullRequestEventTypeException";
1695
- readonly $fault: "client";
1696
- constructor(
1697
- opts: __ExceptionOptionType<
1698
- InvalidPullRequestEventTypeException,
1699
- __BaseException
1700
- >
1701
- );
1702
- }
1703
505
  export interface DisassociateApprovalRuleTemplateFromRepositoryInput {
1704
506
  approvalRuleTemplateName: string | undefined;
1705
507
  repositoryName: string | undefined;
@@ -1717,40 +519,12 @@ export interface Evaluation {
1717
519
  export interface EvaluatePullRequestApprovalRulesOutput {
1718
520
  evaluation: Evaluation | undefined;
1719
521
  }
1720
- export declare class InvalidRevisionIdException extends __BaseException {
1721
- readonly name: "InvalidRevisionIdException";
1722
- readonly $fault: "client";
1723
- constructor(
1724
- opts: __ExceptionOptionType<InvalidRevisionIdException, __BaseException>
1725
- );
1726
- }
1727
- export declare class RevisionIdRequiredException extends __BaseException {
1728
- readonly name: "RevisionIdRequiredException";
1729
- readonly $fault: "client";
1730
- constructor(
1731
- opts: __ExceptionOptionType<RevisionIdRequiredException, __BaseException>
1732
- );
1733
- }
1734
- export declare class RevisionNotCurrentException extends __BaseException {
1735
- readonly name: "RevisionNotCurrentException";
1736
- readonly $fault: "client";
1737
- constructor(
1738
- opts: __ExceptionOptionType<RevisionNotCurrentException, __BaseException>
1739
- );
1740
- }
1741
522
  export interface GetApprovalRuleTemplateInput {
1742
523
  approvalRuleTemplateName: string | undefined;
1743
524
  }
1744
525
  export interface GetApprovalRuleTemplateOutput {
1745
526
  approvalRuleTemplate: ApprovalRuleTemplate | undefined;
1746
527
  }
1747
- export declare class FileTooLargeException extends __BaseException {
1748
- readonly name: "FileTooLargeException";
1749
- readonly $fault: "client";
1750
- constructor(
1751
- opts: __ExceptionOptionType<FileTooLargeException, __BaseException>
1752
- );
1753
- }
1754
528
  export interface GetBlobInput {
1755
529
  repositoryName: string | undefined;
1756
530
  blobId: string | undefined;
@@ -1758,13 +532,6 @@ export interface GetBlobInput {
1758
532
  export interface GetBlobOutput {
1759
533
  content: Uint8Array | undefined;
1760
534
  }
1761
- export declare class InvalidBlobIdException extends __BaseException {
1762
- readonly name: "InvalidBlobIdException";
1763
- readonly $fault: "client";
1764
- constructor(
1765
- opts: __ExceptionOptionType<InvalidBlobIdException, __BaseException>
1766
- );
1767
- }
1768
535
  export interface GetBranchInput {
1769
536
  repositoryName?: string | undefined;
1770
537
  branchName?: string | undefined;
@@ -1798,16 +565,6 @@ export interface GetCommentReactionsOutput {
1798
565
  reactionsForComment: ReactionForComment[] | undefined;
1799
566
  nextToken?: string | undefined;
1800
567
  }
1801
- export declare class InvalidReactionUserArnException extends __BaseException {
1802
- readonly name: "InvalidReactionUserArnException";
1803
- readonly $fault: "client";
1804
- constructor(
1805
- opts: __ExceptionOptionType<
1806
- InvalidReactionUserArnException,
1807
- __BaseException
1808
- >
1809
- );
1810
- }
1811
568
  export interface GetCommentsForComparedCommitInput {
1812
569
  repositoryName: string | undefined;
1813
570
  beforeCommitId?: string | undefined;
@@ -1815,12 +572,6 @@ export interface GetCommentsForComparedCommitInput {
1815
572
  nextToken?: string | undefined;
1816
573
  maxResults?: number | undefined;
1817
574
  }
1818
- export declare const RelativeFileVersionEnum: {
1819
- readonly AFTER: "AFTER";
1820
- readonly BEFORE: "BEFORE";
1821
- };
1822
- export type RelativeFileVersionEnum =
1823
- (typeof RelativeFileVersionEnum)[keyof typeof RelativeFileVersionEnum];
1824
575
  export interface Location {
1825
576
  filePath?: string | undefined;
1826
577
  filePosition?: number | undefined;
@@ -1861,23 +612,6 @@ export interface GetCommentsForPullRequestOutput {
1861
612
  commentsForPullRequestData?: CommentsForPullRequest[] | undefined;
1862
613
  nextToken?: string | undefined;
1863
614
  }
1864
- export declare class RepositoryNotAssociatedWithPullRequestException extends __BaseException {
1865
- readonly name: "RepositoryNotAssociatedWithPullRequestException";
1866
- readonly $fault: "client";
1867
- constructor(
1868
- opts: __ExceptionOptionType<
1869
- RepositoryNotAssociatedWithPullRequestException,
1870
- __BaseException
1871
- >
1872
- );
1873
- }
1874
- export declare class CommitIdDoesNotExistException extends __BaseException {
1875
- readonly name: "CommitIdDoesNotExistException";
1876
- readonly $fault: "client";
1877
- constructor(
1878
- opts: __ExceptionOptionType<CommitIdDoesNotExistException, __BaseException>
1879
- );
1880
- }
1881
615
  export interface GetCommitInput {
1882
616
  repositoryName: string | undefined;
1883
617
  commitId: string | undefined;
@@ -1903,13 +637,6 @@ export interface GetDifferencesOutput {
1903
637
  differences?: Difference[] | undefined;
1904
638
  NextToken?: string | undefined;
1905
639
  }
1906
- export declare class PathDoesNotExistException extends __BaseException {
1907
- readonly name: "PathDoesNotExistException";
1908
- readonly $fault: "client";
1909
- constructor(
1910
- opts: __ExceptionOptionType<PathDoesNotExistException, __BaseException>
1911
- );
1912
- }
1913
640
  export interface GetFileInput {
1914
641
  repositoryName: string | undefined;
1915
642
  commitSpecifier?: string | undefined;
@@ -1923,13 +650,6 @@ export interface GetFileOutput {
1923
650
  fileSize: number | undefined;
1924
651
  fileContent: Uint8Array | undefined;
1925
652
  }
1926
- export declare class FolderDoesNotExistException extends __BaseException {
1927
- readonly name: "FolderDoesNotExistException";
1928
- readonly $fault: "client";
1929
- constructor(
1930
- opts: __ExceptionOptionType<FolderDoesNotExistException, __BaseException>
1931
- );
1932
- }
1933
653
  export interface GetFolderInput {
1934
654
  repositoryName: string | undefined;
1935
655
  commitSpecifier?: string | undefined;
@@ -1997,26 +717,6 @@ export interface GetMergeConflictsOutput {
1997
717
  conflictMetadataList: ConflictMetadata[] | undefined;
1998
718
  nextToken?: string | undefined;
1999
719
  }
2000
- export declare class InvalidDestinationCommitSpecifierException extends __BaseException {
2001
- readonly name: "InvalidDestinationCommitSpecifierException";
2002
- readonly $fault: "client";
2003
- constructor(
2004
- opts: __ExceptionOptionType<
2005
- InvalidDestinationCommitSpecifierException,
2006
- __BaseException
2007
- >
2008
- );
2009
- }
2010
- export declare class InvalidSourceCommitSpecifierException extends __BaseException {
2011
- readonly name: "InvalidSourceCommitSpecifierException";
2012
- readonly $fault: "client";
2013
- constructor(
2014
- opts: __ExceptionOptionType<
2015
- InvalidSourceCommitSpecifierException,
2016
- __BaseException
2017
- >
2018
- );
2019
- }
2020
720
  export interface GetMergeOptionsInput {
2021
721
  repositoryName: string | undefined;
2022
722
  sourceCommitSpecifier: string | undefined;
@@ -2060,14 +760,6 @@ export interface GetRepositoryOutput {
2060
760
  export interface GetRepositoryTriggersInput {
2061
761
  repositoryName: string | undefined;
2062
762
  }
2063
- export declare const RepositoryTriggerEventEnum: {
2064
- readonly ALL: "all";
2065
- readonly CREATE_REFERENCE: "createReference";
2066
- readonly DELETE_REFERENCE: "deleteReference";
2067
- readonly UPDATE_REFERENCE: "updateReference";
2068
- };
2069
- export type RepositoryTriggerEventEnum =
2070
- (typeof RepositoryTriggerEventEnum)[keyof typeof RepositoryTriggerEventEnum];
2071
763
  export interface RepositoryTrigger {
2072
764
  name: string | undefined;
2073
765
  destinationArn: string | undefined;
@@ -2111,3 +803,317 @@ export interface ListFileCommitHistoryRequest {
2111
803
  maxResults?: number | undefined;
2112
804
  nextToken?: string | undefined;
2113
805
  }
806
+ export interface FileVersion {
807
+ commit?: Commit | undefined;
808
+ blobId?: string | undefined;
809
+ path?: string | undefined;
810
+ revisionChildren?: string[] | undefined;
811
+ }
812
+ export interface ListFileCommitHistoryResponse {
813
+ revisionDag: FileVersion[] | undefined;
814
+ nextToken?: string | undefined;
815
+ }
816
+ export interface ListPullRequestsInput {
817
+ repositoryName: string | undefined;
818
+ authorArn?: string | undefined;
819
+ pullRequestStatus?: PullRequestStatusEnum | undefined;
820
+ nextToken?: string | undefined;
821
+ maxResults?: number | undefined;
822
+ }
823
+ export interface ListPullRequestsOutput {
824
+ pullRequestIds: string[] | undefined;
825
+ nextToken?: string | undefined;
826
+ }
827
+ export interface ListRepositoriesInput {
828
+ nextToken?: string | undefined;
829
+ sortBy?: SortByEnum | undefined;
830
+ order?: OrderEnum | undefined;
831
+ }
832
+ export interface RepositoryNameIdPair {
833
+ repositoryName?: string | undefined;
834
+ repositoryId?: string | undefined;
835
+ }
836
+ export interface ListRepositoriesOutput {
837
+ repositories?: RepositoryNameIdPair[] | undefined;
838
+ nextToken?: string | undefined;
839
+ }
840
+ export interface ListRepositoriesForApprovalRuleTemplateInput {
841
+ approvalRuleTemplateName: string | undefined;
842
+ nextToken?: string | undefined;
843
+ maxResults?: number | undefined;
844
+ }
845
+ export interface ListRepositoriesForApprovalRuleTemplateOutput {
846
+ repositoryNames?: string[] | undefined;
847
+ nextToken?: string | undefined;
848
+ }
849
+ export interface ListTagsForResourceInput {
850
+ resourceArn: string | undefined;
851
+ nextToken?: string | undefined;
852
+ }
853
+ export interface ListTagsForResourceOutput {
854
+ tags?: Record<string, string> | undefined;
855
+ nextToken?: string | undefined;
856
+ }
857
+ export interface MergeBranchesByFastForwardInput {
858
+ repositoryName: string | undefined;
859
+ sourceCommitSpecifier: string | undefined;
860
+ destinationCommitSpecifier: string | undefined;
861
+ targetBranch?: string | undefined;
862
+ }
863
+ export interface MergeBranchesByFastForwardOutput {
864
+ commitId?: string | undefined;
865
+ treeId?: string | undefined;
866
+ }
867
+ export interface MergeBranchesBySquashInput {
868
+ repositoryName: string | undefined;
869
+ sourceCommitSpecifier: string | undefined;
870
+ destinationCommitSpecifier: string | undefined;
871
+ targetBranch?: string | undefined;
872
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
873
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
874
+ authorName?: string | undefined;
875
+ email?: string | undefined;
876
+ commitMessage?: string | undefined;
877
+ keepEmptyFolders?: boolean | undefined;
878
+ conflictResolution?: ConflictResolution | undefined;
879
+ }
880
+ export interface MergeBranchesBySquashOutput {
881
+ commitId?: string | undefined;
882
+ treeId?: string | undefined;
883
+ }
884
+ export interface MergeBranchesByThreeWayInput {
885
+ repositoryName: string | undefined;
886
+ sourceCommitSpecifier: string | undefined;
887
+ destinationCommitSpecifier: string | undefined;
888
+ targetBranch?: string | undefined;
889
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
890
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
891
+ authorName?: string | undefined;
892
+ email?: string | undefined;
893
+ commitMessage?: string | undefined;
894
+ keepEmptyFolders?: boolean | undefined;
895
+ conflictResolution?: ConflictResolution | undefined;
896
+ }
897
+ export interface MergeBranchesByThreeWayOutput {
898
+ commitId?: string | undefined;
899
+ treeId?: string | undefined;
900
+ }
901
+ export interface MergePullRequestByFastForwardInput {
902
+ pullRequestId: string | undefined;
903
+ repositoryName: string | undefined;
904
+ sourceCommitId?: string | undefined;
905
+ }
906
+ export interface MergePullRequestByFastForwardOutput {
907
+ pullRequest?: PullRequest | undefined;
908
+ }
909
+ export interface MergePullRequestBySquashInput {
910
+ pullRequestId: string | undefined;
911
+ repositoryName: string | undefined;
912
+ sourceCommitId?: string | undefined;
913
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
914
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
915
+ commitMessage?: string | undefined;
916
+ authorName?: string | undefined;
917
+ email?: string | undefined;
918
+ keepEmptyFolders?: boolean | undefined;
919
+ conflictResolution?: ConflictResolution | undefined;
920
+ }
921
+ export interface MergePullRequestBySquashOutput {
922
+ pullRequest?: PullRequest | undefined;
923
+ }
924
+ export interface MergePullRequestByThreeWayInput {
925
+ pullRequestId: string | undefined;
926
+ repositoryName: string | undefined;
927
+ sourceCommitId?: string | undefined;
928
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
929
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
930
+ commitMessage?: string | undefined;
931
+ authorName?: string | undefined;
932
+ email?: string | undefined;
933
+ keepEmptyFolders?: boolean | undefined;
934
+ conflictResolution?: ConflictResolution | undefined;
935
+ }
936
+ export interface MergePullRequestByThreeWayOutput {
937
+ pullRequest?: PullRequest | undefined;
938
+ }
939
+ export interface OverridePullRequestApprovalRulesInput {
940
+ pullRequestId: string | undefined;
941
+ revisionId: string | undefined;
942
+ overrideStatus: OverrideStatus | undefined;
943
+ }
944
+ export interface PostCommentForComparedCommitInput {
945
+ repositoryName: string | undefined;
946
+ beforeCommitId?: string | undefined;
947
+ afterCommitId: string | undefined;
948
+ location?: Location | undefined;
949
+ content: string | undefined;
950
+ clientRequestToken?: string | undefined;
951
+ }
952
+ export interface PostCommentForComparedCommitOutput {
953
+ repositoryName?: string | undefined;
954
+ beforeCommitId?: string | undefined;
955
+ afterCommitId?: string | undefined;
956
+ beforeBlobId?: string | undefined;
957
+ afterBlobId?: string | undefined;
958
+ location?: Location | undefined;
959
+ comment?: Comment | undefined;
960
+ }
961
+ export interface PostCommentForPullRequestInput {
962
+ pullRequestId: string | undefined;
963
+ repositoryName: string | undefined;
964
+ beforeCommitId: string | undefined;
965
+ afterCommitId: string | undefined;
966
+ location?: Location | undefined;
967
+ content: string | undefined;
968
+ clientRequestToken?: string | undefined;
969
+ }
970
+ export interface PostCommentForPullRequestOutput {
971
+ repositoryName?: string | undefined;
972
+ pullRequestId?: string | undefined;
973
+ beforeCommitId?: string | undefined;
974
+ afterCommitId?: string | undefined;
975
+ beforeBlobId?: string | undefined;
976
+ afterBlobId?: string | undefined;
977
+ location?: Location | undefined;
978
+ comment?: Comment | undefined;
979
+ }
980
+ export interface PostCommentReplyInput {
981
+ inReplyTo: string | undefined;
982
+ clientRequestToken?: string | undefined;
983
+ content: string | undefined;
984
+ }
985
+ export interface PostCommentReplyOutput {
986
+ comment?: Comment | undefined;
987
+ }
988
+ export interface PutCommentReactionInput {
989
+ commentId: string | undefined;
990
+ reactionValue: string | undefined;
991
+ }
992
+ export interface PutFileInput {
993
+ repositoryName: string | undefined;
994
+ branchName: string | undefined;
995
+ fileContent: Uint8Array | undefined;
996
+ filePath: string | undefined;
997
+ fileMode?: FileModeTypeEnum | undefined;
998
+ parentCommitId?: string | undefined;
999
+ commitMessage?: string | undefined;
1000
+ name?: string | undefined;
1001
+ email?: string | undefined;
1002
+ }
1003
+ export interface PutFileOutput {
1004
+ commitId: string | undefined;
1005
+ blobId: string | undefined;
1006
+ treeId: string | undefined;
1007
+ }
1008
+ export interface PutRepositoryTriggersInput {
1009
+ repositoryName: string | undefined;
1010
+ triggers: RepositoryTrigger[] | undefined;
1011
+ }
1012
+ export interface PutRepositoryTriggersOutput {
1013
+ configurationId?: string | undefined;
1014
+ }
1015
+ export interface TagResourceInput {
1016
+ resourceArn: string | undefined;
1017
+ tags: Record<string, string> | undefined;
1018
+ }
1019
+ export interface TestRepositoryTriggersInput {
1020
+ repositoryName: string | undefined;
1021
+ triggers: RepositoryTrigger[] | undefined;
1022
+ }
1023
+ export interface RepositoryTriggerExecutionFailure {
1024
+ trigger?: string | undefined;
1025
+ failureMessage?: string | undefined;
1026
+ }
1027
+ export interface TestRepositoryTriggersOutput {
1028
+ successfulExecutions?: string[] | undefined;
1029
+ failedExecutions?: RepositoryTriggerExecutionFailure[] | undefined;
1030
+ }
1031
+ export interface UntagResourceInput {
1032
+ resourceArn: string | undefined;
1033
+ tagKeys: string[] | undefined;
1034
+ }
1035
+ export interface UpdateApprovalRuleTemplateContentInput {
1036
+ approvalRuleTemplateName: string | undefined;
1037
+ newRuleContent: string | undefined;
1038
+ existingRuleContentSha256?: string | undefined;
1039
+ }
1040
+ export interface UpdateApprovalRuleTemplateContentOutput {
1041
+ approvalRuleTemplate: ApprovalRuleTemplate | undefined;
1042
+ }
1043
+ export interface UpdateApprovalRuleTemplateDescriptionInput {
1044
+ approvalRuleTemplateName: string | undefined;
1045
+ approvalRuleTemplateDescription: string | undefined;
1046
+ }
1047
+ export interface UpdateApprovalRuleTemplateDescriptionOutput {
1048
+ approvalRuleTemplate: ApprovalRuleTemplate | undefined;
1049
+ }
1050
+ export interface UpdateApprovalRuleTemplateNameInput {
1051
+ oldApprovalRuleTemplateName: string | undefined;
1052
+ newApprovalRuleTemplateName: string | undefined;
1053
+ }
1054
+ export interface UpdateApprovalRuleTemplateNameOutput {
1055
+ approvalRuleTemplate: ApprovalRuleTemplate | undefined;
1056
+ }
1057
+ export interface UpdateCommentInput {
1058
+ commentId: string | undefined;
1059
+ content: string | undefined;
1060
+ }
1061
+ export interface UpdateCommentOutput {
1062
+ comment?: Comment | undefined;
1063
+ }
1064
+ export interface UpdateDefaultBranchInput {
1065
+ repositoryName: string | undefined;
1066
+ defaultBranchName: string | undefined;
1067
+ }
1068
+ export interface UpdatePullRequestApprovalRuleContentInput {
1069
+ pullRequestId: string | undefined;
1070
+ approvalRuleName: string | undefined;
1071
+ existingRuleContentSha256?: string | undefined;
1072
+ newRuleContent: string | undefined;
1073
+ }
1074
+ export interface UpdatePullRequestApprovalRuleContentOutput {
1075
+ approvalRule: ApprovalRule | undefined;
1076
+ }
1077
+ export interface UpdatePullRequestApprovalStateInput {
1078
+ pullRequestId: string | undefined;
1079
+ revisionId: string | undefined;
1080
+ approvalState: ApprovalState | undefined;
1081
+ }
1082
+ export interface UpdatePullRequestDescriptionInput {
1083
+ pullRequestId: string | undefined;
1084
+ description: string | undefined;
1085
+ }
1086
+ export interface UpdatePullRequestDescriptionOutput {
1087
+ pullRequest: PullRequest | undefined;
1088
+ }
1089
+ export interface UpdatePullRequestStatusInput {
1090
+ pullRequestId: string | undefined;
1091
+ pullRequestStatus: PullRequestStatusEnum | undefined;
1092
+ }
1093
+ export interface UpdatePullRequestStatusOutput {
1094
+ pullRequest: PullRequest | undefined;
1095
+ }
1096
+ export interface UpdatePullRequestTitleInput {
1097
+ pullRequestId: string | undefined;
1098
+ title: string | undefined;
1099
+ }
1100
+ export interface UpdatePullRequestTitleOutput {
1101
+ pullRequest: PullRequest | undefined;
1102
+ }
1103
+ export interface UpdateRepositoryDescriptionInput {
1104
+ repositoryName: string | undefined;
1105
+ repositoryDescription?: string | undefined;
1106
+ }
1107
+ export interface UpdateRepositoryEncryptionKeyInput {
1108
+ repositoryName: string | undefined;
1109
+ kmsKeyId: string | undefined;
1110
+ }
1111
+ export interface UpdateRepositoryEncryptionKeyOutput {
1112
+ repositoryId?: string | undefined;
1113
+ kmsKeyId?: string | undefined;
1114
+ originalKmsKeyId?: string | undefined;
1115
+ }
1116
+ export interface UpdateRepositoryNameInput {
1117
+ oldName: string | undefined;
1118
+ newName: string | undefined;
1119
+ }