@aws-sdk/client-codecommit 3.315.0 → 3.319.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/CodeCommit.js +81 -1078
- package/dist-cjs/protocols/Aws_json1_1.js +4 -4
- package/dist-es/CodeCommit.js +81 -1078
- package/dist-es/protocols/Aws_json1_1.js +4 -4
- package/dist-types/CodeCommit.d.ts +480 -653
- package/dist-types/ts3.4/CodeCommit.d.ts +4 -1
- package/package.json +8 -8
|
@@ -77,1042 +77,869 @@ import { UpdatePullRequestStatusCommandInput, UpdatePullRequestStatusCommandOutp
|
|
|
77
77
|
import { UpdatePullRequestTitleCommandInput, UpdatePullRequestTitleCommandOutput } from "./commands/UpdatePullRequestTitleCommand";
|
|
78
78
|
import { UpdateRepositoryDescriptionCommandInput, UpdateRepositoryDescriptionCommandOutput } from "./commands/UpdateRepositoryDescriptionCommand";
|
|
79
79
|
import { UpdateRepositoryNameCommandInput, UpdateRepositoryNameCommandOutput } from "./commands/UpdateRepositoryNameCommand";
|
|
80
|
-
|
|
81
|
-
* @public
|
|
82
|
-
* <fullname>AWS CodeCommit</fullname>
|
|
83
|
-
* <p>This is the <i>AWS CodeCommit API Reference</i>. This reference provides descriptions of the operations and data types for
|
|
84
|
-
* AWS CodeCommit API along with usage examples.</p>
|
|
85
|
-
* <p>You can use the AWS CodeCommit API to work with the following objects:</p>
|
|
86
|
-
*
|
|
87
|
-
* <p>Repositories, by calling the following:</p>
|
|
88
|
-
* <ul>
|
|
89
|
-
* <li>
|
|
90
|
-
* <p>
|
|
91
|
-
* <a>BatchGetRepositories</a>, which returns information about one or more repositories associated with your AWS account.</p>
|
|
92
|
-
* </li>
|
|
93
|
-
* <li>
|
|
94
|
-
* <p>
|
|
95
|
-
* <a>CreateRepository</a>, which creates an AWS CodeCommit repository.</p>
|
|
96
|
-
* </li>
|
|
97
|
-
* <li>
|
|
98
|
-
* <p>
|
|
99
|
-
* <a>DeleteRepository</a>, which deletes an AWS CodeCommit repository.</p>
|
|
100
|
-
* </li>
|
|
101
|
-
* <li>
|
|
102
|
-
* <p>
|
|
103
|
-
* <a>GetRepository</a>, which returns information about a specified repository.</p>
|
|
104
|
-
* </li>
|
|
105
|
-
* <li>
|
|
106
|
-
* <p>
|
|
107
|
-
* <a>ListRepositories</a>, which lists all AWS CodeCommit repositories associated with your AWS account.</p>
|
|
108
|
-
* </li>
|
|
109
|
-
* <li>
|
|
110
|
-
* <p>
|
|
111
|
-
* <a>UpdateRepositoryDescription</a>, which sets or updates the description of the repository.</p>
|
|
112
|
-
* </li>
|
|
113
|
-
* <li>
|
|
114
|
-
* <p>
|
|
115
|
-
* <a>UpdateRepositoryName</a>, which changes the name of the
|
|
116
|
-
* repository. If you change the name of a repository, no other users of that
|
|
117
|
-
* repository can access it until you send them the new HTTPS or SSH URL to
|
|
118
|
-
* use.</p>
|
|
119
|
-
* </li>
|
|
120
|
-
* </ul>
|
|
121
|
-
*
|
|
122
|
-
* <p>Branches, by calling the following:</p>
|
|
123
|
-
* <ul>
|
|
124
|
-
* <li>
|
|
125
|
-
* <p>
|
|
126
|
-
* <a>CreateBranch</a>, which creates a branch in a specified
|
|
127
|
-
* repository.</p>
|
|
128
|
-
* </li>
|
|
129
|
-
* <li>
|
|
130
|
-
* <p>
|
|
131
|
-
* <a>DeleteBranch</a>, which deletes the specified branch in a repository unless it is the default branch.</p>
|
|
132
|
-
* </li>
|
|
133
|
-
* <li>
|
|
134
|
-
* <p>
|
|
135
|
-
* <a>GetBranch</a>, which returns information about a specified branch.</p>
|
|
136
|
-
* </li>
|
|
137
|
-
* <li>
|
|
138
|
-
* <p>
|
|
139
|
-
* <a>ListBranches</a>, which lists all branches for a specified repository.</p>
|
|
140
|
-
* </li>
|
|
141
|
-
* <li>
|
|
142
|
-
* <p>
|
|
143
|
-
* <a>UpdateDefaultBranch</a>, which changes the default branch for a repository.</p>
|
|
144
|
-
* </li>
|
|
145
|
-
* </ul>
|
|
146
|
-
*
|
|
147
|
-
* <p>Files, by calling the following:</p>
|
|
148
|
-
* <ul>
|
|
149
|
-
* <li>
|
|
150
|
-
* <p>
|
|
151
|
-
* <a>DeleteFile</a>, which deletes the content of a specified file from a specified branch.</p>
|
|
152
|
-
* </li>
|
|
153
|
-
* <li>
|
|
154
|
-
* <p>
|
|
155
|
-
* <a>GetBlob</a>, which returns the base-64 encoded content of an
|
|
156
|
-
* individual Git blob object in a repository.</p>
|
|
157
|
-
* </li>
|
|
158
|
-
* <li>
|
|
159
|
-
* <p>
|
|
160
|
-
* <a>GetFile</a>, which returns the base-64 encoded content of a specified file.</p>
|
|
161
|
-
* </li>
|
|
162
|
-
* <li>
|
|
163
|
-
* <p>
|
|
164
|
-
* <a>GetFolder</a>, which returns the contents of a specified folder or directory.</p>
|
|
165
|
-
* </li>
|
|
166
|
-
* <li>
|
|
167
|
-
* <p>
|
|
168
|
-
* <a>PutFile</a>, which adds or modifies a single file in a specified repository and branch.</p>
|
|
169
|
-
* </li>
|
|
170
|
-
* </ul>
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
* <p>Commits, by calling the following:</p>
|
|
174
|
-
* <ul>
|
|
175
|
-
* <li>
|
|
176
|
-
* <p>
|
|
177
|
-
* <a>BatchGetCommits</a>, which returns information about one or more commits in a repository.</p>
|
|
178
|
-
* </li>
|
|
179
|
-
* <li>
|
|
180
|
-
* <p>
|
|
181
|
-
* <a>CreateCommit</a>, which creates a commit for changes to a repository.</p>
|
|
182
|
-
* </li>
|
|
183
|
-
* <li>
|
|
184
|
-
* <p>
|
|
185
|
-
* <a>GetCommit</a>, which returns information about a commit, including commit
|
|
186
|
-
* messages and author and committer information.</p>
|
|
187
|
-
* </li>
|
|
188
|
-
* <li>
|
|
189
|
-
* <p>
|
|
190
|
-
* <a>GetDifferences</a>, which returns information about the
|
|
191
|
-
* differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID,
|
|
192
|
-
* or other fully qualified reference).</p>
|
|
193
|
-
* </li>
|
|
194
|
-
* </ul>
|
|
195
|
-
*
|
|
196
|
-
*
|
|
197
|
-
* <p>Merges, by calling the following:</p>
|
|
198
|
-
* <ul>
|
|
199
|
-
* <li>
|
|
200
|
-
* <p>
|
|
201
|
-
* <a>BatchDescribeMergeConflicts</a>, which returns information about conflicts in a merge between commits in a repository.</p>
|
|
202
|
-
* </li>
|
|
203
|
-
* <li>
|
|
204
|
-
* <p>
|
|
205
|
-
* <a>CreateUnreferencedMergeCommit</a>, which creates an unreferenced commit between two branches or commits for the
|
|
206
|
-
* purpose of comparing them and identifying any potential conflicts.</p>
|
|
207
|
-
* </li>
|
|
208
|
-
* <li>
|
|
209
|
-
* <p>
|
|
210
|
-
* <a>DescribeMergeConflicts</a>, which returns information about merge conflicts between the base, source, and destination versions
|
|
211
|
-
* of a file in a potential merge.</p>
|
|
212
|
-
* </li>
|
|
213
|
-
* <li>
|
|
214
|
-
* <p>
|
|
215
|
-
* <a>GetMergeCommit</a>, which returns information about the merge between a source and destination commit. </p>
|
|
216
|
-
*
|
|
217
|
-
* </li>
|
|
218
|
-
* <li>
|
|
219
|
-
* <p>
|
|
220
|
-
* <a>GetMergeConflicts</a>, which returns information about merge conflicts
|
|
221
|
-
* between the source and destination branch in a pull request.</p>
|
|
222
|
-
* </li>
|
|
223
|
-
* <li>
|
|
224
|
-
*
|
|
225
|
-
* <p>
|
|
226
|
-
* <a>GetMergeOptions</a>, which returns information about the available merge options between two branches or commit specifiers.</p>
|
|
227
|
-
* </li>
|
|
228
|
-
* <li>
|
|
229
|
-
* <p>
|
|
230
|
-
* <a>MergeBranchesByFastForward</a>, which merges two branches using the fast-forward merge option.</p>
|
|
231
|
-
* </li>
|
|
232
|
-
* <li>
|
|
233
|
-
* <p>
|
|
234
|
-
* <a>MergeBranchesBySquash</a>, which merges two branches using the squash merge option.</p>
|
|
235
|
-
* </li>
|
|
236
|
-
* <li>
|
|
237
|
-
* <p>
|
|
238
|
-
* <a>MergeBranchesByThreeWay</a>, which merges two branches using the three-way merge option.</p>
|
|
239
|
-
* </li>
|
|
240
|
-
* </ul>
|
|
241
|
-
*
|
|
242
|
-
*
|
|
243
|
-
* <p>Pull requests, by calling the following:</p>
|
|
244
|
-
* <ul>
|
|
245
|
-
* <li>
|
|
246
|
-
* <p>
|
|
247
|
-
* <a>CreatePullRequest</a>, which creates a pull request in a specified repository.</p>
|
|
248
|
-
* </li>
|
|
249
|
-
* <li>
|
|
250
|
-
* <p>
|
|
251
|
-
* <a>CreatePullRequestApprovalRule</a>, which creates an approval rule for a specified pull request.</p>
|
|
252
|
-
* </li>
|
|
253
|
-
* <li>
|
|
254
|
-
* <p>
|
|
255
|
-
* <a>DeletePullRequestApprovalRule</a>, which deletes an approval rule for a specified pull request.</p>
|
|
256
|
-
* </li>
|
|
257
|
-
* <li>
|
|
258
|
-
* <p>
|
|
259
|
-
* <a>DescribePullRequestEvents</a>, which returns information about one or more pull request events.</p>
|
|
260
|
-
* </li>
|
|
261
|
-
* <li>
|
|
262
|
-
* <p>
|
|
263
|
-
* <a>EvaluatePullRequestApprovalRules</a>, which evaluates whether a pull request has met all the conditions specified in its associated approval rules.</p>
|
|
264
|
-
* </li>
|
|
265
|
-
* <li>
|
|
266
|
-
* <p>
|
|
267
|
-
* <a>GetCommentsForPullRequest</a>, which returns information about comments on a specified pull request.</p>
|
|
268
|
-
* </li>
|
|
269
|
-
* <li>
|
|
270
|
-
*
|
|
271
|
-
* <p>
|
|
272
|
-
* <a>GetPullRequest</a>, which returns information about a specified pull request.</p>
|
|
273
|
-
* </li>
|
|
274
|
-
* <li>
|
|
275
|
-
* <p>
|
|
276
|
-
* <a>GetPullRequestApprovalStates</a>, which returns information about the approval states for a specified pull request.</p>
|
|
277
|
-
* </li>
|
|
278
|
-
* <li>
|
|
279
|
-
* <p>
|
|
280
|
-
* <a>GetPullRequestOverrideState</a>, which returns information about whether approval rules have been set aside (overriden) for a
|
|
281
|
-
* pull request, and if so, the Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request.</p>
|
|
282
|
-
* </li>
|
|
283
|
-
* <li>
|
|
284
|
-
* <p>
|
|
285
|
-
* <a>ListPullRequests</a>, which lists all pull requests for a repository.</p>
|
|
286
|
-
* </li>
|
|
287
|
-
* <li>
|
|
288
|
-
* <p>
|
|
289
|
-
* <a>MergePullRequestByFastForward</a>, which merges the source destination branch of a pull request into the specified destination
|
|
290
|
-
* branch for that pull request using the fast-forward merge option.</p>
|
|
291
|
-
* </li>
|
|
292
|
-
* <li>
|
|
293
|
-
* <p>
|
|
294
|
-
* <a>MergePullRequestBySquash</a>, which merges the source destination branch of a pull request into the specified destination
|
|
295
|
-
* branch for that pull request using the squash merge option.</p>
|
|
296
|
-
* </li>
|
|
297
|
-
* <li>
|
|
298
|
-
* <p>
|
|
299
|
-
* <a>MergePullRequestByThreeWay</a>. which merges the source destination branch of a pull request into the specified destination
|
|
300
|
-
* branch for that pull request using the three-way merge option.</p>
|
|
301
|
-
* </li>
|
|
302
|
-
* <li>
|
|
303
|
-
* <p>
|
|
304
|
-
* <a>OverridePullRequestApprovalRules</a>, which sets aside all approval rule requirements for a pull request.</p>
|
|
305
|
-
* </li>
|
|
306
|
-
* <li>
|
|
307
|
-
* <p>
|
|
308
|
-
* <a>PostCommentForPullRequest</a>, which posts a comment to a pull request at the specified line, file, or request.</p>
|
|
309
|
-
* </li>
|
|
310
|
-
* <li>
|
|
311
|
-
* <p>
|
|
312
|
-
* <a>UpdatePullRequestApprovalRuleContent</a>, which updates the structure of an approval rule for a pull request.</p>
|
|
313
|
-
* </li>
|
|
314
|
-
* <li>
|
|
315
|
-
* <p>
|
|
316
|
-
* <a>UpdatePullRequestApprovalState</a>, which updates the state of an approval on a pull request.</p>
|
|
317
|
-
* </li>
|
|
318
|
-
* <li>
|
|
319
|
-
* <p>
|
|
320
|
-
* <a>UpdatePullRequestDescription</a>, which updates the description of a pull request.</p>
|
|
321
|
-
* </li>
|
|
322
|
-
* <li>
|
|
323
|
-
* <p>
|
|
324
|
-
* <a>UpdatePullRequestStatus</a>, which updates the status of a pull request.</p>
|
|
325
|
-
* </li>
|
|
326
|
-
* <li>
|
|
327
|
-
* <p>
|
|
328
|
-
* <a>UpdatePullRequestTitle</a>, which updates the title of a pull request.</p>
|
|
329
|
-
* </li>
|
|
330
|
-
* </ul>
|
|
331
|
-
*
|
|
332
|
-
* <p>Approval rule templates, by calling the following:</p>
|
|
333
|
-
* <ul>
|
|
334
|
-
* <li>
|
|
335
|
-
* <p>
|
|
336
|
-
* <a>AssociateApprovalRuleTemplateWithRepository</a>, which associates a template
|
|
337
|
-
* with a specified repository. After the template is associated with a repository,
|
|
338
|
-
* AWS CodeCommit creates approval rules that match the template conditions on
|
|
339
|
-
* every pull request created in the specified repository.</p>
|
|
340
|
-
* </li>
|
|
341
|
-
* <li>
|
|
342
|
-
* <p>
|
|
343
|
-
* <a>BatchAssociateApprovalRuleTemplateWithRepositories</a>, which associates a
|
|
344
|
-
* template with one or more specified repositories. After the template is
|
|
345
|
-
* associated with a repository, AWS CodeCommit creates approval rules that match
|
|
346
|
-
* the template conditions on every pull request created in the specified
|
|
347
|
-
* repositories.</p>
|
|
348
|
-
* </li>
|
|
349
|
-
* <li>
|
|
350
|
-
* <p>
|
|
351
|
-
* <a>BatchDisassociateApprovalRuleTemplateFromRepositories</a>, which removes the
|
|
352
|
-
* association between a template and specified repositories so that approval rules
|
|
353
|
-
* based on the template are not automatically created when pull requests are
|
|
354
|
-
* created in those repositories.</p>
|
|
355
|
-
* </li>
|
|
356
|
-
* <li>
|
|
357
|
-
* <p>
|
|
358
|
-
* <a>CreateApprovalRuleTemplate</a>, which creates a template for approval rules that can then be associated with one or more repositories
|
|
359
|
-
* in your AWS account.</p>
|
|
360
|
-
* </li>
|
|
361
|
-
* <li>
|
|
362
|
-
* <p>
|
|
363
|
-
* <a>DeleteApprovalRuleTemplate</a>, which deletes the specified template. It does not remove approval rules on pull requests already created with the template.</p>
|
|
364
|
-
* </li>
|
|
365
|
-
* <li>
|
|
366
|
-
* <p>
|
|
367
|
-
* <a>DisassociateApprovalRuleTemplateFromRepository</a>, which removes the
|
|
368
|
-
* association between a template and a repository so that approval rules based on
|
|
369
|
-
* the template are not automatically created when pull requests are created in the
|
|
370
|
-
* specified repository.</p>
|
|
371
|
-
* </li>
|
|
372
|
-
* <li>
|
|
373
|
-
* <p>
|
|
374
|
-
* <a>GetApprovalRuleTemplate</a>, which returns information about an approval rule template.</p>
|
|
375
|
-
* </li>
|
|
376
|
-
* <li>
|
|
377
|
-
* <p>
|
|
378
|
-
* <a>ListApprovalRuleTemplates</a>, which lists all approval rule templates in the AWS Region in your AWS account.</p>
|
|
379
|
-
* </li>
|
|
380
|
-
* <li>
|
|
381
|
-
* <p>
|
|
382
|
-
* <a>ListAssociatedApprovalRuleTemplatesForRepository</a>, which lists all approval rule templates that are associated with a specified repository.</p>
|
|
383
|
-
* </li>
|
|
384
|
-
* <li>
|
|
385
|
-
* <p>
|
|
386
|
-
* <a>ListRepositoriesForApprovalRuleTemplate</a>, which lists all repositories associated with the specified approval rule template.</p>
|
|
387
|
-
* </li>
|
|
388
|
-
* <li>
|
|
389
|
-
* <p>
|
|
390
|
-
* <a>UpdateApprovalRuleTemplateDescription</a>, which updates the description of an
|
|
391
|
-
* approval rule template.</p>
|
|
392
|
-
* </li>
|
|
393
|
-
* <li>
|
|
394
|
-
* <p>
|
|
395
|
-
* <a>UpdateApprovalRuleTemplateName</a>, which updates the name of an approval rule template.</p>
|
|
396
|
-
* </li>
|
|
397
|
-
* <li>
|
|
398
|
-
* <p>
|
|
399
|
-
* <a>UpdateApprovalRuleTemplateContent</a>, which updates the content of an approval rule template.</p>
|
|
400
|
-
* </li>
|
|
401
|
-
* </ul>
|
|
402
|
-
*
|
|
403
|
-
* <p>Comments in a repository, by calling the following:</p>
|
|
404
|
-
* <ul>
|
|
405
|
-
* <li>
|
|
406
|
-
* <p>
|
|
407
|
-
* <a>DeleteCommentContent</a>, which deletes the content of a comment on a commit in a repository.</p>
|
|
408
|
-
* </li>
|
|
409
|
-
* <li>
|
|
410
|
-
* <p>
|
|
411
|
-
* <a>GetComment</a>, which returns information about a comment on a commit.</p>
|
|
412
|
-
* </li>
|
|
413
|
-
* <li>
|
|
414
|
-
* <p>
|
|
415
|
-
* <a>GetCommentReactions</a>, which returns information about emoji reactions to comments.</p>
|
|
416
|
-
* </li>
|
|
417
|
-
* <li>
|
|
418
|
-
* <p>
|
|
419
|
-
* <a>GetCommentsForComparedCommit</a>, which returns information about comments on the comparison between two commit specifiers
|
|
420
|
-
* in a repository.</p>
|
|
421
|
-
* </li>
|
|
422
|
-
* <li>
|
|
423
|
-
* <p>
|
|
424
|
-
* <a>PostCommentForComparedCommit</a>, which creates a comment on the comparison between two commit specifiers in a repository.</p>
|
|
425
|
-
* </li>
|
|
426
|
-
* <li>
|
|
427
|
-
* <p>
|
|
428
|
-
* <a>PostCommentReply</a>, which creates a reply to a comment.</p>
|
|
429
|
-
* </li>
|
|
430
|
-
* <li>
|
|
431
|
-
* <p>
|
|
432
|
-
* <a>PutCommentReaction</a>, which creates or updates an emoji reaction to a comment.</p>
|
|
433
|
-
* </li>
|
|
434
|
-
* <li>
|
|
435
|
-
* <p>
|
|
436
|
-
* <a>UpdateComment</a>, which updates the content of a comment on a commit in a repository.</p>
|
|
437
|
-
* </li>
|
|
438
|
-
* </ul>
|
|
439
|
-
*
|
|
440
|
-
* <p>Tags used to tag resources in AWS CodeCommit (not Git tags), by calling the following:</p>
|
|
441
|
-
* <ul>
|
|
442
|
-
* <li>
|
|
443
|
-
* <p>
|
|
444
|
-
* <a>ListTagsForResource</a>, which gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS CodeCommit.</p>
|
|
445
|
-
* </li>
|
|
446
|
-
* <li>
|
|
447
|
-
* <p>
|
|
448
|
-
* <a>TagResource</a>, which adds or updates tags for a resource in AWS CodeCommit.</p>
|
|
449
|
-
* </li>
|
|
450
|
-
* <li>
|
|
451
|
-
* <p>
|
|
452
|
-
* <a>UntagResource</a>, which removes tags for a resource in AWS CodeCommit.</p>
|
|
453
|
-
* </li>
|
|
454
|
-
* </ul>
|
|
455
|
-
*
|
|
456
|
-
* <p>Triggers, by calling the following:</p>
|
|
457
|
-
* <ul>
|
|
458
|
-
* <li>
|
|
459
|
-
* <p>
|
|
460
|
-
* <a>GetRepositoryTriggers</a>, which returns information about triggers configured
|
|
461
|
-
* for a repository.</p>
|
|
462
|
-
* </li>
|
|
463
|
-
* <li>
|
|
464
|
-
* <p>
|
|
465
|
-
* <a>PutRepositoryTriggers</a>, which replaces all triggers for a repository and can
|
|
466
|
-
* be used to create or delete triggers.</p>
|
|
467
|
-
* </li>
|
|
468
|
-
* <li>
|
|
469
|
-
* <p>
|
|
470
|
-
* <a>TestRepositoryTriggers</a>, which tests the functionality of a repository trigger
|
|
471
|
-
* by sending data to the trigger target.</p>
|
|
472
|
-
* </li>
|
|
473
|
-
* </ul>
|
|
474
|
-
*
|
|
475
|
-
*
|
|
476
|
-
*
|
|
477
|
-
*
|
|
478
|
-
* <p>For information about how to use AWS CodeCommit, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">AWS CodeCommit User Guide</a>.</p>
|
|
479
|
-
*/
|
|
480
|
-
export declare class CodeCommit extends CodeCommitClient {
|
|
80
|
+
export interface CodeCommit {
|
|
481
81
|
/**
|
|
482
|
-
* @
|
|
483
|
-
* <p>Creates an association between an approval rule template and a specified repository.
|
|
484
|
-
* Then, the next time a pull request is created in the repository where the destination
|
|
485
|
-
* reference (if specified) matches the destination reference (branch) for the pull
|
|
486
|
-
* request, an approval rule that matches the template conditions is automatically created
|
|
487
|
-
* for that pull request. If no destination references are specified in the template, an
|
|
488
|
-
* approval rule that matches the template contents is created for all pull requests in
|
|
489
|
-
* that repository.</p>
|
|
82
|
+
* @see {@link AssociateApprovalRuleTemplateWithRepositoryCommand}
|
|
490
83
|
*/
|
|
491
84
|
associateApprovalRuleTemplateWithRepository(args: AssociateApprovalRuleTemplateWithRepositoryCommandInput, options?: __HttpHandlerOptions): Promise<AssociateApprovalRuleTemplateWithRepositoryCommandOutput>;
|
|
492
85
|
associateApprovalRuleTemplateWithRepository(args: AssociateApprovalRuleTemplateWithRepositoryCommandInput, cb: (err: any, data?: AssociateApprovalRuleTemplateWithRepositoryCommandOutput) => void): void;
|
|
493
86
|
associateApprovalRuleTemplateWithRepository(args: AssociateApprovalRuleTemplateWithRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: AssociateApprovalRuleTemplateWithRepositoryCommandOutput) => void): void;
|
|
494
87
|
/**
|
|
495
|
-
* @
|
|
496
|
-
* <p>Creates an association between an approval rule template and one or more specified repositories. </p>
|
|
88
|
+
* @see {@link BatchAssociateApprovalRuleTemplateWithRepositoriesCommand}
|
|
497
89
|
*/
|
|
498
90
|
batchAssociateApprovalRuleTemplateWithRepositories(args: BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput, options?: __HttpHandlerOptions): Promise<BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput>;
|
|
499
91
|
batchAssociateApprovalRuleTemplateWithRepositories(args: BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput, cb: (err: any, data?: BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput) => void): void;
|
|
500
92
|
batchAssociateApprovalRuleTemplateWithRepositories(args: BatchAssociateApprovalRuleTemplateWithRepositoriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchAssociateApprovalRuleTemplateWithRepositoriesCommandOutput) => void): void;
|
|
501
93
|
/**
|
|
502
|
-
* @
|
|
503
|
-
* <p>Returns information about one or more merge conflicts in the attempted merge of two commit specifiers using the squash or three-way merge strategy.</p>
|
|
94
|
+
* @see {@link BatchDescribeMergeConflictsCommand}
|
|
504
95
|
*/
|
|
505
96
|
batchDescribeMergeConflicts(args: BatchDescribeMergeConflictsCommandInput, options?: __HttpHandlerOptions): Promise<BatchDescribeMergeConflictsCommandOutput>;
|
|
506
97
|
batchDescribeMergeConflicts(args: BatchDescribeMergeConflictsCommandInput, cb: (err: any, data?: BatchDescribeMergeConflictsCommandOutput) => void): void;
|
|
507
98
|
batchDescribeMergeConflicts(args: BatchDescribeMergeConflictsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDescribeMergeConflictsCommandOutput) => void): void;
|
|
508
99
|
/**
|
|
509
|
-
* @
|
|
510
|
-
* <p>Removes the association between an approval rule template and one or more specified repositories. </p>
|
|
100
|
+
* @see {@link BatchDisassociateApprovalRuleTemplateFromRepositoriesCommand}
|
|
511
101
|
*/
|
|
512
102
|
batchDisassociateApprovalRuleTemplateFromRepositories(args: BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput, options?: __HttpHandlerOptions): Promise<BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOutput>;
|
|
513
103
|
batchDisassociateApprovalRuleTemplateFromRepositories(args: BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput, cb: (err: any, data?: BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOutput) => void): void;
|
|
514
104
|
batchDisassociateApprovalRuleTemplateFromRepositories(args: BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchDisassociateApprovalRuleTemplateFromRepositoriesCommandOutput) => void): void;
|
|
515
105
|
/**
|
|
516
|
-
* @
|
|
517
|
-
* <p>Returns information about the contents of one or more commits in a repository.</p>
|
|
106
|
+
* @see {@link BatchGetCommitsCommand}
|
|
518
107
|
*/
|
|
519
108
|
batchGetCommits(args: BatchGetCommitsCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetCommitsCommandOutput>;
|
|
520
109
|
batchGetCommits(args: BatchGetCommitsCommandInput, cb: (err: any, data?: BatchGetCommitsCommandOutput) => void): void;
|
|
521
110
|
batchGetCommits(args: BatchGetCommitsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetCommitsCommandOutput) => void): void;
|
|
522
111
|
/**
|
|
523
|
-
* @
|
|
524
|
-
* <p>Returns information about one or more repositories.</p>
|
|
525
|
-
* <note>
|
|
526
|
-
* <p>The description field for a repository accepts all HTML characters and all valid
|
|
527
|
-
* Unicode characters. Applications that do not HTML-encode the description and display
|
|
528
|
-
* it in a webpage can expose users to potentially malicious code. Make sure that you
|
|
529
|
-
* HTML-encode the description field in any application that uses this API to display
|
|
530
|
-
* the repository description on a webpage.</p>
|
|
531
|
-
* </note>
|
|
112
|
+
* @see {@link BatchGetRepositoriesCommand}
|
|
532
113
|
*/
|
|
533
114
|
batchGetRepositories(args: BatchGetRepositoriesCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetRepositoriesCommandOutput>;
|
|
534
115
|
batchGetRepositories(args: BatchGetRepositoriesCommandInput, cb: (err: any, data?: BatchGetRepositoriesCommandOutput) => void): void;
|
|
535
116
|
batchGetRepositories(args: BatchGetRepositoriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetRepositoriesCommandOutput) => void): void;
|
|
536
117
|
/**
|
|
537
|
-
* @
|
|
538
|
-
* <p>Creates a template for approval rules that can then be associated with one or more
|
|
539
|
-
* repositories in your AWS account. When you associate a template with a repository, AWS
|
|
540
|
-
* CodeCommit creates an approval rule that matches the conditions of the template for all
|
|
541
|
-
* pull requests that meet the conditions of the template. For more information, see
|
|
542
|
-
* <a>AssociateApprovalRuleTemplateWithRepository</a>.</p>
|
|
118
|
+
* @see {@link CreateApprovalRuleTemplateCommand}
|
|
543
119
|
*/
|
|
544
120
|
createApprovalRuleTemplate(args: CreateApprovalRuleTemplateCommandInput, options?: __HttpHandlerOptions): Promise<CreateApprovalRuleTemplateCommandOutput>;
|
|
545
121
|
createApprovalRuleTemplate(args: CreateApprovalRuleTemplateCommandInput, cb: (err: any, data?: CreateApprovalRuleTemplateCommandOutput) => void): void;
|
|
546
122
|
createApprovalRuleTemplate(args: CreateApprovalRuleTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateApprovalRuleTemplateCommandOutput) => void): void;
|
|
547
123
|
/**
|
|
548
|
-
* @
|
|
549
|
-
* <p>Creates a branch in a repository and points the branch to a commit.</p>
|
|
550
|
-
* <note>
|
|
551
|
-
* <p>Calling the create branch operation does not set a repository's default branch. To do this, call the update default branch operation.</p>
|
|
552
|
-
* </note>
|
|
124
|
+
* @see {@link CreateBranchCommand}
|
|
553
125
|
*/
|
|
554
126
|
createBranch(args: CreateBranchCommandInput, options?: __HttpHandlerOptions): Promise<CreateBranchCommandOutput>;
|
|
555
127
|
createBranch(args: CreateBranchCommandInput, cb: (err: any, data?: CreateBranchCommandOutput) => void): void;
|
|
556
128
|
createBranch(args: CreateBranchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBranchCommandOutput) => void): void;
|
|
557
129
|
/**
|
|
558
|
-
* @
|
|
559
|
-
* <p>Creates a commit for a repository on the tip of a specified branch.</p>
|
|
130
|
+
* @see {@link CreateCommitCommand}
|
|
560
131
|
*/
|
|
561
132
|
createCommit(args: CreateCommitCommandInput, options?: __HttpHandlerOptions): Promise<CreateCommitCommandOutput>;
|
|
562
133
|
createCommit(args: CreateCommitCommandInput, cb: (err: any, data?: CreateCommitCommandOutput) => void): void;
|
|
563
134
|
createCommit(args: CreateCommitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateCommitCommandOutput) => void): void;
|
|
564
135
|
/**
|
|
565
|
-
* @
|
|
566
|
-
* <p>Creates a pull request in the specified repository.</p>
|
|
136
|
+
* @see {@link CreatePullRequestCommand}
|
|
567
137
|
*/
|
|
568
138
|
createPullRequest(args: CreatePullRequestCommandInput, options?: __HttpHandlerOptions): Promise<CreatePullRequestCommandOutput>;
|
|
569
139
|
createPullRequest(args: CreatePullRequestCommandInput, cb: (err: any, data?: CreatePullRequestCommandOutput) => void): void;
|
|
570
140
|
createPullRequest(args: CreatePullRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePullRequestCommandOutput) => void): void;
|
|
571
141
|
/**
|
|
572
|
-
* @
|
|
573
|
-
* <p>Creates an approval rule for a pull request.</p>
|
|
142
|
+
* @see {@link CreatePullRequestApprovalRuleCommand}
|
|
574
143
|
*/
|
|
575
144
|
createPullRequestApprovalRule(args: CreatePullRequestApprovalRuleCommandInput, options?: __HttpHandlerOptions): Promise<CreatePullRequestApprovalRuleCommandOutput>;
|
|
576
145
|
createPullRequestApprovalRule(args: CreatePullRequestApprovalRuleCommandInput, cb: (err: any, data?: CreatePullRequestApprovalRuleCommandOutput) => void): void;
|
|
577
146
|
createPullRequestApprovalRule(args: CreatePullRequestApprovalRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreatePullRequestApprovalRuleCommandOutput) => void): void;
|
|
578
147
|
/**
|
|
579
|
-
* @
|
|
580
|
-
* <p>Creates a new, empty repository.</p>
|
|
148
|
+
* @see {@link CreateRepositoryCommand}
|
|
581
149
|
*/
|
|
582
150
|
createRepository(args: CreateRepositoryCommandInput, options?: __HttpHandlerOptions): Promise<CreateRepositoryCommandOutput>;
|
|
583
151
|
createRepository(args: CreateRepositoryCommandInput, cb: (err: any, data?: CreateRepositoryCommandOutput) => void): void;
|
|
584
152
|
createRepository(args: CreateRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateRepositoryCommandOutput) => void): void;
|
|
585
153
|
/**
|
|
586
|
-
* @
|
|
587
|
-
* <p>Creates an unreferenced commit that represents the result of merging two branches
|
|
588
|
-
* using a specified merge strategy. This can help you determine the outcome of a potential
|
|
589
|
-
* merge. This API cannot be used with the fast-forward merge strategy because that
|
|
590
|
-
* strategy does not create a merge commit.</p>
|
|
591
|
-
* <note>
|
|
592
|
-
* <p>This unreferenced merge commit
|
|
593
|
-
* can only be accessed using the GetCommit API or through git commands such as git fetch. To retrieve this commit, you must specify its commit ID or otherwise reference it.</p>
|
|
594
|
-
* </note>
|
|
154
|
+
* @see {@link CreateUnreferencedMergeCommitCommand}
|
|
595
155
|
*/
|
|
596
156
|
createUnreferencedMergeCommit(args: CreateUnreferencedMergeCommitCommandInput, options?: __HttpHandlerOptions): Promise<CreateUnreferencedMergeCommitCommandOutput>;
|
|
597
157
|
createUnreferencedMergeCommit(args: CreateUnreferencedMergeCommitCommandInput, cb: (err: any, data?: CreateUnreferencedMergeCommitCommandOutput) => void): void;
|
|
598
158
|
createUnreferencedMergeCommit(args: CreateUnreferencedMergeCommitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateUnreferencedMergeCommitCommandOutput) => void): void;
|
|
599
159
|
/**
|
|
600
|
-
* @
|
|
601
|
-
* <p>Deletes a specified approval rule template. Deleting a template does not remove approval rules on pull requests already created with the template.</p>
|
|
160
|
+
* @see {@link DeleteApprovalRuleTemplateCommand}
|
|
602
161
|
*/
|
|
603
162
|
deleteApprovalRuleTemplate(args: DeleteApprovalRuleTemplateCommandInput, options?: __HttpHandlerOptions): Promise<DeleteApprovalRuleTemplateCommandOutput>;
|
|
604
163
|
deleteApprovalRuleTemplate(args: DeleteApprovalRuleTemplateCommandInput, cb: (err: any, data?: DeleteApprovalRuleTemplateCommandOutput) => void): void;
|
|
605
164
|
deleteApprovalRuleTemplate(args: DeleteApprovalRuleTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteApprovalRuleTemplateCommandOutput) => void): void;
|
|
606
165
|
/**
|
|
607
|
-
* @
|
|
608
|
-
* <p>Deletes a branch from a repository, unless that branch is the default branch for the repository. </p>
|
|
166
|
+
* @see {@link DeleteBranchCommand}
|
|
609
167
|
*/
|
|
610
168
|
deleteBranch(args: DeleteBranchCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBranchCommandOutput>;
|
|
611
169
|
deleteBranch(args: DeleteBranchCommandInput, cb: (err: any, data?: DeleteBranchCommandOutput) => void): void;
|
|
612
170
|
deleteBranch(args: DeleteBranchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBranchCommandOutput) => void): void;
|
|
613
171
|
/**
|
|
614
|
-
* @
|
|
615
|
-
* <p>Deletes the content of a comment made on a change, file, or commit in a repository.</p>
|
|
172
|
+
* @see {@link DeleteCommentContentCommand}
|
|
616
173
|
*/
|
|
617
174
|
deleteCommentContent(args: DeleteCommentContentCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCommentContentCommandOutput>;
|
|
618
175
|
deleteCommentContent(args: DeleteCommentContentCommandInput, cb: (err: any, data?: DeleteCommentContentCommandOutput) => void): void;
|
|
619
176
|
deleteCommentContent(args: DeleteCommentContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCommentContentCommandOutput) => void): void;
|
|
620
177
|
/**
|
|
621
|
-
* @
|
|
622
|
-
* <p>Deletes a specified file from a specified branch. A commit is created on the branch
|
|
623
|
-
* that contains the revision. The file still exists in the commits earlier to the commit
|
|
624
|
-
* that contains the deletion.</p>
|
|
178
|
+
* @see {@link DeleteFileCommand}
|
|
625
179
|
*/
|
|
626
180
|
deleteFile(args: DeleteFileCommandInput, options?: __HttpHandlerOptions): Promise<DeleteFileCommandOutput>;
|
|
627
181
|
deleteFile(args: DeleteFileCommandInput, cb: (err: any, data?: DeleteFileCommandOutput) => void): void;
|
|
628
182
|
deleteFile(args: DeleteFileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteFileCommandOutput) => void): void;
|
|
629
183
|
/**
|
|
630
|
-
* @
|
|
631
|
-
* <p>Deletes an approval rule from a specified pull request. Approval rules can be deleted from a pull request only if the pull request is open, and if the
|
|
632
|
-
* approval rule was created specifically for a pull request and not generated from an approval rule template associated with the repository where the
|
|
633
|
-
* pull request was created. You cannot delete an approval rule from a merged or closed pull request.</p>
|
|
184
|
+
* @see {@link DeletePullRequestApprovalRuleCommand}
|
|
634
185
|
*/
|
|
635
186
|
deletePullRequestApprovalRule(args: DeletePullRequestApprovalRuleCommandInput, options?: __HttpHandlerOptions): Promise<DeletePullRequestApprovalRuleCommandOutput>;
|
|
636
187
|
deletePullRequestApprovalRule(args: DeletePullRequestApprovalRuleCommandInput, cb: (err: any, data?: DeletePullRequestApprovalRuleCommandOutput) => void): void;
|
|
637
188
|
deletePullRequestApprovalRule(args: DeletePullRequestApprovalRuleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeletePullRequestApprovalRuleCommandOutput) => void): void;
|
|
638
189
|
/**
|
|
639
|
-
* @
|
|
640
|
-
* <p>Deletes a repository. If a specified repository was already deleted, a null repository
|
|
641
|
-
* ID is returned.</p>
|
|
642
|
-
* <important>
|
|
643
|
-
* <p>Deleting a repository also deletes all associated objects and metadata. After a repository is
|
|
644
|
-
* deleted, all future push calls to the deleted repository fail.</p>
|
|
645
|
-
* </important>
|
|
190
|
+
* @see {@link DeleteRepositoryCommand}
|
|
646
191
|
*/
|
|
647
192
|
deleteRepository(args: DeleteRepositoryCommandInput, options?: __HttpHandlerOptions): Promise<DeleteRepositoryCommandOutput>;
|
|
648
193
|
deleteRepository(args: DeleteRepositoryCommandInput, cb: (err: any, data?: DeleteRepositoryCommandOutput) => void): void;
|
|
649
194
|
deleteRepository(args: DeleteRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteRepositoryCommandOutput) => void): void;
|
|
650
195
|
/**
|
|
651
|
-
* @
|
|
652
|
-
* <p>Returns information about one or more merge conflicts in the attempted merge of two
|
|
653
|
-
* commit specifiers using the squash or three-way merge strategy. If the merge option for
|
|
654
|
-
* the attempted merge is specified as FAST_FORWARD_MERGE, an exception is thrown.</p>
|
|
196
|
+
* @see {@link DescribeMergeConflictsCommand}
|
|
655
197
|
*/
|
|
656
198
|
describeMergeConflicts(args: DescribeMergeConflictsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeMergeConflictsCommandOutput>;
|
|
657
199
|
describeMergeConflicts(args: DescribeMergeConflictsCommandInput, cb: (err: any, data?: DescribeMergeConflictsCommandOutput) => void): void;
|
|
658
200
|
describeMergeConflicts(args: DescribeMergeConflictsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeMergeConflictsCommandOutput) => void): void;
|
|
659
201
|
/**
|
|
660
|
-
* @
|
|
661
|
-
* <p>Returns information about one or more pull request events.</p>
|
|
202
|
+
* @see {@link DescribePullRequestEventsCommand}
|
|
662
203
|
*/
|
|
663
204
|
describePullRequestEvents(args: DescribePullRequestEventsCommandInput, options?: __HttpHandlerOptions): Promise<DescribePullRequestEventsCommandOutput>;
|
|
664
205
|
describePullRequestEvents(args: DescribePullRequestEventsCommandInput, cb: (err: any, data?: DescribePullRequestEventsCommandOutput) => void): void;
|
|
665
206
|
describePullRequestEvents(args: DescribePullRequestEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribePullRequestEventsCommandOutput) => void): void;
|
|
666
207
|
/**
|
|
667
|
-
* @
|
|
668
|
-
* <p>Removes the association between a template and a repository so that approval rules
|
|
669
|
-
* based on the template are not automatically created when pull requests are created in
|
|
670
|
-
* the specified repository. This does not delete any approval rules previously created for
|
|
671
|
-
* pull requests through the template association.</p>
|
|
208
|
+
* @see {@link DisassociateApprovalRuleTemplateFromRepositoryCommand}
|
|
672
209
|
*/
|
|
673
210
|
disassociateApprovalRuleTemplateFromRepository(args: DisassociateApprovalRuleTemplateFromRepositoryCommandInput, options?: __HttpHandlerOptions): Promise<DisassociateApprovalRuleTemplateFromRepositoryCommandOutput>;
|
|
674
211
|
disassociateApprovalRuleTemplateFromRepository(args: DisassociateApprovalRuleTemplateFromRepositoryCommandInput, cb: (err: any, data?: DisassociateApprovalRuleTemplateFromRepositoryCommandOutput) => void): void;
|
|
675
212
|
disassociateApprovalRuleTemplateFromRepository(args: DisassociateApprovalRuleTemplateFromRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DisassociateApprovalRuleTemplateFromRepositoryCommandOutput) => void): void;
|
|
676
213
|
/**
|
|
677
|
-
* @
|
|
678
|
-
* <p>Evaluates whether a pull request has met all the conditions specified in its associated approval rules.</p>
|
|
214
|
+
* @see {@link EvaluatePullRequestApprovalRulesCommand}
|
|
679
215
|
*/
|
|
680
216
|
evaluatePullRequestApprovalRules(args: EvaluatePullRequestApprovalRulesCommandInput, options?: __HttpHandlerOptions): Promise<EvaluatePullRequestApprovalRulesCommandOutput>;
|
|
681
217
|
evaluatePullRequestApprovalRules(args: EvaluatePullRequestApprovalRulesCommandInput, cb: (err: any, data?: EvaluatePullRequestApprovalRulesCommandOutput) => void): void;
|
|
682
218
|
evaluatePullRequestApprovalRules(args: EvaluatePullRequestApprovalRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: EvaluatePullRequestApprovalRulesCommandOutput) => void): void;
|
|
683
219
|
/**
|
|
684
|
-
* @
|
|
685
|
-
* <p>Returns information about a specified approval rule template.</p>
|
|
220
|
+
* @see {@link GetApprovalRuleTemplateCommand}
|
|
686
221
|
*/
|
|
687
222
|
getApprovalRuleTemplate(args: GetApprovalRuleTemplateCommandInput, options?: __HttpHandlerOptions): Promise<GetApprovalRuleTemplateCommandOutput>;
|
|
688
223
|
getApprovalRuleTemplate(args: GetApprovalRuleTemplateCommandInput, cb: (err: any, data?: GetApprovalRuleTemplateCommandOutput) => void): void;
|
|
689
224
|
getApprovalRuleTemplate(args: GetApprovalRuleTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetApprovalRuleTemplateCommandOutput) => void): void;
|
|
690
225
|
/**
|
|
691
|
-
* @
|
|
692
|
-
* <p>Returns the base-64 encoded content of an individual blob in a repository.</p>
|
|
226
|
+
* @see {@link GetBlobCommand}
|
|
693
227
|
*/
|
|
694
228
|
getBlob(args: GetBlobCommandInput, options?: __HttpHandlerOptions): Promise<GetBlobCommandOutput>;
|
|
695
229
|
getBlob(args: GetBlobCommandInput, cb: (err: any, data?: GetBlobCommandOutput) => void): void;
|
|
696
230
|
getBlob(args: GetBlobCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBlobCommandOutput) => void): void;
|
|
697
231
|
/**
|
|
698
|
-
* @
|
|
699
|
-
* <p>Returns information about a repository branch, including its name and the last commit ID.</p>
|
|
232
|
+
* @see {@link GetBranchCommand}
|
|
700
233
|
*/
|
|
701
234
|
getBranch(args: GetBranchCommandInput, options?: __HttpHandlerOptions): Promise<GetBranchCommandOutput>;
|
|
702
235
|
getBranch(args: GetBranchCommandInput, cb: (err: any, data?: GetBranchCommandOutput) => void): void;
|
|
703
236
|
getBranch(args: GetBranchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBranchCommandOutput) => void): void;
|
|
704
237
|
/**
|
|
705
|
-
* @
|
|
706
|
-
* <p>Returns the content of a comment made on a change, file, or commit in a repository. </p>
|
|
707
|
-
* <note>
|
|
708
|
-
* <p>Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of
|
|
709
|
-
* reactions from active identities, use GetCommentReactions.</p>
|
|
710
|
-
* </note>
|
|
238
|
+
* @see {@link GetCommentCommand}
|
|
711
239
|
*/
|
|
712
240
|
getComment(args: GetCommentCommandInput, options?: __HttpHandlerOptions): Promise<GetCommentCommandOutput>;
|
|
713
241
|
getComment(args: GetCommentCommandInput, cb: (err: any, data?: GetCommentCommandOutput) => void): void;
|
|
714
242
|
getComment(args: GetCommentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCommentCommandOutput) => void): void;
|
|
715
243
|
/**
|
|
716
|
-
* @
|
|
717
|
-
* <p>Returns information about reactions to a specified comment ID. Reactions from users who have been deleted will not be included in the count.</p>
|
|
244
|
+
* @see {@link GetCommentReactionsCommand}
|
|
718
245
|
*/
|
|
719
246
|
getCommentReactions(args: GetCommentReactionsCommandInput, options?: __HttpHandlerOptions): Promise<GetCommentReactionsCommandOutput>;
|
|
720
247
|
getCommentReactions(args: GetCommentReactionsCommandInput, cb: (err: any, data?: GetCommentReactionsCommandOutput) => void): void;
|
|
721
248
|
getCommentReactions(args: GetCommentReactionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCommentReactionsCommandOutput) => void): void;
|
|
722
249
|
/**
|
|
723
|
-
* @
|
|
724
|
-
* <p>Returns information about comments made on the comparison between two commits.</p>
|
|
725
|
-
* <note>
|
|
726
|
-
* <p>Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of
|
|
727
|
-
* reactions from active identities, use GetCommentReactions.</p>
|
|
728
|
-
* </note>
|
|
250
|
+
* @see {@link GetCommentsForComparedCommitCommand}
|
|
729
251
|
*/
|
|
730
252
|
getCommentsForComparedCommit(args: GetCommentsForComparedCommitCommandInput, options?: __HttpHandlerOptions): Promise<GetCommentsForComparedCommitCommandOutput>;
|
|
731
253
|
getCommentsForComparedCommit(args: GetCommentsForComparedCommitCommandInput, cb: (err: any, data?: GetCommentsForComparedCommitCommandOutput) => void): void;
|
|
732
254
|
getCommentsForComparedCommit(args: GetCommentsForComparedCommitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCommentsForComparedCommitCommandOutput) => void): void;
|
|
733
255
|
/**
|
|
734
|
-
* @
|
|
735
|
-
* <p>Returns comments made on a pull request.</p>
|
|
736
|
-
* <note>
|
|
737
|
-
* <p>Reaction counts might include numbers from user identities who were deleted after the reaction was made. For a count of
|
|
738
|
-
* reactions from active identities, use GetCommentReactions.</p>
|
|
739
|
-
* </note>
|
|
256
|
+
* @see {@link GetCommentsForPullRequestCommand}
|
|
740
257
|
*/
|
|
741
258
|
getCommentsForPullRequest(args: GetCommentsForPullRequestCommandInput, options?: __HttpHandlerOptions): Promise<GetCommentsForPullRequestCommandOutput>;
|
|
742
259
|
getCommentsForPullRequest(args: GetCommentsForPullRequestCommandInput, cb: (err: any, data?: GetCommentsForPullRequestCommandOutput) => void): void;
|
|
743
260
|
getCommentsForPullRequest(args: GetCommentsForPullRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCommentsForPullRequestCommandOutput) => void): void;
|
|
744
261
|
/**
|
|
745
|
-
* @
|
|
746
|
-
* <p>Returns information about a commit, including commit message and committer information.</p>
|
|
262
|
+
* @see {@link GetCommitCommand}
|
|
747
263
|
*/
|
|
748
264
|
getCommit(args: GetCommitCommandInput, options?: __HttpHandlerOptions): Promise<GetCommitCommandOutput>;
|
|
749
265
|
getCommit(args: GetCommitCommandInput, cb: (err: any, data?: GetCommitCommandOutput) => void): void;
|
|
750
266
|
getCommit(args: GetCommitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCommitCommandOutput) => void): void;
|
|
751
267
|
/**
|
|
752
|
-
* @
|
|
753
|
-
* <p>Returns information about the differences in a valid commit specifier (such as a
|
|
754
|
-
* branch, tag, HEAD, commit ID, or other fully qualified reference). Results can be
|
|
755
|
-
* limited to a specified path.</p>
|
|
268
|
+
* @see {@link GetDifferencesCommand}
|
|
756
269
|
*/
|
|
757
270
|
getDifferences(args: GetDifferencesCommandInput, options?: __HttpHandlerOptions): Promise<GetDifferencesCommandOutput>;
|
|
758
271
|
getDifferences(args: GetDifferencesCommandInput, cb: (err: any, data?: GetDifferencesCommandOutput) => void): void;
|
|
759
272
|
getDifferences(args: GetDifferencesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDifferencesCommandOutput) => void): void;
|
|
760
273
|
/**
|
|
761
|
-
* @
|
|
762
|
-
* <p>Returns the base-64 encoded contents of a specified file and its metadata.</p>
|
|
274
|
+
* @see {@link GetFileCommand}
|
|
763
275
|
*/
|
|
764
276
|
getFile(args: GetFileCommandInput, options?: __HttpHandlerOptions): Promise<GetFileCommandOutput>;
|
|
765
277
|
getFile(args: GetFileCommandInput, cb: (err: any, data?: GetFileCommandOutput) => void): void;
|
|
766
278
|
getFile(args: GetFileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFileCommandOutput) => void): void;
|
|
767
279
|
/**
|
|
768
|
-
* @
|
|
769
|
-
* <p>Returns the contents of a specified folder in a repository.</p>
|
|
280
|
+
* @see {@link GetFolderCommand}
|
|
770
281
|
*/
|
|
771
282
|
getFolder(args: GetFolderCommandInput, options?: __HttpHandlerOptions): Promise<GetFolderCommandOutput>;
|
|
772
283
|
getFolder(args: GetFolderCommandInput, cb: (err: any, data?: GetFolderCommandOutput) => void): void;
|
|
773
284
|
getFolder(args: GetFolderCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFolderCommandOutput) => void): void;
|
|
774
285
|
/**
|
|
775
|
-
* @
|
|
776
|
-
* <p>Returns information about a specified merge commit.</p>
|
|
286
|
+
* @see {@link GetMergeCommitCommand}
|
|
777
287
|
*/
|
|
778
288
|
getMergeCommit(args: GetMergeCommitCommandInput, options?: __HttpHandlerOptions): Promise<GetMergeCommitCommandOutput>;
|
|
779
289
|
getMergeCommit(args: GetMergeCommitCommandInput, cb: (err: any, data?: GetMergeCommitCommandOutput) => void): void;
|
|
780
290
|
getMergeCommit(args: GetMergeCommitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMergeCommitCommandOutput) => void): void;
|
|
781
291
|
/**
|
|
782
|
-
* @
|
|
783
|
-
* <p>Returns information about merge conflicts between the before and after commit IDs for a pull request in a repository.</p>
|
|
292
|
+
* @see {@link GetMergeConflictsCommand}
|
|
784
293
|
*/
|
|
785
294
|
getMergeConflicts(args: GetMergeConflictsCommandInput, options?: __HttpHandlerOptions): Promise<GetMergeConflictsCommandOutput>;
|
|
786
295
|
getMergeConflicts(args: GetMergeConflictsCommandInput, cb: (err: any, data?: GetMergeConflictsCommandOutput) => void): void;
|
|
787
296
|
getMergeConflicts(args: GetMergeConflictsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMergeConflictsCommandOutput) => void): void;
|
|
788
297
|
/**
|
|
789
|
-
* @
|
|
790
|
-
* <p>Returns information about the merge options available for merging two specified
|
|
791
|
-
* branches. For details about why a merge option is not available, use GetMergeConflicts
|
|
792
|
-
* or DescribeMergeConflicts.</p>
|
|
298
|
+
* @see {@link GetMergeOptionsCommand}
|
|
793
299
|
*/
|
|
794
300
|
getMergeOptions(args: GetMergeOptionsCommandInput, options?: __HttpHandlerOptions): Promise<GetMergeOptionsCommandOutput>;
|
|
795
301
|
getMergeOptions(args: GetMergeOptionsCommandInput, cb: (err: any, data?: GetMergeOptionsCommandOutput) => void): void;
|
|
796
302
|
getMergeOptions(args: GetMergeOptionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetMergeOptionsCommandOutput) => void): void;
|
|
797
303
|
/**
|
|
798
|
-
* @
|
|
799
|
-
* <p>Gets information about a pull request in a specified repository.</p>
|
|
304
|
+
* @see {@link GetPullRequestCommand}
|
|
800
305
|
*/
|
|
801
306
|
getPullRequest(args: GetPullRequestCommandInput, options?: __HttpHandlerOptions): Promise<GetPullRequestCommandOutput>;
|
|
802
307
|
getPullRequest(args: GetPullRequestCommandInput, cb: (err: any, data?: GetPullRequestCommandOutput) => void): void;
|
|
803
308
|
getPullRequest(args: GetPullRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPullRequestCommandOutput) => void): void;
|
|
804
309
|
/**
|
|
805
|
-
* @
|
|
806
|
-
* <p>Gets information about the approval states for a specified pull request. Approval states only apply to pull requests that have one or more
|
|
807
|
-
* approval rules applied to them.</p>
|
|
310
|
+
* @see {@link GetPullRequestApprovalStatesCommand}
|
|
808
311
|
*/
|
|
809
312
|
getPullRequestApprovalStates(args: GetPullRequestApprovalStatesCommandInput, options?: __HttpHandlerOptions): Promise<GetPullRequestApprovalStatesCommandOutput>;
|
|
810
313
|
getPullRequestApprovalStates(args: GetPullRequestApprovalStatesCommandInput, cb: (err: any, data?: GetPullRequestApprovalStatesCommandOutput) => void): void;
|
|
811
314
|
getPullRequestApprovalStates(args: GetPullRequestApprovalStatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPullRequestApprovalStatesCommandOutput) => void): void;
|
|
812
315
|
/**
|
|
813
|
-
* @
|
|
814
|
-
* <p>Returns information about whether approval rules have been set aside (overridden) for a
|
|
815
|
-
* pull request, and if so, the Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request.</p>
|
|
316
|
+
* @see {@link GetPullRequestOverrideStateCommand}
|
|
816
317
|
*/
|
|
817
318
|
getPullRequestOverrideState(args: GetPullRequestOverrideStateCommandInput, options?: __HttpHandlerOptions): Promise<GetPullRequestOverrideStateCommandOutput>;
|
|
818
319
|
getPullRequestOverrideState(args: GetPullRequestOverrideStateCommandInput, cb: (err: any, data?: GetPullRequestOverrideStateCommandOutput) => void): void;
|
|
819
320
|
getPullRequestOverrideState(args: GetPullRequestOverrideStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetPullRequestOverrideStateCommandOutput) => void): void;
|
|
820
321
|
/**
|
|
821
|
-
* @
|
|
822
|
-
* <p>Returns information about a repository.</p>
|
|
823
|
-
*
|
|
824
|
-
* <note>
|
|
825
|
-
* <p>The description field for a repository accepts all HTML characters and all valid
|
|
826
|
-
* Unicode characters. Applications that do not HTML-encode the description and display
|
|
827
|
-
* it in a webpage can expose users to potentially malicious code. Make sure that you
|
|
828
|
-
* HTML-encode the description field in any application that uses this API to display
|
|
829
|
-
* the repository description on a webpage.</p>
|
|
830
|
-
* </note>
|
|
322
|
+
* @see {@link GetRepositoryCommand}
|
|
831
323
|
*/
|
|
832
324
|
getRepository(args: GetRepositoryCommandInput, options?: __HttpHandlerOptions): Promise<GetRepositoryCommandOutput>;
|
|
833
325
|
getRepository(args: GetRepositoryCommandInput, cb: (err: any, data?: GetRepositoryCommandOutput) => void): void;
|
|
834
326
|
getRepository(args: GetRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRepositoryCommandOutput) => void): void;
|
|
835
327
|
/**
|
|
836
|
-
* @
|
|
837
|
-
* <p>Gets information about triggers configured for a repository.</p>
|
|
328
|
+
* @see {@link GetRepositoryTriggersCommand}
|
|
838
329
|
*/
|
|
839
330
|
getRepositoryTriggers(args: GetRepositoryTriggersCommandInput, options?: __HttpHandlerOptions): Promise<GetRepositoryTriggersCommandOutput>;
|
|
840
331
|
getRepositoryTriggers(args: GetRepositoryTriggersCommandInput, cb: (err: any, data?: GetRepositoryTriggersCommandOutput) => void): void;
|
|
841
332
|
getRepositoryTriggers(args: GetRepositoryTriggersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetRepositoryTriggersCommandOutput) => void): void;
|
|
842
333
|
/**
|
|
843
|
-
* @
|
|
844
|
-
* <p>Lists all approval rule templates in the specified AWS Region in your AWS account. If
|
|
845
|
-
* an AWS Region is not specified, the AWS Region where you are signed in is used.</p>
|
|
334
|
+
* @see {@link ListApprovalRuleTemplatesCommand}
|
|
846
335
|
*/
|
|
847
336
|
listApprovalRuleTemplates(args: ListApprovalRuleTemplatesCommandInput, options?: __HttpHandlerOptions): Promise<ListApprovalRuleTemplatesCommandOutput>;
|
|
848
337
|
listApprovalRuleTemplates(args: ListApprovalRuleTemplatesCommandInput, cb: (err: any, data?: ListApprovalRuleTemplatesCommandOutput) => void): void;
|
|
849
338
|
listApprovalRuleTemplates(args: ListApprovalRuleTemplatesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListApprovalRuleTemplatesCommandOutput) => void): void;
|
|
850
339
|
/**
|
|
851
|
-
* @
|
|
852
|
-
* <p>Lists all approval rule templates that are associated with a specified repository.</p>
|
|
340
|
+
* @see {@link ListAssociatedApprovalRuleTemplatesForRepositoryCommand}
|
|
853
341
|
*/
|
|
854
342
|
listAssociatedApprovalRuleTemplatesForRepository(args: ListAssociatedApprovalRuleTemplatesForRepositoryCommandInput, options?: __HttpHandlerOptions): Promise<ListAssociatedApprovalRuleTemplatesForRepositoryCommandOutput>;
|
|
855
343
|
listAssociatedApprovalRuleTemplatesForRepository(args: ListAssociatedApprovalRuleTemplatesForRepositoryCommandInput, cb: (err: any, data?: ListAssociatedApprovalRuleTemplatesForRepositoryCommandOutput) => void): void;
|
|
856
344
|
listAssociatedApprovalRuleTemplatesForRepository(args: ListAssociatedApprovalRuleTemplatesForRepositoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListAssociatedApprovalRuleTemplatesForRepositoryCommandOutput) => void): void;
|
|
857
345
|
/**
|
|
858
|
-
* @
|
|
859
|
-
* <p>Gets information about one or more branches in a repository.</p>
|
|
346
|
+
* @see {@link ListBranchesCommand}
|
|
860
347
|
*/
|
|
861
348
|
listBranches(args: ListBranchesCommandInput, options?: __HttpHandlerOptions): Promise<ListBranchesCommandOutput>;
|
|
862
349
|
listBranches(args: ListBranchesCommandInput, cb: (err: any, data?: ListBranchesCommandOutput) => void): void;
|
|
863
350
|
listBranches(args: ListBranchesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBranchesCommandOutput) => void): void;
|
|
864
351
|
/**
|
|
865
|
-
* @
|
|
866
|
-
* <p>Returns a list of pull requests for a specified repository. The return list can be refined by pull request
|
|
867
|
-
* status or pull request author ARN.</p>
|
|
352
|
+
* @see {@link ListPullRequestsCommand}
|
|
868
353
|
*/
|
|
869
354
|
listPullRequests(args: ListPullRequestsCommandInput, options?: __HttpHandlerOptions): Promise<ListPullRequestsCommandOutput>;
|
|
870
355
|
listPullRequests(args: ListPullRequestsCommandInput, cb: (err: any, data?: ListPullRequestsCommandOutput) => void): void;
|
|
871
356
|
listPullRequests(args: ListPullRequestsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListPullRequestsCommandOutput) => void): void;
|
|
872
357
|
/**
|
|
873
|
-
* @
|
|
874
|
-
* <p>Gets information about one or more repositories.</p>
|
|
358
|
+
* @see {@link ListRepositoriesCommand}
|
|
875
359
|
*/
|
|
876
360
|
listRepositories(args: ListRepositoriesCommandInput, options?: __HttpHandlerOptions): Promise<ListRepositoriesCommandOutput>;
|
|
877
361
|
listRepositories(args: ListRepositoriesCommandInput, cb: (err: any, data?: ListRepositoriesCommandOutput) => void): void;
|
|
878
362
|
listRepositories(args: ListRepositoriesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRepositoriesCommandOutput) => void): void;
|
|
879
363
|
/**
|
|
880
|
-
* @
|
|
881
|
-
* <p>Lists all repositories associated with the specified approval rule template.</p>
|
|
364
|
+
* @see {@link ListRepositoriesForApprovalRuleTemplateCommand}
|
|
882
365
|
*/
|
|
883
366
|
listRepositoriesForApprovalRuleTemplate(args: ListRepositoriesForApprovalRuleTemplateCommandInput, options?: __HttpHandlerOptions): Promise<ListRepositoriesForApprovalRuleTemplateCommandOutput>;
|
|
884
367
|
listRepositoriesForApprovalRuleTemplate(args: ListRepositoriesForApprovalRuleTemplateCommandInput, cb: (err: any, data?: ListRepositoriesForApprovalRuleTemplateCommandOutput) => void): void;
|
|
885
368
|
listRepositoriesForApprovalRuleTemplate(args: ListRepositoriesForApprovalRuleTemplateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListRepositoriesForApprovalRuleTemplateCommandOutput) => void): void;
|
|
886
369
|
/**
|
|
887
|
-
* @
|
|
888
|
-
* <p>Gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS
|
|
889
|
-
* CodeCommit. For a list of valid resources in AWS CodeCommit, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a> in the<i> AWS CodeCommit User
|
|
890
|
-
* Guide</i>.</p>
|
|
370
|
+
* @see {@link ListTagsForResourceCommand}
|
|
891
371
|
*/
|
|
892
372
|
listTagsForResource(args: ListTagsForResourceCommandInput, options?: __HttpHandlerOptions): Promise<ListTagsForResourceCommandOutput>;
|
|
893
373
|
listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
894
374
|
listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
|
|
895
375
|
/**
|
|
896
|
-
* @
|
|
897
|
-
* <p>Merges two branches using the fast-forward merge strategy.</p>
|
|
376
|
+
* @see {@link MergeBranchesByFastForwardCommand}
|
|
898
377
|
*/
|
|
899
378
|
mergeBranchesByFastForward(args: MergeBranchesByFastForwardCommandInput, options?: __HttpHandlerOptions): Promise<MergeBranchesByFastForwardCommandOutput>;
|
|
900
379
|
mergeBranchesByFastForward(args: MergeBranchesByFastForwardCommandInput, cb: (err: any, data?: MergeBranchesByFastForwardCommandOutput) => void): void;
|
|
901
380
|
mergeBranchesByFastForward(args: MergeBranchesByFastForwardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MergeBranchesByFastForwardCommandOutput) => void): void;
|
|
902
381
|
/**
|
|
903
|
-
* @
|
|
904
|
-
* <p>Merges two branches using the squash merge strategy.</p>
|
|
382
|
+
* @see {@link MergeBranchesBySquashCommand}
|
|
905
383
|
*/
|
|
906
384
|
mergeBranchesBySquash(args: MergeBranchesBySquashCommandInput, options?: __HttpHandlerOptions): Promise<MergeBranchesBySquashCommandOutput>;
|
|
907
385
|
mergeBranchesBySquash(args: MergeBranchesBySquashCommandInput, cb: (err: any, data?: MergeBranchesBySquashCommandOutput) => void): void;
|
|
908
386
|
mergeBranchesBySquash(args: MergeBranchesBySquashCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MergeBranchesBySquashCommandOutput) => void): void;
|
|
909
387
|
/**
|
|
910
|
-
* @
|
|
911
|
-
* <p>Merges two specified branches using the three-way merge strategy.</p>
|
|
388
|
+
* @see {@link MergeBranchesByThreeWayCommand}
|
|
912
389
|
*/
|
|
913
390
|
mergeBranchesByThreeWay(args: MergeBranchesByThreeWayCommandInput, options?: __HttpHandlerOptions): Promise<MergeBranchesByThreeWayCommandOutput>;
|
|
914
391
|
mergeBranchesByThreeWay(args: MergeBranchesByThreeWayCommandInput, cb: (err: any, data?: MergeBranchesByThreeWayCommandOutput) => void): void;
|
|
915
392
|
mergeBranchesByThreeWay(args: MergeBranchesByThreeWayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MergeBranchesByThreeWayCommandOutput) => void): void;
|
|
916
393
|
/**
|
|
917
|
-
* @
|
|
918
|
-
* <p>Attempts to merge the source commit of a pull request into the specified destination
|
|
919
|
-
* branch for that pull request at the specified commit using the fast-forward merge strategy. If the merge is successful, it closes the pull request.</p>
|
|
394
|
+
* @see {@link MergePullRequestByFastForwardCommand}
|
|
920
395
|
*/
|
|
921
396
|
mergePullRequestByFastForward(args: MergePullRequestByFastForwardCommandInput, options?: __HttpHandlerOptions): Promise<MergePullRequestByFastForwardCommandOutput>;
|
|
922
397
|
mergePullRequestByFastForward(args: MergePullRequestByFastForwardCommandInput, cb: (err: any, data?: MergePullRequestByFastForwardCommandOutput) => void): void;
|
|
923
398
|
mergePullRequestByFastForward(args: MergePullRequestByFastForwardCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MergePullRequestByFastForwardCommandOutput) => void): void;
|
|
924
399
|
/**
|
|
925
|
-
* @
|
|
926
|
-
* <p>Attempts to merge the source commit of a pull request into the specified destination
|
|
927
|
-
* branch for that pull request at the specified commit using the squash merge strategy. If the merge is successful, it closes the pull request.</p>
|
|
400
|
+
* @see {@link MergePullRequestBySquashCommand}
|
|
928
401
|
*/
|
|
929
402
|
mergePullRequestBySquash(args: MergePullRequestBySquashCommandInput, options?: __HttpHandlerOptions): Promise<MergePullRequestBySquashCommandOutput>;
|
|
930
403
|
mergePullRequestBySquash(args: MergePullRequestBySquashCommandInput, cb: (err: any, data?: MergePullRequestBySquashCommandOutput) => void): void;
|
|
931
404
|
mergePullRequestBySquash(args: MergePullRequestBySquashCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MergePullRequestBySquashCommandOutput) => void): void;
|
|
932
405
|
/**
|
|
933
|
-
* @
|
|
934
|
-
* <p>Attempts to merge the source commit of a pull request into the specified destination
|
|
935
|
-
* branch for that pull request at the specified commit using the three-way merge strategy. If the merge is successful, it closes the pull request.</p>
|
|
406
|
+
* @see {@link MergePullRequestByThreeWayCommand}
|
|
936
407
|
*/
|
|
937
408
|
mergePullRequestByThreeWay(args: MergePullRequestByThreeWayCommandInput, options?: __HttpHandlerOptions): Promise<MergePullRequestByThreeWayCommandOutput>;
|
|
938
409
|
mergePullRequestByThreeWay(args: MergePullRequestByThreeWayCommandInput, cb: (err: any, data?: MergePullRequestByThreeWayCommandOutput) => void): void;
|
|
939
410
|
mergePullRequestByThreeWay(args: MergePullRequestByThreeWayCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: MergePullRequestByThreeWayCommandOutput) => void): void;
|
|
940
411
|
/**
|
|
941
|
-
* @
|
|
942
|
-
* <p>Sets aside (overrides) all approval rule requirements for a specified pull request.</p>
|
|
412
|
+
* @see {@link OverridePullRequestApprovalRulesCommand}
|
|
943
413
|
*/
|
|
944
414
|
overridePullRequestApprovalRules(args: OverridePullRequestApprovalRulesCommandInput, options?: __HttpHandlerOptions): Promise<OverridePullRequestApprovalRulesCommandOutput>;
|
|
945
415
|
overridePullRequestApprovalRules(args: OverridePullRequestApprovalRulesCommandInput, cb: (err: any, data?: OverridePullRequestApprovalRulesCommandOutput) => void): void;
|
|
946
416
|
overridePullRequestApprovalRules(args: OverridePullRequestApprovalRulesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: OverridePullRequestApprovalRulesCommandOutput) => void): void;
|
|
947
417
|
/**
|
|
948
|
-
* @
|
|
949
|
-
* <p>Posts a comment on the comparison between two commits.</p>
|
|
418
|
+
* @see {@link PostCommentForComparedCommitCommand}
|
|
950
419
|
*/
|
|
951
420
|
postCommentForComparedCommit(args: PostCommentForComparedCommitCommandInput, options?: __HttpHandlerOptions): Promise<PostCommentForComparedCommitCommandOutput>;
|
|
952
421
|
postCommentForComparedCommit(args: PostCommentForComparedCommitCommandInput, cb: (err: any, data?: PostCommentForComparedCommitCommandOutput) => void): void;
|
|
953
422
|
postCommentForComparedCommit(args: PostCommentForComparedCommitCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PostCommentForComparedCommitCommandOutput) => void): void;
|
|
954
423
|
/**
|
|
955
|
-
* @
|
|
956
|
-
* <p>Posts a comment on a pull request.</p>
|
|
424
|
+
* @see {@link PostCommentForPullRequestCommand}
|
|
957
425
|
*/
|
|
958
426
|
postCommentForPullRequest(args: PostCommentForPullRequestCommandInput, options?: __HttpHandlerOptions): Promise<PostCommentForPullRequestCommandOutput>;
|
|
959
427
|
postCommentForPullRequest(args: PostCommentForPullRequestCommandInput, cb: (err: any, data?: PostCommentForPullRequestCommandOutput) => void): void;
|
|
960
428
|
postCommentForPullRequest(args: PostCommentForPullRequestCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PostCommentForPullRequestCommandOutput) => void): void;
|
|
961
429
|
/**
|
|
962
|
-
* @
|
|
963
|
-
* <p>Posts a comment in reply to an existing comment on a comparison between commits or a pull request.</p>
|
|
430
|
+
* @see {@link PostCommentReplyCommand}
|
|
964
431
|
*/
|
|
965
432
|
postCommentReply(args: PostCommentReplyCommandInput, options?: __HttpHandlerOptions): Promise<PostCommentReplyCommandOutput>;
|
|
966
433
|
postCommentReply(args: PostCommentReplyCommandInput, cb: (err: any, data?: PostCommentReplyCommandOutput) => void): void;
|
|
967
434
|
postCommentReply(args: PostCommentReplyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PostCommentReplyCommandOutput) => void): void;
|
|
968
435
|
/**
|
|
969
|
-
* @
|
|
970
|
-
* <p>Adds or updates a reaction to a specified comment for the user whose identity is used to make the request. You can only add or
|
|
971
|
-
* update a reaction for yourself. You cannot add, modify, or delete a reaction for another user.</p>
|
|
436
|
+
* @see {@link PutCommentReactionCommand}
|
|
972
437
|
*/
|
|
973
438
|
putCommentReaction(args: PutCommentReactionCommandInput, options?: __HttpHandlerOptions): Promise<PutCommentReactionCommandOutput>;
|
|
974
439
|
putCommentReaction(args: PutCommentReactionCommandInput, cb: (err: any, data?: PutCommentReactionCommandOutput) => void): void;
|
|
975
440
|
putCommentReaction(args: PutCommentReactionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutCommentReactionCommandOutput) => void): void;
|
|
976
441
|
/**
|
|
977
|
-
* @
|
|
978
|
-
* <p>Adds or updates a file in a branch in an AWS CodeCommit repository, and generates a commit for the addition in the specified branch.</p>
|
|
442
|
+
* @see {@link PutFileCommand}
|
|
979
443
|
*/
|
|
980
444
|
putFile(args: PutFileCommandInput, options?: __HttpHandlerOptions): Promise<PutFileCommandOutput>;
|
|
981
445
|
putFile(args: PutFileCommandInput, cb: (err: any, data?: PutFileCommandOutput) => void): void;
|
|
982
446
|
putFile(args: PutFileCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutFileCommandOutput) => void): void;
|
|
983
447
|
/**
|
|
984
|
-
* @
|
|
985
|
-
* <p>Replaces all triggers for a repository. Used to create or delete triggers.</p>
|
|
448
|
+
* @see {@link PutRepositoryTriggersCommand}
|
|
986
449
|
*/
|
|
987
450
|
putRepositoryTriggers(args: PutRepositoryTriggersCommandInput, options?: __HttpHandlerOptions): Promise<PutRepositoryTriggersCommandOutput>;
|
|
988
451
|
putRepositoryTriggers(args: PutRepositoryTriggersCommandInput, cb: (err: any, data?: PutRepositoryTriggersCommandOutput) => void): void;
|
|
989
452
|
putRepositoryTriggers(args: PutRepositoryTriggersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutRepositoryTriggersCommandOutput) => void): void;
|
|
990
453
|
/**
|
|
991
|
-
* @
|
|
992
|
-
* <p>Adds or updates tags for a resource in AWS CodeCommit. For a list of valid resources
|
|
993
|
-
* in AWS CodeCommit, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a> in the <i>AWS CodeCommit User
|
|
994
|
-
* Guide</i>.</p>
|
|
454
|
+
* @see {@link TagResourceCommand}
|
|
995
455
|
*/
|
|
996
456
|
tagResource(args: TagResourceCommandInput, options?: __HttpHandlerOptions): Promise<TagResourceCommandOutput>;
|
|
997
457
|
tagResource(args: TagResourceCommandInput, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
998
458
|
tagResource(args: TagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TagResourceCommandOutput) => void): void;
|
|
999
459
|
/**
|
|
1000
|
-
* @
|
|
1001
|
-
* <p>Tests the functionality of repository triggers by sending information to the trigger
|
|
1002
|
-
* target. If real data is available in the repository, the test sends data from the last
|
|
1003
|
-
* commit. If no data is available, sample data is generated.</p>
|
|
460
|
+
* @see {@link TestRepositoryTriggersCommand}
|
|
1004
461
|
*/
|
|
1005
462
|
testRepositoryTriggers(args: TestRepositoryTriggersCommandInput, options?: __HttpHandlerOptions): Promise<TestRepositoryTriggersCommandOutput>;
|
|
1006
463
|
testRepositoryTriggers(args: TestRepositoryTriggersCommandInput, cb: (err: any, data?: TestRepositoryTriggersCommandOutput) => void): void;
|
|
1007
464
|
testRepositoryTriggers(args: TestRepositoryTriggersCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TestRepositoryTriggersCommandOutput) => void): void;
|
|
1008
465
|
/**
|
|
1009
|
-
* @
|
|
1010
|
-
* <p>Removes tags for a resource in AWS CodeCommit. For a list of valid resources in AWS
|
|
1011
|
-
* CodeCommit, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats">CodeCommit Resources and Operations</a> in the <i>AWS CodeCommit User
|
|
1012
|
-
* Guide</i>.</p>
|
|
466
|
+
* @see {@link UntagResourceCommand}
|
|
1013
467
|
*/
|
|
1014
468
|
untagResource(args: UntagResourceCommandInput, options?: __HttpHandlerOptions): Promise<UntagResourceCommandOutput>;
|
|
1015
469
|
untagResource(args: UntagResourceCommandInput, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
1016
470
|
untagResource(args: UntagResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UntagResourceCommandOutput) => void): void;
|
|
1017
471
|
/**
|
|
1018
|
-
* @
|
|
1019
|
-
* <p>Updates the content of an approval rule template. You can change the number of
|
|
1020
|
-
* required approvals, the membership of the approval rule, and whether an approval pool is
|
|
1021
|
-
* defined.</p>
|
|
472
|
+
* @see {@link UpdateApprovalRuleTemplateContentCommand}
|
|
1022
473
|
*/
|
|
1023
474
|
updateApprovalRuleTemplateContent(args: UpdateApprovalRuleTemplateContentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApprovalRuleTemplateContentCommandOutput>;
|
|
1024
475
|
updateApprovalRuleTemplateContent(args: UpdateApprovalRuleTemplateContentCommandInput, cb: (err: any, data?: UpdateApprovalRuleTemplateContentCommandOutput) => void): void;
|
|
1025
476
|
updateApprovalRuleTemplateContent(args: UpdateApprovalRuleTemplateContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApprovalRuleTemplateContentCommandOutput) => void): void;
|
|
1026
477
|
/**
|
|
1027
|
-
* @
|
|
1028
|
-
* <p>Updates the description for a specified approval rule template.</p>
|
|
478
|
+
* @see {@link UpdateApprovalRuleTemplateDescriptionCommand}
|
|
1029
479
|
*/
|
|
1030
480
|
updateApprovalRuleTemplateDescription(args: UpdateApprovalRuleTemplateDescriptionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApprovalRuleTemplateDescriptionCommandOutput>;
|
|
1031
481
|
updateApprovalRuleTemplateDescription(args: UpdateApprovalRuleTemplateDescriptionCommandInput, cb: (err: any, data?: UpdateApprovalRuleTemplateDescriptionCommandOutput) => void): void;
|
|
1032
482
|
updateApprovalRuleTemplateDescription(args: UpdateApprovalRuleTemplateDescriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApprovalRuleTemplateDescriptionCommandOutput) => void): void;
|
|
1033
483
|
/**
|
|
1034
|
-
* @
|
|
1035
|
-
* <p>Updates the name of a specified approval rule template.</p>
|
|
484
|
+
* @see {@link UpdateApprovalRuleTemplateNameCommand}
|
|
1036
485
|
*/
|
|
1037
486
|
updateApprovalRuleTemplateName(args: UpdateApprovalRuleTemplateNameCommandInput, options?: __HttpHandlerOptions): Promise<UpdateApprovalRuleTemplateNameCommandOutput>;
|
|
1038
487
|
updateApprovalRuleTemplateName(args: UpdateApprovalRuleTemplateNameCommandInput, cb: (err: any, data?: UpdateApprovalRuleTemplateNameCommandOutput) => void): void;
|
|
1039
488
|
updateApprovalRuleTemplateName(args: UpdateApprovalRuleTemplateNameCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateApprovalRuleTemplateNameCommandOutput) => void): void;
|
|
1040
489
|
/**
|
|
1041
|
-
* @
|
|
1042
|
-
* <p>Replaces the contents of a comment.</p>
|
|
490
|
+
* @see {@link UpdateCommentCommand}
|
|
1043
491
|
*/
|
|
1044
492
|
updateComment(args: UpdateCommentCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCommentCommandOutput>;
|
|
1045
493
|
updateComment(args: UpdateCommentCommandInput, cb: (err: any, data?: UpdateCommentCommandOutput) => void): void;
|
|
1046
494
|
updateComment(args: UpdateCommentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCommentCommandOutput) => void): void;
|
|
1047
495
|
/**
|
|
1048
|
-
* @
|
|
1049
|
-
* <p>Sets or changes the default branch name for the specified repository.</p>
|
|
1050
|
-
* <note>
|
|
1051
|
-
* <p>If you use this operation to change the default branch name to the current default branch name, a success message is returned even though the default branch did not change.</p>
|
|
1052
|
-
* </note>
|
|
496
|
+
* @see {@link UpdateDefaultBranchCommand}
|
|
1053
497
|
*/
|
|
1054
498
|
updateDefaultBranch(args: UpdateDefaultBranchCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDefaultBranchCommandOutput>;
|
|
1055
499
|
updateDefaultBranch(args: UpdateDefaultBranchCommandInput, cb: (err: any, data?: UpdateDefaultBranchCommandOutput) => void): void;
|
|
1056
500
|
updateDefaultBranch(args: UpdateDefaultBranchCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDefaultBranchCommandOutput) => void): void;
|
|
1057
501
|
/**
|
|
1058
|
-
* @
|
|
1059
|
-
* <p>Updates the structure of an approval rule created specifically for a pull request. For example, you can change the number of required approvers and
|
|
1060
|
-
* the approval pool for approvers. </p>
|
|
502
|
+
* @see {@link UpdatePullRequestApprovalRuleContentCommand}
|
|
1061
503
|
*/
|
|
1062
504
|
updatePullRequestApprovalRuleContent(args: UpdatePullRequestApprovalRuleContentCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePullRequestApprovalRuleContentCommandOutput>;
|
|
1063
505
|
updatePullRequestApprovalRuleContent(args: UpdatePullRequestApprovalRuleContentCommandInput, cb: (err: any, data?: UpdatePullRequestApprovalRuleContentCommandOutput) => void): void;
|
|
1064
506
|
updatePullRequestApprovalRuleContent(args: UpdatePullRequestApprovalRuleContentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePullRequestApprovalRuleContentCommandOutput) => void): void;
|
|
1065
507
|
/**
|
|
1066
|
-
* @
|
|
1067
|
-
* <p>Updates the state of a user's approval on a pull request. The user is derived from the signed-in account when the request is made.</p>
|
|
508
|
+
* @see {@link UpdatePullRequestApprovalStateCommand}
|
|
1068
509
|
*/
|
|
1069
510
|
updatePullRequestApprovalState(args: UpdatePullRequestApprovalStateCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePullRequestApprovalStateCommandOutput>;
|
|
1070
511
|
updatePullRequestApprovalState(args: UpdatePullRequestApprovalStateCommandInput, cb: (err: any, data?: UpdatePullRequestApprovalStateCommandOutput) => void): void;
|
|
1071
512
|
updatePullRequestApprovalState(args: UpdatePullRequestApprovalStateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePullRequestApprovalStateCommandOutput) => void): void;
|
|
1072
513
|
/**
|
|
1073
|
-
* @
|
|
1074
|
-
* <p>Replaces the contents of the description of a pull request.</p>
|
|
514
|
+
* @see {@link UpdatePullRequestDescriptionCommand}
|
|
1075
515
|
*/
|
|
1076
516
|
updatePullRequestDescription(args: UpdatePullRequestDescriptionCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePullRequestDescriptionCommandOutput>;
|
|
1077
517
|
updatePullRequestDescription(args: UpdatePullRequestDescriptionCommandInput, cb: (err: any, data?: UpdatePullRequestDescriptionCommandOutput) => void): void;
|
|
1078
518
|
updatePullRequestDescription(args: UpdatePullRequestDescriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePullRequestDescriptionCommandOutput) => void): void;
|
|
1079
519
|
/**
|
|
1080
|
-
* @
|
|
1081
|
-
* <p>Updates the status of a pull request. </p>
|
|
520
|
+
* @see {@link UpdatePullRequestStatusCommand}
|
|
1082
521
|
*/
|
|
1083
522
|
updatePullRequestStatus(args: UpdatePullRequestStatusCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePullRequestStatusCommandOutput>;
|
|
1084
523
|
updatePullRequestStatus(args: UpdatePullRequestStatusCommandInput, cb: (err: any, data?: UpdatePullRequestStatusCommandOutput) => void): void;
|
|
1085
524
|
updatePullRequestStatus(args: UpdatePullRequestStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePullRequestStatusCommandOutput) => void): void;
|
|
1086
525
|
/**
|
|
1087
|
-
* @
|
|
1088
|
-
* <p>Replaces the title of a pull request.</p>
|
|
526
|
+
* @see {@link UpdatePullRequestTitleCommand}
|
|
1089
527
|
*/
|
|
1090
528
|
updatePullRequestTitle(args: UpdatePullRequestTitleCommandInput, options?: __HttpHandlerOptions): Promise<UpdatePullRequestTitleCommandOutput>;
|
|
1091
529
|
updatePullRequestTitle(args: UpdatePullRequestTitleCommandInput, cb: (err: any, data?: UpdatePullRequestTitleCommandOutput) => void): void;
|
|
1092
530
|
updatePullRequestTitle(args: UpdatePullRequestTitleCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdatePullRequestTitleCommandOutput) => void): void;
|
|
1093
531
|
/**
|
|
1094
|
-
* @
|
|
1095
|
-
* <p>Sets or changes the comment or description for a repository.</p>
|
|
1096
|
-
* <note>
|
|
1097
|
-
* <p>The description field for a repository accepts all HTML characters and all valid
|
|
1098
|
-
* Unicode characters. Applications that do not HTML-encode the description and display
|
|
1099
|
-
* it in a webpage can expose users to potentially malicious code. Make sure that you
|
|
1100
|
-
* HTML-encode the description field in any application that uses this API to display
|
|
1101
|
-
* the repository description on a webpage.</p>
|
|
1102
|
-
* </note>
|
|
532
|
+
* @see {@link UpdateRepositoryDescriptionCommand}
|
|
1103
533
|
*/
|
|
1104
534
|
updateRepositoryDescription(args: UpdateRepositoryDescriptionCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRepositoryDescriptionCommandOutput>;
|
|
1105
535
|
updateRepositoryDescription(args: UpdateRepositoryDescriptionCommandInput, cb: (err: any, data?: UpdateRepositoryDescriptionCommandOutput) => void): void;
|
|
1106
536
|
updateRepositoryDescription(args: UpdateRepositoryDescriptionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRepositoryDescriptionCommandOutput) => void): void;
|
|
1107
537
|
/**
|
|
1108
|
-
* @
|
|
1109
|
-
* <p>Renames a repository. The repository name must be unique across the calling AWS
|
|
1110
|
-
* account. Repository names are limited to 100 alphanumeric, dash, and underscore
|
|
1111
|
-
* characters, and cannot include certain characters. The suffix .git is prohibited. For
|
|
1112
|
-
* more information about the limits on repository names, see <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html">Limits</a> in the AWS CodeCommit
|
|
1113
|
-
* User Guide.</p>
|
|
538
|
+
* @see {@link UpdateRepositoryNameCommand}
|
|
1114
539
|
*/
|
|
1115
540
|
updateRepositoryName(args: UpdateRepositoryNameCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRepositoryNameCommandOutput>;
|
|
1116
541
|
updateRepositoryName(args: UpdateRepositoryNameCommandInput, cb: (err: any, data?: UpdateRepositoryNameCommandOutput) => void): void;
|
|
1117
542
|
updateRepositoryName(args: UpdateRepositoryNameCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRepositoryNameCommandOutput) => void): void;
|
|
1118
543
|
}
|
|
544
|
+
/**
|
|
545
|
+
* @public
|
|
546
|
+
* <fullname>AWS CodeCommit</fullname>
|
|
547
|
+
* <p>This is the <i>AWS CodeCommit API Reference</i>. This reference provides descriptions of the operations and data types for
|
|
548
|
+
* AWS CodeCommit API along with usage examples.</p>
|
|
549
|
+
* <p>You can use the AWS CodeCommit API to work with the following objects:</p>
|
|
550
|
+
*
|
|
551
|
+
* <p>Repositories, by calling the following:</p>
|
|
552
|
+
* <ul>
|
|
553
|
+
* <li>
|
|
554
|
+
* <p>
|
|
555
|
+
* <a>BatchGetRepositories</a>, which returns information about one or more repositories associated with your AWS account.</p>
|
|
556
|
+
* </li>
|
|
557
|
+
* <li>
|
|
558
|
+
* <p>
|
|
559
|
+
* <a>CreateRepository</a>, which creates an AWS CodeCommit repository.</p>
|
|
560
|
+
* </li>
|
|
561
|
+
* <li>
|
|
562
|
+
* <p>
|
|
563
|
+
* <a>DeleteRepository</a>, which deletes an AWS CodeCommit repository.</p>
|
|
564
|
+
* </li>
|
|
565
|
+
* <li>
|
|
566
|
+
* <p>
|
|
567
|
+
* <a>GetRepository</a>, which returns information about a specified repository.</p>
|
|
568
|
+
* </li>
|
|
569
|
+
* <li>
|
|
570
|
+
* <p>
|
|
571
|
+
* <a>ListRepositories</a>, which lists all AWS CodeCommit repositories associated with your AWS account.</p>
|
|
572
|
+
* </li>
|
|
573
|
+
* <li>
|
|
574
|
+
* <p>
|
|
575
|
+
* <a>UpdateRepositoryDescription</a>, which sets or updates the description of the repository.</p>
|
|
576
|
+
* </li>
|
|
577
|
+
* <li>
|
|
578
|
+
* <p>
|
|
579
|
+
* <a>UpdateRepositoryName</a>, which changes the name of the
|
|
580
|
+
* repository. If you change the name of a repository, no other users of that
|
|
581
|
+
* repository can access it until you send them the new HTTPS or SSH URL to
|
|
582
|
+
* use.</p>
|
|
583
|
+
* </li>
|
|
584
|
+
* </ul>
|
|
585
|
+
*
|
|
586
|
+
* <p>Branches, by calling the following:</p>
|
|
587
|
+
* <ul>
|
|
588
|
+
* <li>
|
|
589
|
+
* <p>
|
|
590
|
+
* <a>CreateBranch</a>, which creates a branch in a specified
|
|
591
|
+
* repository.</p>
|
|
592
|
+
* </li>
|
|
593
|
+
* <li>
|
|
594
|
+
* <p>
|
|
595
|
+
* <a>DeleteBranch</a>, which deletes the specified branch in a repository unless it is the default branch.</p>
|
|
596
|
+
* </li>
|
|
597
|
+
* <li>
|
|
598
|
+
* <p>
|
|
599
|
+
* <a>GetBranch</a>, which returns information about a specified branch.</p>
|
|
600
|
+
* </li>
|
|
601
|
+
* <li>
|
|
602
|
+
* <p>
|
|
603
|
+
* <a>ListBranches</a>, which lists all branches for a specified repository.</p>
|
|
604
|
+
* </li>
|
|
605
|
+
* <li>
|
|
606
|
+
* <p>
|
|
607
|
+
* <a>UpdateDefaultBranch</a>, which changes the default branch for a repository.</p>
|
|
608
|
+
* </li>
|
|
609
|
+
* </ul>
|
|
610
|
+
*
|
|
611
|
+
* <p>Files, by calling the following:</p>
|
|
612
|
+
* <ul>
|
|
613
|
+
* <li>
|
|
614
|
+
* <p>
|
|
615
|
+
* <a>DeleteFile</a>, which deletes the content of a specified file from a specified branch.</p>
|
|
616
|
+
* </li>
|
|
617
|
+
* <li>
|
|
618
|
+
* <p>
|
|
619
|
+
* <a>GetBlob</a>, which returns the base-64 encoded content of an
|
|
620
|
+
* individual Git blob object in a repository.</p>
|
|
621
|
+
* </li>
|
|
622
|
+
* <li>
|
|
623
|
+
* <p>
|
|
624
|
+
* <a>GetFile</a>, which returns the base-64 encoded content of a specified file.</p>
|
|
625
|
+
* </li>
|
|
626
|
+
* <li>
|
|
627
|
+
* <p>
|
|
628
|
+
* <a>GetFolder</a>, which returns the contents of a specified folder or directory.</p>
|
|
629
|
+
* </li>
|
|
630
|
+
* <li>
|
|
631
|
+
* <p>
|
|
632
|
+
* <a>PutFile</a>, which adds or modifies a single file in a specified repository and branch.</p>
|
|
633
|
+
* </li>
|
|
634
|
+
* </ul>
|
|
635
|
+
*
|
|
636
|
+
*
|
|
637
|
+
* <p>Commits, by calling the following:</p>
|
|
638
|
+
* <ul>
|
|
639
|
+
* <li>
|
|
640
|
+
* <p>
|
|
641
|
+
* <a>BatchGetCommits</a>, which returns information about one or more commits in a repository.</p>
|
|
642
|
+
* </li>
|
|
643
|
+
* <li>
|
|
644
|
+
* <p>
|
|
645
|
+
* <a>CreateCommit</a>, which creates a commit for changes to a repository.</p>
|
|
646
|
+
* </li>
|
|
647
|
+
* <li>
|
|
648
|
+
* <p>
|
|
649
|
+
* <a>GetCommit</a>, which returns information about a commit, including commit
|
|
650
|
+
* messages and author and committer information.</p>
|
|
651
|
+
* </li>
|
|
652
|
+
* <li>
|
|
653
|
+
* <p>
|
|
654
|
+
* <a>GetDifferences</a>, which returns information about the
|
|
655
|
+
* differences in a valid commit specifier (such as a branch, tag, HEAD, commit ID,
|
|
656
|
+
* or other fully qualified reference).</p>
|
|
657
|
+
* </li>
|
|
658
|
+
* </ul>
|
|
659
|
+
*
|
|
660
|
+
*
|
|
661
|
+
* <p>Merges, by calling the following:</p>
|
|
662
|
+
* <ul>
|
|
663
|
+
* <li>
|
|
664
|
+
* <p>
|
|
665
|
+
* <a>BatchDescribeMergeConflicts</a>, which returns information about conflicts in a merge between commits in a repository.</p>
|
|
666
|
+
* </li>
|
|
667
|
+
* <li>
|
|
668
|
+
* <p>
|
|
669
|
+
* <a>CreateUnreferencedMergeCommit</a>, which creates an unreferenced commit between two branches or commits for the
|
|
670
|
+
* purpose of comparing them and identifying any potential conflicts.</p>
|
|
671
|
+
* </li>
|
|
672
|
+
* <li>
|
|
673
|
+
* <p>
|
|
674
|
+
* <a>DescribeMergeConflicts</a>, which returns information about merge conflicts between the base, source, and destination versions
|
|
675
|
+
* of a file in a potential merge.</p>
|
|
676
|
+
* </li>
|
|
677
|
+
* <li>
|
|
678
|
+
* <p>
|
|
679
|
+
* <a>GetMergeCommit</a>, which returns information about the merge between a source and destination commit. </p>
|
|
680
|
+
*
|
|
681
|
+
* </li>
|
|
682
|
+
* <li>
|
|
683
|
+
* <p>
|
|
684
|
+
* <a>GetMergeConflicts</a>, which returns information about merge conflicts
|
|
685
|
+
* between the source and destination branch in a pull request.</p>
|
|
686
|
+
* </li>
|
|
687
|
+
* <li>
|
|
688
|
+
*
|
|
689
|
+
* <p>
|
|
690
|
+
* <a>GetMergeOptions</a>, which returns information about the available merge options between two branches or commit specifiers.</p>
|
|
691
|
+
* </li>
|
|
692
|
+
* <li>
|
|
693
|
+
* <p>
|
|
694
|
+
* <a>MergeBranchesByFastForward</a>, which merges two branches using the fast-forward merge option.</p>
|
|
695
|
+
* </li>
|
|
696
|
+
* <li>
|
|
697
|
+
* <p>
|
|
698
|
+
* <a>MergeBranchesBySquash</a>, which merges two branches using the squash merge option.</p>
|
|
699
|
+
* </li>
|
|
700
|
+
* <li>
|
|
701
|
+
* <p>
|
|
702
|
+
* <a>MergeBranchesByThreeWay</a>, which merges two branches using the three-way merge option.</p>
|
|
703
|
+
* </li>
|
|
704
|
+
* </ul>
|
|
705
|
+
*
|
|
706
|
+
*
|
|
707
|
+
* <p>Pull requests, by calling the following:</p>
|
|
708
|
+
* <ul>
|
|
709
|
+
* <li>
|
|
710
|
+
* <p>
|
|
711
|
+
* <a>CreatePullRequest</a>, which creates a pull request in a specified repository.</p>
|
|
712
|
+
* </li>
|
|
713
|
+
* <li>
|
|
714
|
+
* <p>
|
|
715
|
+
* <a>CreatePullRequestApprovalRule</a>, which creates an approval rule for a specified pull request.</p>
|
|
716
|
+
* </li>
|
|
717
|
+
* <li>
|
|
718
|
+
* <p>
|
|
719
|
+
* <a>DeletePullRequestApprovalRule</a>, which deletes an approval rule for a specified pull request.</p>
|
|
720
|
+
* </li>
|
|
721
|
+
* <li>
|
|
722
|
+
* <p>
|
|
723
|
+
* <a>DescribePullRequestEvents</a>, which returns information about one or more pull request events.</p>
|
|
724
|
+
* </li>
|
|
725
|
+
* <li>
|
|
726
|
+
* <p>
|
|
727
|
+
* <a>EvaluatePullRequestApprovalRules</a>, which evaluates whether a pull request has met all the conditions specified in its associated approval rules.</p>
|
|
728
|
+
* </li>
|
|
729
|
+
* <li>
|
|
730
|
+
* <p>
|
|
731
|
+
* <a>GetCommentsForPullRequest</a>, which returns information about comments on a specified pull request.</p>
|
|
732
|
+
* </li>
|
|
733
|
+
* <li>
|
|
734
|
+
*
|
|
735
|
+
* <p>
|
|
736
|
+
* <a>GetPullRequest</a>, which returns information about a specified pull request.</p>
|
|
737
|
+
* </li>
|
|
738
|
+
* <li>
|
|
739
|
+
* <p>
|
|
740
|
+
* <a>GetPullRequestApprovalStates</a>, which returns information about the approval states for a specified pull request.</p>
|
|
741
|
+
* </li>
|
|
742
|
+
* <li>
|
|
743
|
+
* <p>
|
|
744
|
+
* <a>GetPullRequestOverrideState</a>, which returns information about whether approval rules have been set aside (overriden) for a
|
|
745
|
+
* pull request, and if so, the Amazon Resource Name (ARN) of the user or identity that overrode the rules and their requirements for the pull request.</p>
|
|
746
|
+
* </li>
|
|
747
|
+
* <li>
|
|
748
|
+
* <p>
|
|
749
|
+
* <a>ListPullRequests</a>, which lists all pull requests for a repository.</p>
|
|
750
|
+
* </li>
|
|
751
|
+
* <li>
|
|
752
|
+
* <p>
|
|
753
|
+
* <a>MergePullRequestByFastForward</a>, which merges the source destination branch of a pull request into the specified destination
|
|
754
|
+
* branch for that pull request using the fast-forward merge option.</p>
|
|
755
|
+
* </li>
|
|
756
|
+
* <li>
|
|
757
|
+
* <p>
|
|
758
|
+
* <a>MergePullRequestBySquash</a>, which merges the source destination branch of a pull request into the specified destination
|
|
759
|
+
* branch for that pull request using the squash merge option.</p>
|
|
760
|
+
* </li>
|
|
761
|
+
* <li>
|
|
762
|
+
* <p>
|
|
763
|
+
* <a>MergePullRequestByThreeWay</a>. which merges the source destination branch of a pull request into the specified destination
|
|
764
|
+
* branch for that pull request using the three-way merge option.</p>
|
|
765
|
+
* </li>
|
|
766
|
+
* <li>
|
|
767
|
+
* <p>
|
|
768
|
+
* <a>OverridePullRequestApprovalRules</a>, which sets aside all approval rule requirements for a pull request.</p>
|
|
769
|
+
* </li>
|
|
770
|
+
* <li>
|
|
771
|
+
* <p>
|
|
772
|
+
* <a>PostCommentForPullRequest</a>, which posts a comment to a pull request at the specified line, file, or request.</p>
|
|
773
|
+
* </li>
|
|
774
|
+
* <li>
|
|
775
|
+
* <p>
|
|
776
|
+
* <a>UpdatePullRequestApprovalRuleContent</a>, which updates the structure of an approval rule for a pull request.</p>
|
|
777
|
+
* </li>
|
|
778
|
+
* <li>
|
|
779
|
+
* <p>
|
|
780
|
+
* <a>UpdatePullRequestApprovalState</a>, which updates the state of an approval on a pull request.</p>
|
|
781
|
+
* </li>
|
|
782
|
+
* <li>
|
|
783
|
+
* <p>
|
|
784
|
+
* <a>UpdatePullRequestDescription</a>, which updates the description of a pull request.</p>
|
|
785
|
+
* </li>
|
|
786
|
+
* <li>
|
|
787
|
+
* <p>
|
|
788
|
+
* <a>UpdatePullRequestStatus</a>, which updates the status of a pull request.</p>
|
|
789
|
+
* </li>
|
|
790
|
+
* <li>
|
|
791
|
+
* <p>
|
|
792
|
+
* <a>UpdatePullRequestTitle</a>, which updates the title of a pull request.</p>
|
|
793
|
+
* </li>
|
|
794
|
+
* </ul>
|
|
795
|
+
*
|
|
796
|
+
* <p>Approval rule templates, by calling the following:</p>
|
|
797
|
+
* <ul>
|
|
798
|
+
* <li>
|
|
799
|
+
* <p>
|
|
800
|
+
* <a>AssociateApprovalRuleTemplateWithRepository</a>, which associates a template
|
|
801
|
+
* with a specified repository. After the template is associated with a repository,
|
|
802
|
+
* AWS CodeCommit creates approval rules that match the template conditions on
|
|
803
|
+
* every pull request created in the specified repository.</p>
|
|
804
|
+
* </li>
|
|
805
|
+
* <li>
|
|
806
|
+
* <p>
|
|
807
|
+
* <a>BatchAssociateApprovalRuleTemplateWithRepositories</a>, which associates a
|
|
808
|
+
* template with one or more specified repositories. After the template is
|
|
809
|
+
* associated with a repository, AWS CodeCommit creates approval rules that match
|
|
810
|
+
* the template conditions on every pull request created in the specified
|
|
811
|
+
* repositories.</p>
|
|
812
|
+
* </li>
|
|
813
|
+
* <li>
|
|
814
|
+
* <p>
|
|
815
|
+
* <a>BatchDisassociateApprovalRuleTemplateFromRepositories</a>, which removes the
|
|
816
|
+
* association between a template and specified repositories so that approval rules
|
|
817
|
+
* based on the template are not automatically created when pull requests are
|
|
818
|
+
* created in those repositories.</p>
|
|
819
|
+
* </li>
|
|
820
|
+
* <li>
|
|
821
|
+
* <p>
|
|
822
|
+
* <a>CreateApprovalRuleTemplate</a>, which creates a template for approval rules that can then be associated with one or more repositories
|
|
823
|
+
* in your AWS account.</p>
|
|
824
|
+
* </li>
|
|
825
|
+
* <li>
|
|
826
|
+
* <p>
|
|
827
|
+
* <a>DeleteApprovalRuleTemplate</a>, which deletes the specified template. It does not remove approval rules on pull requests already created with the template.</p>
|
|
828
|
+
* </li>
|
|
829
|
+
* <li>
|
|
830
|
+
* <p>
|
|
831
|
+
* <a>DisassociateApprovalRuleTemplateFromRepository</a>, which removes the
|
|
832
|
+
* association between a template and a repository so that approval rules based on
|
|
833
|
+
* the template are not automatically created when pull requests are created in the
|
|
834
|
+
* specified repository.</p>
|
|
835
|
+
* </li>
|
|
836
|
+
* <li>
|
|
837
|
+
* <p>
|
|
838
|
+
* <a>GetApprovalRuleTemplate</a>, which returns information about an approval rule template.</p>
|
|
839
|
+
* </li>
|
|
840
|
+
* <li>
|
|
841
|
+
* <p>
|
|
842
|
+
* <a>ListApprovalRuleTemplates</a>, which lists all approval rule templates in the AWS Region in your AWS account.</p>
|
|
843
|
+
* </li>
|
|
844
|
+
* <li>
|
|
845
|
+
* <p>
|
|
846
|
+
* <a>ListAssociatedApprovalRuleTemplatesForRepository</a>, which lists all approval rule templates that are associated with a specified repository.</p>
|
|
847
|
+
* </li>
|
|
848
|
+
* <li>
|
|
849
|
+
* <p>
|
|
850
|
+
* <a>ListRepositoriesForApprovalRuleTemplate</a>, which lists all repositories associated with the specified approval rule template.</p>
|
|
851
|
+
* </li>
|
|
852
|
+
* <li>
|
|
853
|
+
* <p>
|
|
854
|
+
* <a>UpdateApprovalRuleTemplateDescription</a>, which updates the description of an
|
|
855
|
+
* approval rule template.</p>
|
|
856
|
+
* </li>
|
|
857
|
+
* <li>
|
|
858
|
+
* <p>
|
|
859
|
+
* <a>UpdateApprovalRuleTemplateName</a>, which updates the name of an approval rule template.</p>
|
|
860
|
+
* </li>
|
|
861
|
+
* <li>
|
|
862
|
+
* <p>
|
|
863
|
+
* <a>UpdateApprovalRuleTemplateContent</a>, which updates the content of an approval rule template.</p>
|
|
864
|
+
* </li>
|
|
865
|
+
* </ul>
|
|
866
|
+
*
|
|
867
|
+
* <p>Comments in a repository, by calling the following:</p>
|
|
868
|
+
* <ul>
|
|
869
|
+
* <li>
|
|
870
|
+
* <p>
|
|
871
|
+
* <a>DeleteCommentContent</a>, which deletes the content of a comment on a commit in a repository.</p>
|
|
872
|
+
* </li>
|
|
873
|
+
* <li>
|
|
874
|
+
* <p>
|
|
875
|
+
* <a>GetComment</a>, which returns information about a comment on a commit.</p>
|
|
876
|
+
* </li>
|
|
877
|
+
* <li>
|
|
878
|
+
* <p>
|
|
879
|
+
* <a>GetCommentReactions</a>, which returns information about emoji reactions to comments.</p>
|
|
880
|
+
* </li>
|
|
881
|
+
* <li>
|
|
882
|
+
* <p>
|
|
883
|
+
* <a>GetCommentsForComparedCommit</a>, which returns information about comments on the comparison between two commit specifiers
|
|
884
|
+
* in a repository.</p>
|
|
885
|
+
* </li>
|
|
886
|
+
* <li>
|
|
887
|
+
* <p>
|
|
888
|
+
* <a>PostCommentForComparedCommit</a>, which creates a comment on the comparison between two commit specifiers in a repository.</p>
|
|
889
|
+
* </li>
|
|
890
|
+
* <li>
|
|
891
|
+
* <p>
|
|
892
|
+
* <a>PostCommentReply</a>, which creates a reply to a comment.</p>
|
|
893
|
+
* </li>
|
|
894
|
+
* <li>
|
|
895
|
+
* <p>
|
|
896
|
+
* <a>PutCommentReaction</a>, which creates or updates an emoji reaction to a comment.</p>
|
|
897
|
+
* </li>
|
|
898
|
+
* <li>
|
|
899
|
+
* <p>
|
|
900
|
+
* <a>UpdateComment</a>, which updates the content of a comment on a commit in a repository.</p>
|
|
901
|
+
* </li>
|
|
902
|
+
* </ul>
|
|
903
|
+
*
|
|
904
|
+
* <p>Tags used to tag resources in AWS CodeCommit (not Git tags), by calling the following:</p>
|
|
905
|
+
* <ul>
|
|
906
|
+
* <li>
|
|
907
|
+
* <p>
|
|
908
|
+
* <a>ListTagsForResource</a>, which gets information about AWS tags for a specified Amazon Resource Name (ARN) in AWS CodeCommit.</p>
|
|
909
|
+
* </li>
|
|
910
|
+
* <li>
|
|
911
|
+
* <p>
|
|
912
|
+
* <a>TagResource</a>, which adds or updates tags for a resource in AWS CodeCommit.</p>
|
|
913
|
+
* </li>
|
|
914
|
+
* <li>
|
|
915
|
+
* <p>
|
|
916
|
+
* <a>UntagResource</a>, which removes tags for a resource in AWS CodeCommit.</p>
|
|
917
|
+
* </li>
|
|
918
|
+
* </ul>
|
|
919
|
+
*
|
|
920
|
+
* <p>Triggers, by calling the following:</p>
|
|
921
|
+
* <ul>
|
|
922
|
+
* <li>
|
|
923
|
+
* <p>
|
|
924
|
+
* <a>GetRepositoryTriggers</a>, which returns information about triggers configured
|
|
925
|
+
* for a repository.</p>
|
|
926
|
+
* </li>
|
|
927
|
+
* <li>
|
|
928
|
+
* <p>
|
|
929
|
+
* <a>PutRepositoryTriggers</a>, which replaces all triggers for a repository and can
|
|
930
|
+
* be used to create or delete triggers.</p>
|
|
931
|
+
* </li>
|
|
932
|
+
* <li>
|
|
933
|
+
* <p>
|
|
934
|
+
* <a>TestRepositoryTriggers</a>, which tests the functionality of a repository trigger
|
|
935
|
+
* by sending data to the trigger target.</p>
|
|
936
|
+
* </li>
|
|
937
|
+
* </ul>
|
|
938
|
+
*
|
|
939
|
+
*
|
|
940
|
+
*
|
|
941
|
+
*
|
|
942
|
+
* <p>For information about how to use AWS CodeCommit, see the <a href="https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html">AWS CodeCommit User Guide</a>.</p>
|
|
943
|
+
*/
|
|
944
|
+
export declare class CodeCommit extends CodeCommitClient implements CodeCommit {
|
|
945
|
+
}
|