@aws-sdk/client-codecommit 3.933.0 → 3.935.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +87 -87
- package/dist-es/index.js +2 -1
- package/dist-es/models/enums.js +86 -0
- package/dist-es/models/errors.js +2269 -0
- package/dist-es/models/models_0.js +1 -1795
- package/dist-es/schemas/schemas_0.js +1 -1
- package/dist-types/commands/ListFileCommitHistoryCommand.d.ts +1 -2
- package/dist-types/commands/ListPullRequestsCommand.d.ts +1 -1
- package/dist-types/commands/ListRepositoriesCommand.d.ts +1 -1
- package/dist-types/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/MergeBranchesByFastForwardCommand.d.ts +1 -1
- package/dist-types/commands/MergeBranchesBySquashCommand.d.ts +1 -1
- package/dist-types/commands/MergeBranchesByThreeWayCommand.d.ts +1 -1
- package/dist-types/commands/MergePullRequestByFastForwardCommand.d.ts +1 -1
- package/dist-types/commands/MergePullRequestBySquashCommand.d.ts +1 -1
- package/dist-types/commands/MergePullRequestByThreeWayCommand.d.ts +1 -1
- package/dist-types/commands/OverridePullRequestApprovalRulesCommand.d.ts +1 -1
- package/dist-types/commands/PostCommentForComparedCommitCommand.d.ts +1 -1
- package/dist-types/commands/PostCommentForPullRequestCommand.d.ts +1 -1
- package/dist-types/commands/PostCommentReplyCommand.d.ts +1 -1
- package/dist-types/commands/PutCommentReactionCommand.d.ts +1 -1
- package/dist-types/commands/PutFileCommand.d.ts +1 -1
- package/dist-types/commands/PutRepositoryTriggersCommand.d.ts +1 -1
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/TestRepositoryTriggersCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCommentCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDefaultBranchCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePullRequestApprovalStateCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePullRequestDescriptionCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePullRequestStatusCommand.d.ts +1 -1
- package/dist-types/commands/UpdatePullRequestTitleCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRepositoryDescriptionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRepositoryEncryptionKeyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateRepositoryNameCommand.d.ts +1 -1
- package/dist-types/index.d.ts +3 -1
- package/dist-types/models/enums.d.ts +214 -0
- package/dist-types/models/errors.d.ts +2337 -0
- package/dist-types/models/models_0.d.ts +1480 -2026
- package/dist-types/ts3.4/commands/ListFileCommitHistoryCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListPullRequestsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListRepositoriesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListRepositoriesForApprovalRuleTemplateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/MergeBranchesByFastForwardCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/MergeBranchesBySquashCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/MergeBranchesByThreeWayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/MergePullRequestByFastForwardCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/MergePullRequestBySquashCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/MergePullRequestByThreeWayCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/OverridePullRequestApprovalRulesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PostCommentForComparedCommitCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PostCommentForPullRequestCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PostCommentReplyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutCommentReactionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutFileCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutRepositoryTriggersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TestRepositoryTriggersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateContentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateDescriptionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateApprovalRuleTemplateNameCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCommentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateDefaultBranchCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdatePullRequestApprovalRuleContentCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdatePullRequestApprovalStateCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdatePullRequestDescriptionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdatePullRequestStatusCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdatePullRequestTitleCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRepositoryDescriptionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRepositoryEncryptionKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateRepositoryNameCommand.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +3 -1
- package/dist-types/ts3.4/models/enums.d.ts +115 -0
- package/dist-types/ts3.4/models/errors.d.ts +1621 -0
- package/dist-types/ts3.4/models/models_0.d.ts +332 -1326
- package/package.json +12 -12
- package/dist-es/models/index.js +0 -2
- package/dist-es/models/models_1.js +0 -561
- package/dist-types/models/index.d.ts +0 -2
- package/dist-types/models/models_1.d.ts +0 -2007
- package/dist-types/ts3.4/models/index.d.ts +0 -2
- package/dist-types/ts3.4/models/models_1.d.ts +0 -742
|
@@ -1,742 +0,0 @@
|
|
|
1
|
-
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
-
import { CodeCommitServiceException as __BaseException } from "./CodeCommitServiceException";
|
|
3
|
-
import {
|
|
4
|
-
ApprovalRule,
|
|
5
|
-
ApprovalRuleTemplate,
|
|
6
|
-
ApprovalState,
|
|
7
|
-
Comment,
|
|
8
|
-
Commit,
|
|
9
|
-
ConflictDetailLevelTypeEnum,
|
|
10
|
-
ConflictResolution,
|
|
11
|
-
ConflictResolutionStrategyTypeEnum,
|
|
12
|
-
FileModeTypeEnum,
|
|
13
|
-
Location,
|
|
14
|
-
OverrideStatus,
|
|
15
|
-
PullRequest,
|
|
16
|
-
PullRequestStatusEnum,
|
|
17
|
-
RepositoryTrigger,
|
|
18
|
-
} from "./models_0";
|
|
19
|
-
export interface FileVersion {
|
|
20
|
-
commit?: Commit | undefined;
|
|
21
|
-
blobId?: string | undefined;
|
|
22
|
-
path?: string | undefined;
|
|
23
|
-
revisionChildren?: string[] | undefined;
|
|
24
|
-
}
|
|
25
|
-
export interface ListFileCommitHistoryResponse {
|
|
26
|
-
revisionDag: FileVersion[] | undefined;
|
|
27
|
-
nextToken?: string | undefined;
|
|
28
|
-
}
|
|
29
|
-
export declare class InvalidAuthorArnException extends __BaseException {
|
|
30
|
-
readonly name: "InvalidAuthorArnException";
|
|
31
|
-
readonly $fault: "client";
|
|
32
|
-
constructor(
|
|
33
|
-
opts: __ExceptionOptionType<InvalidAuthorArnException, __BaseException>
|
|
34
|
-
);
|
|
35
|
-
}
|
|
36
|
-
export declare class InvalidPullRequestStatusException extends __BaseException {
|
|
37
|
-
readonly name: "InvalidPullRequestStatusException";
|
|
38
|
-
readonly $fault: "client";
|
|
39
|
-
constructor(
|
|
40
|
-
opts: __ExceptionOptionType<
|
|
41
|
-
InvalidPullRequestStatusException,
|
|
42
|
-
__BaseException
|
|
43
|
-
>
|
|
44
|
-
);
|
|
45
|
-
}
|
|
46
|
-
export interface ListPullRequestsInput {
|
|
47
|
-
repositoryName: string | undefined;
|
|
48
|
-
authorArn?: string | undefined;
|
|
49
|
-
pullRequestStatus?: PullRequestStatusEnum | undefined;
|
|
50
|
-
nextToken?: string | undefined;
|
|
51
|
-
maxResults?: number | undefined;
|
|
52
|
-
}
|
|
53
|
-
export interface ListPullRequestsOutput {
|
|
54
|
-
pullRequestIds: string[] | undefined;
|
|
55
|
-
nextToken?: string | undefined;
|
|
56
|
-
}
|
|
57
|
-
export declare class InvalidOrderException extends __BaseException {
|
|
58
|
-
readonly name: "InvalidOrderException";
|
|
59
|
-
readonly $fault: "client";
|
|
60
|
-
constructor(
|
|
61
|
-
opts: __ExceptionOptionType<InvalidOrderException, __BaseException>
|
|
62
|
-
);
|
|
63
|
-
}
|
|
64
|
-
export declare class InvalidSortByException extends __BaseException {
|
|
65
|
-
readonly name: "InvalidSortByException";
|
|
66
|
-
readonly $fault: "client";
|
|
67
|
-
constructor(
|
|
68
|
-
opts: __ExceptionOptionType<InvalidSortByException, __BaseException>
|
|
69
|
-
);
|
|
70
|
-
}
|
|
71
|
-
export declare const OrderEnum: {
|
|
72
|
-
readonly ASCENDING: "ascending";
|
|
73
|
-
readonly DESCENDING: "descending";
|
|
74
|
-
};
|
|
75
|
-
export type OrderEnum = (typeof OrderEnum)[keyof typeof OrderEnum];
|
|
76
|
-
export declare const SortByEnum: {
|
|
77
|
-
readonly MODIFIED_DATE: "lastModifiedDate";
|
|
78
|
-
readonly REPOSITORY_NAME: "repositoryName";
|
|
79
|
-
};
|
|
80
|
-
export type SortByEnum = (typeof SortByEnum)[keyof typeof SortByEnum];
|
|
81
|
-
export interface ListRepositoriesInput {
|
|
82
|
-
nextToken?: string | undefined;
|
|
83
|
-
sortBy?: SortByEnum | undefined;
|
|
84
|
-
order?: OrderEnum | undefined;
|
|
85
|
-
}
|
|
86
|
-
export interface RepositoryNameIdPair {
|
|
87
|
-
repositoryName?: string | undefined;
|
|
88
|
-
repositoryId?: string | undefined;
|
|
89
|
-
}
|
|
90
|
-
export interface ListRepositoriesOutput {
|
|
91
|
-
repositories?: RepositoryNameIdPair[] | undefined;
|
|
92
|
-
nextToken?: string | undefined;
|
|
93
|
-
}
|
|
94
|
-
export interface ListRepositoriesForApprovalRuleTemplateInput {
|
|
95
|
-
approvalRuleTemplateName: string | undefined;
|
|
96
|
-
nextToken?: string | undefined;
|
|
97
|
-
maxResults?: number | undefined;
|
|
98
|
-
}
|
|
99
|
-
export interface ListRepositoriesForApprovalRuleTemplateOutput {
|
|
100
|
-
repositoryNames?: string[] | undefined;
|
|
101
|
-
nextToken?: string | undefined;
|
|
102
|
-
}
|
|
103
|
-
export declare class InvalidResourceArnException extends __BaseException {
|
|
104
|
-
readonly name: "InvalidResourceArnException";
|
|
105
|
-
readonly $fault: "client";
|
|
106
|
-
constructor(
|
|
107
|
-
opts: __ExceptionOptionType<InvalidResourceArnException, __BaseException>
|
|
108
|
-
);
|
|
109
|
-
}
|
|
110
|
-
export interface ListTagsForResourceInput {
|
|
111
|
-
resourceArn: string | undefined;
|
|
112
|
-
nextToken?: string | undefined;
|
|
113
|
-
}
|
|
114
|
-
export interface ListTagsForResourceOutput {
|
|
115
|
-
tags?: Record<string, string> | undefined;
|
|
116
|
-
nextToken?: string | undefined;
|
|
117
|
-
}
|
|
118
|
-
export declare class ResourceArnRequiredException extends __BaseException {
|
|
119
|
-
readonly name: "ResourceArnRequiredException";
|
|
120
|
-
readonly $fault: "client";
|
|
121
|
-
constructor(
|
|
122
|
-
opts: __ExceptionOptionType<ResourceArnRequiredException, __BaseException>
|
|
123
|
-
);
|
|
124
|
-
}
|
|
125
|
-
export declare class InvalidTargetBranchException extends __BaseException {
|
|
126
|
-
readonly name: "InvalidTargetBranchException";
|
|
127
|
-
readonly $fault: "client";
|
|
128
|
-
constructor(
|
|
129
|
-
opts: __ExceptionOptionType<InvalidTargetBranchException, __BaseException>
|
|
130
|
-
);
|
|
131
|
-
}
|
|
132
|
-
export interface MergeBranchesByFastForwardInput {
|
|
133
|
-
repositoryName: string | undefined;
|
|
134
|
-
sourceCommitSpecifier: string | undefined;
|
|
135
|
-
destinationCommitSpecifier: string | undefined;
|
|
136
|
-
targetBranch?: string | undefined;
|
|
137
|
-
}
|
|
138
|
-
export interface MergeBranchesByFastForwardOutput {
|
|
139
|
-
commitId?: string | undefined;
|
|
140
|
-
treeId?: string | undefined;
|
|
141
|
-
}
|
|
142
|
-
export interface MergeBranchesBySquashInput {
|
|
143
|
-
repositoryName: string | undefined;
|
|
144
|
-
sourceCommitSpecifier: string | undefined;
|
|
145
|
-
destinationCommitSpecifier: string | undefined;
|
|
146
|
-
targetBranch?: string | undefined;
|
|
147
|
-
conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
|
|
148
|
-
conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
|
|
149
|
-
authorName?: string | undefined;
|
|
150
|
-
email?: string | undefined;
|
|
151
|
-
commitMessage?: string | undefined;
|
|
152
|
-
keepEmptyFolders?: boolean | undefined;
|
|
153
|
-
conflictResolution?: ConflictResolution | undefined;
|
|
154
|
-
}
|
|
155
|
-
export interface MergeBranchesBySquashOutput {
|
|
156
|
-
commitId?: string | undefined;
|
|
157
|
-
treeId?: string | undefined;
|
|
158
|
-
}
|
|
159
|
-
export interface MergeBranchesByThreeWayInput {
|
|
160
|
-
repositoryName: string | undefined;
|
|
161
|
-
sourceCommitSpecifier: string | undefined;
|
|
162
|
-
destinationCommitSpecifier: string | undefined;
|
|
163
|
-
targetBranch?: string | undefined;
|
|
164
|
-
conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
|
|
165
|
-
conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
|
|
166
|
-
authorName?: string | undefined;
|
|
167
|
-
email?: string | undefined;
|
|
168
|
-
commitMessage?: string | undefined;
|
|
169
|
-
keepEmptyFolders?: boolean | undefined;
|
|
170
|
-
conflictResolution?: ConflictResolution | undefined;
|
|
171
|
-
}
|
|
172
|
-
export interface MergeBranchesByThreeWayOutput {
|
|
173
|
-
commitId?: string | undefined;
|
|
174
|
-
treeId?: string | undefined;
|
|
175
|
-
}
|
|
176
|
-
export interface MergePullRequestByFastForwardInput {
|
|
177
|
-
pullRequestId: string | undefined;
|
|
178
|
-
repositoryName: string | undefined;
|
|
179
|
-
sourceCommitId?: string | undefined;
|
|
180
|
-
}
|
|
181
|
-
export interface MergePullRequestByFastForwardOutput {
|
|
182
|
-
pullRequest?: PullRequest | undefined;
|
|
183
|
-
}
|
|
184
|
-
export declare class PullRequestApprovalRulesNotSatisfiedException extends __BaseException {
|
|
185
|
-
readonly name: "PullRequestApprovalRulesNotSatisfiedException";
|
|
186
|
-
readonly $fault: "client";
|
|
187
|
-
constructor(
|
|
188
|
-
opts: __ExceptionOptionType<
|
|
189
|
-
PullRequestApprovalRulesNotSatisfiedException,
|
|
190
|
-
__BaseException
|
|
191
|
-
>
|
|
192
|
-
);
|
|
193
|
-
}
|
|
194
|
-
export declare class TipOfSourceReferenceIsDifferentException extends __BaseException {
|
|
195
|
-
readonly name: "TipOfSourceReferenceIsDifferentException";
|
|
196
|
-
readonly $fault: "client";
|
|
197
|
-
constructor(
|
|
198
|
-
opts: __ExceptionOptionType<
|
|
199
|
-
TipOfSourceReferenceIsDifferentException,
|
|
200
|
-
__BaseException
|
|
201
|
-
>
|
|
202
|
-
);
|
|
203
|
-
}
|
|
204
|
-
export interface MergePullRequestBySquashInput {
|
|
205
|
-
pullRequestId: string | undefined;
|
|
206
|
-
repositoryName: string | undefined;
|
|
207
|
-
sourceCommitId?: string | undefined;
|
|
208
|
-
conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
|
|
209
|
-
conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
|
|
210
|
-
commitMessage?: string | undefined;
|
|
211
|
-
authorName?: string | undefined;
|
|
212
|
-
email?: string | undefined;
|
|
213
|
-
keepEmptyFolders?: boolean | undefined;
|
|
214
|
-
conflictResolution?: ConflictResolution | undefined;
|
|
215
|
-
}
|
|
216
|
-
export interface MergePullRequestBySquashOutput {
|
|
217
|
-
pullRequest?: PullRequest | undefined;
|
|
218
|
-
}
|
|
219
|
-
export interface MergePullRequestByThreeWayInput {
|
|
220
|
-
pullRequestId: string | undefined;
|
|
221
|
-
repositoryName: string | undefined;
|
|
222
|
-
sourceCommitId?: string | undefined;
|
|
223
|
-
conflictDetailLevel?: ConflictDetailLevelTypeEnum | undefined;
|
|
224
|
-
conflictResolutionStrategy?: ConflictResolutionStrategyTypeEnum | undefined;
|
|
225
|
-
commitMessage?: string | undefined;
|
|
226
|
-
authorName?: string | undefined;
|
|
227
|
-
email?: string | undefined;
|
|
228
|
-
keepEmptyFolders?: boolean | undefined;
|
|
229
|
-
conflictResolution?: ConflictResolution | undefined;
|
|
230
|
-
}
|
|
231
|
-
export interface MergePullRequestByThreeWayOutput {
|
|
232
|
-
pullRequest?: PullRequest | undefined;
|
|
233
|
-
}
|
|
234
|
-
export declare class InvalidOverrideStatusException extends __BaseException {
|
|
235
|
-
readonly name: "InvalidOverrideStatusException";
|
|
236
|
-
readonly $fault: "client";
|
|
237
|
-
constructor(
|
|
238
|
-
opts: __ExceptionOptionType<InvalidOverrideStatusException, __BaseException>
|
|
239
|
-
);
|
|
240
|
-
}
|
|
241
|
-
export declare class OverrideAlreadySetException extends __BaseException {
|
|
242
|
-
readonly name: "OverrideAlreadySetException";
|
|
243
|
-
readonly $fault: "client";
|
|
244
|
-
constructor(
|
|
245
|
-
opts: __ExceptionOptionType<OverrideAlreadySetException, __BaseException>
|
|
246
|
-
);
|
|
247
|
-
}
|
|
248
|
-
export interface OverridePullRequestApprovalRulesInput {
|
|
249
|
-
pullRequestId: string | undefined;
|
|
250
|
-
revisionId: string | undefined;
|
|
251
|
-
overrideStatus: OverrideStatus | undefined;
|
|
252
|
-
}
|
|
253
|
-
export declare class OverrideStatusRequiredException extends __BaseException {
|
|
254
|
-
readonly name: "OverrideStatusRequiredException";
|
|
255
|
-
readonly $fault: "client";
|
|
256
|
-
constructor(
|
|
257
|
-
opts: __ExceptionOptionType<
|
|
258
|
-
OverrideStatusRequiredException,
|
|
259
|
-
__BaseException
|
|
260
|
-
>
|
|
261
|
-
);
|
|
262
|
-
}
|
|
263
|
-
export declare class CommentContentRequiredException extends __BaseException {
|
|
264
|
-
readonly name: "CommentContentRequiredException";
|
|
265
|
-
readonly $fault: "client";
|
|
266
|
-
constructor(
|
|
267
|
-
opts: __ExceptionOptionType<
|
|
268
|
-
CommentContentRequiredException,
|
|
269
|
-
__BaseException
|
|
270
|
-
>
|
|
271
|
-
);
|
|
272
|
-
}
|
|
273
|
-
export declare class CommentContentSizeLimitExceededException extends __BaseException {
|
|
274
|
-
readonly name: "CommentContentSizeLimitExceededException";
|
|
275
|
-
readonly $fault: "client";
|
|
276
|
-
constructor(
|
|
277
|
-
opts: __ExceptionOptionType<
|
|
278
|
-
CommentContentSizeLimitExceededException,
|
|
279
|
-
__BaseException
|
|
280
|
-
>
|
|
281
|
-
);
|
|
282
|
-
}
|
|
283
|
-
export declare class InvalidFileLocationException extends __BaseException {
|
|
284
|
-
readonly name: "InvalidFileLocationException";
|
|
285
|
-
readonly $fault: "client";
|
|
286
|
-
constructor(
|
|
287
|
-
opts: __ExceptionOptionType<InvalidFileLocationException, __BaseException>
|
|
288
|
-
);
|
|
289
|
-
}
|
|
290
|
-
export declare class InvalidFilePositionException extends __BaseException {
|
|
291
|
-
readonly name: "InvalidFilePositionException";
|
|
292
|
-
readonly $fault: "client";
|
|
293
|
-
constructor(
|
|
294
|
-
opts: __ExceptionOptionType<InvalidFilePositionException, __BaseException>
|
|
295
|
-
);
|
|
296
|
-
}
|
|
297
|
-
export declare class InvalidRelativeFileVersionEnumException extends __BaseException {
|
|
298
|
-
readonly name: "InvalidRelativeFileVersionEnumException";
|
|
299
|
-
readonly $fault: "client";
|
|
300
|
-
constructor(
|
|
301
|
-
opts: __ExceptionOptionType<
|
|
302
|
-
InvalidRelativeFileVersionEnumException,
|
|
303
|
-
__BaseException
|
|
304
|
-
>
|
|
305
|
-
);
|
|
306
|
-
}
|
|
307
|
-
export interface PostCommentForComparedCommitInput {
|
|
308
|
-
repositoryName: string | undefined;
|
|
309
|
-
beforeCommitId?: string | undefined;
|
|
310
|
-
afterCommitId: string | undefined;
|
|
311
|
-
location?: Location | undefined;
|
|
312
|
-
content: string | undefined;
|
|
313
|
-
clientRequestToken?: string | undefined;
|
|
314
|
-
}
|
|
315
|
-
export interface PostCommentForComparedCommitOutput {
|
|
316
|
-
repositoryName?: string | undefined;
|
|
317
|
-
beforeCommitId?: string | undefined;
|
|
318
|
-
afterCommitId?: string | undefined;
|
|
319
|
-
beforeBlobId?: string | undefined;
|
|
320
|
-
afterBlobId?: string | undefined;
|
|
321
|
-
location?: Location | undefined;
|
|
322
|
-
comment?: Comment | undefined;
|
|
323
|
-
}
|
|
324
|
-
export interface PostCommentForPullRequestInput {
|
|
325
|
-
pullRequestId: string | undefined;
|
|
326
|
-
repositoryName: string | undefined;
|
|
327
|
-
beforeCommitId: string | undefined;
|
|
328
|
-
afterCommitId: string | undefined;
|
|
329
|
-
location?: Location | undefined;
|
|
330
|
-
content: string | undefined;
|
|
331
|
-
clientRequestToken?: string | undefined;
|
|
332
|
-
}
|
|
333
|
-
export interface PostCommentForPullRequestOutput {
|
|
334
|
-
repositoryName?: string | undefined;
|
|
335
|
-
pullRequestId?: string | undefined;
|
|
336
|
-
beforeCommitId?: string | undefined;
|
|
337
|
-
afterCommitId?: string | undefined;
|
|
338
|
-
beforeBlobId?: string | undefined;
|
|
339
|
-
afterBlobId?: string | undefined;
|
|
340
|
-
location?: Location | undefined;
|
|
341
|
-
comment?: Comment | undefined;
|
|
342
|
-
}
|
|
343
|
-
export interface PostCommentReplyInput {
|
|
344
|
-
inReplyTo: string | undefined;
|
|
345
|
-
clientRequestToken?: string | undefined;
|
|
346
|
-
content: string | undefined;
|
|
347
|
-
}
|
|
348
|
-
export interface PostCommentReplyOutput {
|
|
349
|
-
comment?: Comment | undefined;
|
|
350
|
-
}
|
|
351
|
-
export declare class InvalidReactionValueException extends __BaseException {
|
|
352
|
-
readonly name: "InvalidReactionValueException";
|
|
353
|
-
readonly $fault: "client";
|
|
354
|
-
constructor(
|
|
355
|
-
opts: __ExceptionOptionType<InvalidReactionValueException, __BaseException>
|
|
356
|
-
);
|
|
357
|
-
}
|
|
358
|
-
export interface PutCommentReactionInput {
|
|
359
|
-
commentId: string | undefined;
|
|
360
|
-
reactionValue: string | undefined;
|
|
361
|
-
}
|
|
362
|
-
export declare class ReactionLimitExceededException extends __BaseException {
|
|
363
|
-
readonly name: "ReactionLimitExceededException";
|
|
364
|
-
readonly $fault: "client";
|
|
365
|
-
constructor(
|
|
366
|
-
opts: __ExceptionOptionType<ReactionLimitExceededException, __BaseException>
|
|
367
|
-
);
|
|
368
|
-
}
|
|
369
|
-
export declare class ReactionValueRequiredException extends __BaseException {
|
|
370
|
-
readonly name: "ReactionValueRequiredException";
|
|
371
|
-
readonly $fault: "client";
|
|
372
|
-
constructor(
|
|
373
|
-
opts: __ExceptionOptionType<ReactionValueRequiredException, __BaseException>
|
|
374
|
-
);
|
|
375
|
-
}
|
|
376
|
-
export declare class FileContentRequiredException extends __BaseException {
|
|
377
|
-
readonly name: "FileContentRequiredException";
|
|
378
|
-
readonly $fault: "client";
|
|
379
|
-
constructor(
|
|
380
|
-
opts: __ExceptionOptionType<FileContentRequiredException, __BaseException>
|
|
381
|
-
);
|
|
382
|
-
}
|
|
383
|
-
export interface PutFileInput {
|
|
384
|
-
repositoryName: string | undefined;
|
|
385
|
-
branchName: string | undefined;
|
|
386
|
-
fileContent: Uint8Array | undefined;
|
|
387
|
-
filePath: string | undefined;
|
|
388
|
-
fileMode?: FileModeTypeEnum | undefined;
|
|
389
|
-
parentCommitId?: string | undefined;
|
|
390
|
-
commitMessage?: string | undefined;
|
|
391
|
-
name?: string | undefined;
|
|
392
|
-
email?: string | undefined;
|
|
393
|
-
}
|
|
394
|
-
export interface PutFileOutput {
|
|
395
|
-
commitId: string | undefined;
|
|
396
|
-
blobId: string | undefined;
|
|
397
|
-
treeId: string | undefined;
|
|
398
|
-
}
|
|
399
|
-
export declare class SameFileContentException extends __BaseException {
|
|
400
|
-
readonly name: "SameFileContentException";
|
|
401
|
-
readonly $fault: "client";
|
|
402
|
-
constructor(
|
|
403
|
-
opts: __ExceptionOptionType<SameFileContentException, __BaseException>
|
|
404
|
-
);
|
|
405
|
-
}
|
|
406
|
-
export declare class InvalidRepositoryTriggerBranchNameException extends __BaseException {
|
|
407
|
-
readonly name: "InvalidRepositoryTriggerBranchNameException";
|
|
408
|
-
readonly $fault: "client";
|
|
409
|
-
constructor(
|
|
410
|
-
opts: __ExceptionOptionType<
|
|
411
|
-
InvalidRepositoryTriggerBranchNameException,
|
|
412
|
-
__BaseException
|
|
413
|
-
>
|
|
414
|
-
);
|
|
415
|
-
}
|
|
416
|
-
export declare class InvalidRepositoryTriggerCustomDataException extends __BaseException {
|
|
417
|
-
readonly name: "InvalidRepositoryTriggerCustomDataException";
|
|
418
|
-
readonly $fault: "client";
|
|
419
|
-
constructor(
|
|
420
|
-
opts: __ExceptionOptionType<
|
|
421
|
-
InvalidRepositoryTriggerCustomDataException,
|
|
422
|
-
__BaseException
|
|
423
|
-
>
|
|
424
|
-
);
|
|
425
|
-
}
|
|
426
|
-
export declare class InvalidRepositoryTriggerDestinationArnException extends __BaseException {
|
|
427
|
-
readonly name: "InvalidRepositoryTriggerDestinationArnException";
|
|
428
|
-
readonly $fault: "client";
|
|
429
|
-
constructor(
|
|
430
|
-
opts: __ExceptionOptionType<
|
|
431
|
-
InvalidRepositoryTriggerDestinationArnException,
|
|
432
|
-
__BaseException
|
|
433
|
-
>
|
|
434
|
-
);
|
|
435
|
-
}
|
|
436
|
-
export declare class InvalidRepositoryTriggerEventsException extends __BaseException {
|
|
437
|
-
readonly name: "InvalidRepositoryTriggerEventsException";
|
|
438
|
-
readonly $fault: "client";
|
|
439
|
-
constructor(
|
|
440
|
-
opts: __ExceptionOptionType<
|
|
441
|
-
InvalidRepositoryTriggerEventsException,
|
|
442
|
-
__BaseException
|
|
443
|
-
>
|
|
444
|
-
);
|
|
445
|
-
}
|
|
446
|
-
export declare class InvalidRepositoryTriggerNameException extends __BaseException {
|
|
447
|
-
readonly name: "InvalidRepositoryTriggerNameException";
|
|
448
|
-
readonly $fault: "client";
|
|
449
|
-
constructor(
|
|
450
|
-
opts: __ExceptionOptionType<
|
|
451
|
-
InvalidRepositoryTriggerNameException,
|
|
452
|
-
__BaseException
|
|
453
|
-
>
|
|
454
|
-
);
|
|
455
|
-
}
|
|
456
|
-
export declare class InvalidRepositoryTriggerRegionException extends __BaseException {
|
|
457
|
-
readonly name: "InvalidRepositoryTriggerRegionException";
|
|
458
|
-
readonly $fault: "client";
|
|
459
|
-
constructor(
|
|
460
|
-
opts: __ExceptionOptionType<
|
|
461
|
-
InvalidRepositoryTriggerRegionException,
|
|
462
|
-
__BaseException
|
|
463
|
-
>
|
|
464
|
-
);
|
|
465
|
-
}
|
|
466
|
-
export declare class MaximumBranchesExceededException extends __BaseException {
|
|
467
|
-
readonly name: "MaximumBranchesExceededException";
|
|
468
|
-
readonly $fault: "client";
|
|
469
|
-
constructor(
|
|
470
|
-
opts: __ExceptionOptionType<
|
|
471
|
-
MaximumBranchesExceededException,
|
|
472
|
-
__BaseException
|
|
473
|
-
>
|
|
474
|
-
);
|
|
475
|
-
}
|
|
476
|
-
export declare class MaximumRepositoryTriggersExceededException extends __BaseException {
|
|
477
|
-
readonly name: "MaximumRepositoryTriggersExceededException";
|
|
478
|
-
readonly $fault: "client";
|
|
479
|
-
constructor(
|
|
480
|
-
opts: __ExceptionOptionType<
|
|
481
|
-
MaximumRepositoryTriggersExceededException,
|
|
482
|
-
__BaseException
|
|
483
|
-
>
|
|
484
|
-
);
|
|
485
|
-
}
|
|
486
|
-
export interface PutRepositoryTriggersInput {
|
|
487
|
-
repositoryName: string | undefined;
|
|
488
|
-
triggers: RepositoryTrigger[] | undefined;
|
|
489
|
-
}
|
|
490
|
-
export interface PutRepositoryTriggersOutput {
|
|
491
|
-
configurationId?: string | undefined;
|
|
492
|
-
}
|
|
493
|
-
export declare class RepositoryTriggerBranchNameListRequiredException extends __BaseException {
|
|
494
|
-
readonly name: "RepositoryTriggerBranchNameListRequiredException";
|
|
495
|
-
readonly $fault: "client";
|
|
496
|
-
constructor(
|
|
497
|
-
opts: __ExceptionOptionType<
|
|
498
|
-
RepositoryTriggerBranchNameListRequiredException,
|
|
499
|
-
__BaseException
|
|
500
|
-
>
|
|
501
|
-
);
|
|
502
|
-
}
|
|
503
|
-
export declare class RepositoryTriggerDestinationArnRequiredException extends __BaseException {
|
|
504
|
-
readonly name: "RepositoryTriggerDestinationArnRequiredException";
|
|
505
|
-
readonly $fault: "client";
|
|
506
|
-
constructor(
|
|
507
|
-
opts: __ExceptionOptionType<
|
|
508
|
-
RepositoryTriggerDestinationArnRequiredException,
|
|
509
|
-
__BaseException
|
|
510
|
-
>
|
|
511
|
-
);
|
|
512
|
-
}
|
|
513
|
-
export declare class RepositoryTriggerEventsListRequiredException extends __BaseException {
|
|
514
|
-
readonly name: "RepositoryTriggerEventsListRequiredException";
|
|
515
|
-
readonly $fault: "client";
|
|
516
|
-
constructor(
|
|
517
|
-
opts: __ExceptionOptionType<
|
|
518
|
-
RepositoryTriggerEventsListRequiredException,
|
|
519
|
-
__BaseException
|
|
520
|
-
>
|
|
521
|
-
);
|
|
522
|
-
}
|
|
523
|
-
export declare class RepositoryTriggerNameRequiredException extends __BaseException {
|
|
524
|
-
readonly name: "RepositoryTriggerNameRequiredException";
|
|
525
|
-
readonly $fault: "client";
|
|
526
|
-
constructor(
|
|
527
|
-
opts: __ExceptionOptionType<
|
|
528
|
-
RepositoryTriggerNameRequiredException,
|
|
529
|
-
__BaseException
|
|
530
|
-
>
|
|
531
|
-
);
|
|
532
|
-
}
|
|
533
|
-
export declare class RepositoryTriggersListRequiredException extends __BaseException {
|
|
534
|
-
readonly name: "RepositoryTriggersListRequiredException";
|
|
535
|
-
readonly $fault: "client";
|
|
536
|
-
constructor(
|
|
537
|
-
opts: __ExceptionOptionType<
|
|
538
|
-
RepositoryTriggersListRequiredException,
|
|
539
|
-
__BaseException
|
|
540
|
-
>
|
|
541
|
-
);
|
|
542
|
-
}
|
|
543
|
-
export interface TagResourceInput {
|
|
544
|
-
resourceArn: string | undefined;
|
|
545
|
-
tags: Record<string, string> | undefined;
|
|
546
|
-
}
|
|
547
|
-
export declare class TagsMapRequiredException extends __BaseException {
|
|
548
|
-
readonly name: "TagsMapRequiredException";
|
|
549
|
-
readonly $fault: "client";
|
|
550
|
-
constructor(
|
|
551
|
-
opts: __ExceptionOptionType<TagsMapRequiredException, __BaseException>
|
|
552
|
-
);
|
|
553
|
-
}
|
|
554
|
-
export interface TestRepositoryTriggersInput {
|
|
555
|
-
repositoryName: string | undefined;
|
|
556
|
-
triggers: RepositoryTrigger[] | undefined;
|
|
557
|
-
}
|
|
558
|
-
export interface RepositoryTriggerExecutionFailure {
|
|
559
|
-
trigger?: string | undefined;
|
|
560
|
-
failureMessage?: string | undefined;
|
|
561
|
-
}
|
|
562
|
-
export interface TestRepositoryTriggersOutput {
|
|
563
|
-
successfulExecutions?: string[] | undefined;
|
|
564
|
-
failedExecutions?: RepositoryTriggerExecutionFailure[] | undefined;
|
|
565
|
-
}
|
|
566
|
-
export declare class InvalidTagKeysListException extends __BaseException {
|
|
567
|
-
readonly name: "InvalidTagKeysListException";
|
|
568
|
-
readonly $fault: "client";
|
|
569
|
-
constructor(
|
|
570
|
-
opts: __ExceptionOptionType<InvalidTagKeysListException, __BaseException>
|
|
571
|
-
);
|
|
572
|
-
}
|
|
573
|
-
export declare class TagKeysListRequiredException extends __BaseException {
|
|
574
|
-
readonly name: "TagKeysListRequiredException";
|
|
575
|
-
readonly $fault: "client";
|
|
576
|
-
constructor(
|
|
577
|
-
opts: __ExceptionOptionType<TagKeysListRequiredException, __BaseException>
|
|
578
|
-
);
|
|
579
|
-
}
|
|
580
|
-
export interface UntagResourceInput {
|
|
581
|
-
resourceArn: string | undefined;
|
|
582
|
-
tagKeys: string[] | undefined;
|
|
583
|
-
}
|
|
584
|
-
export declare class InvalidRuleContentSha256Exception extends __BaseException {
|
|
585
|
-
readonly name: "InvalidRuleContentSha256Exception";
|
|
586
|
-
readonly $fault: "client";
|
|
587
|
-
constructor(
|
|
588
|
-
opts: __ExceptionOptionType<
|
|
589
|
-
InvalidRuleContentSha256Exception,
|
|
590
|
-
__BaseException
|
|
591
|
-
>
|
|
592
|
-
);
|
|
593
|
-
}
|
|
594
|
-
export interface UpdateApprovalRuleTemplateContentInput {
|
|
595
|
-
approvalRuleTemplateName: string | undefined;
|
|
596
|
-
newRuleContent: string | undefined;
|
|
597
|
-
existingRuleContentSha256?: string | undefined;
|
|
598
|
-
}
|
|
599
|
-
export interface UpdateApprovalRuleTemplateContentOutput {
|
|
600
|
-
approvalRuleTemplate: ApprovalRuleTemplate | undefined;
|
|
601
|
-
}
|
|
602
|
-
export interface UpdateApprovalRuleTemplateDescriptionInput {
|
|
603
|
-
approvalRuleTemplateName: string | undefined;
|
|
604
|
-
approvalRuleTemplateDescription: string | undefined;
|
|
605
|
-
}
|
|
606
|
-
export interface UpdateApprovalRuleTemplateDescriptionOutput {
|
|
607
|
-
approvalRuleTemplate: ApprovalRuleTemplate | undefined;
|
|
608
|
-
}
|
|
609
|
-
export interface UpdateApprovalRuleTemplateNameInput {
|
|
610
|
-
oldApprovalRuleTemplateName: string | undefined;
|
|
611
|
-
newApprovalRuleTemplateName: string | undefined;
|
|
612
|
-
}
|
|
613
|
-
export interface UpdateApprovalRuleTemplateNameOutput {
|
|
614
|
-
approvalRuleTemplate: ApprovalRuleTemplate | undefined;
|
|
615
|
-
}
|
|
616
|
-
export declare class CommentNotCreatedByCallerException extends __BaseException {
|
|
617
|
-
readonly name: "CommentNotCreatedByCallerException";
|
|
618
|
-
readonly $fault: "client";
|
|
619
|
-
constructor(
|
|
620
|
-
opts: __ExceptionOptionType<
|
|
621
|
-
CommentNotCreatedByCallerException,
|
|
622
|
-
__BaseException
|
|
623
|
-
>
|
|
624
|
-
);
|
|
625
|
-
}
|
|
626
|
-
export interface UpdateCommentInput {
|
|
627
|
-
commentId: string | undefined;
|
|
628
|
-
content: string | undefined;
|
|
629
|
-
}
|
|
630
|
-
export interface UpdateCommentOutput {
|
|
631
|
-
comment?: Comment | undefined;
|
|
632
|
-
}
|
|
633
|
-
export interface UpdateDefaultBranchInput {
|
|
634
|
-
repositoryName: string | undefined;
|
|
635
|
-
defaultBranchName: string | undefined;
|
|
636
|
-
}
|
|
637
|
-
export interface UpdatePullRequestApprovalRuleContentInput {
|
|
638
|
-
pullRequestId: string | undefined;
|
|
639
|
-
approvalRuleName: string | undefined;
|
|
640
|
-
existingRuleContentSha256?: string | undefined;
|
|
641
|
-
newRuleContent: string | undefined;
|
|
642
|
-
}
|
|
643
|
-
export interface UpdatePullRequestApprovalRuleContentOutput {
|
|
644
|
-
approvalRule: ApprovalRule | undefined;
|
|
645
|
-
}
|
|
646
|
-
export declare class InvalidApprovalStateException extends __BaseException {
|
|
647
|
-
readonly name: "InvalidApprovalStateException";
|
|
648
|
-
readonly $fault: "client";
|
|
649
|
-
constructor(
|
|
650
|
-
opts: __ExceptionOptionType<InvalidApprovalStateException, __BaseException>
|
|
651
|
-
);
|
|
652
|
-
}
|
|
653
|
-
export declare class MaximumNumberOfApprovalsExceededException extends __BaseException {
|
|
654
|
-
readonly name: "MaximumNumberOfApprovalsExceededException";
|
|
655
|
-
readonly $fault: "client";
|
|
656
|
-
constructor(
|
|
657
|
-
opts: __ExceptionOptionType<
|
|
658
|
-
MaximumNumberOfApprovalsExceededException,
|
|
659
|
-
__BaseException
|
|
660
|
-
>
|
|
661
|
-
);
|
|
662
|
-
}
|
|
663
|
-
export declare class PullRequestCannotBeApprovedByAuthorException extends __BaseException {
|
|
664
|
-
readonly name: "PullRequestCannotBeApprovedByAuthorException";
|
|
665
|
-
readonly $fault: "client";
|
|
666
|
-
constructor(
|
|
667
|
-
opts: __ExceptionOptionType<
|
|
668
|
-
PullRequestCannotBeApprovedByAuthorException,
|
|
669
|
-
__BaseException
|
|
670
|
-
>
|
|
671
|
-
);
|
|
672
|
-
}
|
|
673
|
-
export interface UpdatePullRequestApprovalStateInput {
|
|
674
|
-
pullRequestId: string | undefined;
|
|
675
|
-
revisionId: string | undefined;
|
|
676
|
-
approvalState: ApprovalState | undefined;
|
|
677
|
-
}
|
|
678
|
-
export interface UpdatePullRequestDescriptionInput {
|
|
679
|
-
pullRequestId: string | undefined;
|
|
680
|
-
description: string | undefined;
|
|
681
|
-
}
|
|
682
|
-
export interface UpdatePullRequestDescriptionOutput {
|
|
683
|
-
pullRequest: PullRequest | undefined;
|
|
684
|
-
}
|
|
685
|
-
export declare class InvalidPullRequestStatusUpdateException extends __BaseException {
|
|
686
|
-
readonly name: "InvalidPullRequestStatusUpdateException";
|
|
687
|
-
readonly $fault: "client";
|
|
688
|
-
constructor(
|
|
689
|
-
opts: __ExceptionOptionType<
|
|
690
|
-
InvalidPullRequestStatusUpdateException,
|
|
691
|
-
__BaseException
|
|
692
|
-
>
|
|
693
|
-
);
|
|
694
|
-
}
|
|
695
|
-
export declare class PullRequestStatusRequiredException extends __BaseException {
|
|
696
|
-
readonly name: "PullRequestStatusRequiredException";
|
|
697
|
-
readonly $fault: "client";
|
|
698
|
-
constructor(
|
|
699
|
-
opts: __ExceptionOptionType<
|
|
700
|
-
PullRequestStatusRequiredException,
|
|
701
|
-
__BaseException
|
|
702
|
-
>
|
|
703
|
-
);
|
|
704
|
-
}
|
|
705
|
-
export interface UpdatePullRequestStatusInput {
|
|
706
|
-
pullRequestId: string | undefined;
|
|
707
|
-
pullRequestStatus: PullRequestStatusEnum | undefined;
|
|
708
|
-
}
|
|
709
|
-
export interface UpdatePullRequestStatusOutput {
|
|
710
|
-
pullRequest: PullRequest | undefined;
|
|
711
|
-
}
|
|
712
|
-
export interface UpdatePullRequestTitleInput {
|
|
713
|
-
pullRequestId: string | undefined;
|
|
714
|
-
title: string | undefined;
|
|
715
|
-
}
|
|
716
|
-
export interface UpdatePullRequestTitleOutput {
|
|
717
|
-
pullRequest: PullRequest | undefined;
|
|
718
|
-
}
|
|
719
|
-
export interface UpdateRepositoryDescriptionInput {
|
|
720
|
-
repositoryName: string | undefined;
|
|
721
|
-
repositoryDescription?: string | undefined;
|
|
722
|
-
}
|
|
723
|
-
export declare class EncryptionKeyRequiredException extends __BaseException {
|
|
724
|
-
readonly name: "EncryptionKeyRequiredException";
|
|
725
|
-
readonly $fault: "client";
|
|
726
|
-
constructor(
|
|
727
|
-
opts: __ExceptionOptionType<EncryptionKeyRequiredException, __BaseException>
|
|
728
|
-
);
|
|
729
|
-
}
|
|
730
|
-
export interface UpdateRepositoryEncryptionKeyInput {
|
|
731
|
-
repositoryName: string | undefined;
|
|
732
|
-
kmsKeyId: string | undefined;
|
|
733
|
-
}
|
|
734
|
-
export interface UpdateRepositoryEncryptionKeyOutput {
|
|
735
|
-
repositoryId?: string | undefined;
|
|
736
|
-
kmsKeyId?: string | undefined;
|
|
737
|
-
originalKmsKeyId?: string | undefined;
|
|
738
|
-
}
|
|
739
|
-
export interface UpdateRepositoryNameInput {
|
|
740
|
-
oldName: string | undefined;
|
|
741
|
-
newName: string | undefined;
|
|
742
|
-
}
|