@aws-sdk/client-codecommit 3.169.0 → 3.171.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 (108) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/ts3.4/CodeCommit.d.ts +1367 -390
  3. package/dist-types/ts3.4/CodeCommitClient.d.ts +566 -150
  4. package/dist-types/ts3.4/commands/AssociateApprovalRuleTemplateWithRepositoryCommand.d.ts +35 -17
  5. package/dist-types/ts3.4/commands/BatchAssociateApprovalRuleTemplateWithRepositoriesCommand.d.ts +41 -17
  6. package/dist-types/ts3.4/commands/BatchDescribeMergeConflictsCommand.d.ts +39 -17
  7. package/dist-types/ts3.4/commands/BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand.d.ts +41 -17
  8. package/dist-types/ts3.4/commands/BatchGetCommitsCommand.d.ts +35 -17
  9. package/dist-types/ts3.4/commands/BatchGetRepositoriesCommand.d.ts +39 -17
  10. package/dist-types/ts3.4/commands/CreateApprovalRuleTemplateCommand.d.ts +39 -17
  11. package/dist-types/ts3.4/commands/CreateBranchCommand.d.ts +30 -17
  12. package/dist-types/ts3.4/commands/CreateCommitCommand.d.ts +32 -17
  13. package/dist-types/ts3.4/commands/CreatePullRequestApprovalRuleCommand.d.ts +39 -17
  14. package/dist-types/ts3.4/commands/CreatePullRequestCommand.d.ts +35 -17
  15. package/dist-types/ts3.4/commands/CreateRepositoryCommand.d.ts +35 -17
  16. package/dist-types/ts3.4/commands/CreateUnreferencedMergeCommitCommand.d.ts +39 -17
  17. package/dist-types/ts3.4/commands/DeleteApprovalRuleTemplateCommand.d.ts +39 -17
  18. package/dist-types/ts3.4/commands/DeleteBranchCommand.d.ts +32 -17
  19. package/dist-types/ts3.4/commands/DeleteCommentContentCommand.d.ts +39 -17
  20. package/dist-types/ts3.4/commands/DeleteFileCommand.d.ts +32 -17
  21. package/dist-types/ts3.4/commands/DeletePullRequestApprovalRuleCommand.d.ts +39 -17
  22. package/dist-types/ts3.4/commands/DeleteRepositoryCommand.d.ts +35 -17
  23. package/dist-types/ts3.4/commands/DescribeMergeConflictsCommand.d.ts +39 -17
  24. package/dist-types/ts3.4/commands/DescribePullRequestEventsCommand.d.ts +39 -17
  25. package/dist-types/ts3.4/commands/DisassociateApprovalRuleTemplateFromRepositoryCommand.d.ts +37 -17
  26. package/dist-types/ts3.4/commands/EvaluatePullRequestApprovalRulesCommand.d.ts +39 -17
  27. package/dist-types/ts3.4/commands/GetApprovalRuleTemplateCommand.d.ts +39 -17
  28. package/dist-types/ts3.4/commands/GetBlobCommand.d.ts +30 -17
  29. package/dist-types/ts3.4/commands/GetBranchCommand.d.ts +32 -17
  30. package/dist-types/ts3.4/commands/GetCommentCommand.d.ts +32 -17
  31. package/dist-types/ts3.4/commands/GetCommentReactionsCommand.d.ts +36 -17
  32. package/dist-types/ts3.4/commands/GetCommentsForComparedCommitCommand.d.ts +39 -17
  33. package/dist-types/ts3.4/commands/GetCommentsForPullRequestCommand.d.ts +39 -17
  34. package/dist-types/ts3.4/commands/GetCommitCommand.d.ts +32 -17
  35. package/dist-types/ts3.4/commands/GetDifferencesCommand.d.ts +32 -17
  36. package/dist-types/ts3.4/commands/GetFileCommand.d.ts +30 -17
  37. package/dist-types/ts3.4/commands/GetFolderCommand.d.ts +32 -17
  38. package/dist-types/ts3.4/commands/GetMergeCommitCommand.d.ts +32 -17
  39. package/dist-types/ts3.4/commands/GetMergeConflictsCommand.d.ts +35 -17
  40. package/dist-types/ts3.4/commands/GetMergeOptionsCommand.d.ts +35 -17
  41. package/dist-types/ts3.4/commands/GetPullRequestApprovalStatesCommand.d.ts +39 -17
  42. package/dist-types/ts3.4/commands/GetPullRequestCommand.d.ts +32 -17
  43. package/dist-types/ts3.4/commands/GetPullRequestOverrideStateCommand.d.ts +39 -17
  44. package/dist-types/ts3.4/commands/GetRepositoryCommand.d.ts +32 -17
  45. package/dist-types/ts3.4/commands/GetRepositoryTriggersCommand.d.ts +39 -17
  46. package/dist-types/ts3.4/commands/ListApprovalRuleTemplatesCommand.d.ts +39 -17
  47. package/dist-types/ts3.4/commands/ListAssociatedApprovalRuleTemplatesForRepositoryCommand.d.ts +41 -17
  48. package/dist-types/ts3.4/commands/ListBranchesCommand.d.ts +32 -17
  49. package/dist-types/ts3.4/commands/ListPullRequestsCommand.d.ts +35 -17
  50. package/dist-types/ts3.4/commands/ListRepositoriesCommand.d.ts +35 -17
  51. package/dist-types/ts3.4/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +39 -17
  52. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +36 -17
  53. package/dist-types/ts3.4/commands/MergeBranchesByFastForwardCommand.d.ts +39 -17
  54. package/dist-types/ts3.4/commands/MergeBranchesBySquashCommand.d.ts +39 -17
  55. package/dist-types/ts3.4/commands/MergeBranchesByThreeWayCommand.d.ts +39 -17
  56. package/dist-types/ts3.4/commands/MergePullRequestByFastForwardCommand.d.ts +39 -17
  57. package/dist-types/ts3.4/commands/MergePullRequestBySquashCommand.d.ts +39 -17
  58. package/dist-types/ts3.4/commands/MergePullRequestByThreeWayCommand.d.ts +39 -17
  59. package/dist-types/ts3.4/commands/OverridePullRequestApprovalRulesCommand.d.ts +35 -17
  60. package/dist-types/ts3.4/commands/PostCommentForComparedCommitCommand.d.ts +39 -17
  61. package/dist-types/ts3.4/commands/PostCommentForPullRequestCommand.d.ts +39 -17
  62. package/dist-types/ts3.4/commands/PostCommentReplyCommand.d.ts +35 -17
  63. package/dist-types/ts3.4/commands/PutCommentReactionCommand.d.ts +31 -17
  64. package/dist-types/ts3.4/commands/PutFileCommand.d.ts +30 -17
  65. package/dist-types/ts3.4/commands/PutRepositoryTriggersCommand.d.ts +39 -17
  66. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +30 -17
  67. package/dist-types/ts3.4/commands/TestRepositoryTriggersCommand.d.ts +39 -17
  68. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +30 -17
  69. package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +39 -17
  70. package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +39 -17
  71. package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +39 -17
  72. package/dist-types/ts3.4/commands/UpdateCommentCommand.d.ts +32 -17
  73. package/dist-types/ts3.4/commands/UpdateDefaultBranchCommand.d.ts +31 -17
  74. package/dist-types/ts3.4/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +39 -17
  75. package/dist-types/ts3.4/commands/UpdatePullRequestApprovalStateCommand.d.ts +35 -17
  76. package/dist-types/ts3.4/commands/UpdatePullRequestDescriptionCommand.d.ts +39 -17
  77. package/dist-types/ts3.4/commands/UpdatePullRequestStatusCommand.d.ts +39 -17
  78. package/dist-types/ts3.4/commands/UpdatePullRequestTitleCommand.d.ts +39 -17
  79. package/dist-types/ts3.4/commands/UpdateRepositoryDescriptionCommand.d.ts +35 -17
  80. package/dist-types/ts3.4/commands/UpdateRepositoryNameCommand.d.ts +34 -17
  81. package/dist-types/ts3.4/commands/index.d.ts +77 -77
  82. package/dist-types/ts3.4/endpoints.d.ts +2 -2
  83. package/dist-types/ts3.4/index.d.ts +6 -6
  84. package/dist-types/ts3.4/models/CodeCommitServiceException.d.ts +7 -6
  85. package/dist-types/ts3.4/models/index.d.ts +2 -2
  86. package/dist-types/ts3.4/models/models_0.d.ts +2444 -2695
  87. package/dist-types/ts3.4/models/models_1.d.ts +837 -877
  88. package/dist-types/ts3.4/pagination/DescribeMergeConflictsPaginator.d.ts +11 -4
  89. package/dist-types/ts3.4/pagination/DescribePullRequestEventsPaginator.d.ts +11 -4
  90. package/dist-types/ts3.4/pagination/GetCommentReactionsPaginator.d.ts +11 -4
  91. package/dist-types/ts3.4/pagination/GetCommentsForComparedCommitPaginator.d.ts +11 -4
  92. package/dist-types/ts3.4/pagination/GetCommentsForPullRequestPaginator.d.ts +11 -4
  93. package/dist-types/ts3.4/pagination/GetDifferencesPaginator.d.ts +11 -4
  94. package/dist-types/ts3.4/pagination/GetMergeConflictsPaginator.d.ts +11 -4
  95. package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
  96. package/dist-types/ts3.4/pagination/ListApprovalRuleTemplatesPaginator.d.ts +11 -4
  97. package/dist-types/ts3.4/pagination/ListAssociatedApprovalRuleTemplatesForRepositoryPaginator.d.ts +11 -4
  98. package/dist-types/ts3.4/pagination/ListBranchesPaginator.d.ts +11 -4
  99. package/dist-types/ts3.4/pagination/ListPullRequestsPaginator.d.ts +11 -4
  100. package/dist-types/ts3.4/pagination/ListRepositoriesForApprovalRuleTemplatePaginator.d.ts +11 -4
  101. package/dist-types/ts3.4/pagination/ListRepositoriesPaginator.d.ts +11 -4
  102. package/dist-types/ts3.4/pagination/index.d.ts +14 -14
  103. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +929 -233
  104. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +65 -38
  105. package/dist-types/ts3.4/runtimeConfig.d.ts +65 -38
  106. package/dist-types/ts3.4/runtimeConfig.native.d.ts +66 -37
  107. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +10 -11
  108. package/package.json +34 -34
@@ -1,2695 +1,2444 @@
1
- import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
- import { CodeCommitServiceException as __BaseException } from "./CodeCommitServiceException";
3
-
4
- export declare class ActorDoesNotExistException extends __BaseException {
5
- readonly name: "ActorDoesNotExistException";
6
- readonly $fault: "client";
7
-
8
- constructor(opts: __ExceptionOptionType<ActorDoesNotExistException, __BaseException>);
9
- }
10
- export declare enum ApprovalState {
11
- APPROVE = "APPROVE",
12
- REVOKE = "REVOKE"
13
- }
14
-
15
- export interface Approval {
16
-
17
- userArn?: string;
18
-
19
- approvalState?: ApprovalState | string;
20
- }
21
-
22
- export interface OriginApprovalRuleTemplate {
23
-
24
- approvalRuleTemplateId?: string;
25
-
26
- approvalRuleTemplateName?: string;
27
- }
28
-
29
- export interface ApprovalRule {
30
-
31
- approvalRuleId?: string;
32
-
33
- approvalRuleName?: string;
34
-
35
- approvalRuleContent?: string;
36
-
37
- ruleContentSha256?: string;
38
-
39
- lastModifiedDate?: Date;
40
-
41
- creationDate?: Date;
42
-
43
- lastModifiedUser?: string;
44
-
45
- originApprovalRuleTemplate?: OriginApprovalRuleTemplate;
46
- }
47
-
48
- export declare class ApprovalRuleContentRequiredException extends __BaseException {
49
- readonly name: "ApprovalRuleContentRequiredException";
50
- readonly $fault: "client";
51
-
52
- constructor(opts: __ExceptionOptionType<ApprovalRuleContentRequiredException, __BaseException>);
53
- }
54
-
55
- export declare class ApprovalRuleDoesNotExistException extends __BaseException {
56
- readonly name: "ApprovalRuleDoesNotExistException";
57
- readonly $fault: "client";
58
-
59
- constructor(opts: __ExceptionOptionType<ApprovalRuleDoesNotExistException, __BaseException>);
60
- }
61
-
62
- export interface ApprovalRuleEventMetadata {
63
-
64
- approvalRuleName?: string;
65
-
66
- approvalRuleId?: string;
67
-
68
- approvalRuleContent?: string;
69
- }
70
-
71
- export declare class ApprovalRuleNameAlreadyExistsException extends __BaseException {
72
- readonly name: "ApprovalRuleNameAlreadyExistsException";
73
- readonly $fault: "client";
74
-
75
- constructor(opts: __ExceptionOptionType<ApprovalRuleNameAlreadyExistsException, __BaseException>);
76
- }
77
-
78
- export declare class ApprovalRuleNameRequiredException extends __BaseException {
79
- readonly name: "ApprovalRuleNameRequiredException";
80
- readonly $fault: "client";
81
-
82
- constructor(opts: __ExceptionOptionType<ApprovalRuleNameRequiredException, __BaseException>);
83
- }
84
- export declare enum OverrideStatus {
85
- OVERRIDE = "OVERRIDE",
86
- REVOKE = "REVOKE"
87
- }
88
-
89
- export interface ApprovalRuleOverriddenEventMetadata {
90
-
91
- revisionId?: string;
92
-
93
- overrideStatus?: OverrideStatus | string;
94
- }
95
-
96
- export interface ApprovalRuleTemplate {
97
-
98
- approvalRuleTemplateId?: string;
99
-
100
- approvalRuleTemplateName?: string;
101
-
102
- approvalRuleTemplateDescription?: string;
103
-
104
- approvalRuleTemplateContent?: string;
105
-
106
- ruleContentSha256?: string;
107
-
108
- lastModifiedDate?: Date;
109
-
110
- creationDate?: Date;
111
-
112
- lastModifiedUser?: string;
113
- }
114
-
115
- export declare class ApprovalRuleTemplateContentRequiredException extends __BaseException {
116
- readonly name: "ApprovalRuleTemplateContentRequiredException";
117
- readonly $fault: "client";
118
-
119
- constructor(opts: __ExceptionOptionType<ApprovalRuleTemplateContentRequiredException, __BaseException>);
120
- }
121
-
122
- export declare class ApprovalRuleTemplateDoesNotExistException extends __BaseException {
123
- readonly name: "ApprovalRuleTemplateDoesNotExistException";
124
- readonly $fault: "client";
125
-
126
- constructor(opts: __ExceptionOptionType<ApprovalRuleTemplateDoesNotExistException, __BaseException>);
127
- }
128
-
129
- export declare class ApprovalRuleTemplateInUseException extends __BaseException {
130
- readonly name: "ApprovalRuleTemplateInUseException";
131
- readonly $fault: "client";
132
-
133
- constructor(opts: __ExceptionOptionType<ApprovalRuleTemplateInUseException, __BaseException>);
134
- }
135
-
136
- export declare class ApprovalRuleTemplateNameAlreadyExistsException extends __BaseException {
137
- readonly name: "ApprovalRuleTemplateNameAlreadyExistsException";
138
- readonly $fault: "client";
139
-
140
- constructor(opts: __ExceptionOptionType<ApprovalRuleTemplateNameAlreadyExistsException, __BaseException>);
141
- }
142
-
143
- export declare class ApprovalRuleTemplateNameRequiredException extends __BaseException {
144
- readonly name: "ApprovalRuleTemplateNameRequiredException";
145
- readonly $fault: "client";
146
-
147
- constructor(opts: __ExceptionOptionType<ApprovalRuleTemplateNameRequiredException, __BaseException>);
148
- }
149
-
150
- export interface ApprovalStateChangedEventMetadata {
151
-
152
- revisionId?: string;
153
-
154
- approvalStatus?: ApprovalState | string;
155
- }
156
-
157
- export declare class ApprovalStateRequiredException extends __BaseException {
158
- readonly name: "ApprovalStateRequiredException";
159
- readonly $fault: "client";
160
-
161
- constructor(opts: __ExceptionOptionType<ApprovalStateRequiredException, __BaseException>);
162
- }
163
- export interface AssociateApprovalRuleTemplateWithRepositoryInput {
164
-
165
- approvalRuleTemplateName: string | undefined;
166
-
167
- repositoryName: string | undefined;
168
- }
169
-
170
- export declare class EncryptionIntegrityChecksFailedException extends __BaseException {
171
- readonly name: "EncryptionIntegrityChecksFailedException";
172
- readonly $fault: "server";
173
-
174
- constructor(opts: __ExceptionOptionType<EncryptionIntegrityChecksFailedException, __BaseException>);
175
- }
176
-
177
- export declare class EncryptionKeyAccessDeniedException extends __BaseException {
178
- readonly name: "EncryptionKeyAccessDeniedException";
179
- readonly $fault: "client";
180
-
181
- constructor(opts: __ExceptionOptionType<EncryptionKeyAccessDeniedException, __BaseException>);
182
- }
183
-
184
- export declare class EncryptionKeyDisabledException extends __BaseException {
185
- readonly name: "EncryptionKeyDisabledException";
186
- readonly $fault: "client";
187
-
188
- constructor(opts: __ExceptionOptionType<EncryptionKeyDisabledException, __BaseException>);
189
- }
190
-
191
- export declare class EncryptionKeyNotFoundException extends __BaseException {
192
- readonly name: "EncryptionKeyNotFoundException";
193
- readonly $fault: "client";
194
-
195
- constructor(opts: __ExceptionOptionType<EncryptionKeyNotFoundException, __BaseException>);
196
- }
197
-
198
- export declare class EncryptionKeyUnavailableException extends __BaseException {
199
- readonly name: "EncryptionKeyUnavailableException";
200
- readonly $fault: "client";
201
-
202
- constructor(opts: __ExceptionOptionType<EncryptionKeyUnavailableException, __BaseException>);
203
- }
204
-
205
- export declare class InvalidApprovalRuleTemplateNameException extends __BaseException {
206
- readonly name: "InvalidApprovalRuleTemplateNameException";
207
- readonly $fault: "client";
208
-
209
- constructor(opts: __ExceptionOptionType<InvalidApprovalRuleTemplateNameException, __BaseException>);
210
- }
211
-
212
- export declare class InvalidRepositoryNameException extends __BaseException {
213
- readonly name: "InvalidRepositoryNameException";
214
- readonly $fault: "client";
215
-
216
- constructor(opts: __ExceptionOptionType<InvalidRepositoryNameException, __BaseException>);
217
- }
218
-
219
- export declare class MaximumRuleTemplatesAssociatedWithRepositoryException extends __BaseException {
220
- readonly name: "MaximumRuleTemplatesAssociatedWithRepositoryException";
221
- readonly $fault: "client";
222
-
223
- constructor(opts: __ExceptionOptionType<MaximumRuleTemplatesAssociatedWithRepositoryException, __BaseException>);
224
- }
225
-
226
- export declare class RepositoryDoesNotExistException extends __BaseException {
227
- readonly name: "RepositoryDoesNotExistException";
228
- readonly $fault: "client";
229
-
230
- constructor(opts: __ExceptionOptionType<RepositoryDoesNotExistException, __BaseException>);
231
- }
232
-
233
- export declare class RepositoryNameRequiredException extends __BaseException {
234
- readonly name: "RepositoryNameRequiredException";
235
- readonly $fault: "client";
236
-
237
- constructor(opts: __ExceptionOptionType<RepositoryNameRequiredException, __BaseException>);
238
- }
239
-
240
- export declare class AuthorDoesNotExistException extends __BaseException {
241
- readonly name: "AuthorDoesNotExistException";
242
- readonly $fault: "client";
243
-
244
- constructor(opts: __ExceptionOptionType<AuthorDoesNotExistException, __BaseException>);
245
- }
246
- export interface BatchAssociateApprovalRuleTemplateWithRepositoriesInput {
247
-
248
- approvalRuleTemplateName: string | undefined;
249
-
250
- repositoryNames: string[] | undefined;
251
- }
252
-
253
- export interface BatchAssociateApprovalRuleTemplateWithRepositoriesError {
254
-
255
- repositoryName?: string;
256
-
257
- errorCode?: string;
258
-
259
- errorMessage?: string;
260
- }
261
- export interface BatchAssociateApprovalRuleTemplateWithRepositoriesOutput {
262
-
263
- associatedRepositoryNames: string[] | undefined;
264
-
265
- errors: BatchAssociateApprovalRuleTemplateWithRepositoriesError[] | undefined;
266
- }
267
-
268
- export declare class MaximumRepositoryNamesExceededException extends __BaseException {
269
- readonly name: "MaximumRepositoryNamesExceededException";
270
- readonly $fault: "client";
271
-
272
- constructor(opts: __ExceptionOptionType<MaximumRepositoryNamesExceededException, __BaseException>);
273
- }
274
-
275
- export declare class RepositoryNamesRequiredException extends __BaseException {
276
- readonly name: "RepositoryNamesRequiredException";
277
- readonly $fault: "client";
278
-
279
- constructor(opts: __ExceptionOptionType<RepositoryNamesRequiredException, __BaseException>);
280
- }
281
- export declare enum ConflictDetailLevelTypeEnum {
282
- FILE_LEVEL = "FILE_LEVEL",
283
- LINE_LEVEL = "LINE_LEVEL"
284
- }
285
- export declare enum ConflictResolutionStrategyTypeEnum {
286
- ACCEPT_DESTINATION = "ACCEPT_DESTINATION",
287
- ACCEPT_SOURCE = "ACCEPT_SOURCE",
288
- AUTOMERGE = "AUTOMERGE",
289
- NONE = "NONE"
290
- }
291
- export declare enum MergeOptionTypeEnum {
292
- FAST_FORWARD_MERGE = "FAST_FORWARD_MERGE",
293
- SQUASH_MERGE = "SQUASH_MERGE",
294
- THREE_WAY_MERGE = "THREE_WAY_MERGE"
295
- }
296
- export interface BatchDescribeMergeConflictsInput {
297
-
298
- repositoryName: string | undefined;
299
-
300
- destinationCommitSpecifier: string | undefined;
301
-
302
- sourceCommitSpecifier: string | undefined;
303
-
304
- mergeOption: MergeOptionTypeEnum | string | undefined;
305
-
306
- maxMergeHunks?: number;
307
-
308
- maxConflictFiles?: number;
309
-
310
- filePaths?: string[];
311
-
312
- conflictDetailLevel?: ConflictDetailLevelTypeEnum | string;
313
-
314
- conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | string;
315
-
316
- nextToken?: string;
317
- }
318
- export declare enum FileModeTypeEnum {
319
- EXECUTABLE = "EXECUTABLE",
320
- NORMAL = "NORMAL",
321
- SYMLINK = "SYMLINK"
322
- }
323
-
324
- export interface FileModes {
325
-
326
- source?: FileModeTypeEnum | string;
327
-
328
- destination?: FileModeTypeEnum | string;
329
-
330
- base?: FileModeTypeEnum | string;
331
- }
332
-
333
- export interface FileSizes {
334
-
335
- source?: number;
336
-
337
- destination?: number;
338
-
339
- base?: number;
340
- }
341
-
342
- export interface IsBinaryFile {
343
-
344
- source?: boolean;
345
-
346
- destination?: boolean;
347
-
348
- base?: boolean;
349
- }
350
- export declare enum ChangeTypeEnum {
351
- ADDED = "A",
352
- DELETED = "D",
353
- MODIFIED = "M"
354
- }
355
-
356
- export interface MergeOperations {
357
-
358
- source?: ChangeTypeEnum | string;
359
-
360
- destination?: ChangeTypeEnum | string;
361
- }
362
- export declare enum ObjectTypeEnum {
363
- DIRECTORY = "DIRECTORY",
364
- FILE = "FILE",
365
- GIT_LINK = "GIT_LINK",
366
- SYMBOLIC_LINK = "SYMBOLIC_LINK"
367
- }
368
-
369
- export interface ObjectTypes {
370
-
371
- source?: ObjectTypeEnum | string;
372
-
373
- destination?: ObjectTypeEnum | string;
374
-
375
- base?: ObjectTypeEnum | string;
376
- }
377
-
378
- export interface ConflictMetadata {
379
-
380
- filePath?: string;
381
-
382
- fileSizes?: FileSizes;
383
-
384
- fileModes?: FileModes;
385
-
386
- objectTypes?: ObjectTypes;
387
-
388
- numberOfConflicts?: number;
389
-
390
- isBinaryFile?: IsBinaryFile;
391
-
392
- contentConflict?: boolean;
393
-
394
- fileModeConflict?: boolean;
395
-
396
- objectTypeConflict?: boolean;
397
-
398
- mergeOperations?: MergeOperations;
399
- }
400
-
401
- export interface MergeHunkDetail {
402
-
403
- startLine?: number;
404
-
405
- endLine?: number;
406
-
407
- hunkContent?: string;
408
- }
409
-
410
- export interface MergeHunk {
411
-
412
- isConflict?: boolean;
413
-
414
- source?: MergeHunkDetail;
415
-
416
- destination?: MergeHunkDetail;
417
-
418
- base?: MergeHunkDetail;
419
- }
420
-
421
- export interface Conflict {
422
-
423
- conflictMetadata?: ConflictMetadata;
424
-
425
- mergeHunks?: MergeHunk[];
426
- }
427
-
428
- export interface BatchDescribeMergeConflictsError {
429
-
430
- filePath: string | undefined;
431
-
432
- exceptionName: string | undefined;
433
-
434
- message: string | undefined;
435
- }
436
- export interface BatchDescribeMergeConflictsOutput {
437
-
438
- conflicts: Conflict[] | undefined;
439
-
440
- nextToken?: string;
441
-
442
- errors?: BatchDescribeMergeConflictsError[];
443
-
444
- destinationCommitId: string | undefined;
445
-
446
- sourceCommitId: string | undefined;
447
-
448
- baseCommitId?: string;
449
- }
450
-
451
- export declare class CommitDoesNotExistException extends __BaseException {
452
- readonly name: "CommitDoesNotExistException";
453
- readonly $fault: "client";
454
-
455
- constructor(opts: __ExceptionOptionType<CommitDoesNotExistException, __BaseException>);
456
- }
457
-
458
- export declare class CommitRequiredException extends __BaseException {
459
- readonly name: "CommitRequiredException";
460
- readonly $fault: "client";
461
-
462
- constructor(opts: __ExceptionOptionType<CommitRequiredException, __BaseException>);
463
- }
464
-
465
- export declare class InvalidCommitException extends __BaseException {
466
- readonly name: "InvalidCommitException";
467
- readonly $fault: "client";
468
-
469
- constructor(opts: __ExceptionOptionType<InvalidCommitException, __BaseException>);
470
- }
471
-
472
- export declare class InvalidConflictDetailLevelException extends __BaseException {
473
- readonly name: "InvalidConflictDetailLevelException";
474
- readonly $fault: "client";
475
-
476
- constructor(opts: __ExceptionOptionType<InvalidConflictDetailLevelException, __BaseException>);
477
- }
478
-
479
- export declare class InvalidConflictResolutionStrategyException extends __BaseException {
480
- readonly name: "InvalidConflictResolutionStrategyException";
481
- readonly $fault: "client";
482
-
483
- constructor(opts: __ExceptionOptionType<InvalidConflictResolutionStrategyException, __BaseException>);
484
- }
485
-
486
- export declare class InvalidContinuationTokenException extends __BaseException {
487
- readonly name: "InvalidContinuationTokenException";
488
- readonly $fault: "client";
489
-
490
- constructor(opts: __ExceptionOptionType<InvalidContinuationTokenException, __BaseException>);
491
- }
492
-
493
- export declare class InvalidMaxConflictFilesException extends __BaseException {
494
- readonly name: "InvalidMaxConflictFilesException";
495
- readonly $fault: "client";
496
-
497
- constructor(opts: __ExceptionOptionType<InvalidMaxConflictFilesException, __BaseException>);
498
- }
499
-
500
- export declare class InvalidMaxMergeHunksException extends __BaseException {
501
- readonly name: "InvalidMaxMergeHunksException";
502
- readonly $fault: "client";
503
-
504
- constructor(opts: __ExceptionOptionType<InvalidMaxMergeHunksException, __BaseException>);
505
- }
506
-
507
- export declare class InvalidMergeOptionException extends __BaseException {
508
- readonly name: "InvalidMergeOptionException";
509
- readonly $fault: "client";
510
-
511
- constructor(opts: __ExceptionOptionType<InvalidMergeOptionException, __BaseException>);
512
- }
513
-
514
- export declare class MaximumFileContentToLoadExceededException extends __BaseException {
515
- readonly name: "MaximumFileContentToLoadExceededException";
516
- readonly $fault: "client";
517
-
518
- constructor(opts: __ExceptionOptionType<MaximumFileContentToLoadExceededException, __BaseException>);
519
- }
520
-
521
- export declare class MaximumItemsToCompareExceededException extends __BaseException {
522
- readonly name: "MaximumItemsToCompareExceededException";
523
- readonly $fault: "client";
524
-
525
- constructor(opts: __ExceptionOptionType<MaximumItemsToCompareExceededException, __BaseException>);
526
- }
527
-
528
- export declare class MergeOptionRequiredException extends __BaseException {
529
- readonly name: "MergeOptionRequiredException";
530
- readonly $fault: "client";
531
-
532
- constructor(opts: __ExceptionOptionType<MergeOptionRequiredException, __BaseException>);
533
- }
534
-
535
- export declare class TipsDivergenceExceededException extends __BaseException {
536
- readonly name: "TipsDivergenceExceededException";
537
- readonly $fault: "client";
538
-
539
- constructor(opts: __ExceptionOptionType<TipsDivergenceExceededException, __BaseException>);
540
- }
541
- export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesInput {
542
-
543
- approvalRuleTemplateName: string | undefined;
544
-
545
- repositoryNames: string[] | undefined;
546
- }
547
-
548
- export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesError {
549
-
550
- repositoryName?: string;
551
-
552
- errorCode?: string;
553
-
554
- errorMessage?: string;
555
- }
556
- export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput {
557
-
558
- disassociatedRepositoryNames: string[] | undefined;
559
-
560
- errors: BatchDisassociateApprovalRuleTemplateFromRepositoriesError[] | undefined;
561
- }
562
- export interface BatchGetCommitsInput {
563
-
564
- commitIds: string[] | undefined;
565
-
566
- repositoryName: string | undefined;
567
- }
568
-
569
- export interface UserInfo {
570
-
571
- name?: string;
572
-
573
- email?: string;
574
-
575
- date?: string;
576
- }
577
-
578
- export interface Commit {
579
-
580
- commitId?: string;
581
-
582
- treeId?: string;
583
-
584
- parents?: string[];
585
-
586
- message?: string;
587
-
588
- author?: UserInfo;
589
-
590
- committer?: UserInfo;
591
-
592
- additionalData?: string;
593
- }
594
-
595
- export interface BatchGetCommitsError {
596
-
597
- commitId?: string;
598
-
599
- errorCode?: string;
600
-
601
- errorMessage?: string;
602
- }
603
- export interface BatchGetCommitsOutput {
604
-
605
- commits?: Commit[];
606
-
607
- errors?: BatchGetCommitsError[];
608
- }
609
-
610
- export declare class CommitIdsLimitExceededException extends __BaseException {
611
- readonly name: "CommitIdsLimitExceededException";
612
- readonly $fault: "client";
613
-
614
- constructor(opts: __ExceptionOptionType<CommitIdsLimitExceededException, __BaseException>);
615
- }
616
-
617
- export declare class CommitIdsListRequiredException extends __BaseException {
618
- readonly name: "CommitIdsListRequiredException";
619
- readonly $fault: "client";
620
-
621
- constructor(opts: __ExceptionOptionType<CommitIdsListRequiredException, __BaseException>);
622
- }
623
-
624
- export interface BatchGetRepositoriesInput {
625
-
626
- repositoryNames: string[] | undefined;
627
- }
628
-
629
- export interface RepositoryMetadata {
630
-
631
- accountId?: string;
632
-
633
- repositoryId?: string;
634
-
635
- repositoryName?: string;
636
-
637
- repositoryDescription?: string;
638
-
639
- defaultBranch?: string;
640
-
641
- lastModifiedDate?: Date;
642
-
643
- creationDate?: Date;
644
-
645
- cloneUrlHttp?: string;
646
-
647
- cloneUrlSsh?: string;
648
-
649
- Arn?: string;
650
- }
651
-
652
- export interface BatchGetRepositoriesOutput {
653
-
654
- repositories?: RepositoryMetadata[];
655
-
656
- repositoriesNotFound?: string[];
657
- }
658
-
659
- export declare class BeforeCommitIdAndAfterCommitIdAreSameException extends __BaseException {
660
- readonly name: "BeforeCommitIdAndAfterCommitIdAreSameException";
661
- readonly $fault: "client";
662
-
663
- constructor(opts: __ExceptionOptionType<BeforeCommitIdAndAfterCommitIdAreSameException, __BaseException>);
664
- }
665
-
666
- export declare class BlobIdDoesNotExistException extends __BaseException {
667
- readonly name: "BlobIdDoesNotExistException";
668
- readonly $fault: "client";
669
-
670
- constructor(opts: __ExceptionOptionType<BlobIdDoesNotExistException, __BaseException>);
671
- }
672
-
673
- export declare class BlobIdRequiredException extends __BaseException {
674
- readonly name: "BlobIdRequiredException";
675
- readonly $fault: "client";
676
-
677
- constructor(opts: __ExceptionOptionType<BlobIdRequiredException, __BaseException>);
678
- }
679
-
680
- export interface BlobMetadata {
681
-
682
- blobId?: string;
683
-
684
- path?: string;
685
-
686
- mode?: string;
687
- }
688
-
689
- export declare class BranchDoesNotExistException extends __BaseException {
690
- readonly name: "BranchDoesNotExistException";
691
- readonly $fault: "client";
692
-
693
- constructor(opts: __ExceptionOptionType<BranchDoesNotExistException, __BaseException>);
694
- }
695
-
696
- export interface BranchInfo {
697
-
698
- branchName?: string;
699
-
700
- commitId?: string;
701
- }
702
-
703
- export declare class BranchNameExistsException extends __BaseException {
704
- readonly name: "BranchNameExistsException";
705
- readonly $fault: "client";
706
-
707
- constructor(opts: __ExceptionOptionType<BranchNameExistsException, __BaseException>);
708
- }
709
-
710
- export declare class BranchNameIsTagNameException extends __BaseException {
711
- readonly name: "BranchNameIsTagNameException";
712
- readonly $fault: "client";
713
-
714
- constructor(opts: __ExceptionOptionType<BranchNameIsTagNameException, __BaseException>);
715
- }
716
-
717
- export declare class BranchNameRequiredException extends __BaseException {
718
- readonly name: "BranchNameRequiredException";
719
- readonly $fault: "client";
720
-
721
- constructor(opts: __ExceptionOptionType<BranchNameRequiredException, __BaseException>);
722
- }
723
-
724
- export declare class CannotDeleteApprovalRuleFromTemplateException extends __BaseException {
725
- readonly name: "CannotDeleteApprovalRuleFromTemplateException";
726
- readonly $fault: "client";
727
-
728
- constructor(opts: __ExceptionOptionType<CannotDeleteApprovalRuleFromTemplateException, __BaseException>);
729
- }
730
-
731
- export declare class CannotModifyApprovalRuleFromTemplateException extends __BaseException {
732
- readonly name: "CannotModifyApprovalRuleFromTemplateException";
733
- readonly $fault: "client";
734
-
735
- constructor(opts: __ExceptionOptionType<CannotModifyApprovalRuleFromTemplateException, __BaseException>);
736
- }
737
-
738
- export declare class ClientRequestTokenRequiredException extends __BaseException {
739
- readonly name: "ClientRequestTokenRequiredException";
740
- readonly $fault: "client";
741
-
742
- constructor(opts: __ExceptionOptionType<ClientRequestTokenRequiredException, __BaseException>);
743
- }
744
- export interface CreateApprovalRuleTemplateInput {
745
-
746
- approvalRuleTemplateName: string | undefined;
747
-
748
- approvalRuleTemplateContent: string | undefined;
749
-
750
- approvalRuleTemplateDescription?: string;
751
- }
752
- export interface CreateApprovalRuleTemplateOutput {
753
-
754
- approvalRuleTemplate: ApprovalRuleTemplate | undefined;
755
- }
756
-
757
- export declare class InvalidApprovalRuleTemplateContentException extends __BaseException {
758
- readonly name: "InvalidApprovalRuleTemplateContentException";
759
- readonly $fault: "client";
760
-
761
- constructor(opts: __ExceptionOptionType<InvalidApprovalRuleTemplateContentException, __BaseException>);
762
- }
763
-
764
- export declare class InvalidApprovalRuleTemplateDescriptionException extends __BaseException {
765
- readonly name: "InvalidApprovalRuleTemplateDescriptionException";
766
- readonly $fault: "client";
767
-
768
- constructor(opts: __ExceptionOptionType<InvalidApprovalRuleTemplateDescriptionException, __BaseException>);
769
- }
770
-
771
- export declare class NumberOfRuleTemplatesExceededException extends __BaseException {
772
- readonly name: "NumberOfRuleTemplatesExceededException";
773
- readonly $fault: "client";
774
-
775
- constructor(opts: __ExceptionOptionType<NumberOfRuleTemplatesExceededException, __BaseException>);
776
- }
777
-
778
- export declare class CommitIdRequiredException extends __BaseException {
779
- readonly name: "CommitIdRequiredException";
780
- readonly $fault: "client";
781
-
782
- constructor(opts: __ExceptionOptionType<CommitIdRequiredException, __BaseException>);
783
- }
784
-
785
- export interface CreateBranchInput {
786
-
787
- repositoryName: string | undefined;
788
-
789
- branchName: string | undefined;
790
-
791
- commitId: string | undefined;
792
- }
793
-
794
- export declare class InvalidBranchNameException extends __BaseException {
795
- readonly name: "InvalidBranchNameException";
796
- readonly $fault: "client";
797
-
798
- constructor(opts: __ExceptionOptionType<InvalidBranchNameException, __BaseException>);
799
- }
800
-
801
- export declare class InvalidCommitIdException extends __BaseException {
802
- readonly name: "InvalidCommitIdException";
803
- readonly $fault: "client";
804
-
805
- constructor(opts: __ExceptionOptionType<InvalidCommitIdException, __BaseException>);
806
- }
807
-
808
- export declare class CommitMessageLengthExceededException extends __BaseException {
809
- readonly name: "CommitMessageLengthExceededException";
810
- readonly $fault: "client";
811
-
812
- constructor(opts: __ExceptionOptionType<CommitMessageLengthExceededException, __BaseException>);
813
- }
814
-
815
- export interface DeleteFileEntry {
816
-
817
- filePath: string | undefined;
818
- }
819
-
820
- export interface SourceFileSpecifier {
821
-
822
- filePath: string | undefined;
823
-
824
- isMove?: boolean;
825
- }
826
-
827
- export interface PutFileEntry {
828
-
829
- filePath: string | undefined;
830
-
831
- fileMode?: FileModeTypeEnum | string;
832
-
833
- fileContent?: Uint8Array;
834
-
835
- sourceFile?: SourceFileSpecifier;
836
- }
837
-
838
- export interface SetFileModeEntry {
839
-
840
- filePath: string | undefined;
841
-
842
- fileMode: FileModeTypeEnum | string | undefined;
843
- }
844
- export interface CreateCommitInput {
845
-
846
- repositoryName: string | undefined;
847
-
848
- branchName: string | undefined;
849
-
850
- parentCommitId?: string;
851
-
852
- authorName?: string;
853
-
854
- email?: string;
855
-
856
- commitMessage?: string;
857
-
858
- keepEmptyFolders?: boolean;
859
-
860
- putFiles?: PutFileEntry[];
861
-
862
- deleteFiles?: DeleteFileEntry[];
863
-
864
- setFileModes?: SetFileModeEntry[];
865
- }
866
-
867
- export interface FileMetadata {
868
-
869
- absolutePath?: string;
870
-
871
- blobId?: string;
872
-
873
- fileMode?: FileModeTypeEnum | string;
874
- }
875
- export interface CreateCommitOutput {
876
-
877
- commitId?: string;
878
-
879
- treeId?: string;
880
-
881
- filesAdded?: FileMetadata[];
882
-
883
- filesUpdated?: FileMetadata[];
884
-
885
- filesDeleted?: FileMetadata[];
886
- }
887
-
888
- export declare class DirectoryNameConflictsWithFileNameException extends __BaseException {
889
- readonly name: "DirectoryNameConflictsWithFileNameException";
890
- readonly $fault: "client";
891
-
892
- constructor(opts: __ExceptionOptionType<DirectoryNameConflictsWithFileNameException, __BaseException>);
893
- }
894
-
895
- export declare class FileContentAndSourceFileSpecifiedException extends __BaseException {
896
- readonly name: "FileContentAndSourceFileSpecifiedException";
897
- readonly $fault: "client";
898
-
899
- constructor(opts: __ExceptionOptionType<FileContentAndSourceFileSpecifiedException, __BaseException>);
900
- }
901
-
902
- export declare class FileContentSizeLimitExceededException extends __BaseException {
903
- readonly name: "FileContentSizeLimitExceededException";
904
- readonly $fault: "client";
905
-
906
- constructor(opts: __ExceptionOptionType<FileContentSizeLimitExceededException, __BaseException>);
907
- }
908
-
909
- export declare class FileDoesNotExistException extends __BaseException {
910
- readonly name: "FileDoesNotExistException";
911
- readonly $fault: "client";
912
-
913
- constructor(opts: __ExceptionOptionType<FileDoesNotExistException, __BaseException>);
914
- }
915
-
916
- export declare class FileEntryRequiredException extends __BaseException {
917
- readonly name: "FileEntryRequiredException";
918
- readonly $fault: "client";
919
-
920
- constructor(opts: __ExceptionOptionType<FileEntryRequiredException, __BaseException>);
921
- }
922
-
923
- export declare class FileModeRequiredException extends __BaseException {
924
- readonly name: "FileModeRequiredException";
925
- readonly $fault: "client";
926
-
927
- constructor(opts: __ExceptionOptionType<FileModeRequiredException, __BaseException>);
928
- }
929
-
930
- export declare class FileNameConflictsWithDirectoryNameException extends __BaseException {
931
- readonly name: "FileNameConflictsWithDirectoryNameException";
932
- readonly $fault: "client";
933
-
934
- constructor(opts: __ExceptionOptionType<FileNameConflictsWithDirectoryNameException, __BaseException>);
935
- }
936
-
937
- export declare class FilePathConflictsWithSubmodulePathException extends __BaseException {
938
- readonly name: "FilePathConflictsWithSubmodulePathException";
939
- readonly $fault: "client";
940
-
941
- constructor(opts: __ExceptionOptionType<FilePathConflictsWithSubmodulePathException, __BaseException>);
942
- }
943
-
944
- export declare class FolderContentSizeLimitExceededException extends __BaseException {
945
- readonly name: "FolderContentSizeLimitExceededException";
946
- readonly $fault: "client";
947
-
948
- constructor(opts: __ExceptionOptionType<FolderContentSizeLimitExceededException, __BaseException>);
949
- }
950
-
951
- export declare class InvalidDeletionParameterException extends __BaseException {
952
- readonly name: "InvalidDeletionParameterException";
953
- readonly $fault: "client";
954
-
955
- constructor(opts: __ExceptionOptionType<InvalidDeletionParameterException, __BaseException>);
956
- }
957
-
958
- export declare class InvalidEmailException extends __BaseException {
959
- readonly name: "InvalidEmailException";
960
- readonly $fault: "client";
961
-
962
- constructor(opts: __ExceptionOptionType<InvalidEmailException, __BaseException>);
963
- }
964
-
965
- export declare class InvalidFileModeException extends __BaseException {
966
- readonly name: "InvalidFileModeException";
967
- readonly $fault: "client";
968
-
969
- constructor(opts: __ExceptionOptionType<InvalidFileModeException, __BaseException>);
970
- }
971
-
972
- export declare class InvalidParentCommitIdException extends __BaseException {
973
- readonly name: "InvalidParentCommitIdException";
974
- readonly $fault: "client";
975
-
976
- constructor(opts: __ExceptionOptionType<InvalidParentCommitIdException, __BaseException>);
977
- }
978
-
979
- export declare class InvalidPathException extends __BaseException {
980
- readonly name: "InvalidPathException";
981
- readonly $fault: "client";
982
-
983
- constructor(opts: __ExceptionOptionType<InvalidPathException, __BaseException>);
984
- }
985
-
986
- export declare class MaximumFileEntriesExceededException extends __BaseException {
987
- readonly name: "MaximumFileEntriesExceededException";
988
- readonly $fault: "client";
989
-
990
- constructor(opts: __ExceptionOptionType<MaximumFileEntriesExceededException, __BaseException>);
991
- }
992
-
993
- export declare class NameLengthExceededException extends __BaseException {
994
- readonly name: "NameLengthExceededException";
995
- readonly $fault: "client";
996
-
997
- constructor(opts: __ExceptionOptionType<NameLengthExceededException, __BaseException>);
998
- }
999
-
1000
- export declare class NoChangeException extends __BaseException {
1001
- readonly name: "NoChangeException";
1002
- readonly $fault: "client";
1003
-
1004
- constructor(opts: __ExceptionOptionType<NoChangeException, __BaseException>);
1005
- }
1006
-
1007
- export declare class ParentCommitDoesNotExistException extends __BaseException {
1008
- readonly name: "ParentCommitDoesNotExistException";
1009
- readonly $fault: "client";
1010
-
1011
- constructor(opts: __ExceptionOptionType<ParentCommitDoesNotExistException, __BaseException>);
1012
- }
1013
-
1014
- export declare class ParentCommitIdOutdatedException extends __BaseException {
1015
- readonly name: "ParentCommitIdOutdatedException";
1016
- readonly $fault: "client";
1017
-
1018
- constructor(opts: __ExceptionOptionType<ParentCommitIdOutdatedException, __BaseException>);
1019
- }
1020
-
1021
- export declare class ParentCommitIdRequiredException extends __BaseException {
1022
- readonly name: "ParentCommitIdRequiredException";
1023
- readonly $fault: "client";
1024
-
1025
- constructor(opts: __ExceptionOptionType<ParentCommitIdRequiredException, __BaseException>);
1026
- }
1027
-
1028
- export declare class PathRequiredException extends __BaseException {
1029
- readonly name: "PathRequiredException";
1030
- readonly $fault: "client";
1031
-
1032
- constructor(opts: __ExceptionOptionType<PathRequiredException, __BaseException>);
1033
- }
1034
-
1035
- export declare class PutFileEntryConflictException extends __BaseException {
1036
- readonly name: "PutFileEntryConflictException";
1037
- readonly $fault: "client";
1038
-
1039
- constructor(opts: __ExceptionOptionType<PutFileEntryConflictException, __BaseException>);
1040
- }
1041
-
1042
- export declare class RestrictedSourceFileException extends __BaseException {
1043
- readonly name: "RestrictedSourceFileException";
1044
- readonly $fault: "client";
1045
-
1046
- constructor(opts: __ExceptionOptionType<RestrictedSourceFileException, __BaseException>);
1047
- }
1048
-
1049
- export declare class SamePathRequestException extends __BaseException {
1050
- readonly name: "SamePathRequestException";
1051
- readonly $fault: "client";
1052
-
1053
- constructor(opts: __ExceptionOptionType<SamePathRequestException, __BaseException>);
1054
- }
1055
-
1056
- export declare class SourceFileOrContentRequiredException extends __BaseException {
1057
- readonly name: "SourceFileOrContentRequiredException";
1058
- readonly $fault: "client";
1059
-
1060
- constructor(opts: __ExceptionOptionType<SourceFileOrContentRequiredException, __BaseException>);
1061
- }
1062
-
1063
- export interface Target {
1064
-
1065
- repositoryName: string | undefined;
1066
-
1067
- sourceReference: string | undefined;
1068
-
1069
- destinationReference?: string;
1070
- }
1071
- export interface CreatePullRequestInput {
1072
-
1073
- title: string | undefined;
1074
-
1075
- description?: string;
1076
-
1077
- targets: Target[] | undefined;
1078
-
1079
- clientRequestToken?: string;
1080
- }
1081
- export declare enum PullRequestStatusEnum {
1082
- CLOSED = "CLOSED",
1083
- OPEN = "OPEN"
1084
- }
1085
-
1086
- export interface MergeMetadata {
1087
-
1088
- isMerged?: boolean;
1089
-
1090
- mergedBy?: string;
1091
-
1092
- mergeCommitId?: string;
1093
-
1094
- mergeOption?: MergeOptionTypeEnum | string;
1095
- }
1096
-
1097
- export interface PullRequestTarget {
1098
-
1099
- repositoryName?: string;
1100
-
1101
- sourceReference?: string;
1102
-
1103
- destinationReference?: string;
1104
-
1105
- destinationCommit?: string;
1106
-
1107
- sourceCommit?: string;
1108
-
1109
- mergeBase?: string;
1110
-
1111
- mergeMetadata?: MergeMetadata;
1112
- }
1113
-
1114
- export interface PullRequest {
1115
-
1116
- pullRequestId?: string;
1117
-
1118
- title?: string;
1119
-
1120
- description?: string;
1121
-
1122
- lastActivityDate?: Date;
1123
-
1124
- creationDate?: Date;
1125
-
1126
- pullRequestStatus?: PullRequestStatusEnum | string;
1127
-
1128
- authorArn?: string;
1129
-
1130
- pullRequestTargets?: PullRequestTarget[];
1131
-
1132
- clientRequestToken?: string;
1133
-
1134
- revisionId?: string;
1135
-
1136
- approvalRules?: ApprovalRule[];
1137
- }
1138
- export interface CreatePullRequestOutput {
1139
-
1140
- pullRequest: PullRequest | undefined;
1141
- }
1142
-
1143
- export declare class IdempotencyParameterMismatchException extends __BaseException {
1144
- readonly name: "IdempotencyParameterMismatchException";
1145
- readonly $fault: "client";
1146
-
1147
- constructor(opts: __ExceptionOptionType<IdempotencyParameterMismatchException, __BaseException>);
1148
- }
1149
-
1150
- export declare class InvalidClientRequestTokenException extends __BaseException {
1151
- readonly name: "InvalidClientRequestTokenException";
1152
- readonly $fault: "client";
1153
-
1154
- constructor(opts: __ExceptionOptionType<InvalidClientRequestTokenException, __BaseException>);
1155
- }
1156
-
1157
- export declare class InvalidDescriptionException extends __BaseException {
1158
- readonly name: "InvalidDescriptionException";
1159
- readonly $fault: "client";
1160
-
1161
- constructor(opts: __ExceptionOptionType<InvalidDescriptionException, __BaseException>);
1162
- }
1163
-
1164
- export declare class InvalidReferenceNameException extends __BaseException {
1165
- readonly name: "InvalidReferenceNameException";
1166
- readonly $fault: "client";
1167
-
1168
- constructor(opts: __ExceptionOptionType<InvalidReferenceNameException, __BaseException>);
1169
- }
1170
-
1171
- export declare class InvalidTargetException extends __BaseException {
1172
- readonly name: "InvalidTargetException";
1173
- readonly $fault: "client";
1174
-
1175
- constructor(opts: __ExceptionOptionType<InvalidTargetException, __BaseException>);
1176
- }
1177
-
1178
- export declare class InvalidTargetsException extends __BaseException {
1179
- readonly name: "InvalidTargetsException";
1180
- readonly $fault: "client";
1181
-
1182
- constructor(opts: __ExceptionOptionType<InvalidTargetsException, __BaseException>);
1183
- }
1184
-
1185
- export declare class InvalidTitleException extends __BaseException {
1186
- readonly name: "InvalidTitleException";
1187
- readonly $fault: "client";
1188
-
1189
- constructor(opts: __ExceptionOptionType<InvalidTitleException, __BaseException>);
1190
- }
1191
-
1192
- export declare class MaximumOpenPullRequestsExceededException extends __BaseException {
1193
- readonly name: "MaximumOpenPullRequestsExceededException";
1194
- readonly $fault: "client";
1195
-
1196
- constructor(opts: __ExceptionOptionType<MaximumOpenPullRequestsExceededException, __BaseException>);
1197
- }
1198
-
1199
- export declare class MultipleRepositoriesInPullRequestException extends __BaseException {
1200
- readonly name: "MultipleRepositoriesInPullRequestException";
1201
- readonly $fault: "client";
1202
-
1203
- constructor(opts: __ExceptionOptionType<MultipleRepositoriesInPullRequestException, __BaseException>);
1204
- }
1205
-
1206
- export declare class ReferenceDoesNotExistException extends __BaseException {
1207
- readonly name: "ReferenceDoesNotExistException";
1208
- readonly $fault: "client";
1209
-
1210
- constructor(opts: __ExceptionOptionType<ReferenceDoesNotExistException, __BaseException>);
1211
- }
1212
-
1213
- export declare class ReferenceNameRequiredException extends __BaseException {
1214
- readonly name: "ReferenceNameRequiredException";
1215
- readonly $fault: "client";
1216
-
1217
- constructor(opts: __ExceptionOptionType<ReferenceNameRequiredException, __BaseException>);
1218
- }
1219
-
1220
- export declare class ReferenceTypeNotSupportedException extends __BaseException {
1221
- readonly name: "ReferenceTypeNotSupportedException";
1222
- readonly $fault: "client";
1223
-
1224
- constructor(opts: __ExceptionOptionType<ReferenceTypeNotSupportedException, __BaseException>);
1225
- }
1226
-
1227
- export declare class SourceAndDestinationAreSameException extends __BaseException {
1228
- readonly name: "SourceAndDestinationAreSameException";
1229
- readonly $fault: "client";
1230
-
1231
- constructor(opts: __ExceptionOptionType<SourceAndDestinationAreSameException, __BaseException>);
1232
- }
1233
-
1234
- export declare class TargetRequiredException extends __BaseException {
1235
- readonly name: "TargetRequiredException";
1236
- readonly $fault: "client";
1237
-
1238
- constructor(opts: __ExceptionOptionType<TargetRequiredException, __BaseException>);
1239
- }
1240
-
1241
- export declare class TargetsRequiredException extends __BaseException {
1242
- readonly name: "TargetsRequiredException";
1243
- readonly $fault: "client";
1244
-
1245
- constructor(opts: __ExceptionOptionType<TargetsRequiredException, __BaseException>);
1246
- }
1247
-
1248
- export declare class TitleRequiredException extends __BaseException {
1249
- readonly name: "TitleRequiredException";
1250
- readonly $fault: "client";
1251
-
1252
- constructor(opts: __ExceptionOptionType<TitleRequiredException, __BaseException>);
1253
- }
1254
- export interface CreatePullRequestApprovalRuleInput {
1255
-
1256
- pullRequestId: string | undefined;
1257
-
1258
- approvalRuleName: string | undefined;
1259
-
1260
- approvalRuleContent: string | undefined;
1261
- }
1262
- export interface CreatePullRequestApprovalRuleOutput {
1263
-
1264
- approvalRule: ApprovalRule | undefined;
1265
- }
1266
-
1267
- export declare class InvalidApprovalRuleContentException extends __BaseException {
1268
- readonly name: "InvalidApprovalRuleContentException";
1269
- readonly $fault: "client";
1270
-
1271
- constructor(opts: __ExceptionOptionType<InvalidApprovalRuleContentException, __BaseException>);
1272
- }
1273
-
1274
- export declare class InvalidApprovalRuleNameException extends __BaseException {
1275
- readonly name: "InvalidApprovalRuleNameException";
1276
- readonly $fault: "client";
1277
-
1278
- constructor(opts: __ExceptionOptionType<InvalidApprovalRuleNameException, __BaseException>);
1279
- }
1280
-
1281
- export declare class InvalidPullRequestIdException extends __BaseException {
1282
- readonly name: "InvalidPullRequestIdException";
1283
- readonly $fault: "client";
1284
-
1285
- constructor(opts: __ExceptionOptionType<InvalidPullRequestIdException, __BaseException>);
1286
- }
1287
-
1288
- export declare class NumberOfRulesExceededException extends __BaseException {
1289
- readonly name: "NumberOfRulesExceededException";
1290
- readonly $fault: "client";
1291
-
1292
- constructor(opts: __ExceptionOptionType<NumberOfRulesExceededException, __BaseException>);
1293
- }
1294
-
1295
- export declare class PullRequestAlreadyClosedException extends __BaseException {
1296
- readonly name: "PullRequestAlreadyClosedException";
1297
- readonly $fault: "client";
1298
-
1299
- constructor(opts: __ExceptionOptionType<PullRequestAlreadyClosedException, __BaseException>);
1300
- }
1301
-
1302
- export declare class PullRequestDoesNotExistException extends __BaseException {
1303
- readonly name: "PullRequestDoesNotExistException";
1304
- readonly $fault: "client";
1305
-
1306
- constructor(opts: __ExceptionOptionType<PullRequestDoesNotExistException, __BaseException>);
1307
- }
1308
-
1309
- export declare class PullRequestIdRequiredException extends __BaseException {
1310
- readonly name: "PullRequestIdRequiredException";
1311
- readonly $fault: "client";
1312
-
1313
- constructor(opts: __ExceptionOptionType<PullRequestIdRequiredException, __BaseException>);
1314
- }
1315
-
1316
- export interface CreateRepositoryInput {
1317
-
1318
- repositoryName: string | undefined;
1319
-
1320
- repositoryDescription?: string;
1321
-
1322
- tags?: Record<string, string>;
1323
- }
1324
-
1325
- export interface CreateRepositoryOutput {
1326
-
1327
- repositoryMetadata?: RepositoryMetadata;
1328
- }
1329
-
1330
- export declare class InvalidRepositoryDescriptionException extends __BaseException {
1331
- readonly name: "InvalidRepositoryDescriptionException";
1332
- readonly $fault: "client";
1333
-
1334
- constructor(opts: __ExceptionOptionType<InvalidRepositoryDescriptionException, __BaseException>);
1335
- }
1336
-
1337
- export declare class InvalidSystemTagUsageException extends __BaseException {
1338
- readonly name: "InvalidSystemTagUsageException";
1339
- readonly $fault: "client";
1340
-
1341
- constructor(opts: __ExceptionOptionType<InvalidSystemTagUsageException, __BaseException>);
1342
- }
1343
-
1344
- export declare class InvalidTagsMapException extends __BaseException {
1345
- readonly name: "InvalidTagsMapException";
1346
- readonly $fault: "client";
1347
-
1348
- constructor(opts: __ExceptionOptionType<InvalidTagsMapException, __BaseException>);
1349
- }
1350
-
1351
- export declare class RepositoryLimitExceededException extends __BaseException {
1352
- readonly name: "RepositoryLimitExceededException";
1353
- readonly $fault: "client";
1354
-
1355
- constructor(opts: __ExceptionOptionType<RepositoryLimitExceededException, __BaseException>);
1356
- }
1357
-
1358
- export declare class RepositoryNameExistsException extends __BaseException {
1359
- readonly name: "RepositoryNameExistsException";
1360
- readonly $fault: "client";
1361
-
1362
- constructor(opts: __ExceptionOptionType<RepositoryNameExistsException, __BaseException>);
1363
- }
1364
-
1365
- export declare class TagPolicyException extends __BaseException {
1366
- readonly name: "TagPolicyException";
1367
- readonly $fault: "client";
1368
-
1369
- constructor(opts: __ExceptionOptionType<TagPolicyException, __BaseException>);
1370
- }
1371
-
1372
- export declare class TooManyTagsException extends __BaseException {
1373
- readonly name: "TooManyTagsException";
1374
- readonly $fault: "client";
1375
-
1376
- constructor(opts: __ExceptionOptionType<TooManyTagsException, __BaseException>);
1377
- }
1378
-
1379
- export declare class ConcurrentReferenceUpdateException extends __BaseException {
1380
- readonly name: "ConcurrentReferenceUpdateException";
1381
- readonly $fault: "client";
1382
-
1383
- constructor(opts: __ExceptionOptionType<ConcurrentReferenceUpdateException, __BaseException>);
1384
- }
1385
- export declare enum ReplacementTypeEnum {
1386
- KEEP_BASE = "KEEP_BASE",
1387
- KEEP_DESTINATION = "KEEP_DESTINATION",
1388
- KEEP_SOURCE = "KEEP_SOURCE",
1389
- USE_NEW_CONTENT = "USE_NEW_CONTENT"
1390
- }
1391
-
1392
- export interface ReplaceContentEntry {
1393
-
1394
- filePath: string | undefined;
1395
-
1396
- replacementType: ReplacementTypeEnum | string | undefined;
1397
-
1398
- content?: Uint8Array;
1399
-
1400
- fileMode?: FileModeTypeEnum | string;
1401
- }
1402
-
1403
- export interface ConflictResolution {
1404
-
1405
- replaceContents?: ReplaceContentEntry[];
1406
-
1407
- deleteFiles?: DeleteFileEntry[];
1408
-
1409
- setFileModes?: SetFileModeEntry[];
1410
- }
1411
- export interface CreateUnreferencedMergeCommitInput {
1412
-
1413
- repositoryName: string | undefined;
1414
-
1415
- sourceCommitSpecifier: string | undefined;
1416
-
1417
- destinationCommitSpecifier: string | undefined;
1418
-
1419
- mergeOption: MergeOptionTypeEnum | string | undefined;
1420
-
1421
- conflictDetailLevel?: ConflictDetailLevelTypeEnum | string;
1422
-
1423
- conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | string;
1424
-
1425
- authorName?: string;
1426
-
1427
- email?: string;
1428
-
1429
- commitMessage?: string;
1430
-
1431
- keepEmptyFolders?: boolean;
1432
-
1433
- conflictResolution?: ConflictResolution;
1434
- }
1435
- export interface CreateUnreferencedMergeCommitOutput {
1436
-
1437
- commitId?: string;
1438
-
1439
- treeId?: string;
1440
- }
1441
-
1442
- export declare class InvalidConflictResolutionException extends __BaseException {
1443
- readonly name: "InvalidConflictResolutionException";
1444
- readonly $fault: "client";
1445
-
1446
- constructor(opts: __ExceptionOptionType<InvalidConflictResolutionException, __BaseException>);
1447
- }
1448
-
1449
- export declare class InvalidReplacementContentException extends __BaseException {
1450
- readonly name: "InvalidReplacementContentException";
1451
- readonly $fault: "client";
1452
-
1453
- constructor(opts: __ExceptionOptionType<InvalidReplacementContentException, __BaseException>);
1454
- }
1455
-
1456
- export declare class InvalidReplacementTypeException extends __BaseException {
1457
- readonly name: "InvalidReplacementTypeException";
1458
- readonly $fault: "client";
1459
-
1460
- constructor(opts: __ExceptionOptionType<InvalidReplacementTypeException, __BaseException>);
1461
- }
1462
-
1463
- export declare class ManualMergeRequiredException extends __BaseException {
1464
- readonly name: "ManualMergeRequiredException";
1465
- readonly $fault: "client";
1466
-
1467
- constructor(opts: __ExceptionOptionType<ManualMergeRequiredException, __BaseException>);
1468
- }
1469
-
1470
- export declare class MaximumConflictResolutionEntriesExceededException extends __BaseException {
1471
- readonly name: "MaximumConflictResolutionEntriesExceededException";
1472
- readonly $fault: "client";
1473
-
1474
- constructor(opts: __ExceptionOptionType<MaximumConflictResolutionEntriesExceededException, __BaseException>);
1475
- }
1476
-
1477
- export declare class MultipleConflictResolutionEntriesException extends __BaseException {
1478
- readonly name: "MultipleConflictResolutionEntriesException";
1479
- readonly $fault: "client";
1480
-
1481
- constructor(opts: __ExceptionOptionType<MultipleConflictResolutionEntriesException, __BaseException>);
1482
- }
1483
-
1484
- export declare class ReplacementContentRequiredException extends __BaseException {
1485
- readonly name: "ReplacementContentRequiredException";
1486
- readonly $fault: "client";
1487
-
1488
- constructor(opts: __ExceptionOptionType<ReplacementContentRequiredException, __BaseException>);
1489
- }
1490
-
1491
- export declare class ReplacementTypeRequiredException extends __BaseException {
1492
- readonly name: "ReplacementTypeRequiredException";
1493
- readonly $fault: "client";
1494
-
1495
- constructor(opts: __ExceptionOptionType<ReplacementTypeRequiredException, __BaseException>);
1496
- }
1497
- export interface DeleteApprovalRuleTemplateInput {
1498
-
1499
- approvalRuleTemplateName: string | undefined;
1500
- }
1501
- export interface DeleteApprovalRuleTemplateOutput {
1502
-
1503
- approvalRuleTemplateId: string | undefined;
1504
- }
1505
-
1506
- export declare class DefaultBranchCannotBeDeletedException extends __BaseException {
1507
- readonly name: "DefaultBranchCannotBeDeletedException";
1508
- readonly $fault: "client";
1509
-
1510
- constructor(opts: __ExceptionOptionType<DefaultBranchCannotBeDeletedException, __BaseException>);
1511
- }
1512
-
1513
- export interface DeleteBranchInput {
1514
-
1515
- repositoryName: string | undefined;
1516
-
1517
- branchName: string | undefined;
1518
- }
1519
-
1520
- export interface DeleteBranchOutput {
1521
-
1522
- deletedBranch?: BranchInfo;
1523
- }
1524
-
1525
- export declare class CommentDeletedException extends __BaseException {
1526
- readonly name: "CommentDeletedException";
1527
- readonly $fault: "client";
1528
-
1529
- constructor(opts: __ExceptionOptionType<CommentDeletedException, __BaseException>);
1530
- }
1531
-
1532
- export declare class CommentDoesNotExistException extends __BaseException {
1533
- readonly name: "CommentDoesNotExistException";
1534
- readonly $fault: "client";
1535
-
1536
- constructor(opts: __ExceptionOptionType<CommentDoesNotExistException, __BaseException>);
1537
- }
1538
-
1539
- export declare class CommentIdRequiredException extends __BaseException {
1540
- readonly name: "CommentIdRequiredException";
1541
- readonly $fault: "client";
1542
-
1543
- constructor(opts: __ExceptionOptionType<CommentIdRequiredException, __BaseException>);
1544
- }
1545
- export interface DeleteCommentContentInput {
1546
-
1547
- commentId: string | undefined;
1548
- }
1549
-
1550
- export interface Comment {
1551
-
1552
- commentId?: string;
1553
-
1554
- content?: string;
1555
-
1556
- inReplyTo?: string;
1557
-
1558
- creationDate?: Date;
1559
-
1560
- lastModifiedDate?: Date;
1561
-
1562
- authorArn?: string;
1563
-
1564
- deleted?: boolean;
1565
-
1566
- clientRequestToken?: string;
1567
-
1568
- callerReactions?: string[];
1569
-
1570
- reactionCounts?: Record<string, number>;
1571
- }
1572
- export interface DeleteCommentContentOutput {
1573
-
1574
- comment?: Comment;
1575
- }
1576
-
1577
- export declare class InvalidCommentIdException extends __BaseException {
1578
- readonly name: "InvalidCommentIdException";
1579
- readonly $fault: "client";
1580
-
1581
- constructor(opts: __ExceptionOptionType<InvalidCommentIdException, __BaseException>);
1582
- }
1583
- export interface DeleteFileInput {
1584
-
1585
- repositoryName: string | undefined;
1586
-
1587
- branchName: string | undefined;
1588
-
1589
- filePath: string | undefined;
1590
-
1591
- parentCommitId: string | undefined;
1592
-
1593
- keepEmptyFolders?: boolean;
1594
-
1595
- commitMessage?: string;
1596
-
1597
- name?: string;
1598
-
1599
- email?: string;
1600
- }
1601
- export interface DeleteFileOutput {
1602
-
1603
- commitId: string | undefined;
1604
-
1605
- blobId: string | undefined;
1606
-
1607
- treeId: string | undefined;
1608
-
1609
- filePath: string | undefined;
1610
- }
1611
- export interface DeletePullRequestApprovalRuleInput {
1612
-
1613
- pullRequestId: string | undefined;
1614
-
1615
- approvalRuleName: string | undefined;
1616
- }
1617
- export interface DeletePullRequestApprovalRuleOutput {
1618
-
1619
- approvalRuleId: string | undefined;
1620
- }
1621
-
1622
- export interface DeleteRepositoryInput {
1623
-
1624
- repositoryName: string | undefined;
1625
- }
1626
-
1627
- export interface DeleteRepositoryOutput {
1628
-
1629
- repositoryId?: string;
1630
- }
1631
- export interface DescribeMergeConflictsInput {
1632
-
1633
- repositoryName: string | undefined;
1634
-
1635
- destinationCommitSpecifier: string | undefined;
1636
-
1637
- sourceCommitSpecifier: string | undefined;
1638
-
1639
- mergeOption: MergeOptionTypeEnum | string | undefined;
1640
-
1641
- maxMergeHunks?: number;
1642
-
1643
- filePath: string | undefined;
1644
-
1645
- conflictDetailLevel?: ConflictDetailLevelTypeEnum | string;
1646
-
1647
- conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | string;
1648
-
1649
- nextToken?: string;
1650
- }
1651
- export interface DescribeMergeConflictsOutput {
1652
-
1653
- conflictMetadata: ConflictMetadata | undefined;
1654
-
1655
- mergeHunks: MergeHunk[] | undefined;
1656
-
1657
- nextToken?: string;
1658
-
1659
- destinationCommitId: string | undefined;
1660
-
1661
- sourceCommitId: string | undefined;
1662
-
1663
- baseCommitId?: string;
1664
- }
1665
- export declare enum PullRequestEventType {
1666
- PULL_REQUEST_APPROVAL_RULE_CREATED = "PULL_REQUEST_APPROVAL_RULE_CREATED",
1667
- PULL_REQUEST_APPROVAL_RULE_DELETED = "PULL_REQUEST_APPROVAL_RULE_DELETED",
1668
- PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN = "PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN",
1669
- PULL_REQUEST_APPROVAL_RULE_UPDATED = "PULL_REQUEST_APPROVAL_RULE_UPDATED",
1670
- PULL_REQUEST_APPROVAL_STATE_CHANGED = "PULL_REQUEST_APPROVAL_STATE_CHANGED",
1671
- PULL_REQUEST_CREATED = "PULL_REQUEST_CREATED",
1672
- PULL_REQUEST_MERGE_STATE_CHANGED = "PULL_REQUEST_MERGE_STATE_CHANGED",
1673
- PULL_REQUEST_SOURCE_REFERENCE_UPDATED = "PULL_REQUEST_SOURCE_REFERENCE_UPDATED",
1674
- PULL_REQUEST_STATUS_CHANGED = "PULL_REQUEST_STATUS_CHANGED"
1675
- }
1676
- export interface DescribePullRequestEventsInput {
1677
-
1678
- pullRequestId: string | undefined;
1679
-
1680
- pullRequestEventType?: PullRequestEventType | string;
1681
-
1682
- actorArn?: string;
1683
-
1684
- nextToken?: string;
1685
-
1686
- maxResults?: number;
1687
- }
1688
-
1689
- export interface PullRequestCreatedEventMetadata {
1690
-
1691
- repositoryName?: string;
1692
-
1693
- sourceCommitId?: string;
1694
-
1695
- destinationCommitId?: string;
1696
-
1697
- mergeBase?: string;
1698
- }
1699
-
1700
- export interface PullRequestMergedStateChangedEventMetadata {
1701
-
1702
- repositoryName?: string;
1703
-
1704
- destinationReference?: string;
1705
-
1706
- mergeMetadata?: MergeMetadata;
1707
- }
1708
-
1709
- export interface PullRequestSourceReferenceUpdatedEventMetadata {
1710
-
1711
- repositoryName?: string;
1712
-
1713
- beforeCommitId?: string;
1714
-
1715
- afterCommitId?: string;
1716
-
1717
- mergeBase?: string;
1718
- }
1719
-
1720
- export interface PullRequestStatusChangedEventMetadata {
1721
-
1722
- pullRequestStatus?: PullRequestStatusEnum | string;
1723
- }
1724
-
1725
- export interface PullRequestEvent {
1726
-
1727
- pullRequestId?: string;
1728
-
1729
- eventDate?: Date;
1730
-
1731
- pullRequestEventType?: PullRequestEventType | string;
1732
-
1733
- actorArn?: string;
1734
-
1735
- pullRequestCreatedEventMetadata?: PullRequestCreatedEventMetadata;
1736
-
1737
- pullRequestStatusChangedEventMetadata?: PullRequestStatusChangedEventMetadata;
1738
-
1739
- pullRequestSourceReferenceUpdatedEventMetadata?: PullRequestSourceReferenceUpdatedEventMetadata;
1740
-
1741
- pullRequestMergedStateChangedEventMetadata?: PullRequestMergedStateChangedEventMetadata;
1742
-
1743
- approvalRuleEventMetadata?: ApprovalRuleEventMetadata;
1744
-
1745
- approvalStateChangedEventMetadata?: ApprovalStateChangedEventMetadata;
1746
-
1747
- approvalRuleOverriddenEventMetadata?: ApprovalRuleOverriddenEventMetadata;
1748
- }
1749
- export interface DescribePullRequestEventsOutput {
1750
-
1751
- pullRequestEvents: PullRequestEvent[] | undefined;
1752
-
1753
- nextToken?: string;
1754
- }
1755
-
1756
- export declare class InvalidActorArnException extends __BaseException {
1757
- readonly name: "InvalidActorArnException";
1758
- readonly $fault: "client";
1759
-
1760
- constructor(opts: __ExceptionOptionType<InvalidActorArnException, __BaseException>);
1761
- }
1762
-
1763
- export declare class InvalidMaxResultsException extends __BaseException {
1764
- readonly name: "InvalidMaxResultsException";
1765
- readonly $fault: "client";
1766
-
1767
- constructor(opts: __ExceptionOptionType<InvalidMaxResultsException, __BaseException>);
1768
- }
1769
-
1770
- export declare class InvalidPullRequestEventTypeException extends __BaseException {
1771
- readonly name: "InvalidPullRequestEventTypeException";
1772
- readonly $fault: "client";
1773
-
1774
- constructor(opts: __ExceptionOptionType<InvalidPullRequestEventTypeException, __BaseException>);
1775
- }
1776
- export interface DisassociateApprovalRuleTemplateFromRepositoryInput {
1777
-
1778
- approvalRuleTemplateName: string | undefined;
1779
-
1780
- repositoryName: string | undefined;
1781
- }
1782
- export interface EvaluatePullRequestApprovalRulesInput {
1783
-
1784
- pullRequestId: string | undefined;
1785
-
1786
- revisionId: string | undefined;
1787
- }
1788
-
1789
- export interface Evaluation {
1790
-
1791
- approved?: boolean;
1792
-
1793
- overridden?: boolean;
1794
-
1795
- approvalRulesSatisfied?: string[];
1796
-
1797
- approvalRulesNotSatisfied?: string[];
1798
- }
1799
- export interface EvaluatePullRequestApprovalRulesOutput {
1800
-
1801
- evaluation: Evaluation | undefined;
1802
- }
1803
-
1804
- export declare class InvalidRevisionIdException extends __BaseException {
1805
- readonly name: "InvalidRevisionIdException";
1806
- readonly $fault: "client";
1807
-
1808
- constructor(opts: __ExceptionOptionType<InvalidRevisionIdException, __BaseException>);
1809
- }
1810
-
1811
- export declare class RevisionIdRequiredException extends __BaseException {
1812
- readonly name: "RevisionIdRequiredException";
1813
- readonly $fault: "client";
1814
-
1815
- constructor(opts: __ExceptionOptionType<RevisionIdRequiredException, __BaseException>);
1816
- }
1817
-
1818
- export declare class RevisionNotCurrentException extends __BaseException {
1819
- readonly name: "RevisionNotCurrentException";
1820
- readonly $fault: "client";
1821
-
1822
- constructor(opts: __ExceptionOptionType<RevisionNotCurrentException, __BaseException>);
1823
- }
1824
- export interface GetApprovalRuleTemplateInput {
1825
-
1826
- approvalRuleTemplateName: string | undefined;
1827
- }
1828
- export interface GetApprovalRuleTemplateOutput {
1829
-
1830
- approvalRuleTemplate: ApprovalRuleTemplate | undefined;
1831
- }
1832
-
1833
- export declare class FileTooLargeException extends __BaseException {
1834
- readonly name: "FileTooLargeException";
1835
- readonly $fault: "client";
1836
-
1837
- constructor(opts: __ExceptionOptionType<FileTooLargeException, __BaseException>);
1838
- }
1839
-
1840
- export interface GetBlobInput {
1841
-
1842
- repositoryName: string | undefined;
1843
-
1844
- blobId: string | undefined;
1845
- }
1846
-
1847
- export interface GetBlobOutput {
1848
-
1849
- content: Uint8Array | undefined;
1850
- }
1851
-
1852
- export declare class InvalidBlobIdException extends __BaseException {
1853
- readonly name: "InvalidBlobIdException";
1854
- readonly $fault: "client";
1855
-
1856
- constructor(opts: __ExceptionOptionType<InvalidBlobIdException, __BaseException>);
1857
- }
1858
-
1859
- export interface GetBranchInput {
1860
-
1861
- repositoryName?: string;
1862
-
1863
- branchName?: string;
1864
- }
1865
-
1866
- export interface GetBranchOutput {
1867
-
1868
- branch?: BranchInfo;
1869
- }
1870
- export interface GetCommentInput {
1871
-
1872
- commentId: string | undefined;
1873
- }
1874
- export interface GetCommentOutput {
1875
-
1876
- comment?: Comment;
1877
- }
1878
- export interface GetCommentReactionsInput {
1879
-
1880
- commentId: string | undefined;
1881
-
1882
- reactionUserArn?: string;
1883
-
1884
- nextToken?: string;
1885
-
1886
- maxResults?: number;
1887
- }
1888
-
1889
- export interface ReactionValueFormats {
1890
-
1891
- emoji?: string;
1892
-
1893
- shortCode?: string;
1894
-
1895
- unicode?: string;
1896
- }
1897
-
1898
- export interface ReactionForComment {
1899
-
1900
- reaction?: ReactionValueFormats;
1901
-
1902
- reactionUsers?: string[];
1903
-
1904
- reactionsFromDeletedUsersCount?: number;
1905
- }
1906
- export interface GetCommentReactionsOutput {
1907
-
1908
- reactionsForComment: ReactionForComment[] | undefined;
1909
-
1910
- nextToken?: string;
1911
- }
1912
-
1913
- export declare class InvalidReactionUserArnException extends __BaseException {
1914
- readonly name: "InvalidReactionUserArnException";
1915
- readonly $fault: "client";
1916
-
1917
- constructor(opts: __ExceptionOptionType<InvalidReactionUserArnException, __BaseException>);
1918
- }
1919
- export interface GetCommentsForComparedCommitInput {
1920
-
1921
- repositoryName: string | undefined;
1922
-
1923
- beforeCommitId?: string;
1924
-
1925
- afterCommitId: string | undefined;
1926
-
1927
- nextToken?: string;
1928
-
1929
- maxResults?: number;
1930
- }
1931
- export declare enum RelativeFileVersionEnum {
1932
- AFTER = "AFTER",
1933
- BEFORE = "BEFORE"
1934
- }
1935
-
1936
- export interface Location {
1937
-
1938
- filePath?: string;
1939
-
1940
- filePosition?: number;
1941
-
1942
- relativeFileVersion?: RelativeFileVersionEnum | string;
1943
- }
1944
-
1945
- export interface CommentsForComparedCommit {
1946
-
1947
- repositoryName?: string;
1948
-
1949
- beforeCommitId?: string;
1950
-
1951
- afterCommitId?: string;
1952
-
1953
- beforeBlobId?: string;
1954
-
1955
- afterBlobId?: string;
1956
-
1957
- location?: Location;
1958
-
1959
- comments?: Comment[];
1960
- }
1961
- export interface GetCommentsForComparedCommitOutput {
1962
-
1963
- commentsForComparedCommitData?: CommentsForComparedCommit[];
1964
-
1965
- nextToken?: string;
1966
- }
1967
- export interface GetCommentsForPullRequestInput {
1968
-
1969
- pullRequestId: string | undefined;
1970
-
1971
- repositoryName?: string;
1972
-
1973
- beforeCommitId?: string;
1974
-
1975
- afterCommitId?: string;
1976
-
1977
- nextToken?: string;
1978
-
1979
- maxResults?: number;
1980
- }
1981
-
1982
- export interface CommentsForPullRequest {
1983
-
1984
- pullRequestId?: string;
1985
-
1986
- repositoryName?: string;
1987
-
1988
- beforeCommitId?: string;
1989
-
1990
- afterCommitId?: string;
1991
-
1992
- beforeBlobId?: string;
1993
-
1994
- afterBlobId?: string;
1995
-
1996
- location?: Location;
1997
-
1998
- comments?: Comment[];
1999
- }
2000
- export interface GetCommentsForPullRequestOutput {
2001
-
2002
- commentsForPullRequestData?: CommentsForPullRequest[];
2003
-
2004
- nextToken?: string;
2005
- }
2006
-
2007
- export declare class RepositoryNotAssociatedWithPullRequestException extends __BaseException {
2008
- readonly name: "RepositoryNotAssociatedWithPullRequestException";
2009
- readonly $fault: "client";
2010
-
2011
- constructor(opts: __ExceptionOptionType<RepositoryNotAssociatedWithPullRequestException, __BaseException>);
2012
- }
2013
-
2014
- export declare class CommitIdDoesNotExistException extends __BaseException {
2015
- readonly name: "CommitIdDoesNotExistException";
2016
- readonly $fault: "client";
2017
-
2018
- constructor(opts: __ExceptionOptionType<CommitIdDoesNotExistException, __BaseException>);
2019
- }
2020
-
2021
- export interface GetCommitInput {
2022
-
2023
- repositoryName: string | undefined;
2024
-
2025
- commitId: string | undefined;
2026
- }
2027
-
2028
- export interface GetCommitOutput {
2029
-
2030
- commit: Commit | undefined;
2031
- }
2032
- export interface GetDifferencesInput {
2033
-
2034
- repositoryName: string | undefined;
2035
-
2036
- beforeCommitSpecifier?: string;
2037
-
2038
- afterCommitSpecifier: string | undefined;
2039
-
2040
- beforePath?: string;
2041
-
2042
- afterPath?: string;
2043
-
2044
- MaxResults?: number;
2045
-
2046
- NextToken?: string;
2047
- }
2048
-
2049
- export interface Difference {
2050
-
2051
- beforeBlob?: BlobMetadata;
2052
-
2053
- afterBlob?: BlobMetadata;
2054
-
2055
- changeType?: ChangeTypeEnum | string;
2056
- }
2057
- export interface GetDifferencesOutput {
2058
-
2059
- differences?: Difference[];
2060
-
2061
- NextToken?: string;
2062
- }
2063
-
2064
- export declare class PathDoesNotExistException extends __BaseException {
2065
- readonly name: "PathDoesNotExistException";
2066
- readonly $fault: "client";
2067
-
2068
- constructor(opts: __ExceptionOptionType<PathDoesNotExistException, __BaseException>);
2069
- }
2070
- export interface GetFileInput {
2071
-
2072
- repositoryName: string | undefined;
2073
-
2074
- commitSpecifier?: string;
2075
-
2076
- filePath: string | undefined;
2077
- }
2078
- export interface GetFileOutput {
2079
-
2080
- commitId: string | undefined;
2081
-
2082
- blobId: string | undefined;
2083
-
2084
- filePath: string | undefined;
2085
-
2086
- fileMode: FileModeTypeEnum | string | undefined;
2087
-
2088
- fileSize: number | undefined;
2089
-
2090
- fileContent: Uint8Array | undefined;
2091
- }
2092
-
2093
- export declare class FolderDoesNotExistException extends __BaseException {
2094
- readonly name: "FolderDoesNotExistException";
2095
- readonly $fault: "client";
2096
-
2097
- constructor(opts: __ExceptionOptionType<FolderDoesNotExistException, __BaseException>);
2098
- }
2099
- export interface GetFolderInput {
2100
-
2101
- repositoryName: string | undefined;
2102
-
2103
- commitSpecifier?: string;
2104
-
2105
- folderPath: string | undefined;
2106
- }
2107
-
2108
- export interface File {
2109
-
2110
- blobId?: string;
2111
-
2112
- absolutePath?: string;
2113
-
2114
- relativePath?: string;
2115
-
2116
- fileMode?: FileModeTypeEnum | string;
2117
- }
2118
-
2119
- export interface Folder {
2120
-
2121
- treeId?: string;
2122
-
2123
- absolutePath?: string;
2124
-
2125
- relativePath?: string;
2126
- }
2127
-
2128
- export interface SubModule {
2129
-
2130
- commitId?: string;
2131
-
2132
- absolutePath?: string;
2133
-
2134
- relativePath?: string;
2135
- }
2136
-
2137
- export interface SymbolicLink {
2138
-
2139
- blobId?: string;
2140
-
2141
- absolutePath?: string;
2142
-
2143
- relativePath?: string;
2144
-
2145
- fileMode?: FileModeTypeEnum | string;
2146
- }
2147
- export interface GetFolderOutput {
2148
-
2149
- commitId: string | undefined;
2150
-
2151
- folderPath: string | undefined;
2152
-
2153
- treeId?: string;
2154
-
2155
- subFolders?: Folder[];
2156
-
2157
- files?: File[];
2158
-
2159
- symbolicLinks?: SymbolicLink[];
2160
-
2161
- subModules?: SubModule[];
2162
- }
2163
- export interface GetMergeCommitInput {
2164
-
2165
- repositoryName: string | undefined;
2166
-
2167
- sourceCommitSpecifier: string | undefined;
2168
-
2169
- destinationCommitSpecifier: string | undefined;
2170
-
2171
- conflictDetailLevel?: ConflictDetailLevelTypeEnum | string;
2172
-
2173
- conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | string;
2174
- }
2175
- export interface GetMergeCommitOutput {
2176
-
2177
- sourceCommitId?: string;
2178
-
2179
- destinationCommitId?: string;
2180
-
2181
- baseCommitId?: string;
2182
-
2183
- mergedCommitId?: string;
2184
- }
2185
- export interface GetMergeConflictsInput {
2186
-
2187
- repositoryName: string | undefined;
2188
-
2189
- destinationCommitSpecifier: string | undefined;
2190
-
2191
- sourceCommitSpecifier: string | undefined;
2192
-
2193
- mergeOption: MergeOptionTypeEnum | string | undefined;
2194
-
2195
- conflictDetailLevel?: ConflictDetailLevelTypeEnum | string;
2196
-
2197
- maxConflictFiles?: number;
2198
-
2199
- conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | string;
2200
-
2201
- nextToken?: string;
2202
- }
2203
- export interface GetMergeConflictsOutput {
2204
-
2205
- mergeable: boolean | undefined;
2206
-
2207
- destinationCommitId: string | undefined;
2208
-
2209
- sourceCommitId: string | undefined;
2210
-
2211
- baseCommitId?: string;
2212
-
2213
- conflictMetadataList: ConflictMetadata[] | undefined;
2214
-
2215
- nextToken?: string;
2216
- }
2217
-
2218
- export declare class InvalidDestinationCommitSpecifierException extends __BaseException {
2219
- readonly name: "InvalidDestinationCommitSpecifierException";
2220
- readonly $fault: "client";
2221
-
2222
- constructor(opts: __ExceptionOptionType<InvalidDestinationCommitSpecifierException, __BaseException>);
2223
- }
2224
-
2225
- export declare class InvalidSourceCommitSpecifierException extends __BaseException {
2226
- readonly name: "InvalidSourceCommitSpecifierException";
2227
- readonly $fault: "client";
2228
-
2229
- constructor(opts: __ExceptionOptionType<InvalidSourceCommitSpecifierException, __BaseException>);
2230
- }
2231
- export interface GetMergeOptionsInput {
2232
-
2233
- repositoryName: string | undefined;
2234
-
2235
- sourceCommitSpecifier: string | undefined;
2236
-
2237
- destinationCommitSpecifier: string | undefined;
2238
-
2239
- conflictDetailLevel?: ConflictDetailLevelTypeEnum | string;
2240
-
2241
- conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | string;
2242
- }
2243
- export interface GetMergeOptionsOutput {
2244
-
2245
- mergeOptions: (MergeOptionTypeEnum | string)[] | undefined;
2246
-
2247
- sourceCommitId: string | undefined;
2248
-
2249
- destinationCommitId: string | undefined;
2250
-
2251
- baseCommitId: string | undefined;
2252
- }
2253
- export interface GetPullRequestInput {
2254
-
2255
- pullRequestId: string | undefined;
2256
- }
2257
- export interface GetPullRequestOutput {
2258
-
2259
- pullRequest: PullRequest | undefined;
2260
- }
2261
- export interface GetPullRequestApprovalStatesInput {
2262
-
2263
- pullRequestId: string | undefined;
2264
-
2265
- revisionId: string | undefined;
2266
- }
2267
- export interface GetPullRequestApprovalStatesOutput {
2268
-
2269
- approvals?: Approval[];
2270
- }
2271
- export interface GetPullRequestOverrideStateInput {
2272
-
2273
- pullRequestId: string | undefined;
2274
-
2275
- revisionId: string | undefined;
2276
- }
2277
- export interface GetPullRequestOverrideStateOutput {
2278
-
2279
- overridden?: boolean;
2280
-
2281
- overrider?: string;
2282
- }
2283
-
2284
- export interface GetRepositoryInput {
2285
-
2286
- repositoryName: string | undefined;
2287
- }
2288
-
2289
- export interface GetRepositoryOutput {
2290
-
2291
- repositoryMetadata?: RepositoryMetadata;
2292
- }
2293
-
2294
- export interface GetRepositoryTriggersInput {
2295
-
2296
- repositoryName: string | undefined;
2297
- }
2298
- export declare enum RepositoryTriggerEventEnum {
2299
- ALL = "all",
2300
- CREATE_REFERENCE = "createReference",
2301
- DELETE_REFERENCE = "deleteReference",
2302
- UPDATE_REFERENCE = "updateReference"
2303
- }
2304
-
2305
- export interface RepositoryTrigger {
2306
-
2307
- name: string | undefined;
2308
-
2309
- destinationArn: string | undefined;
2310
-
2311
- customData?: string;
2312
-
2313
- branches?: string[];
2314
-
2315
- events: (RepositoryTriggerEventEnum | string)[] | undefined;
2316
- }
2317
-
2318
- export interface GetRepositoryTriggersOutput {
2319
-
2320
- configurationId?: string;
2321
-
2322
- triggers?: RepositoryTrigger[];
2323
- }
2324
- export interface ListApprovalRuleTemplatesInput {
2325
-
2326
- nextToken?: string;
2327
-
2328
- maxResults?: number;
2329
- }
2330
- export interface ListApprovalRuleTemplatesOutput {
2331
-
2332
- approvalRuleTemplateNames?: string[];
2333
-
2334
- nextToken?: string;
2335
- }
2336
- export interface ListAssociatedApprovalRuleTemplatesForRepositoryInput {
2337
-
2338
- repositoryName: string | undefined;
2339
-
2340
- nextToken?: string;
2341
-
2342
- maxResults?: number;
2343
- }
2344
- export interface ListAssociatedApprovalRuleTemplatesForRepositoryOutput {
2345
-
2346
- approvalRuleTemplateNames?: string[];
2347
-
2348
- nextToken?: string;
2349
- }
2350
-
2351
- export interface ListBranchesInput {
2352
-
2353
- repositoryName: string | undefined;
2354
-
2355
- nextToken?: string;
2356
- }
2357
-
2358
- export interface ListBranchesOutput {
2359
-
2360
- branches?: string[];
2361
-
2362
- nextToken?: string;
2363
- }
2364
-
2365
- export declare class InvalidAuthorArnException extends __BaseException {
2366
- readonly name: "InvalidAuthorArnException";
2367
- readonly $fault: "client";
2368
-
2369
- constructor(opts: __ExceptionOptionType<InvalidAuthorArnException, __BaseException>);
2370
- }
2371
-
2372
- export declare class InvalidPullRequestStatusException extends __BaseException {
2373
- readonly name: "InvalidPullRequestStatusException";
2374
- readonly $fault: "client";
2375
-
2376
- constructor(opts: __ExceptionOptionType<InvalidPullRequestStatusException, __BaseException>);
2377
- }
2378
- export interface ListPullRequestsInput {
2379
-
2380
- repositoryName: string | undefined;
2381
-
2382
- authorArn?: string;
2383
-
2384
- pullRequestStatus?: PullRequestStatusEnum | string;
2385
-
2386
- nextToken?: string;
2387
-
2388
- maxResults?: number;
2389
- }
2390
- export interface ListPullRequestsOutput {
2391
-
2392
- pullRequestIds: string[] | undefined;
2393
-
2394
- nextToken?: string;
2395
- }
2396
-
2397
- export declare class InvalidOrderException extends __BaseException {
2398
- readonly name: "InvalidOrderException";
2399
- readonly $fault: "client";
2400
-
2401
- constructor(opts: __ExceptionOptionType<InvalidOrderException, __BaseException>);
2402
- }
2403
-
2404
- export declare class InvalidSortByException extends __BaseException {
2405
- readonly name: "InvalidSortByException";
2406
- readonly $fault: "client";
2407
-
2408
- constructor(opts: __ExceptionOptionType<InvalidSortByException, __BaseException>);
2409
- }
2410
-
2411
- export declare const ApprovalFilterSensitiveLog: (obj: Approval) => any;
2412
-
2413
- export declare const OriginApprovalRuleTemplateFilterSensitiveLog: (obj: OriginApprovalRuleTemplate) => any;
2414
-
2415
- export declare const ApprovalRuleFilterSensitiveLog: (obj: ApprovalRule) => any;
2416
-
2417
- export declare const ApprovalRuleEventMetadataFilterSensitiveLog: (obj: ApprovalRuleEventMetadata) => any;
2418
-
2419
- export declare const ApprovalRuleOverriddenEventMetadataFilterSensitiveLog: (obj: ApprovalRuleOverriddenEventMetadata) => any;
2420
-
2421
- export declare const ApprovalRuleTemplateFilterSensitiveLog: (obj: ApprovalRuleTemplate) => any;
2422
-
2423
- export declare const ApprovalStateChangedEventMetadataFilterSensitiveLog: (obj: ApprovalStateChangedEventMetadata) => any;
2424
-
2425
- export declare const AssociateApprovalRuleTemplateWithRepositoryInputFilterSensitiveLog: (obj: AssociateApprovalRuleTemplateWithRepositoryInput) => any;
2426
-
2427
- export declare const BatchAssociateApprovalRuleTemplateWithRepositoriesInputFilterSensitiveLog: (obj: BatchAssociateApprovalRuleTemplateWithRepositoriesInput) => any;
2428
-
2429
- export declare const BatchAssociateApprovalRuleTemplateWithRepositoriesErrorFilterSensitiveLog: (obj: BatchAssociateApprovalRuleTemplateWithRepositoriesError) => any;
2430
-
2431
- export declare const BatchAssociateApprovalRuleTemplateWithRepositoriesOutputFilterSensitiveLog: (obj: BatchAssociateApprovalRuleTemplateWithRepositoriesOutput) => any;
2432
-
2433
- export declare const BatchDescribeMergeConflictsInputFilterSensitiveLog: (obj: BatchDescribeMergeConflictsInput) => any;
2434
-
2435
- export declare const FileModesFilterSensitiveLog: (obj: FileModes) => any;
2436
-
2437
- export declare const FileSizesFilterSensitiveLog: (obj: FileSizes) => any;
2438
-
2439
- export declare const IsBinaryFileFilterSensitiveLog: (obj: IsBinaryFile) => any;
2440
-
2441
- export declare const MergeOperationsFilterSensitiveLog: (obj: MergeOperations) => any;
2442
-
2443
- export declare const ObjectTypesFilterSensitiveLog: (obj: ObjectTypes) => any;
2444
-
2445
- export declare const ConflictMetadataFilterSensitiveLog: (obj: ConflictMetadata) => any;
2446
-
2447
- export declare const MergeHunkDetailFilterSensitiveLog: (obj: MergeHunkDetail) => any;
2448
-
2449
- export declare const MergeHunkFilterSensitiveLog: (obj: MergeHunk) => any;
2450
-
2451
- export declare const ConflictFilterSensitiveLog: (obj: Conflict) => any;
2452
-
2453
- export declare const BatchDescribeMergeConflictsErrorFilterSensitiveLog: (obj: BatchDescribeMergeConflictsError) => any;
2454
-
2455
- export declare const BatchDescribeMergeConflictsOutputFilterSensitiveLog: (obj: BatchDescribeMergeConflictsOutput) => any;
2456
-
2457
- export declare const BatchDisassociateApprovalRuleTemplateFromRepositoriesInputFilterSensitiveLog: (obj: BatchDisassociateApprovalRuleTemplateFromRepositoriesInput) => any;
2458
-
2459
- export declare const BatchDisassociateApprovalRuleTemplateFromRepositoriesErrorFilterSensitiveLog: (obj: BatchDisassociateApprovalRuleTemplateFromRepositoriesError) => any;
2460
-
2461
- export declare const BatchDisassociateApprovalRuleTemplateFromRepositoriesOutputFilterSensitiveLog: (obj: BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput) => any;
2462
-
2463
- export declare const BatchGetCommitsInputFilterSensitiveLog: (obj: BatchGetCommitsInput) => any;
2464
-
2465
- export declare const UserInfoFilterSensitiveLog: (obj: UserInfo) => any;
2466
-
2467
- export declare const CommitFilterSensitiveLog: (obj: Commit) => any;
2468
-
2469
- export declare const BatchGetCommitsErrorFilterSensitiveLog: (obj: BatchGetCommitsError) => any;
2470
-
2471
- export declare const BatchGetCommitsOutputFilterSensitiveLog: (obj: BatchGetCommitsOutput) => any;
2472
-
2473
- export declare const BatchGetRepositoriesInputFilterSensitiveLog: (obj: BatchGetRepositoriesInput) => any;
2474
-
2475
- export declare const RepositoryMetadataFilterSensitiveLog: (obj: RepositoryMetadata) => any;
2476
-
2477
- export declare const BatchGetRepositoriesOutputFilterSensitiveLog: (obj: BatchGetRepositoriesOutput) => any;
2478
-
2479
- export declare const BlobMetadataFilterSensitiveLog: (obj: BlobMetadata) => any;
2480
-
2481
- export declare const BranchInfoFilterSensitiveLog: (obj: BranchInfo) => any;
2482
-
2483
- export declare const CreateApprovalRuleTemplateInputFilterSensitiveLog: (obj: CreateApprovalRuleTemplateInput) => any;
2484
-
2485
- export declare const CreateApprovalRuleTemplateOutputFilterSensitiveLog: (obj: CreateApprovalRuleTemplateOutput) => any;
2486
-
2487
- export declare const CreateBranchInputFilterSensitiveLog: (obj: CreateBranchInput) => any;
2488
-
2489
- export declare const DeleteFileEntryFilterSensitiveLog: (obj: DeleteFileEntry) => any;
2490
-
2491
- export declare const SourceFileSpecifierFilterSensitiveLog: (obj: SourceFileSpecifier) => any;
2492
-
2493
- export declare const PutFileEntryFilterSensitiveLog: (obj: PutFileEntry) => any;
2494
-
2495
- export declare const SetFileModeEntryFilterSensitiveLog: (obj: SetFileModeEntry) => any;
2496
-
2497
- export declare const CreateCommitInputFilterSensitiveLog: (obj: CreateCommitInput) => any;
2498
-
2499
- export declare const FileMetadataFilterSensitiveLog: (obj: FileMetadata) => any;
2500
-
2501
- export declare const CreateCommitOutputFilterSensitiveLog: (obj: CreateCommitOutput) => any;
2502
-
2503
- export declare const TargetFilterSensitiveLog: (obj: Target) => any;
2504
-
2505
- export declare const CreatePullRequestInputFilterSensitiveLog: (obj: CreatePullRequestInput) => any;
2506
-
2507
- export declare const MergeMetadataFilterSensitiveLog: (obj: MergeMetadata) => any;
2508
-
2509
- export declare const PullRequestTargetFilterSensitiveLog: (obj: PullRequestTarget) => any;
2510
-
2511
- export declare const PullRequestFilterSensitiveLog: (obj: PullRequest) => any;
2512
-
2513
- export declare const CreatePullRequestOutputFilterSensitiveLog: (obj: CreatePullRequestOutput) => any;
2514
-
2515
- export declare const CreatePullRequestApprovalRuleInputFilterSensitiveLog: (obj: CreatePullRequestApprovalRuleInput) => any;
2516
-
2517
- export declare const CreatePullRequestApprovalRuleOutputFilterSensitiveLog: (obj: CreatePullRequestApprovalRuleOutput) => any;
2518
-
2519
- export declare const CreateRepositoryInputFilterSensitiveLog: (obj: CreateRepositoryInput) => any;
2520
-
2521
- export declare const CreateRepositoryOutputFilterSensitiveLog: (obj: CreateRepositoryOutput) => any;
2522
-
2523
- export declare const ReplaceContentEntryFilterSensitiveLog: (obj: ReplaceContentEntry) => any;
2524
-
2525
- export declare const ConflictResolutionFilterSensitiveLog: (obj: ConflictResolution) => any;
2526
-
2527
- export declare const CreateUnreferencedMergeCommitInputFilterSensitiveLog: (obj: CreateUnreferencedMergeCommitInput) => any;
2528
-
2529
- export declare const CreateUnreferencedMergeCommitOutputFilterSensitiveLog: (obj: CreateUnreferencedMergeCommitOutput) => any;
2530
-
2531
- export declare const DeleteApprovalRuleTemplateInputFilterSensitiveLog: (obj: DeleteApprovalRuleTemplateInput) => any;
2532
-
2533
- export declare const DeleteApprovalRuleTemplateOutputFilterSensitiveLog: (obj: DeleteApprovalRuleTemplateOutput) => any;
2534
-
2535
- export declare const DeleteBranchInputFilterSensitiveLog: (obj: DeleteBranchInput) => any;
2536
-
2537
- export declare const DeleteBranchOutputFilterSensitiveLog: (obj: DeleteBranchOutput) => any;
2538
-
2539
- export declare const DeleteCommentContentInputFilterSensitiveLog: (obj: DeleteCommentContentInput) => any;
2540
-
2541
- export declare const CommentFilterSensitiveLog: (obj: Comment) => any;
2542
-
2543
- export declare const DeleteCommentContentOutputFilterSensitiveLog: (obj: DeleteCommentContentOutput) => any;
2544
-
2545
- export declare const DeleteFileInputFilterSensitiveLog: (obj: DeleteFileInput) => any;
2546
-
2547
- export declare const DeleteFileOutputFilterSensitiveLog: (obj: DeleteFileOutput) => any;
2548
-
2549
- export declare const DeletePullRequestApprovalRuleInputFilterSensitiveLog: (obj: DeletePullRequestApprovalRuleInput) => any;
2550
-
2551
- export declare const DeletePullRequestApprovalRuleOutputFilterSensitiveLog: (obj: DeletePullRequestApprovalRuleOutput) => any;
2552
-
2553
- export declare const DeleteRepositoryInputFilterSensitiveLog: (obj: DeleteRepositoryInput) => any;
2554
-
2555
- export declare const DeleteRepositoryOutputFilterSensitiveLog: (obj: DeleteRepositoryOutput) => any;
2556
-
2557
- export declare const DescribeMergeConflictsInputFilterSensitiveLog: (obj: DescribeMergeConflictsInput) => any;
2558
-
2559
- export declare const DescribeMergeConflictsOutputFilterSensitiveLog: (obj: DescribeMergeConflictsOutput) => any;
2560
-
2561
- export declare const DescribePullRequestEventsInputFilterSensitiveLog: (obj: DescribePullRequestEventsInput) => any;
2562
-
2563
- export declare const PullRequestCreatedEventMetadataFilterSensitiveLog: (obj: PullRequestCreatedEventMetadata) => any;
2564
-
2565
- export declare const PullRequestMergedStateChangedEventMetadataFilterSensitiveLog: (obj: PullRequestMergedStateChangedEventMetadata) => any;
2566
-
2567
- export declare const PullRequestSourceReferenceUpdatedEventMetadataFilterSensitiveLog: (obj: PullRequestSourceReferenceUpdatedEventMetadata) => any;
2568
-
2569
- export declare const PullRequestStatusChangedEventMetadataFilterSensitiveLog: (obj: PullRequestStatusChangedEventMetadata) => any;
2570
-
2571
- export declare const PullRequestEventFilterSensitiveLog: (obj: PullRequestEvent) => any;
2572
-
2573
- export declare const DescribePullRequestEventsOutputFilterSensitiveLog: (obj: DescribePullRequestEventsOutput) => any;
2574
-
2575
- export declare const DisassociateApprovalRuleTemplateFromRepositoryInputFilterSensitiveLog: (obj: DisassociateApprovalRuleTemplateFromRepositoryInput) => any;
2576
-
2577
- export declare const EvaluatePullRequestApprovalRulesInputFilterSensitiveLog: (obj: EvaluatePullRequestApprovalRulesInput) => any;
2578
-
2579
- export declare const EvaluationFilterSensitiveLog: (obj: Evaluation) => any;
2580
-
2581
- export declare const EvaluatePullRequestApprovalRulesOutputFilterSensitiveLog: (obj: EvaluatePullRequestApprovalRulesOutput) => any;
2582
-
2583
- export declare const GetApprovalRuleTemplateInputFilterSensitiveLog: (obj: GetApprovalRuleTemplateInput) => any;
2584
-
2585
- export declare const GetApprovalRuleTemplateOutputFilterSensitiveLog: (obj: GetApprovalRuleTemplateOutput) => any;
2586
-
2587
- export declare const GetBlobInputFilterSensitiveLog: (obj: GetBlobInput) => any;
2588
-
2589
- export declare const GetBlobOutputFilterSensitiveLog: (obj: GetBlobOutput) => any;
2590
-
2591
- export declare const GetBranchInputFilterSensitiveLog: (obj: GetBranchInput) => any;
2592
-
2593
- export declare const GetBranchOutputFilterSensitiveLog: (obj: GetBranchOutput) => any;
2594
-
2595
- export declare const GetCommentInputFilterSensitiveLog: (obj: GetCommentInput) => any;
2596
-
2597
- export declare const GetCommentOutputFilterSensitiveLog: (obj: GetCommentOutput) => any;
2598
-
2599
- export declare const GetCommentReactionsInputFilterSensitiveLog: (obj: GetCommentReactionsInput) => any;
2600
-
2601
- export declare const ReactionValueFormatsFilterSensitiveLog: (obj: ReactionValueFormats) => any;
2602
-
2603
- export declare const ReactionForCommentFilterSensitiveLog: (obj: ReactionForComment) => any;
2604
-
2605
- export declare const GetCommentReactionsOutputFilterSensitiveLog: (obj: GetCommentReactionsOutput) => any;
2606
-
2607
- export declare const GetCommentsForComparedCommitInputFilterSensitiveLog: (obj: GetCommentsForComparedCommitInput) => any;
2608
-
2609
- export declare const LocationFilterSensitiveLog: (obj: Location) => any;
2610
-
2611
- export declare const CommentsForComparedCommitFilterSensitiveLog: (obj: CommentsForComparedCommit) => any;
2612
-
2613
- export declare const GetCommentsForComparedCommitOutputFilterSensitiveLog: (obj: GetCommentsForComparedCommitOutput) => any;
2614
-
2615
- export declare const GetCommentsForPullRequestInputFilterSensitiveLog: (obj: GetCommentsForPullRequestInput) => any;
2616
-
2617
- export declare const CommentsForPullRequestFilterSensitiveLog: (obj: CommentsForPullRequest) => any;
2618
-
2619
- export declare const GetCommentsForPullRequestOutputFilterSensitiveLog: (obj: GetCommentsForPullRequestOutput) => any;
2620
-
2621
- export declare const GetCommitInputFilterSensitiveLog: (obj: GetCommitInput) => any;
2622
-
2623
- export declare const GetCommitOutputFilterSensitiveLog: (obj: GetCommitOutput) => any;
2624
-
2625
- export declare const GetDifferencesInputFilterSensitiveLog: (obj: GetDifferencesInput) => any;
2626
-
2627
- export declare const DifferenceFilterSensitiveLog: (obj: Difference) => any;
2628
-
2629
- export declare const GetDifferencesOutputFilterSensitiveLog: (obj: GetDifferencesOutput) => any;
2630
-
2631
- export declare const GetFileInputFilterSensitiveLog: (obj: GetFileInput) => any;
2632
-
2633
- export declare const GetFileOutputFilterSensitiveLog: (obj: GetFileOutput) => any;
2634
-
2635
- export declare const GetFolderInputFilterSensitiveLog: (obj: GetFolderInput) => any;
2636
-
2637
- export declare const FileFilterSensitiveLog: (obj: File) => any;
2638
-
2639
- export declare const FolderFilterSensitiveLog: (obj: Folder) => any;
2640
-
2641
- export declare const SubModuleFilterSensitiveLog: (obj: SubModule) => any;
2642
-
2643
- export declare const SymbolicLinkFilterSensitiveLog: (obj: SymbolicLink) => any;
2644
-
2645
- export declare const GetFolderOutputFilterSensitiveLog: (obj: GetFolderOutput) => any;
2646
-
2647
- export declare const GetMergeCommitInputFilterSensitiveLog: (obj: GetMergeCommitInput) => any;
2648
-
2649
- export declare const GetMergeCommitOutputFilterSensitiveLog: (obj: GetMergeCommitOutput) => any;
2650
-
2651
- export declare const GetMergeConflictsInputFilterSensitiveLog: (obj: GetMergeConflictsInput) => any;
2652
-
2653
- export declare const GetMergeConflictsOutputFilterSensitiveLog: (obj: GetMergeConflictsOutput) => any;
2654
-
2655
- export declare const GetMergeOptionsInputFilterSensitiveLog: (obj: GetMergeOptionsInput) => any;
2656
-
2657
- export declare const GetMergeOptionsOutputFilterSensitiveLog: (obj: GetMergeOptionsOutput) => any;
2658
-
2659
- export declare const GetPullRequestInputFilterSensitiveLog: (obj: GetPullRequestInput) => any;
2660
-
2661
- export declare const GetPullRequestOutputFilterSensitiveLog: (obj: GetPullRequestOutput) => any;
2662
-
2663
- export declare const GetPullRequestApprovalStatesInputFilterSensitiveLog: (obj: GetPullRequestApprovalStatesInput) => any;
2664
-
2665
- export declare const GetPullRequestApprovalStatesOutputFilterSensitiveLog: (obj: GetPullRequestApprovalStatesOutput) => any;
2666
-
2667
- export declare const GetPullRequestOverrideStateInputFilterSensitiveLog: (obj: GetPullRequestOverrideStateInput) => any;
2668
-
2669
- export declare const GetPullRequestOverrideStateOutputFilterSensitiveLog: (obj: GetPullRequestOverrideStateOutput) => any;
2670
-
2671
- export declare const GetRepositoryInputFilterSensitiveLog: (obj: GetRepositoryInput) => any;
2672
-
2673
- export declare const GetRepositoryOutputFilterSensitiveLog: (obj: GetRepositoryOutput) => any;
2674
-
2675
- export declare const GetRepositoryTriggersInputFilterSensitiveLog: (obj: GetRepositoryTriggersInput) => any;
2676
-
2677
- export declare const RepositoryTriggerFilterSensitiveLog: (obj: RepositoryTrigger) => any;
2678
-
2679
- export declare const GetRepositoryTriggersOutputFilterSensitiveLog: (obj: GetRepositoryTriggersOutput) => any;
2680
-
2681
- export declare const ListApprovalRuleTemplatesInputFilterSensitiveLog: (obj: ListApprovalRuleTemplatesInput) => any;
2682
-
2683
- export declare const ListApprovalRuleTemplatesOutputFilterSensitiveLog: (obj: ListApprovalRuleTemplatesOutput) => any;
2684
-
2685
- export declare const ListAssociatedApprovalRuleTemplatesForRepositoryInputFilterSensitiveLog: (obj: ListAssociatedApprovalRuleTemplatesForRepositoryInput) => any;
2686
-
2687
- export declare const ListAssociatedApprovalRuleTemplatesForRepositoryOutputFilterSensitiveLog: (obj: ListAssociatedApprovalRuleTemplatesForRepositoryOutput) => any;
2688
-
2689
- export declare const ListBranchesInputFilterSensitiveLog: (obj: ListBranchesInput) => any;
2690
-
2691
- export declare const ListBranchesOutputFilterSensitiveLog: (obj: ListBranchesOutput) => any;
2692
-
2693
- export declare const ListPullRequestsInputFilterSensitiveLog: (obj: ListPullRequestsInput) => any;
2694
-
2695
- export declare const ListPullRequestsOutputFilterSensitiveLog: (obj: ListPullRequestsOutput) => any;
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/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 enum ApprovalState {
11
+ APPROVE = "APPROVE",
12
+ REVOKE = "REVOKE",
13
+ }
14
+ export interface Approval {
15
+ userArn?: string;
16
+ approvalState?: ApprovalState | string;
17
+ }
18
+ export interface OriginApprovalRuleTemplate {
19
+ approvalRuleTemplateId?: string;
20
+ approvalRuleTemplateName?: string;
21
+ }
22
+ export interface ApprovalRule {
23
+ approvalRuleId?: string;
24
+ approvalRuleName?: string;
25
+ approvalRuleContent?: string;
26
+ ruleContentSha256?: string;
27
+ lastModifiedDate?: Date;
28
+ creationDate?: Date;
29
+ lastModifiedUser?: string;
30
+ originApprovalRuleTemplate?: OriginApprovalRuleTemplate;
31
+ }
32
+ export declare class ApprovalRuleContentRequiredException extends __BaseException {
33
+ readonly name: "ApprovalRuleContentRequiredException";
34
+ readonly $fault: "client";
35
+ constructor(
36
+ opts: __ExceptionOptionType<
37
+ ApprovalRuleContentRequiredException,
38
+ __BaseException
39
+ >
40
+ );
41
+ }
42
+ export declare class ApprovalRuleDoesNotExistException extends __BaseException {
43
+ readonly name: "ApprovalRuleDoesNotExistException";
44
+ readonly $fault: "client";
45
+ constructor(
46
+ opts: __ExceptionOptionType<
47
+ ApprovalRuleDoesNotExistException,
48
+ __BaseException
49
+ >
50
+ );
51
+ }
52
+ export interface ApprovalRuleEventMetadata {
53
+ approvalRuleName?: string;
54
+ approvalRuleId?: string;
55
+ approvalRuleContent?: string;
56
+ }
57
+ export declare class ApprovalRuleNameAlreadyExistsException extends __BaseException {
58
+ readonly name: "ApprovalRuleNameAlreadyExistsException";
59
+ readonly $fault: "client";
60
+ constructor(
61
+ opts: __ExceptionOptionType<
62
+ ApprovalRuleNameAlreadyExistsException,
63
+ __BaseException
64
+ >
65
+ );
66
+ }
67
+ export declare class ApprovalRuleNameRequiredException extends __BaseException {
68
+ readonly name: "ApprovalRuleNameRequiredException";
69
+ readonly $fault: "client";
70
+ constructor(
71
+ opts: __ExceptionOptionType<
72
+ ApprovalRuleNameRequiredException,
73
+ __BaseException
74
+ >
75
+ );
76
+ }
77
+ export declare enum OverrideStatus {
78
+ OVERRIDE = "OVERRIDE",
79
+ REVOKE = "REVOKE",
80
+ }
81
+ export interface ApprovalRuleOverriddenEventMetadata {
82
+ revisionId?: string;
83
+ overrideStatus?: OverrideStatus | string;
84
+ }
85
+ export interface ApprovalRuleTemplate {
86
+ approvalRuleTemplateId?: string;
87
+ approvalRuleTemplateName?: string;
88
+ approvalRuleTemplateDescription?: string;
89
+ approvalRuleTemplateContent?: string;
90
+ ruleContentSha256?: string;
91
+ lastModifiedDate?: Date;
92
+ creationDate?: Date;
93
+ lastModifiedUser?: string;
94
+ }
95
+ export declare class ApprovalRuleTemplateContentRequiredException extends __BaseException {
96
+ readonly name: "ApprovalRuleTemplateContentRequiredException";
97
+ readonly $fault: "client";
98
+ constructor(
99
+ opts: __ExceptionOptionType<
100
+ ApprovalRuleTemplateContentRequiredException,
101
+ __BaseException
102
+ >
103
+ );
104
+ }
105
+ export declare class ApprovalRuleTemplateDoesNotExistException extends __BaseException {
106
+ readonly name: "ApprovalRuleTemplateDoesNotExistException";
107
+ readonly $fault: "client";
108
+ constructor(
109
+ opts: __ExceptionOptionType<
110
+ ApprovalRuleTemplateDoesNotExistException,
111
+ __BaseException
112
+ >
113
+ );
114
+ }
115
+ export declare class ApprovalRuleTemplateInUseException extends __BaseException {
116
+ readonly name: "ApprovalRuleTemplateInUseException";
117
+ readonly $fault: "client";
118
+ constructor(
119
+ opts: __ExceptionOptionType<
120
+ ApprovalRuleTemplateInUseException,
121
+ __BaseException
122
+ >
123
+ );
124
+ }
125
+ export declare class ApprovalRuleTemplateNameAlreadyExistsException extends __BaseException {
126
+ readonly name: "ApprovalRuleTemplateNameAlreadyExistsException";
127
+ readonly $fault: "client";
128
+ constructor(
129
+ opts: __ExceptionOptionType<
130
+ ApprovalRuleTemplateNameAlreadyExistsException,
131
+ __BaseException
132
+ >
133
+ );
134
+ }
135
+ export declare class ApprovalRuleTemplateNameRequiredException extends __BaseException {
136
+ readonly name: "ApprovalRuleTemplateNameRequiredException";
137
+ readonly $fault: "client";
138
+ constructor(
139
+ opts: __ExceptionOptionType<
140
+ ApprovalRuleTemplateNameRequiredException,
141
+ __BaseException
142
+ >
143
+ );
144
+ }
145
+ export interface ApprovalStateChangedEventMetadata {
146
+ revisionId?: string;
147
+ approvalStatus?: ApprovalState | string;
148
+ }
149
+ export declare class ApprovalStateRequiredException extends __BaseException {
150
+ readonly name: "ApprovalStateRequiredException";
151
+ readonly $fault: "client";
152
+ constructor(
153
+ opts: __ExceptionOptionType<ApprovalStateRequiredException, __BaseException>
154
+ );
155
+ }
156
+ export interface AssociateApprovalRuleTemplateWithRepositoryInput {
157
+ approvalRuleTemplateName: string | undefined;
158
+ repositoryName: string | undefined;
159
+ }
160
+ export declare class EncryptionIntegrityChecksFailedException extends __BaseException {
161
+ readonly name: "EncryptionIntegrityChecksFailedException";
162
+ readonly $fault: "server";
163
+ constructor(
164
+ opts: __ExceptionOptionType<
165
+ EncryptionIntegrityChecksFailedException,
166
+ __BaseException
167
+ >
168
+ );
169
+ }
170
+ export declare class EncryptionKeyAccessDeniedException extends __BaseException {
171
+ readonly name: "EncryptionKeyAccessDeniedException";
172
+ readonly $fault: "client";
173
+ constructor(
174
+ opts: __ExceptionOptionType<
175
+ EncryptionKeyAccessDeniedException,
176
+ __BaseException
177
+ >
178
+ );
179
+ }
180
+ export declare class EncryptionKeyDisabledException extends __BaseException {
181
+ readonly name: "EncryptionKeyDisabledException";
182
+ readonly $fault: "client";
183
+ constructor(
184
+ opts: __ExceptionOptionType<EncryptionKeyDisabledException, __BaseException>
185
+ );
186
+ }
187
+ export declare class EncryptionKeyNotFoundException extends __BaseException {
188
+ readonly name: "EncryptionKeyNotFoundException";
189
+ readonly $fault: "client";
190
+ constructor(
191
+ opts: __ExceptionOptionType<EncryptionKeyNotFoundException, __BaseException>
192
+ );
193
+ }
194
+ export declare class EncryptionKeyUnavailableException extends __BaseException {
195
+ readonly name: "EncryptionKeyUnavailableException";
196
+ readonly $fault: "client";
197
+ constructor(
198
+ opts: __ExceptionOptionType<
199
+ EncryptionKeyUnavailableException,
200
+ __BaseException
201
+ >
202
+ );
203
+ }
204
+ export declare class InvalidApprovalRuleTemplateNameException extends __BaseException {
205
+ readonly name: "InvalidApprovalRuleTemplateNameException";
206
+ readonly $fault: "client";
207
+ constructor(
208
+ opts: __ExceptionOptionType<
209
+ InvalidApprovalRuleTemplateNameException,
210
+ __BaseException
211
+ >
212
+ );
213
+ }
214
+ export declare class InvalidRepositoryNameException extends __BaseException {
215
+ readonly name: "InvalidRepositoryNameException";
216
+ readonly $fault: "client";
217
+ constructor(
218
+ opts: __ExceptionOptionType<InvalidRepositoryNameException, __BaseException>
219
+ );
220
+ }
221
+ export declare class MaximumRuleTemplatesAssociatedWithRepositoryException extends __BaseException {
222
+ readonly name: "MaximumRuleTemplatesAssociatedWithRepositoryException";
223
+ readonly $fault: "client";
224
+ constructor(
225
+ opts: __ExceptionOptionType<
226
+ MaximumRuleTemplatesAssociatedWithRepositoryException,
227
+ __BaseException
228
+ >
229
+ );
230
+ }
231
+ export declare class RepositoryDoesNotExistException extends __BaseException {
232
+ readonly name: "RepositoryDoesNotExistException";
233
+ readonly $fault: "client";
234
+ constructor(
235
+ opts: __ExceptionOptionType<
236
+ RepositoryDoesNotExistException,
237
+ __BaseException
238
+ >
239
+ );
240
+ }
241
+ export declare class RepositoryNameRequiredException extends __BaseException {
242
+ readonly name: "RepositoryNameRequiredException";
243
+ readonly $fault: "client";
244
+ constructor(
245
+ opts: __ExceptionOptionType<
246
+ RepositoryNameRequiredException,
247
+ __BaseException
248
+ >
249
+ );
250
+ }
251
+ export declare class AuthorDoesNotExistException extends __BaseException {
252
+ readonly name: "AuthorDoesNotExistException";
253
+ readonly $fault: "client";
254
+ constructor(
255
+ opts: __ExceptionOptionType<AuthorDoesNotExistException, __BaseException>
256
+ );
257
+ }
258
+ export interface BatchAssociateApprovalRuleTemplateWithRepositoriesInput {
259
+ approvalRuleTemplateName: string | undefined;
260
+ repositoryNames: string[] | undefined;
261
+ }
262
+ export interface BatchAssociateApprovalRuleTemplateWithRepositoriesError {
263
+ repositoryName?: string;
264
+ errorCode?: string;
265
+ errorMessage?: string;
266
+ }
267
+ export interface BatchAssociateApprovalRuleTemplateWithRepositoriesOutput {
268
+ associatedRepositoryNames: string[] | undefined;
269
+ errors: BatchAssociateApprovalRuleTemplateWithRepositoriesError[] | undefined;
270
+ }
271
+ export declare class MaximumRepositoryNamesExceededException extends __BaseException {
272
+ readonly name: "MaximumRepositoryNamesExceededException";
273
+ readonly $fault: "client";
274
+ constructor(
275
+ opts: __ExceptionOptionType<
276
+ MaximumRepositoryNamesExceededException,
277
+ __BaseException
278
+ >
279
+ );
280
+ }
281
+ export declare class RepositoryNamesRequiredException extends __BaseException {
282
+ readonly name: "RepositoryNamesRequiredException";
283
+ readonly $fault: "client";
284
+ constructor(
285
+ opts: __ExceptionOptionType<
286
+ RepositoryNamesRequiredException,
287
+ __BaseException
288
+ >
289
+ );
290
+ }
291
+ export declare enum ConflictDetailLevelTypeEnum {
292
+ FILE_LEVEL = "FILE_LEVEL",
293
+ LINE_LEVEL = "LINE_LEVEL",
294
+ }
295
+ export declare enum ConflictResolutionStrategyTypeEnum {
296
+ ACCEPT_DESTINATION = "ACCEPT_DESTINATION",
297
+ ACCEPT_SOURCE = "ACCEPT_SOURCE",
298
+ AUTOMERGE = "AUTOMERGE",
299
+ NONE = "NONE",
300
+ }
301
+ export declare enum MergeOptionTypeEnum {
302
+ FAST_FORWARD_MERGE = "FAST_FORWARD_MERGE",
303
+ SQUASH_MERGE = "SQUASH_MERGE",
304
+ THREE_WAY_MERGE = "THREE_WAY_MERGE",
305
+ }
306
+ export interface BatchDescribeMergeConflictsInput {
307
+ repositoryName: string | undefined;
308
+ destinationCommitSpecifier: string | undefined;
309
+ sourceCommitSpecifier: string | undefined;
310
+ mergeOption: MergeOptionTypeEnum | string | undefined;
311
+ maxMergeHunks?: number;
312
+ maxConflictFiles?: number;
313
+ filePaths?: string[];
314
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | string;
315
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | string;
316
+ nextToken?: string;
317
+ }
318
+ export declare enum FileModeTypeEnum {
319
+ EXECUTABLE = "EXECUTABLE",
320
+ NORMAL = "NORMAL",
321
+ SYMLINK = "SYMLINK",
322
+ }
323
+ export interface FileModes {
324
+ source?: FileModeTypeEnum | string;
325
+ destination?: FileModeTypeEnum | string;
326
+ base?: FileModeTypeEnum | string;
327
+ }
328
+ export interface FileSizes {
329
+ source?: number;
330
+ destination?: number;
331
+ base?: number;
332
+ }
333
+ export interface IsBinaryFile {
334
+ source?: boolean;
335
+ destination?: boolean;
336
+ base?: boolean;
337
+ }
338
+ export declare enum ChangeTypeEnum {
339
+ ADDED = "A",
340
+ DELETED = "D",
341
+ MODIFIED = "M",
342
+ }
343
+ export interface MergeOperations {
344
+ source?: ChangeTypeEnum | string;
345
+ destination?: ChangeTypeEnum | string;
346
+ }
347
+ export declare enum ObjectTypeEnum {
348
+ DIRECTORY = "DIRECTORY",
349
+ FILE = "FILE",
350
+ GIT_LINK = "GIT_LINK",
351
+ SYMBOLIC_LINK = "SYMBOLIC_LINK",
352
+ }
353
+ export interface ObjectTypes {
354
+ source?: ObjectTypeEnum | string;
355
+ destination?: ObjectTypeEnum | string;
356
+ base?: ObjectTypeEnum | string;
357
+ }
358
+ export interface ConflictMetadata {
359
+ filePath?: string;
360
+ fileSizes?: FileSizes;
361
+ fileModes?: FileModes;
362
+ objectTypes?: ObjectTypes;
363
+ numberOfConflicts?: number;
364
+ isBinaryFile?: IsBinaryFile;
365
+ contentConflict?: boolean;
366
+ fileModeConflict?: boolean;
367
+ objectTypeConflict?: boolean;
368
+ mergeOperations?: MergeOperations;
369
+ }
370
+ export interface MergeHunkDetail {
371
+ startLine?: number;
372
+ endLine?: number;
373
+ hunkContent?: string;
374
+ }
375
+ export interface MergeHunk {
376
+ isConflict?: boolean;
377
+ source?: MergeHunkDetail;
378
+ destination?: MergeHunkDetail;
379
+ base?: MergeHunkDetail;
380
+ }
381
+ export interface Conflict {
382
+ conflictMetadata?: ConflictMetadata;
383
+ mergeHunks?: MergeHunk[];
384
+ }
385
+ export interface BatchDescribeMergeConflictsError {
386
+ filePath: string | undefined;
387
+ exceptionName: string | undefined;
388
+ message: string | undefined;
389
+ }
390
+ export interface BatchDescribeMergeConflictsOutput {
391
+ conflicts: Conflict[] | undefined;
392
+ nextToken?: string;
393
+ errors?: BatchDescribeMergeConflictsError[];
394
+ destinationCommitId: string | undefined;
395
+ sourceCommitId: string | undefined;
396
+ baseCommitId?: string;
397
+ }
398
+ export declare class CommitDoesNotExistException extends __BaseException {
399
+ readonly name: "CommitDoesNotExistException";
400
+ readonly $fault: "client";
401
+ constructor(
402
+ opts: __ExceptionOptionType<CommitDoesNotExistException, __BaseException>
403
+ );
404
+ }
405
+ export declare class CommitRequiredException extends __BaseException {
406
+ readonly name: "CommitRequiredException";
407
+ readonly $fault: "client";
408
+ constructor(
409
+ opts: __ExceptionOptionType<CommitRequiredException, __BaseException>
410
+ );
411
+ }
412
+ export declare class InvalidCommitException extends __BaseException {
413
+ readonly name: "InvalidCommitException";
414
+ readonly $fault: "client";
415
+ constructor(
416
+ opts: __ExceptionOptionType<InvalidCommitException, __BaseException>
417
+ );
418
+ }
419
+ export declare class InvalidConflictDetailLevelException extends __BaseException {
420
+ readonly name: "InvalidConflictDetailLevelException";
421
+ readonly $fault: "client";
422
+ constructor(
423
+ opts: __ExceptionOptionType<
424
+ InvalidConflictDetailLevelException,
425
+ __BaseException
426
+ >
427
+ );
428
+ }
429
+ export declare class InvalidConflictResolutionStrategyException extends __BaseException {
430
+ readonly name: "InvalidConflictResolutionStrategyException";
431
+ readonly $fault: "client";
432
+ constructor(
433
+ opts: __ExceptionOptionType<
434
+ InvalidConflictResolutionStrategyException,
435
+ __BaseException
436
+ >
437
+ );
438
+ }
439
+ export declare class InvalidContinuationTokenException extends __BaseException {
440
+ readonly name: "InvalidContinuationTokenException";
441
+ readonly $fault: "client";
442
+ constructor(
443
+ opts: __ExceptionOptionType<
444
+ InvalidContinuationTokenException,
445
+ __BaseException
446
+ >
447
+ );
448
+ }
449
+ export declare class InvalidMaxConflictFilesException extends __BaseException {
450
+ readonly name: "InvalidMaxConflictFilesException";
451
+ readonly $fault: "client";
452
+ constructor(
453
+ opts: __ExceptionOptionType<
454
+ InvalidMaxConflictFilesException,
455
+ __BaseException
456
+ >
457
+ );
458
+ }
459
+ export declare class InvalidMaxMergeHunksException extends __BaseException {
460
+ readonly name: "InvalidMaxMergeHunksException";
461
+ readonly $fault: "client";
462
+ constructor(
463
+ opts: __ExceptionOptionType<InvalidMaxMergeHunksException, __BaseException>
464
+ );
465
+ }
466
+ export declare class InvalidMergeOptionException extends __BaseException {
467
+ readonly name: "InvalidMergeOptionException";
468
+ readonly $fault: "client";
469
+ constructor(
470
+ opts: __ExceptionOptionType<InvalidMergeOptionException, __BaseException>
471
+ );
472
+ }
473
+ export declare class MaximumFileContentToLoadExceededException extends __BaseException {
474
+ readonly name: "MaximumFileContentToLoadExceededException";
475
+ readonly $fault: "client";
476
+ constructor(
477
+ opts: __ExceptionOptionType<
478
+ MaximumFileContentToLoadExceededException,
479
+ __BaseException
480
+ >
481
+ );
482
+ }
483
+ export declare class MaximumItemsToCompareExceededException extends __BaseException {
484
+ readonly name: "MaximumItemsToCompareExceededException";
485
+ readonly $fault: "client";
486
+ constructor(
487
+ opts: __ExceptionOptionType<
488
+ MaximumItemsToCompareExceededException,
489
+ __BaseException
490
+ >
491
+ );
492
+ }
493
+ export declare class MergeOptionRequiredException extends __BaseException {
494
+ readonly name: "MergeOptionRequiredException";
495
+ readonly $fault: "client";
496
+ constructor(
497
+ opts: __ExceptionOptionType<MergeOptionRequiredException, __BaseException>
498
+ );
499
+ }
500
+ export declare class TipsDivergenceExceededException extends __BaseException {
501
+ readonly name: "TipsDivergenceExceededException";
502
+ readonly $fault: "client";
503
+ constructor(
504
+ opts: __ExceptionOptionType<
505
+ TipsDivergenceExceededException,
506
+ __BaseException
507
+ >
508
+ );
509
+ }
510
+ export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesInput {
511
+ approvalRuleTemplateName: string | undefined;
512
+ repositoryNames: string[] | undefined;
513
+ }
514
+ export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesError {
515
+ repositoryName?: string;
516
+ errorCode?: string;
517
+ errorMessage?: string;
518
+ }
519
+ export interface BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput {
520
+ disassociatedRepositoryNames: string[] | undefined;
521
+ errors:
522
+ | BatchDisassociateApprovalRuleTemplateFromRepositoriesError[]
523
+ | undefined;
524
+ }
525
+ export interface BatchGetCommitsInput {
526
+ commitIds: string[] | undefined;
527
+ repositoryName: string | undefined;
528
+ }
529
+ export interface UserInfo {
530
+ name?: string;
531
+ email?: string;
532
+ date?: string;
533
+ }
534
+ export interface Commit {
535
+ commitId?: string;
536
+ treeId?: string;
537
+ parents?: string[];
538
+ message?: string;
539
+ author?: UserInfo;
540
+ committer?: UserInfo;
541
+ additionalData?: string;
542
+ }
543
+ export interface BatchGetCommitsError {
544
+ commitId?: string;
545
+ errorCode?: string;
546
+ errorMessage?: string;
547
+ }
548
+ export interface BatchGetCommitsOutput {
549
+ commits?: Commit[];
550
+ errors?: BatchGetCommitsError[];
551
+ }
552
+ export declare class CommitIdsLimitExceededException extends __BaseException {
553
+ readonly name: "CommitIdsLimitExceededException";
554
+ readonly $fault: "client";
555
+ constructor(
556
+ opts: __ExceptionOptionType<
557
+ CommitIdsLimitExceededException,
558
+ __BaseException
559
+ >
560
+ );
561
+ }
562
+ export declare class CommitIdsListRequiredException extends __BaseException {
563
+ readonly name: "CommitIdsListRequiredException";
564
+ readonly $fault: "client";
565
+ constructor(
566
+ opts: __ExceptionOptionType<CommitIdsListRequiredException, __BaseException>
567
+ );
568
+ }
569
+ export interface BatchGetRepositoriesInput {
570
+ repositoryNames: string[] | undefined;
571
+ }
572
+ export interface RepositoryMetadata {
573
+ accountId?: string;
574
+ repositoryId?: string;
575
+ repositoryName?: string;
576
+ repositoryDescription?: string;
577
+ defaultBranch?: string;
578
+ lastModifiedDate?: Date;
579
+ creationDate?: Date;
580
+ cloneUrlHttp?: string;
581
+ cloneUrlSsh?: string;
582
+ Arn?: string;
583
+ }
584
+ export interface BatchGetRepositoriesOutput {
585
+ repositories?: RepositoryMetadata[];
586
+ repositoriesNotFound?: string[];
587
+ }
588
+ export declare class BeforeCommitIdAndAfterCommitIdAreSameException extends __BaseException {
589
+ readonly name: "BeforeCommitIdAndAfterCommitIdAreSameException";
590
+ readonly $fault: "client";
591
+ constructor(
592
+ opts: __ExceptionOptionType<
593
+ BeforeCommitIdAndAfterCommitIdAreSameException,
594
+ __BaseException
595
+ >
596
+ );
597
+ }
598
+ export declare class BlobIdDoesNotExistException extends __BaseException {
599
+ readonly name: "BlobIdDoesNotExistException";
600
+ readonly $fault: "client";
601
+ constructor(
602
+ opts: __ExceptionOptionType<BlobIdDoesNotExistException, __BaseException>
603
+ );
604
+ }
605
+ export declare class BlobIdRequiredException extends __BaseException {
606
+ readonly name: "BlobIdRequiredException";
607
+ readonly $fault: "client";
608
+ constructor(
609
+ opts: __ExceptionOptionType<BlobIdRequiredException, __BaseException>
610
+ );
611
+ }
612
+ export interface BlobMetadata {
613
+ blobId?: string;
614
+ path?: string;
615
+ mode?: string;
616
+ }
617
+ export declare class BranchDoesNotExistException extends __BaseException {
618
+ readonly name: "BranchDoesNotExistException";
619
+ readonly $fault: "client";
620
+ constructor(
621
+ opts: __ExceptionOptionType<BranchDoesNotExistException, __BaseException>
622
+ );
623
+ }
624
+ export interface BranchInfo {
625
+ branchName?: string;
626
+ commitId?: string;
627
+ }
628
+ export declare class BranchNameExistsException extends __BaseException {
629
+ readonly name: "BranchNameExistsException";
630
+ readonly $fault: "client";
631
+ constructor(
632
+ opts: __ExceptionOptionType<BranchNameExistsException, __BaseException>
633
+ );
634
+ }
635
+ export declare class BranchNameIsTagNameException extends __BaseException {
636
+ readonly name: "BranchNameIsTagNameException";
637
+ readonly $fault: "client";
638
+ constructor(
639
+ opts: __ExceptionOptionType<BranchNameIsTagNameException, __BaseException>
640
+ );
641
+ }
642
+ export declare class BranchNameRequiredException extends __BaseException {
643
+ readonly name: "BranchNameRequiredException";
644
+ readonly $fault: "client";
645
+ constructor(
646
+ opts: __ExceptionOptionType<BranchNameRequiredException, __BaseException>
647
+ );
648
+ }
649
+ export declare class CannotDeleteApprovalRuleFromTemplateException extends __BaseException {
650
+ readonly name: "CannotDeleteApprovalRuleFromTemplateException";
651
+ readonly $fault: "client";
652
+ constructor(
653
+ opts: __ExceptionOptionType<
654
+ CannotDeleteApprovalRuleFromTemplateException,
655
+ __BaseException
656
+ >
657
+ );
658
+ }
659
+ export declare class CannotModifyApprovalRuleFromTemplateException extends __BaseException {
660
+ readonly name: "CannotModifyApprovalRuleFromTemplateException";
661
+ readonly $fault: "client";
662
+ constructor(
663
+ opts: __ExceptionOptionType<
664
+ CannotModifyApprovalRuleFromTemplateException,
665
+ __BaseException
666
+ >
667
+ );
668
+ }
669
+ export declare class ClientRequestTokenRequiredException extends __BaseException {
670
+ readonly name: "ClientRequestTokenRequiredException";
671
+ readonly $fault: "client";
672
+ constructor(
673
+ opts: __ExceptionOptionType<
674
+ ClientRequestTokenRequiredException,
675
+ __BaseException
676
+ >
677
+ );
678
+ }
679
+ export interface CreateApprovalRuleTemplateInput {
680
+ approvalRuleTemplateName: string | undefined;
681
+ approvalRuleTemplateContent: string | undefined;
682
+ approvalRuleTemplateDescription?: string;
683
+ }
684
+ export interface CreateApprovalRuleTemplateOutput {
685
+ approvalRuleTemplate: ApprovalRuleTemplate | undefined;
686
+ }
687
+ export declare class InvalidApprovalRuleTemplateContentException extends __BaseException {
688
+ readonly name: "InvalidApprovalRuleTemplateContentException";
689
+ readonly $fault: "client";
690
+ constructor(
691
+ opts: __ExceptionOptionType<
692
+ InvalidApprovalRuleTemplateContentException,
693
+ __BaseException
694
+ >
695
+ );
696
+ }
697
+ export declare class InvalidApprovalRuleTemplateDescriptionException extends __BaseException {
698
+ readonly name: "InvalidApprovalRuleTemplateDescriptionException";
699
+ readonly $fault: "client";
700
+ constructor(
701
+ opts: __ExceptionOptionType<
702
+ InvalidApprovalRuleTemplateDescriptionException,
703
+ __BaseException
704
+ >
705
+ );
706
+ }
707
+ export declare class NumberOfRuleTemplatesExceededException extends __BaseException {
708
+ readonly name: "NumberOfRuleTemplatesExceededException";
709
+ readonly $fault: "client";
710
+ constructor(
711
+ opts: __ExceptionOptionType<
712
+ NumberOfRuleTemplatesExceededException,
713
+ __BaseException
714
+ >
715
+ );
716
+ }
717
+ export declare class CommitIdRequiredException extends __BaseException {
718
+ readonly name: "CommitIdRequiredException";
719
+ readonly $fault: "client";
720
+ constructor(
721
+ opts: __ExceptionOptionType<CommitIdRequiredException, __BaseException>
722
+ );
723
+ }
724
+ export interface CreateBranchInput {
725
+ repositoryName: string | undefined;
726
+ branchName: string | undefined;
727
+ commitId: string | undefined;
728
+ }
729
+ export declare class InvalidBranchNameException extends __BaseException {
730
+ readonly name: "InvalidBranchNameException";
731
+ readonly $fault: "client";
732
+ constructor(
733
+ opts: __ExceptionOptionType<InvalidBranchNameException, __BaseException>
734
+ );
735
+ }
736
+ export declare class InvalidCommitIdException extends __BaseException {
737
+ readonly name: "InvalidCommitIdException";
738
+ readonly $fault: "client";
739
+ constructor(
740
+ opts: __ExceptionOptionType<InvalidCommitIdException, __BaseException>
741
+ );
742
+ }
743
+ export declare class CommitMessageLengthExceededException extends __BaseException {
744
+ readonly name: "CommitMessageLengthExceededException";
745
+ readonly $fault: "client";
746
+ constructor(
747
+ opts: __ExceptionOptionType<
748
+ CommitMessageLengthExceededException,
749
+ __BaseException
750
+ >
751
+ );
752
+ }
753
+ export interface DeleteFileEntry {
754
+ filePath: string | undefined;
755
+ }
756
+ export interface SourceFileSpecifier {
757
+ filePath: string | undefined;
758
+ isMove?: boolean;
759
+ }
760
+ export interface PutFileEntry {
761
+ filePath: string | undefined;
762
+ fileMode?: FileModeTypeEnum | string;
763
+ fileContent?: Uint8Array;
764
+ sourceFile?: SourceFileSpecifier;
765
+ }
766
+ export interface SetFileModeEntry {
767
+ filePath: string | undefined;
768
+ fileMode: FileModeTypeEnum | string | undefined;
769
+ }
770
+ export interface CreateCommitInput {
771
+ repositoryName: string | undefined;
772
+ branchName: string | undefined;
773
+ parentCommitId?: string;
774
+ authorName?: string;
775
+ email?: string;
776
+ commitMessage?: string;
777
+ keepEmptyFolders?: boolean;
778
+ putFiles?: PutFileEntry[];
779
+ deleteFiles?: DeleteFileEntry[];
780
+ setFileModes?: SetFileModeEntry[];
781
+ }
782
+ export interface FileMetadata {
783
+ absolutePath?: string;
784
+ blobId?: string;
785
+ fileMode?: FileModeTypeEnum | string;
786
+ }
787
+ export interface CreateCommitOutput {
788
+ commitId?: string;
789
+ treeId?: string;
790
+ filesAdded?: FileMetadata[];
791
+ filesUpdated?: FileMetadata[];
792
+ filesDeleted?: FileMetadata[];
793
+ }
794
+ export declare class DirectoryNameConflictsWithFileNameException extends __BaseException {
795
+ readonly name: "DirectoryNameConflictsWithFileNameException";
796
+ readonly $fault: "client";
797
+ constructor(
798
+ opts: __ExceptionOptionType<
799
+ DirectoryNameConflictsWithFileNameException,
800
+ __BaseException
801
+ >
802
+ );
803
+ }
804
+ export declare class FileContentAndSourceFileSpecifiedException extends __BaseException {
805
+ readonly name: "FileContentAndSourceFileSpecifiedException";
806
+ readonly $fault: "client";
807
+ constructor(
808
+ opts: __ExceptionOptionType<
809
+ FileContentAndSourceFileSpecifiedException,
810
+ __BaseException
811
+ >
812
+ );
813
+ }
814
+ export declare class FileContentSizeLimitExceededException extends __BaseException {
815
+ readonly name: "FileContentSizeLimitExceededException";
816
+ readonly $fault: "client";
817
+ constructor(
818
+ opts: __ExceptionOptionType<
819
+ FileContentSizeLimitExceededException,
820
+ __BaseException
821
+ >
822
+ );
823
+ }
824
+ export declare class FileDoesNotExistException extends __BaseException {
825
+ readonly name: "FileDoesNotExistException";
826
+ readonly $fault: "client";
827
+ constructor(
828
+ opts: __ExceptionOptionType<FileDoesNotExistException, __BaseException>
829
+ );
830
+ }
831
+ export declare class FileEntryRequiredException extends __BaseException {
832
+ readonly name: "FileEntryRequiredException";
833
+ readonly $fault: "client";
834
+ constructor(
835
+ opts: __ExceptionOptionType<FileEntryRequiredException, __BaseException>
836
+ );
837
+ }
838
+ export declare class FileModeRequiredException extends __BaseException {
839
+ readonly name: "FileModeRequiredException";
840
+ readonly $fault: "client";
841
+ constructor(
842
+ opts: __ExceptionOptionType<FileModeRequiredException, __BaseException>
843
+ );
844
+ }
845
+ export declare class FileNameConflictsWithDirectoryNameException extends __BaseException {
846
+ readonly name: "FileNameConflictsWithDirectoryNameException";
847
+ readonly $fault: "client";
848
+ constructor(
849
+ opts: __ExceptionOptionType<
850
+ FileNameConflictsWithDirectoryNameException,
851
+ __BaseException
852
+ >
853
+ );
854
+ }
855
+ export declare class FilePathConflictsWithSubmodulePathException extends __BaseException {
856
+ readonly name: "FilePathConflictsWithSubmodulePathException";
857
+ readonly $fault: "client";
858
+ constructor(
859
+ opts: __ExceptionOptionType<
860
+ FilePathConflictsWithSubmodulePathException,
861
+ __BaseException
862
+ >
863
+ );
864
+ }
865
+ export declare class FolderContentSizeLimitExceededException extends __BaseException {
866
+ readonly name: "FolderContentSizeLimitExceededException";
867
+ readonly $fault: "client";
868
+ constructor(
869
+ opts: __ExceptionOptionType<
870
+ FolderContentSizeLimitExceededException,
871
+ __BaseException
872
+ >
873
+ );
874
+ }
875
+ export declare class InvalidDeletionParameterException extends __BaseException {
876
+ readonly name: "InvalidDeletionParameterException";
877
+ readonly $fault: "client";
878
+ constructor(
879
+ opts: __ExceptionOptionType<
880
+ InvalidDeletionParameterException,
881
+ __BaseException
882
+ >
883
+ );
884
+ }
885
+ export declare class InvalidEmailException extends __BaseException {
886
+ readonly name: "InvalidEmailException";
887
+ readonly $fault: "client";
888
+ constructor(
889
+ opts: __ExceptionOptionType<InvalidEmailException, __BaseException>
890
+ );
891
+ }
892
+ export declare class InvalidFileModeException extends __BaseException {
893
+ readonly name: "InvalidFileModeException";
894
+ readonly $fault: "client";
895
+ constructor(
896
+ opts: __ExceptionOptionType<InvalidFileModeException, __BaseException>
897
+ );
898
+ }
899
+ export declare class InvalidParentCommitIdException extends __BaseException {
900
+ readonly name: "InvalidParentCommitIdException";
901
+ readonly $fault: "client";
902
+ constructor(
903
+ opts: __ExceptionOptionType<InvalidParentCommitIdException, __BaseException>
904
+ );
905
+ }
906
+ export declare class InvalidPathException extends __BaseException {
907
+ readonly name: "InvalidPathException";
908
+ readonly $fault: "client";
909
+ constructor(
910
+ opts: __ExceptionOptionType<InvalidPathException, __BaseException>
911
+ );
912
+ }
913
+ export declare class MaximumFileEntriesExceededException extends __BaseException {
914
+ readonly name: "MaximumFileEntriesExceededException";
915
+ readonly $fault: "client";
916
+ constructor(
917
+ opts: __ExceptionOptionType<
918
+ MaximumFileEntriesExceededException,
919
+ __BaseException
920
+ >
921
+ );
922
+ }
923
+ export declare class NameLengthExceededException extends __BaseException {
924
+ readonly name: "NameLengthExceededException";
925
+ readonly $fault: "client";
926
+ constructor(
927
+ opts: __ExceptionOptionType<NameLengthExceededException, __BaseException>
928
+ );
929
+ }
930
+ export declare class NoChangeException extends __BaseException {
931
+ readonly name: "NoChangeException";
932
+ readonly $fault: "client";
933
+ constructor(opts: __ExceptionOptionType<NoChangeException, __BaseException>);
934
+ }
935
+ export declare class ParentCommitDoesNotExistException extends __BaseException {
936
+ readonly name: "ParentCommitDoesNotExistException";
937
+ readonly $fault: "client";
938
+ constructor(
939
+ opts: __ExceptionOptionType<
940
+ ParentCommitDoesNotExistException,
941
+ __BaseException
942
+ >
943
+ );
944
+ }
945
+ export declare class ParentCommitIdOutdatedException extends __BaseException {
946
+ readonly name: "ParentCommitIdOutdatedException";
947
+ readonly $fault: "client";
948
+ constructor(
949
+ opts: __ExceptionOptionType<
950
+ ParentCommitIdOutdatedException,
951
+ __BaseException
952
+ >
953
+ );
954
+ }
955
+ export declare class ParentCommitIdRequiredException extends __BaseException {
956
+ readonly name: "ParentCommitIdRequiredException";
957
+ readonly $fault: "client";
958
+ constructor(
959
+ opts: __ExceptionOptionType<
960
+ ParentCommitIdRequiredException,
961
+ __BaseException
962
+ >
963
+ );
964
+ }
965
+ export declare class PathRequiredException extends __BaseException {
966
+ readonly name: "PathRequiredException";
967
+ readonly $fault: "client";
968
+ constructor(
969
+ opts: __ExceptionOptionType<PathRequiredException, __BaseException>
970
+ );
971
+ }
972
+ export declare class PutFileEntryConflictException extends __BaseException {
973
+ readonly name: "PutFileEntryConflictException";
974
+ readonly $fault: "client";
975
+ constructor(
976
+ opts: __ExceptionOptionType<PutFileEntryConflictException, __BaseException>
977
+ );
978
+ }
979
+ export declare class RestrictedSourceFileException extends __BaseException {
980
+ readonly name: "RestrictedSourceFileException";
981
+ readonly $fault: "client";
982
+ constructor(
983
+ opts: __ExceptionOptionType<RestrictedSourceFileException, __BaseException>
984
+ );
985
+ }
986
+ export declare class SamePathRequestException extends __BaseException {
987
+ readonly name: "SamePathRequestException";
988
+ readonly $fault: "client";
989
+ constructor(
990
+ opts: __ExceptionOptionType<SamePathRequestException, __BaseException>
991
+ );
992
+ }
993
+ export declare class SourceFileOrContentRequiredException extends __BaseException {
994
+ readonly name: "SourceFileOrContentRequiredException";
995
+ readonly $fault: "client";
996
+ constructor(
997
+ opts: __ExceptionOptionType<
998
+ SourceFileOrContentRequiredException,
999
+ __BaseException
1000
+ >
1001
+ );
1002
+ }
1003
+ export interface Target {
1004
+ repositoryName: string | undefined;
1005
+ sourceReference: string | undefined;
1006
+ destinationReference?: string;
1007
+ }
1008
+ export interface CreatePullRequestInput {
1009
+ title: string | undefined;
1010
+ description?: string;
1011
+ targets: Target[] | undefined;
1012
+ clientRequestToken?: string;
1013
+ }
1014
+ export declare enum PullRequestStatusEnum {
1015
+ CLOSED = "CLOSED",
1016
+ OPEN = "OPEN",
1017
+ }
1018
+ export interface MergeMetadata {
1019
+ isMerged?: boolean;
1020
+ mergedBy?: string;
1021
+ mergeCommitId?: string;
1022
+ mergeOption?: MergeOptionTypeEnum | string;
1023
+ }
1024
+ export interface PullRequestTarget {
1025
+ repositoryName?: string;
1026
+ sourceReference?: string;
1027
+ destinationReference?: string;
1028
+ destinationCommit?: string;
1029
+ sourceCommit?: string;
1030
+ mergeBase?: string;
1031
+ mergeMetadata?: MergeMetadata;
1032
+ }
1033
+ export interface PullRequest {
1034
+ pullRequestId?: string;
1035
+ title?: string;
1036
+ description?: string;
1037
+ lastActivityDate?: Date;
1038
+ creationDate?: Date;
1039
+ pullRequestStatus?: PullRequestStatusEnum | string;
1040
+ authorArn?: string;
1041
+ pullRequestTargets?: PullRequestTarget[];
1042
+ clientRequestToken?: string;
1043
+ revisionId?: string;
1044
+ approvalRules?: ApprovalRule[];
1045
+ }
1046
+ export interface CreatePullRequestOutput {
1047
+ pullRequest: PullRequest | undefined;
1048
+ }
1049
+ export declare class IdempotencyParameterMismatchException extends __BaseException {
1050
+ readonly name: "IdempotencyParameterMismatchException";
1051
+ readonly $fault: "client";
1052
+ constructor(
1053
+ opts: __ExceptionOptionType<
1054
+ IdempotencyParameterMismatchException,
1055
+ __BaseException
1056
+ >
1057
+ );
1058
+ }
1059
+ export declare class InvalidClientRequestTokenException extends __BaseException {
1060
+ readonly name: "InvalidClientRequestTokenException";
1061
+ readonly $fault: "client";
1062
+ constructor(
1063
+ opts: __ExceptionOptionType<
1064
+ InvalidClientRequestTokenException,
1065
+ __BaseException
1066
+ >
1067
+ );
1068
+ }
1069
+ export declare class InvalidDescriptionException extends __BaseException {
1070
+ readonly name: "InvalidDescriptionException";
1071
+ readonly $fault: "client";
1072
+ constructor(
1073
+ opts: __ExceptionOptionType<InvalidDescriptionException, __BaseException>
1074
+ );
1075
+ }
1076
+ export declare class InvalidReferenceNameException extends __BaseException {
1077
+ readonly name: "InvalidReferenceNameException";
1078
+ readonly $fault: "client";
1079
+ constructor(
1080
+ opts: __ExceptionOptionType<InvalidReferenceNameException, __BaseException>
1081
+ );
1082
+ }
1083
+ export declare class InvalidTargetException extends __BaseException {
1084
+ readonly name: "InvalidTargetException";
1085
+ readonly $fault: "client";
1086
+ constructor(
1087
+ opts: __ExceptionOptionType<InvalidTargetException, __BaseException>
1088
+ );
1089
+ }
1090
+ export declare class InvalidTargetsException extends __BaseException {
1091
+ readonly name: "InvalidTargetsException";
1092
+ readonly $fault: "client";
1093
+ constructor(
1094
+ opts: __ExceptionOptionType<InvalidTargetsException, __BaseException>
1095
+ );
1096
+ }
1097
+ export declare class InvalidTitleException extends __BaseException {
1098
+ readonly name: "InvalidTitleException";
1099
+ readonly $fault: "client";
1100
+ constructor(
1101
+ opts: __ExceptionOptionType<InvalidTitleException, __BaseException>
1102
+ );
1103
+ }
1104
+ export declare class MaximumOpenPullRequestsExceededException extends __BaseException {
1105
+ readonly name: "MaximumOpenPullRequestsExceededException";
1106
+ readonly $fault: "client";
1107
+ constructor(
1108
+ opts: __ExceptionOptionType<
1109
+ MaximumOpenPullRequestsExceededException,
1110
+ __BaseException
1111
+ >
1112
+ );
1113
+ }
1114
+ export declare class MultipleRepositoriesInPullRequestException extends __BaseException {
1115
+ readonly name: "MultipleRepositoriesInPullRequestException";
1116
+ readonly $fault: "client";
1117
+ constructor(
1118
+ opts: __ExceptionOptionType<
1119
+ MultipleRepositoriesInPullRequestException,
1120
+ __BaseException
1121
+ >
1122
+ );
1123
+ }
1124
+ export declare class ReferenceDoesNotExistException extends __BaseException {
1125
+ readonly name: "ReferenceDoesNotExistException";
1126
+ readonly $fault: "client";
1127
+ constructor(
1128
+ opts: __ExceptionOptionType<ReferenceDoesNotExistException, __BaseException>
1129
+ );
1130
+ }
1131
+ export declare class ReferenceNameRequiredException extends __BaseException {
1132
+ readonly name: "ReferenceNameRequiredException";
1133
+ readonly $fault: "client";
1134
+ constructor(
1135
+ opts: __ExceptionOptionType<ReferenceNameRequiredException, __BaseException>
1136
+ );
1137
+ }
1138
+ export declare class ReferenceTypeNotSupportedException extends __BaseException {
1139
+ readonly name: "ReferenceTypeNotSupportedException";
1140
+ readonly $fault: "client";
1141
+ constructor(
1142
+ opts: __ExceptionOptionType<
1143
+ ReferenceTypeNotSupportedException,
1144
+ __BaseException
1145
+ >
1146
+ );
1147
+ }
1148
+ export declare class SourceAndDestinationAreSameException extends __BaseException {
1149
+ readonly name: "SourceAndDestinationAreSameException";
1150
+ readonly $fault: "client";
1151
+ constructor(
1152
+ opts: __ExceptionOptionType<
1153
+ SourceAndDestinationAreSameException,
1154
+ __BaseException
1155
+ >
1156
+ );
1157
+ }
1158
+ export declare class TargetRequiredException extends __BaseException {
1159
+ readonly name: "TargetRequiredException";
1160
+ readonly $fault: "client";
1161
+ constructor(
1162
+ opts: __ExceptionOptionType<TargetRequiredException, __BaseException>
1163
+ );
1164
+ }
1165
+ export declare class TargetsRequiredException extends __BaseException {
1166
+ readonly name: "TargetsRequiredException";
1167
+ readonly $fault: "client";
1168
+ constructor(
1169
+ opts: __ExceptionOptionType<TargetsRequiredException, __BaseException>
1170
+ );
1171
+ }
1172
+ export declare class TitleRequiredException extends __BaseException {
1173
+ readonly name: "TitleRequiredException";
1174
+ readonly $fault: "client";
1175
+ constructor(
1176
+ opts: __ExceptionOptionType<TitleRequiredException, __BaseException>
1177
+ );
1178
+ }
1179
+ export interface CreatePullRequestApprovalRuleInput {
1180
+ pullRequestId: string | undefined;
1181
+ approvalRuleName: string | undefined;
1182
+ approvalRuleContent: string | undefined;
1183
+ }
1184
+ export interface CreatePullRequestApprovalRuleOutput {
1185
+ approvalRule: ApprovalRule | undefined;
1186
+ }
1187
+ export declare class InvalidApprovalRuleContentException extends __BaseException {
1188
+ readonly name: "InvalidApprovalRuleContentException";
1189
+ readonly $fault: "client";
1190
+ constructor(
1191
+ opts: __ExceptionOptionType<
1192
+ InvalidApprovalRuleContentException,
1193
+ __BaseException
1194
+ >
1195
+ );
1196
+ }
1197
+ export declare class InvalidApprovalRuleNameException extends __BaseException {
1198
+ readonly name: "InvalidApprovalRuleNameException";
1199
+ readonly $fault: "client";
1200
+ constructor(
1201
+ opts: __ExceptionOptionType<
1202
+ InvalidApprovalRuleNameException,
1203
+ __BaseException
1204
+ >
1205
+ );
1206
+ }
1207
+ export declare class InvalidPullRequestIdException extends __BaseException {
1208
+ readonly name: "InvalidPullRequestIdException";
1209
+ readonly $fault: "client";
1210
+ constructor(
1211
+ opts: __ExceptionOptionType<InvalidPullRequestIdException, __BaseException>
1212
+ );
1213
+ }
1214
+ export declare class NumberOfRulesExceededException extends __BaseException {
1215
+ readonly name: "NumberOfRulesExceededException";
1216
+ readonly $fault: "client";
1217
+ constructor(
1218
+ opts: __ExceptionOptionType<NumberOfRulesExceededException, __BaseException>
1219
+ );
1220
+ }
1221
+ export declare class PullRequestAlreadyClosedException extends __BaseException {
1222
+ readonly name: "PullRequestAlreadyClosedException";
1223
+ readonly $fault: "client";
1224
+ constructor(
1225
+ opts: __ExceptionOptionType<
1226
+ PullRequestAlreadyClosedException,
1227
+ __BaseException
1228
+ >
1229
+ );
1230
+ }
1231
+ export declare class PullRequestDoesNotExistException extends __BaseException {
1232
+ readonly name: "PullRequestDoesNotExistException";
1233
+ readonly $fault: "client";
1234
+ constructor(
1235
+ opts: __ExceptionOptionType<
1236
+ PullRequestDoesNotExistException,
1237
+ __BaseException
1238
+ >
1239
+ );
1240
+ }
1241
+ export declare class PullRequestIdRequiredException extends __BaseException {
1242
+ readonly name: "PullRequestIdRequiredException";
1243
+ readonly $fault: "client";
1244
+ constructor(
1245
+ opts: __ExceptionOptionType<PullRequestIdRequiredException, __BaseException>
1246
+ );
1247
+ }
1248
+ export interface CreateRepositoryInput {
1249
+ repositoryName: string | undefined;
1250
+ repositoryDescription?: string;
1251
+ tags?: Record<string, string>;
1252
+ }
1253
+ export interface CreateRepositoryOutput {
1254
+ repositoryMetadata?: RepositoryMetadata;
1255
+ }
1256
+ export declare class InvalidRepositoryDescriptionException extends __BaseException {
1257
+ readonly name: "InvalidRepositoryDescriptionException";
1258
+ readonly $fault: "client";
1259
+ constructor(
1260
+ opts: __ExceptionOptionType<
1261
+ InvalidRepositoryDescriptionException,
1262
+ __BaseException
1263
+ >
1264
+ );
1265
+ }
1266
+ export declare class InvalidSystemTagUsageException extends __BaseException {
1267
+ readonly name: "InvalidSystemTagUsageException";
1268
+ readonly $fault: "client";
1269
+ constructor(
1270
+ opts: __ExceptionOptionType<InvalidSystemTagUsageException, __BaseException>
1271
+ );
1272
+ }
1273
+ export declare class InvalidTagsMapException extends __BaseException {
1274
+ readonly name: "InvalidTagsMapException";
1275
+ readonly $fault: "client";
1276
+ constructor(
1277
+ opts: __ExceptionOptionType<InvalidTagsMapException, __BaseException>
1278
+ );
1279
+ }
1280
+ export declare class RepositoryLimitExceededException extends __BaseException {
1281
+ readonly name: "RepositoryLimitExceededException";
1282
+ readonly $fault: "client";
1283
+ constructor(
1284
+ opts: __ExceptionOptionType<
1285
+ RepositoryLimitExceededException,
1286
+ __BaseException
1287
+ >
1288
+ );
1289
+ }
1290
+ export declare class RepositoryNameExistsException extends __BaseException {
1291
+ readonly name: "RepositoryNameExistsException";
1292
+ readonly $fault: "client";
1293
+ constructor(
1294
+ opts: __ExceptionOptionType<RepositoryNameExistsException, __BaseException>
1295
+ );
1296
+ }
1297
+ export declare class TagPolicyException extends __BaseException {
1298
+ readonly name: "TagPolicyException";
1299
+ readonly $fault: "client";
1300
+ constructor(opts: __ExceptionOptionType<TagPolicyException, __BaseException>);
1301
+ }
1302
+ export declare class TooManyTagsException extends __BaseException {
1303
+ readonly name: "TooManyTagsException";
1304
+ readonly $fault: "client";
1305
+ constructor(
1306
+ opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
1307
+ );
1308
+ }
1309
+ export declare class ConcurrentReferenceUpdateException extends __BaseException {
1310
+ readonly name: "ConcurrentReferenceUpdateException";
1311
+ readonly $fault: "client";
1312
+ constructor(
1313
+ opts: __ExceptionOptionType<
1314
+ ConcurrentReferenceUpdateException,
1315
+ __BaseException
1316
+ >
1317
+ );
1318
+ }
1319
+ export declare enum ReplacementTypeEnum {
1320
+ KEEP_BASE = "KEEP_BASE",
1321
+ KEEP_DESTINATION = "KEEP_DESTINATION",
1322
+ KEEP_SOURCE = "KEEP_SOURCE",
1323
+ USE_NEW_CONTENT = "USE_NEW_CONTENT",
1324
+ }
1325
+ export interface ReplaceContentEntry {
1326
+ filePath: string | undefined;
1327
+ replacementType: ReplacementTypeEnum | string | undefined;
1328
+ content?: Uint8Array;
1329
+ fileMode?: FileModeTypeEnum | string;
1330
+ }
1331
+ export interface ConflictResolution {
1332
+ replaceContents?: ReplaceContentEntry[];
1333
+ deleteFiles?: DeleteFileEntry[];
1334
+ setFileModes?: SetFileModeEntry[];
1335
+ }
1336
+ export interface CreateUnreferencedMergeCommitInput {
1337
+ repositoryName: string | undefined;
1338
+ sourceCommitSpecifier: string | undefined;
1339
+ destinationCommitSpecifier: string | undefined;
1340
+ mergeOption: MergeOptionTypeEnum | string | undefined;
1341
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | string;
1342
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | string;
1343
+ authorName?: string;
1344
+ email?: string;
1345
+ commitMessage?: string;
1346
+ keepEmptyFolders?: boolean;
1347
+ conflictResolution?: ConflictResolution;
1348
+ }
1349
+ export interface CreateUnreferencedMergeCommitOutput {
1350
+ commitId?: string;
1351
+ treeId?: string;
1352
+ }
1353
+ export declare class InvalidConflictResolutionException extends __BaseException {
1354
+ readonly name: "InvalidConflictResolutionException";
1355
+ readonly $fault: "client";
1356
+ constructor(
1357
+ opts: __ExceptionOptionType<
1358
+ InvalidConflictResolutionException,
1359
+ __BaseException
1360
+ >
1361
+ );
1362
+ }
1363
+ export declare class InvalidReplacementContentException extends __BaseException {
1364
+ readonly name: "InvalidReplacementContentException";
1365
+ readonly $fault: "client";
1366
+ constructor(
1367
+ opts: __ExceptionOptionType<
1368
+ InvalidReplacementContentException,
1369
+ __BaseException
1370
+ >
1371
+ );
1372
+ }
1373
+ export declare class InvalidReplacementTypeException extends __BaseException {
1374
+ readonly name: "InvalidReplacementTypeException";
1375
+ readonly $fault: "client";
1376
+ constructor(
1377
+ opts: __ExceptionOptionType<
1378
+ InvalidReplacementTypeException,
1379
+ __BaseException
1380
+ >
1381
+ );
1382
+ }
1383
+ export declare class ManualMergeRequiredException extends __BaseException {
1384
+ readonly name: "ManualMergeRequiredException";
1385
+ readonly $fault: "client";
1386
+ constructor(
1387
+ opts: __ExceptionOptionType<ManualMergeRequiredException, __BaseException>
1388
+ );
1389
+ }
1390
+ export declare class MaximumConflictResolutionEntriesExceededException extends __BaseException {
1391
+ readonly name: "MaximumConflictResolutionEntriesExceededException";
1392
+ readonly $fault: "client";
1393
+ constructor(
1394
+ opts: __ExceptionOptionType<
1395
+ MaximumConflictResolutionEntriesExceededException,
1396
+ __BaseException
1397
+ >
1398
+ );
1399
+ }
1400
+ export declare class MultipleConflictResolutionEntriesException extends __BaseException {
1401
+ readonly name: "MultipleConflictResolutionEntriesException";
1402
+ readonly $fault: "client";
1403
+ constructor(
1404
+ opts: __ExceptionOptionType<
1405
+ MultipleConflictResolutionEntriesException,
1406
+ __BaseException
1407
+ >
1408
+ );
1409
+ }
1410
+ export declare class ReplacementContentRequiredException extends __BaseException {
1411
+ readonly name: "ReplacementContentRequiredException";
1412
+ readonly $fault: "client";
1413
+ constructor(
1414
+ opts: __ExceptionOptionType<
1415
+ ReplacementContentRequiredException,
1416
+ __BaseException
1417
+ >
1418
+ );
1419
+ }
1420
+ export declare class ReplacementTypeRequiredException extends __BaseException {
1421
+ readonly name: "ReplacementTypeRequiredException";
1422
+ readonly $fault: "client";
1423
+ constructor(
1424
+ opts: __ExceptionOptionType<
1425
+ ReplacementTypeRequiredException,
1426
+ __BaseException
1427
+ >
1428
+ );
1429
+ }
1430
+ export interface DeleteApprovalRuleTemplateInput {
1431
+ approvalRuleTemplateName: string | undefined;
1432
+ }
1433
+ export interface DeleteApprovalRuleTemplateOutput {
1434
+ approvalRuleTemplateId: string | undefined;
1435
+ }
1436
+ export declare class DefaultBranchCannotBeDeletedException extends __BaseException {
1437
+ readonly name: "DefaultBranchCannotBeDeletedException";
1438
+ readonly $fault: "client";
1439
+ constructor(
1440
+ opts: __ExceptionOptionType<
1441
+ DefaultBranchCannotBeDeletedException,
1442
+ __BaseException
1443
+ >
1444
+ );
1445
+ }
1446
+ export interface DeleteBranchInput {
1447
+ repositoryName: string | undefined;
1448
+ branchName: string | undefined;
1449
+ }
1450
+ export interface DeleteBranchOutput {
1451
+ deletedBranch?: BranchInfo;
1452
+ }
1453
+ export declare class CommentDeletedException extends __BaseException {
1454
+ readonly name: "CommentDeletedException";
1455
+ readonly $fault: "client";
1456
+ constructor(
1457
+ opts: __ExceptionOptionType<CommentDeletedException, __BaseException>
1458
+ );
1459
+ }
1460
+ export declare class CommentDoesNotExistException extends __BaseException {
1461
+ readonly name: "CommentDoesNotExistException";
1462
+ readonly $fault: "client";
1463
+ constructor(
1464
+ opts: __ExceptionOptionType<CommentDoesNotExistException, __BaseException>
1465
+ );
1466
+ }
1467
+ export declare class CommentIdRequiredException extends __BaseException {
1468
+ readonly name: "CommentIdRequiredException";
1469
+ readonly $fault: "client";
1470
+ constructor(
1471
+ opts: __ExceptionOptionType<CommentIdRequiredException, __BaseException>
1472
+ );
1473
+ }
1474
+ export interface DeleteCommentContentInput {
1475
+ commentId: string | undefined;
1476
+ }
1477
+ export interface Comment {
1478
+ commentId?: string;
1479
+ content?: string;
1480
+ inReplyTo?: string;
1481
+ creationDate?: Date;
1482
+ lastModifiedDate?: Date;
1483
+ authorArn?: string;
1484
+ deleted?: boolean;
1485
+ clientRequestToken?: string;
1486
+ callerReactions?: string[];
1487
+ reactionCounts?: Record<string, number>;
1488
+ }
1489
+ export interface DeleteCommentContentOutput {
1490
+ comment?: Comment;
1491
+ }
1492
+ export declare class InvalidCommentIdException extends __BaseException {
1493
+ readonly name: "InvalidCommentIdException";
1494
+ readonly $fault: "client";
1495
+ constructor(
1496
+ opts: __ExceptionOptionType<InvalidCommentIdException, __BaseException>
1497
+ );
1498
+ }
1499
+ export interface DeleteFileInput {
1500
+ repositoryName: string | undefined;
1501
+ branchName: string | undefined;
1502
+ filePath: string | undefined;
1503
+ parentCommitId: string | undefined;
1504
+ keepEmptyFolders?: boolean;
1505
+ commitMessage?: string;
1506
+ name?: string;
1507
+ email?: string;
1508
+ }
1509
+ export interface DeleteFileOutput {
1510
+ commitId: string | undefined;
1511
+ blobId: string | undefined;
1512
+ treeId: string | undefined;
1513
+ filePath: string | undefined;
1514
+ }
1515
+ export interface DeletePullRequestApprovalRuleInput {
1516
+ pullRequestId: string | undefined;
1517
+ approvalRuleName: string | undefined;
1518
+ }
1519
+ export interface DeletePullRequestApprovalRuleOutput {
1520
+ approvalRuleId: string | undefined;
1521
+ }
1522
+ export interface DeleteRepositoryInput {
1523
+ repositoryName: string | undefined;
1524
+ }
1525
+ export interface DeleteRepositoryOutput {
1526
+ repositoryId?: string;
1527
+ }
1528
+ export interface DescribeMergeConflictsInput {
1529
+ repositoryName: string | undefined;
1530
+ destinationCommitSpecifier: string | undefined;
1531
+ sourceCommitSpecifier: string | undefined;
1532
+ mergeOption: MergeOptionTypeEnum | string | undefined;
1533
+ maxMergeHunks?: number;
1534
+ filePath: string | undefined;
1535
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | string;
1536
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | string;
1537
+ nextToken?: string;
1538
+ }
1539
+ export interface DescribeMergeConflictsOutput {
1540
+ conflictMetadata: ConflictMetadata | undefined;
1541
+ mergeHunks: MergeHunk[] | undefined;
1542
+ nextToken?: string;
1543
+ destinationCommitId: string | undefined;
1544
+ sourceCommitId: string | undefined;
1545
+ baseCommitId?: string;
1546
+ }
1547
+ export declare enum PullRequestEventType {
1548
+ PULL_REQUEST_APPROVAL_RULE_CREATED = "PULL_REQUEST_APPROVAL_RULE_CREATED",
1549
+ PULL_REQUEST_APPROVAL_RULE_DELETED = "PULL_REQUEST_APPROVAL_RULE_DELETED",
1550
+ PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN = "PULL_REQUEST_APPROVAL_RULE_OVERRIDDEN",
1551
+ PULL_REQUEST_APPROVAL_RULE_UPDATED = "PULL_REQUEST_APPROVAL_RULE_UPDATED",
1552
+ PULL_REQUEST_APPROVAL_STATE_CHANGED = "PULL_REQUEST_APPROVAL_STATE_CHANGED",
1553
+ PULL_REQUEST_CREATED = "PULL_REQUEST_CREATED",
1554
+ PULL_REQUEST_MERGE_STATE_CHANGED = "PULL_REQUEST_MERGE_STATE_CHANGED",
1555
+ PULL_REQUEST_SOURCE_REFERENCE_UPDATED = "PULL_REQUEST_SOURCE_REFERENCE_UPDATED",
1556
+ PULL_REQUEST_STATUS_CHANGED = "PULL_REQUEST_STATUS_CHANGED",
1557
+ }
1558
+ export interface DescribePullRequestEventsInput {
1559
+ pullRequestId: string | undefined;
1560
+ pullRequestEventType?: PullRequestEventType | string;
1561
+ actorArn?: string;
1562
+ nextToken?: string;
1563
+ maxResults?: number;
1564
+ }
1565
+ export interface PullRequestCreatedEventMetadata {
1566
+ repositoryName?: string;
1567
+ sourceCommitId?: string;
1568
+ destinationCommitId?: string;
1569
+ mergeBase?: string;
1570
+ }
1571
+ export interface PullRequestMergedStateChangedEventMetadata {
1572
+ repositoryName?: string;
1573
+ destinationReference?: string;
1574
+ mergeMetadata?: MergeMetadata;
1575
+ }
1576
+ export interface PullRequestSourceReferenceUpdatedEventMetadata {
1577
+ repositoryName?: string;
1578
+ beforeCommitId?: string;
1579
+ afterCommitId?: string;
1580
+ mergeBase?: string;
1581
+ }
1582
+ export interface PullRequestStatusChangedEventMetadata {
1583
+ pullRequestStatus?: PullRequestStatusEnum | string;
1584
+ }
1585
+ export interface PullRequestEvent {
1586
+ pullRequestId?: string;
1587
+ eventDate?: Date;
1588
+ pullRequestEventType?: PullRequestEventType | string;
1589
+ actorArn?: string;
1590
+ pullRequestCreatedEventMetadata?: PullRequestCreatedEventMetadata;
1591
+ pullRequestStatusChangedEventMetadata?: PullRequestStatusChangedEventMetadata;
1592
+ pullRequestSourceReferenceUpdatedEventMetadata?: PullRequestSourceReferenceUpdatedEventMetadata;
1593
+ pullRequestMergedStateChangedEventMetadata?: PullRequestMergedStateChangedEventMetadata;
1594
+ approvalRuleEventMetadata?: ApprovalRuleEventMetadata;
1595
+ approvalStateChangedEventMetadata?: ApprovalStateChangedEventMetadata;
1596
+ approvalRuleOverriddenEventMetadata?: ApprovalRuleOverriddenEventMetadata;
1597
+ }
1598
+ export interface DescribePullRequestEventsOutput {
1599
+ pullRequestEvents: PullRequestEvent[] | undefined;
1600
+ nextToken?: string;
1601
+ }
1602
+ export declare class InvalidActorArnException extends __BaseException {
1603
+ readonly name: "InvalidActorArnException";
1604
+ readonly $fault: "client";
1605
+ constructor(
1606
+ opts: __ExceptionOptionType<InvalidActorArnException, __BaseException>
1607
+ );
1608
+ }
1609
+ export declare class InvalidMaxResultsException extends __BaseException {
1610
+ readonly name: "InvalidMaxResultsException";
1611
+ readonly $fault: "client";
1612
+ constructor(
1613
+ opts: __ExceptionOptionType<InvalidMaxResultsException, __BaseException>
1614
+ );
1615
+ }
1616
+ export declare class InvalidPullRequestEventTypeException extends __BaseException {
1617
+ readonly name: "InvalidPullRequestEventTypeException";
1618
+ readonly $fault: "client";
1619
+ constructor(
1620
+ opts: __ExceptionOptionType<
1621
+ InvalidPullRequestEventTypeException,
1622
+ __BaseException
1623
+ >
1624
+ );
1625
+ }
1626
+ export interface DisassociateApprovalRuleTemplateFromRepositoryInput {
1627
+ approvalRuleTemplateName: string | undefined;
1628
+ repositoryName: string | undefined;
1629
+ }
1630
+ export interface EvaluatePullRequestApprovalRulesInput {
1631
+ pullRequestId: string | undefined;
1632
+ revisionId: string | undefined;
1633
+ }
1634
+ export interface Evaluation {
1635
+ approved?: boolean;
1636
+ overridden?: boolean;
1637
+ approvalRulesSatisfied?: string[];
1638
+ approvalRulesNotSatisfied?: string[];
1639
+ }
1640
+ export interface EvaluatePullRequestApprovalRulesOutput {
1641
+ evaluation: Evaluation | undefined;
1642
+ }
1643
+ export declare class InvalidRevisionIdException extends __BaseException {
1644
+ readonly name: "InvalidRevisionIdException";
1645
+ readonly $fault: "client";
1646
+ constructor(
1647
+ opts: __ExceptionOptionType<InvalidRevisionIdException, __BaseException>
1648
+ );
1649
+ }
1650
+ export declare class RevisionIdRequiredException extends __BaseException {
1651
+ readonly name: "RevisionIdRequiredException";
1652
+ readonly $fault: "client";
1653
+ constructor(
1654
+ opts: __ExceptionOptionType<RevisionIdRequiredException, __BaseException>
1655
+ );
1656
+ }
1657
+ export declare class RevisionNotCurrentException extends __BaseException {
1658
+ readonly name: "RevisionNotCurrentException";
1659
+ readonly $fault: "client";
1660
+ constructor(
1661
+ opts: __ExceptionOptionType<RevisionNotCurrentException, __BaseException>
1662
+ );
1663
+ }
1664
+ export interface GetApprovalRuleTemplateInput {
1665
+ approvalRuleTemplateName: string | undefined;
1666
+ }
1667
+ export interface GetApprovalRuleTemplateOutput {
1668
+ approvalRuleTemplate: ApprovalRuleTemplate | undefined;
1669
+ }
1670
+ export declare class FileTooLargeException extends __BaseException {
1671
+ readonly name: "FileTooLargeException";
1672
+ readonly $fault: "client";
1673
+ constructor(
1674
+ opts: __ExceptionOptionType<FileTooLargeException, __BaseException>
1675
+ );
1676
+ }
1677
+ export interface GetBlobInput {
1678
+ repositoryName: string | undefined;
1679
+ blobId: string | undefined;
1680
+ }
1681
+ export interface GetBlobOutput {
1682
+ content: Uint8Array | undefined;
1683
+ }
1684
+ export declare class InvalidBlobIdException extends __BaseException {
1685
+ readonly name: "InvalidBlobIdException";
1686
+ readonly $fault: "client";
1687
+ constructor(
1688
+ opts: __ExceptionOptionType<InvalidBlobIdException, __BaseException>
1689
+ );
1690
+ }
1691
+ export interface GetBranchInput {
1692
+ repositoryName?: string;
1693
+ branchName?: string;
1694
+ }
1695
+ export interface GetBranchOutput {
1696
+ branch?: BranchInfo;
1697
+ }
1698
+ export interface GetCommentInput {
1699
+ commentId: string | undefined;
1700
+ }
1701
+ export interface GetCommentOutput {
1702
+ comment?: Comment;
1703
+ }
1704
+ export interface GetCommentReactionsInput {
1705
+ commentId: string | undefined;
1706
+ reactionUserArn?: string;
1707
+ nextToken?: string;
1708
+ maxResults?: number;
1709
+ }
1710
+ export interface ReactionValueFormats {
1711
+ emoji?: string;
1712
+ shortCode?: string;
1713
+ unicode?: string;
1714
+ }
1715
+ export interface ReactionForComment {
1716
+ reaction?: ReactionValueFormats;
1717
+ reactionUsers?: string[];
1718
+ reactionsFromDeletedUsersCount?: number;
1719
+ }
1720
+ export interface GetCommentReactionsOutput {
1721
+ reactionsForComment: ReactionForComment[] | undefined;
1722
+ nextToken?: string;
1723
+ }
1724
+ export declare class InvalidReactionUserArnException extends __BaseException {
1725
+ readonly name: "InvalidReactionUserArnException";
1726
+ readonly $fault: "client";
1727
+ constructor(
1728
+ opts: __ExceptionOptionType<
1729
+ InvalidReactionUserArnException,
1730
+ __BaseException
1731
+ >
1732
+ );
1733
+ }
1734
+ export interface GetCommentsForComparedCommitInput {
1735
+ repositoryName: string | undefined;
1736
+ beforeCommitId?: string;
1737
+ afterCommitId: string | undefined;
1738
+ nextToken?: string;
1739
+ maxResults?: number;
1740
+ }
1741
+ export declare enum RelativeFileVersionEnum {
1742
+ AFTER = "AFTER",
1743
+ BEFORE = "BEFORE",
1744
+ }
1745
+ export interface Location {
1746
+ filePath?: string;
1747
+ filePosition?: number;
1748
+ relativeFileVersion?: RelativeFileVersionEnum | string;
1749
+ }
1750
+ export interface CommentsForComparedCommit {
1751
+ repositoryName?: string;
1752
+ beforeCommitId?: string;
1753
+ afterCommitId?: string;
1754
+ beforeBlobId?: string;
1755
+ afterBlobId?: string;
1756
+ location?: Location;
1757
+ comments?: Comment[];
1758
+ }
1759
+ export interface GetCommentsForComparedCommitOutput {
1760
+ commentsForComparedCommitData?: CommentsForComparedCommit[];
1761
+ nextToken?: string;
1762
+ }
1763
+ export interface GetCommentsForPullRequestInput {
1764
+ pullRequestId: string | undefined;
1765
+ repositoryName?: string;
1766
+ beforeCommitId?: string;
1767
+ afterCommitId?: string;
1768
+ nextToken?: string;
1769
+ maxResults?: number;
1770
+ }
1771
+ export interface CommentsForPullRequest {
1772
+ pullRequestId?: string;
1773
+ repositoryName?: string;
1774
+ beforeCommitId?: string;
1775
+ afterCommitId?: string;
1776
+ beforeBlobId?: string;
1777
+ afterBlobId?: string;
1778
+ location?: Location;
1779
+ comments?: Comment[];
1780
+ }
1781
+ export interface GetCommentsForPullRequestOutput {
1782
+ commentsForPullRequestData?: CommentsForPullRequest[];
1783
+ nextToken?: string;
1784
+ }
1785
+ export declare class RepositoryNotAssociatedWithPullRequestException extends __BaseException {
1786
+ readonly name: "RepositoryNotAssociatedWithPullRequestException";
1787
+ readonly $fault: "client";
1788
+ constructor(
1789
+ opts: __ExceptionOptionType<
1790
+ RepositoryNotAssociatedWithPullRequestException,
1791
+ __BaseException
1792
+ >
1793
+ );
1794
+ }
1795
+ export declare class CommitIdDoesNotExistException extends __BaseException {
1796
+ readonly name: "CommitIdDoesNotExistException";
1797
+ readonly $fault: "client";
1798
+ constructor(
1799
+ opts: __ExceptionOptionType<CommitIdDoesNotExistException, __BaseException>
1800
+ );
1801
+ }
1802
+ export interface GetCommitInput {
1803
+ repositoryName: string | undefined;
1804
+ commitId: string | undefined;
1805
+ }
1806
+ export interface GetCommitOutput {
1807
+ commit: Commit | undefined;
1808
+ }
1809
+ export interface GetDifferencesInput {
1810
+ repositoryName: string | undefined;
1811
+ beforeCommitSpecifier?: string;
1812
+ afterCommitSpecifier: string | undefined;
1813
+ beforePath?: string;
1814
+ afterPath?: string;
1815
+ MaxResults?: number;
1816
+ NextToken?: string;
1817
+ }
1818
+ export interface Difference {
1819
+ beforeBlob?: BlobMetadata;
1820
+ afterBlob?: BlobMetadata;
1821
+ changeType?: ChangeTypeEnum | string;
1822
+ }
1823
+ export interface GetDifferencesOutput {
1824
+ differences?: Difference[];
1825
+ NextToken?: string;
1826
+ }
1827
+ export declare class PathDoesNotExistException extends __BaseException {
1828
+ readonly name: "PathDoesNotExistException";
1829
+ readonly $fault: "client";
1830
+ constructor(
1831
+ opts: __ExceptionOptionType<PathDoesNotExistException, __BaseException>
1832
+ );
1833
+ }
1834
+ export interface GetFileInput {
1835
+ repositoryName: string | undefined;
1836
+ commitSpecifier?: string;
1837
+ filePath: string | undefined;
1838
+ }
1839
+ export interface GetFileOutput {
1840
+ commitId: string | undefined;
1841
+ blobId: string | undefined;
1842
+ filePath: string | undefined;
1843
+ fileMode: FileModeTypeEnum | string | undefined;
1844
+ fileSize: number | undefined;
1845
+ fileContent: Uint8Array | undefined;
1846
+ }
1847
+ export declare class FolderDoesNotExistException extends __BaseException {
1848
+ readonly name: "FolderDoesNotExistException";
1849
+ readonly $fault: "client";
1850
+ constructor(
1851
+ opts: __ExceptionOptionType<FolderDoesNotExistException, __BaseException>
1852
+ );
1853
+ }
1854
+ export interface GetFolderInput {
1855
+ repositoryName: string | undefined;
1856
+ commitSpecifier?: string;
1857
+ folderPath: string | undefined;
1858
+ }
1859
+ export interface File {
1860
+ blobId?: string;
1861
+ absolutePath?: string;
1862
+ relativePath?: string;
1863
+ fileMode?: FileModeTypeEnum | string;
1864
+ }
1865
+ export interface Folder {
1866
+ treeId?: string;
1867
+ absolutePath?: string;
1868
+ relativePath?: string;
1869
+ }
1870
+ export interface SubModule {
1871
+ commitId?: string;
1872
+ absolutePath?: string;
1873
+ relativePath?: string;
1874
+ }
1875
+ export interface SymbolicLink {
1876
+ blobId?: string;
1877
+ absolutePath?: string;
1878
+ relativePath?: string;
1879
+ fileMode?: FileModeTypeEnum | string;
1880
+ }
1881
+ export interface GetFolderOutput {
1882
+ commitId: string | undefined;
1883
+ folderPath: string | undefined;
1884
+ treeId?: string;
1885
+ subFolders?: Folder[];
1886
+ files?: File[];
1887
+ symbolicLinks?: SymbolicLink[];
1888
+ subModules?: SubModule[];
1889
+ }
1890
+ export interface GetMergeCommitInput {
1891
+ repositoryName: string | undefined;
1892
+ sourceCommitSpecifier: string | undefined;
1893
+ destinationCommitSpecifier: string | undefined;
1894
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | string;
1895
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | string;
1896
+ }
1897
+ export interface GetMergeCommitOutput {
1898
+ sourceCommitId?: string;
1899
+ destinationCommitId?: string;
1900
+ baseCommitId?: string;
1901
+ mergedCommitId?: string;
1902
+ }
1903
+ export interface GetMergeConflictsInput {
1904
+ repositoryName: string | undefined;
1905
+ destinationCommitSpecifier: string | undefined;
1906
+ sourceCommitSpecifier: string | undefined;
1907
+ mergeOption: MergeOptionTypeEnum | string | undefined;
1908
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | string;
1909
+ maxConflictFiles?: number;
1910
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | string;
1911
+ nextToken?: string;
1912
+ }
1913
+ export interface GetMergeConflictsOutput {
1914
+ mergeable: boolean | undefined;
1915
+ destinationCommitId: string | undefined;
1916
+ sourceCommitId: string | undefined;
1917
+ baseCommitId?: string;
1918
+ conflictMetadataList: ConflictMetadata[] | undefined;
1919
+ nextToken?: string;
1920
+ }
1921
+ export declare class InvalidDestinationCommitSpecifierException extends __BaseException {
1922
+ readonly name: "InvalidDestinationCommitSpecifierException";
1923
+ readonly $fault: "client";
1924
+ constructor(
1925
+ opts: __ExceptionOptionType<
1926
+ InvalidDestinationCommitSpecifierException,
1927
+ __BaseException
1928
+ >
1929
+ );
1930
+ }
1931
+ export declare class InvalidSourceCommitSpecifierException extends __BaseException {
1932
+ readonly name: "InvalidSourceCommitSpecifierException";
1933
+ readonly $fault: "client";
1934
+ constructor(
1935
+ opts: __ExceptionOptionType<
1936
+ InvalidSourceCommitSpecifierException,
1937
+ __BaseException
1938
+ >
1939
+ );
1940
+ }
1941
+ export interface GetMergeOptionsInput {
1942
+ repositoryName: string | undefined;
1943
+ sourceCommitSpecifier: string | undefined;
1944
+ destinationCommitSpecifier: string | undefined;
1945
+ conflictDetailLevel?: ConflictDetailLevelTypeEnum | string;
1946
+ conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | string;
1947
+ }
1948
+ export interface GetMergeOptionsOutput {
1949
+ mergeOptions: (MergeOptionTypeEnum | string)[] | undefined;
1950
+ sourceCommitId: string | undefined;
1951
+ destinationCommitId: string | undefined;
1952
+ baseCommitId: string | undefined;
1953
+ }
1954
+ export interface GetPullRequestInput {
1955
+ pullRequestId: string | undefined;
1956
+ }
1957
+ export interface GetPullRequestOutput {
1958
+ pullRequest: PullRequest | undefined;
1959
+ }
1960
+ export interface GetPullRequestApprovalStatesInput {
1961
+ pullRequestId: string | undefined;
1962
+ revisionId: string | undefined;
1963
+ }
1964
+ export interface GetPullRequestApprovalStatesOutput {
1965
+ approvals?: Approval[];
1966
+ }
1967
+ export interface GetPullRequestOverrideStateInput {
1968
+ pullRequestId: string | undefined;
1969
+ revisionId: string | undefined;
1970
+ }
1971
+ export interface GetPullRequestOverrideStateOutput {
1972
+ overridden?: boolean;
1973
+ overrider?: string;
1974
+ }
1975
+ export interface GetRepositoryInput {
1976
+ repositoryName: string | undefined;
1977
+ }
1978
+ export interface GetRepositoryOutput {
1979
+ repositoryMetadata?: RepositoryMetadata;
1980
+ }
1981
+ export interface GetRepositoryTriggersInput {
1982
+ repositoryName: string | undefined;
1983
+ }
1984
+ export declare enum RepositoryTriggerEventEnum {
1985
+ ALL = "all",
1986
+ CREATE_REFERENCE = "createReference",
1987
+ DELETE_REFERENCE = "deleteReference",
1988
+ UPDATE_REFERENCE = "updateReference",
1989
+ }
1990
+ export interface RepositoryTrigger {
1991
+ name: string | undefined;
1992
+ destinationArn: string | undefined;
1993
+ customData?: string;
1994
+ branches?: string[];
1995
+ events: (RepositoryTriggerEventEnum | string)[] | undefined;
1996
+ }
1997
+ export interface GetRepositoryTriggersOutput {
1998
+ configurationId?: string;
1999
+ triggers?: RepositoryTrigger[];
2000
+ }
2001
+ export interface ListApprovalRuleTemplatesInput {
2002
+ nextToken?: string;
2003
+ maxResults?: number;
2004
+ }
2005
+ export interface ListApprovalRuleTemplatesOutput {
2006
+ approvalRuleTemplateNames?: string[];
2007
+ nextToken?: string;
2008
+ }
2009
+ export interface ListAssociatedApprovalRuleTemplatesForRepositoryInput {
2010
+ repositoryName: string | undefined;
2011
+ nextToken?: string;
2012
+ maxResults?: number;
2013
+ }
2014
+ export interface ListAssociatedApprovalRuleTemplatesForRepositoryOutput {
2015
+ approvalRuleTemplateNames?: string[];
2016
+ nextToken?: string;
2017
+ }
2018
+ export interface ListBranchesInput {
2019
+ repositoryName: string | undefined;
2020
+ nextToken?: string;
2021
+ }
2022
+ export interface ListBranchesOutput {
2023
+ branches?: string[];
2024
+ nextToken?: string;
2025
+ }
2026
+ export declare class InvalidAuthorArnException extends __BaseException {
2027
+ readonly name: "InvalidAuthorArnException";
2028
+ readonly $fault: "client";
2029
+ constructor(
2030
+ opts: __ExceptionOptionType<InvalidAuthorArnException, __BaseException>
2031
+ );
2032
+ }
2033
+ export declare class InvalidPullRequestStatusException extends __BaseException {
2034
+ readonly name: "InvalidPullRequestStatusException";
2035
+ readonly $fault: "client";
2036
+ constructor(
2037
+ opts: __ExceptionOptionType<
2038
+ InvalidPullRequestStatusException,
2039
+ __BaseException
2040
+ >
2041
+ );
2042
+ }
2043
+ export interface ListPullRequestsInput {
2044
+ repositoryName: string | undefined;
2045
+ authorArn?: string;
2046
+ pullRequestStatus?: PullRequestStatusEnum | string;
2047
+ nextToken?: string;
2048
+ maxResults?: number;
2049
+ }
2050
+ export interface ListPullRequestsOutput {
2051
+ pullRequestIds: string[] | undefined;
2052
+ nextToken?: string;
2053
+ }
2054
+ export declare class InvalidOrderException extends __BaseException {
2055
+ readonly name: "InvalidOrderException";
2056
+ readonly $fault: "client";
2057
+ constructor(
2058
+ opts: __ExceptionOptionType<InvalidOrderException, __BaseException>
2059
+ );
2060
+ }
2061
+ export declare class InvalidSortByException extends __BaseException {
2062
+ readonly name: "InvalidSortByException";
2063
+ readonly $fault: "client";
2064
+ constructor(
2065
+ opts: __ExceptionOptionType<InvalidSortByException, __BaseException>
2066
+ );
2067
+ }
2068
+ export declare const ApprovalFilterSensitiveLog: (obj: Approval) => any;
2069
+ export declare const OriginApprovalRuleTemplateFilterSensitiveLog: (
2070
+ obj: OriginApprovalRuleTemplate
2071
+ ) => any;
2072
+ export declare const ApprovalRuleFilterSensitiveLog: (obj: ApprovalRule) => any;
2073
+ export declare const ApprovalRuleEventMetadataFilterSensitiveLog: (
2074
+ obj: ApprovalRuleEventMetadata
2075
+ ) => any;
2076
+ export declare const ApprovalRuleOverriddenEventMetadataFilterSensitiveLog: (
2077
+ obj: ApprovalRuleOverriddenEventMetadata
2078
+ ) => any;
2079
+ export declare const ApprovalRuleTemplateFilterSensitiveLog: (
2080
+ obj: ApprovalRuleTemplate
2081
+ ) => any;
2082
+ export declare const ApprovalStateChangedEventMetadataFilterSensitiveLog: (
2083
+ obj: ApprovalStateChangedEventMetadata
2084
+ ) => any;
2085
+ export declare const AssociateApprovalRuleTemplateWithRepositoryInputFilterSensitiveLog: (
2086
+ obj: AssociateApprovalRuleTemplateWithRepositoryInput
2087
+ ) => any;
2088
+ export declare const BatchAssociateApprovalRuleTemplateWithRepositoriesInputFilterSensitiveLog: (
2089
+ obj: BatchAssociateApprovalRuleTemplateWithRepositoriesInput
2090
+ ) => any;
2091
+ export declare const BatchAssociateApprovalRuleTemplateWithRepositoriesErrorFilterSensitiveLog: (
2092
+ obj: BatchAssociateApprovalRuleTemplateWithRepositoriesError
2093
+ ) => any;
2094
+ export declare const BatchAssociateApprovalRuleTemplateWithRepositoriesOutputFilterSensitiveLog: (
2095
+ obj: BatchAssociateApprovalRuleTemplateWithRepositoriesOutput
2096
+ ) => any;
2097
+ export declare const BatchDescribeMergeConflictsInputFilterSensitiveLog: (
2098
+ obj: BatchDescribeMergeConflictsInput
2099
+ ) => any;
2100
+ export declare const FileModesFilterSensitiveLog: (obj: FileModes) => any;
2101
+ export declare const FileSizesFilterSensitiveLog: (obj: FileSizes) => any;
2102
+ export declare const IsBinaryFileFilterSensitiveLog: (obj: IsBinaryFile) => any;
2103
+ export declare const MergeOperationsFilterSensitiveLog: (
2104
+ obj: MergeOperations
2105
+ ) => any;
2106
+ export declare const ObjectTypesFilterSensitiveLog: (obj: ObjectTypes) => any;
2107
+ export declare const ConflictMetadataFilterSensitiveLog: (
2108
+ obj: ConflictMetadata
2109
+ ) => any;
2110
+ export declare const MergeHunkDetailFilterSensitiveLog: (
2111
+ obj: MergeHunkDetail
2112
+ ) => any;
2113
+ export declare const MergeHunkFilterSensitiveLog: (obj: MergeHunk) => any;
2114
+ export declare const ConflictFilterSensitiveLog: (obj: Conflict) => any;
2115
+ export declare const BatchDescribeMergeConflictsErrorFilterSensitiveLog: (
2116
+ obj: BatchDescribeMergeConflictsError
2117
+ ) => any;
2118
+ export declare const BatchDescribeMergeConflictsOutputFilterSensitiveLog: (
2119
+ obj: BatchDescribeMergeConflictsOutput
2120
+ ) => any;
2121
+ export declare const BatchDisassociateApprovalRuleTemplateFromRepositoriesInputFilterSensitiveLog: (
2122
+ obj: BatchDisassociateApprovalRuleTemplateFromRepositoriesInput
2123
+ ) => any;
2124
+ export declare const BatchDisassociateApprovalRuleTemplateFromRepositoriesErrorFilterSensitiveLog: (
2125
+ obj: BatchDisassociateApprovalRuleTemplateFromRepositoriesError
2126
+ ) => any;
2127
+ export declare const BatchDisassociateApprovalRuleTemplateFromRepositoriesOutputFilterSensitiveLog: (
2128
+ obj: BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput
2129
+ ) => any;
2130
+ export declare const BatchGetCommitsInputFilterSensitiveLog: (
2131
+ obj: BatchGetCommitsInput
2132
+ ) => any;
2133
+ export declare const UserInfoFilterSensitiveLog: (obj: UserInfo) => any;
2134
+ export declare const CommitFilterSensitiveLog: (obj: Commit) => any;
2135
+ export declare const BatchGetCommitsErrorFilterSensitiveLog: (
2136
+ obj: BatchGetCommitsError
2137
+ ) => any;
2138
+ export declare const BatchGetCommitsOutputFilterSensitiveLog: (
2139
+ obj: BatchGetCommitsOutput
2140
+ ) => any;
2141
+ export declare const BatchGetRepositoriesInputFilterSensitiveLog: (
2142
+ obj: BatchGetRepositoriesInput
2143
+ ) => any;
2144
+ export declare const RepositoryMetadataFilterSensitiveLog: (
2145
+ obj: RepositoryMetadata
2146
+ ) => any;
2147
+ export declare const BatchGetRepositoriesOutputFilterSensitiveLog: (
2148
+ obj: BatchGetRepositoriesOutput
2149
+ ) => any;
2150
+ export declare const BlobMetadataFilterSensitiveLog: (obj: BlobMetadata) => any;
2151
+ export declare const BranchInfoFilterSensitiveLog: (obj: BranchInfo) => any;
2152
+ export declare const CreateApprovalRuleTemplateInputFilterSensitiveLog: (
2153
+ obj: CreateApprovalRuleTemplateInput
2154
+ ) => any;
2155
+ export declare const CreateApprovalRuleTemplateOutputFilterSensitiveLog: (
2156
+ obj: CreateApprovalRuleTemplateOutput
2157
+ ) => any;
2158
+ export declare const CreateBranchInputFilterSensitiveLog: (
2159
+ obj: CreateBranchInput
2160
+ ) => any;
2161
+ export declare const DeleteFileEntryFilterSensitiveLog: (
2162
+ obj: DeleteFileEntry
2163
+ ) => any;
2164
+ export declare const SourceFileSpecifierFilterSensitiveLog: (
2165
+ obj: SourceFileSpecifier
2166
+ ) => any;
2167
+ export declare const PutFileEntryFilterSensitiveLog: (obj: PutFileEntry) => any;
2168
+ export declare const SetFileModeEntryFilterSensitiveLog: (
2169
+ obj: SetFileModeEntry
2170
+ ) => any;
2171
+ export declare const CreateCommitInputFilterSensitiveLog: (
2172
+ obj: CreateCommitInput
2173
+ ) => any;
2174
+ export declare const FileMetadataFilterSensitiveLog: (obj: FileMetadata) => any;
2175
+ export declare const CreateCommitOutputFilterSensitiveLog: (
2176
+ obj: CreateCommitOutput
2177
+ ) => any;
2178
+ export declare const TargetFilterSensitiveLog: (obj: Target) => any;
2179
+ export declare const CreatePullRequestInputFilterSensitiveLog: (
2180
+ obj: CreatePullRequestInput
2181
+ ) => any;
2182
+ export declare const MergeMetadataFilterSensitiveLog: (
2183
+ obj: MergeMetadata
2184
+ ) => any;
2185
+ export declare const PullRequestTargetFilterSensitiveLog: (
2186
+ obj: PullRequestTarget
2187
+ ) => any;
2188
+ export declare const PullRequestFilterSensitiveLog: (obj: PullRequest) => any;
2189
+ export declare const CreatePullRequestOutputFilterSensitiveLog: (
2190
+ obj: CreatePullRequestOutput
2191
+ ) => any;
2192
+ export declare const CreatePullRequestApprovalRuleInputFilterSensitiveLog: (
2193
+ obj: CreatePullRequestApprovalRuleInput
2194
+ ) => any;
2195
+ export declare const CreatePullRequestApprovalRuleOutputFilterSensitiveLog: (
2196
+ obj: CreatePullRequestApprovalRuleOutput
2197
+ ) => any;
2198
+ export declare const CreateRepositoryInputFilterSensitiveLog: (
2199
+ obj: CreateRepositoryInput
2200
+ ) => any;
2201
+ export declare const CreateRepositoryOutputFilterSensitiveLog: (
2202
+ obj: CreateRepositoryOutput
2203
+ ) => any;
2204
+ export declare const ReplaceContentEntryFilterSensitiveLog: (
2205
+ obj: ReplaceContentEntry
2206
+ ) => any;
2207
+ export declare const ConflictResolutionFilterSensitiveLog: (
2208
+ obj: ConflictResolution
2209
+ ) => any;
2210
+ export declare const CreateUnreferencedMergeCommitInputFilterSensitiveLog: (
2211
+ obj: CreateUnreferencedMergeCommitInput
2212
+ ) => any;
2213
+ export declare const CreateUnreferencedMergeCommitOutputFilterSensitiveLog: (
2214
+ obj: CreateUnreferencedMergeCommitOutput
2215
+ ) => any;
2216
+ export declare const DeleteApprovalRuleTemplateInputFilterSensitiveLog: (
2217
+ obj: DeleteApprovalRuleTemplateInput
2218
+ ) => any;
2219
+ export declare const DeleteApprovalRuleTemplateOutputFilterSensitiveLog: (
2220
+ obj: DeleteApprovalRuleTemplateOutput
2221
+ ) => any;
2222
+ export declare const DeleteBranchInputFilterSensitiveLog: (
2223
+ obj: DeleteBranchInput
2224
+ ) => any;
2225
+ export declare const DeleteBranchOutputFilterSensitiveLog: (
2226
+ obj: DeleteBranchOutput
2227
+ ) => any;
2228
+ export declare const DeleteCommentContentInputFilterSensitiveLog: (
2229
+ obj: DeleteCommentContentInput
2230
+ ) => any;
2231
+ export declare const CommentFilterSensitiveLog: (obj: Comment) => any;
2232
+ export declare const DeleteCommentContentOutputFilterSensitiveLog: (
2233
+ obj: DeleteCommentContentOutput
2234
+ ) => any;
2235
+ export declare const DeleteFileInputFilterSensitiveLog: (
2236
+ obj: DeleteFileInput
2237
+ ) => any;
2238
+ export declare const DeleteFileOutputFilterSensitiveLog: (
2239
+ obj: DeleteFileOutput
2240
+ ) => any;
2241
+ export declare const DeletePullRequestApprovalRuleInputFilterSensitiveLog: (
2242
+ obj: DeletePullRequestApprovalRuleInput
2243
+ ) => any;
2244
+ export declare const DeletePullRequestApprovalRuleOutputFilterSensitiveLog: (
2245
+ obj: DeletePullRequestApprovalRuleOutput
2246
+ ) => any;
2247
+ export declare const DeleteRepositoryInputFilterSensitiveLog: (
2248
+ obj: DeleteRepositoryInput
2249
+ ) => any;
2250
+ export declare const DeleteRepositoryOutputFilterSensitiveLog: (
2251
+ obj: DeleteRepositoryOutput
2252
+ ) => any;
2253
+ export declare const DescribeMergeConflictsInputFilterSensitiveLog: (
2254
+ obj: DescribeMergeConflictsInput
2255
+ ) => any;
2256
+ export declare const DescribeMergeConflictsOutputFilterSensitiveLog: (
2257
+ obj: DescribeMergeConflictsOutput
2258
+ ) => any;
2259
+ export declare const DescribePullRequestEventsInputFilterSensitiveLog: (
2260
+ obj: DescribePullRequestEventsInput
2261
+ ) => any;
2262
+ export declare const PullRequestCreatedEventMetadataFilterSensitiveLog: (
2263
+ obj: PullRequestCreatedEventMetadata
2264
+ ) => any;
2265
+ export declare const PullRequestMergedStateChangedEventMetadataFilterSensitiveLog: (
2266
+ obj: PullRequestMergedStateChangedEventMetadata
2267
+ ) => any;
2268
+ export declare const PullRequestSourceReferenceUpdatedEventMetadataFilterSensitiveLog: (
2269
+ obj: PullRequestSourceReferenceUpdatedEventMetadata
2270
+ ) => any;
2271
+ export declare const PullRequestStatusChangedEventMetadataFilterSensitiveLog: (
2272
+ obj: PullRequestStatusChangedEventMetadata
2273
+ ) => any;
2274
+ export declare const PullRequestEventFilterSensitiveLog: (
2275
+ obj: PullRequestEvent
2276
+ ) => any;
2277
+ export declare const DescribePullRequestEventsOutputFilterSensitiveLog: (
2278
+ obj: DescribePullRequestEventsOutput
2279
+ ) => any;
2280
+ export declare const DisassociateApprovalRuleTemplateFromRepositoryInputFilterSensitiveLog: (
2281
+ obj: DisassociateApprovalRuleTemplateFromRepositoryInput
2282
+ ) => any;
2283
+ export declare const EvaluatePullRequestApprovalRulesInputFilterSensitiveLog: (
2284
+ obj: EvaluatePullRequestApprovalRulesInput
2285
+ ) => any;
2286
+ export declare const EvaluationFilterSensitiveLog: (obj: Evaluation) => any;
2287
+ export declare const EvaluatePullRequestApprovalRulesOutputFilterSensitiveLog: (
2288
+ obj: EvaluatePullRequestApprovalRulesOutput
2289
+ ) => any;
2290
+ export declare const GetApprovalRuleTemplateInputFilterSensitiveLog: (
2291
+ obj: GetApprovalRuleTemplateInput
2292
+ ) => any;
2293
+ export declare const GetApprovalRuleTemplateOutputFilterSensitiveLog: (
2294
+ obj: GetApprovalRuleTemplateOutput
2295
+ ) => any;
2296
+ export declare const GetBlobInputFilterSensitiveLog: (obj: GetBlobInput) => any;
2297
+ export declare const GetBlobOutputFilterSensitiveLog: (
2298
+ obj: GetBlobOutput
2299
+ ) => any;
2300
+ export declare const GetBranchInputFilterSensitiveLog: (
2301
+ obj: GetBranchInput
2302
+ ) => any;
2303
+ export declare const GetBranchOutputFilterSensitiveLog: (
2304
+ obj: GetBranchOutput
2305
+ ) => any;
2306
+ export declare const GetCommentInputFilterSensitiveLog: (
2307
+ obj: GetCommentInput
2308
+ ) => any;
2309
+ export declare const GetCommentOutputFilterSensitiveLog: (
2310
+ obj: GetCommentOutput
2311
+ ) => any;
2312
+ export declare const GetCommentReactionsInputFilterSensitiveLog: (
2313
+ obj: GetCommentReactionsInput
2314
+ ) => any;
2315
+ export declare const ReactionValueFormatsFilterSensitiveLog: (
2316
+ obj: ReactionValueFormats
2317
+ ) => any;
2318
+ export declare const ReactionForCommentFilterSensitiveLog: (
2319
+ obj: ReactionForComment
2320
+ ) => any;
2321
+ export declare const GetCommentReactionsOutputFilterSensitiveLog: (
2322
+ obj: GetCommentReactionsOutput
2323
+ ) => any;
2324
+ export declare const GetCommentsForComparedCommitInputFilterSensitiveLog: (
2325
+ obj: GetCommentsForComparedCommitInput
2326
+ ) => any;
2327
+ export declare const LocationFilterSensitiveLog: (obj: Location) => any;
2328
+ export declare const CommentsForComparedCommitFilterSensitiveLog: (
2329
+ obj: CommentsForComparedCommit
2330
+ ) => any;
2331
+ export declare const GetCommentsForComparedCommitOutputFilterSensitiveLog: (
2332
+ obj: GetCommentsForComparedCommitOutput
2333
+ ) => any;
2334
+ export declare const GetCommentsForPullRequestInputFilterSensitiveLog: (
2335
+ obj: GetCommentsForPullRequestInput
2336
+ ) => any;
2337
+ export declare const CommentsForPullRequestFilterSensitiveLog: (
2338
+ obj: CommentsForPullRequest
2339
+ ) => any;
2340
+ export declare const GetCommentsForPullRequestOutputFilterSensitiveLog: (
2341
+ obj: GetCommentsForPullRequestOutput
2342
+ ) => any;
2343
+ export declare const GetCommitInputFilterSensitiveLog: (
2344
+ obj: GetCommitInput
2345
+ ) => any;
2346
+ export declare const GetCommitOutputFilterSensitiveLog: (
2347
+ obj: GetCommitOutput
2348
+ ) => any;
2349
+ export declare const GetDifferencesInputFilterSensitiveLog: (
2350
+ obj: GetDifferencesInput
2351
+ ) => any;
2352
+ export declare const DifferenceFilterSensitiveLog: (obj: Difference) => any;
2353
+ export declare const GetDifferencesOutputFilterSensitiveLog: (
2354
+ obj: GetDifferencesOutput
2355
+ ) => any;
2356
+ export declare const GetFileInputFilterSensitiveLog: (obj: GetFileInput) => any;
2357
+ export declare const GetFileOutputFilterSensitiveLog: (
2358
+ obj: GetFileOutput
2359
+ ) => any;
2360
+ export declare const GetFolderInputFilterSensitiveLog: (
2361
+ obj: GetFolderInput
2362
+ ) => any;
2363
+ export declare const FileFilterSensitiveLog: (obj: File) => any;
2364
+ export declare const FolderFilterSensitiveLog: (obj: Folder) => any;
2365
+ export declare const SubModuleFilterSensitiveLog: (obj: SubModule) => any;
2366
+ export declare const SymbolicLinkFilterSensitiveLog: (obj: SymbolicLink) => any;
2367
+ export declare const GetFolderOutputFilterSensitiveLog: (
2368
+ obj: GetFolderOutput
2369
+ ) => any;
2370
+ export declare const GetMergeCommitInputFilterSensitiveLog: (
2371
+ obj: GetMergeCommitInput
2372
+ ) => any;
2373
+ export declare const GetMergeCommitOutputFilterSensitiveLog: (
2374
+ obj: GetMergeCommitOutput
2375
+ ) => any;
2376
+ export declare const GetMergeConflictsInputFilterSensitiveLog: (
2377
+ obj: GetMergeConflictsInput
2378
+ ) => any;
2379
+ export declare const GetMergeConflictsOutputFilterSensitiveLog: (
2380
+ obj: GetMergeConflictsOutput
2381
+ ) => any;
2382
+ export declare const GetMergeOptionsInputFilterSensitiveLog: (
2383
+ obj: GetMergeOptionsInput
2384
+ ) => any;
2385
+ export declare const GetMergeOptionsOutputFilterSensitiveLog: (
2386
+ obj: GetMergeOptionsOutput
2387
+ ) => any;
2388
+ export declare const GetPullRequestInputFilterSensitiveLog: (
2389
+ obj: GetPullRequestInput
2390
+ ) => any;
2391
+ export declare const GetPullRequestOutputFilterSensitiveLog: (
2392
+ obj: GetPullRequestOutput
2393
+ ) => any;
2394
+ export declare const GetPullRequestApprovalStatesInputFilterSensitiveLog: (
2395
+ obj: GetPullRequestApprovalStatesInput
2396
+ ) => any;
2397
+ export declare const GetPullRequestApprovalStatesOutputFilterSensitiveLog: (
2398
+ obj: GetPullRequestApprovalStatesOutput
2399
+ ) => any;
2400
+ export declare const GetPullRequestOverrideStateInputFilterSensitiveLog: (
2401
+ obj: GetPullRequestOverrideStateInput
2402
+ ) => any;
2403
+ export declare const GetPullRequestOverrideStateOutputFilterSensitiveLog: (
2404
+ obj: GetPullRequestOverrideStateOutput
2405
+ ) => any;
2406
+ export declare const GetRepositoryInputFilterSensitiveLog: (
2407
+ obj: GetRepositoryInput
2408
+ ) => any;
2409
+ export declare const GetRepositoryOutputFilterSensitiveLog: (
2410
+ obj: GetRepositoryOutput
2411
+ ) => any;
2412
+ export declare const GetRepositoryTriggersInputFilterSensitiveLog: (
2413
+ obj: GetRepositoryTriggersInput
2414
+ ) => any;
2415
+ export declare const RepositoryTriggerFilterSensitiveLog: (
2416
+ obj: RepositoryTrigger
2417
+ ) => any;
2418
+ export declare const GetRepositoryTriggersOutputFilterSensitiveLog: (
2419
+ obj: GetRepositoryTriggersOutput
2420
+ ) => any;
2421
+ export declare const ListApprovalRuleTemplatesInputFilterSensitiveLog: (
2422
+ obj: ListApprovalRuleTemplatesInput
2423
+ ) => any;
2424
+ export declare const ListApprovalRuleTemplatesOutputFilterSensitiveLog: (
2425
+ obj: ListApprovalRuleTemplatesOutput
2426
+ ) => any;
2427
+ export declare const ListAssociatedApprovalRuleTemplatesForRepositoryInputFilterSensitiveLog: (
2428
+ obj: ListAssociatedApprovalRuleTemplatesForRepositoryInput
2429
+ ) => any;
2430
+ export declare const ListAssociatedApprovalRuleTemplatesForRepositoryOutputFilterSensitiveLog: (
2431
+ obj: ListAssociatedApprovalRuleTemplatesForRepositoryOutput
2432
+ ) => any;
2433
+ export declare const ListBranchesInputFilterSensitiveLog: (
2434
+ obj: ListBranchesInput
2435
+ ) => any;
2436
+ export declare const ListBranchesOutputFilterSensitiveLog: (
2437
+ obj: ListBranchesOutput
2438
+ ) => any;
2439
+ export declare const ListPullRequestsInputFilterSensitiveLog: (
2440
+ obj: ListPullRequestsInput
2441
+ ) => any;
2442
+ export declare const ListPullRequestsOutputFilterSensitiveLog: (
2443
+ obj: ListPullRequestsOutput
2444
+ ) => any;