blib/lib/Paws/CodeCommit.pm untested

filter: Statementstmt 0.0% 0 / 386 Branchbran 0.0% 0 / 28 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 91 Podpod 0.0% 0 / 90 totaltotal 0.0% 0 / 595 CC 15 SCAR 13.9
CC
15
Cov
0%
DescribeAllPullRequestEvents
12.0
GetAllCommentsForComparedCommit
12.0
GetAllCommentsForPullRequest
12.0
CRAP 4.0
1 package Paws::CodeCommit;
2 use Moose;
3 sub service { 'codecommit' }
4 sub signing_name { 'codecommit' }
5 sub version { '2015-04-13' }
6 sub target_prefix { 'CodeCommit_20150413' }
7 sub json_version { "1.1" }
8 has max_attempts => (is => 'ro', isa => 'Int', default => 5);
9 has retry => (is => 'ro', isa => 'HashRef', default => sub {
10 { base => 'rand', type => 'exponential', growth_factor => 2 }
11 });
12 has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
13 ] });
14  
15 with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::JsonCaller';
16  
17
18 sub AssociateApprovalRuleTemplateWithRepository {
19 my $self = shift;
20 my $call_object = $self->new_with_coercions('Paws::CodeCommit::AssociateApprovalRuleTemplateWithRepository', @_);
21 return $self->caller->do_call($self, $call_object);
22 }
23 sub BatchAssociateApprovalRuleTemplateWithRepositories {
24 my $self = shift;
25 my $call_object = $self->new_with_coercions('Paws::CodeCommit::BatchAssociateApprovalRuleTemplateWithRepositories', @_);
26 return $self->caller->do_call($self, $call_object);
27 }
28 sub BatchDescribeMergeConflicts {
29 my $self = shift;
30 my $call_object = $self->new_with_coercions('Paws::CodeCommit::BatchDescribeMergeConflicts', @_);
31 return $self->caller->do_call($self, $call_object);
32 }
33 sub BatchDisassociateApprovalRuleTemplateFromRepositories {
34 my $self = shift;
35 my $call_object = $self->new_with_coercions('Paws::CodeCommit::BatchDisassociateApprovalRuleTemplateFromRepositories', @_);
36 return $self->caller->do_call($self, $call_object);
37 }
38 sub BatchGetCommits {
39 my $self = shift;
40 my $call_object = $self->new_with_coercions('Paws::CodeCommit::BatchGetCommits', @_);
41 return $self->caller->do_call($self, $call_object);
42 }
43 sub BatchGetRepositories {
44 my $self = shift;
45 my $call_object = $self->new_with_coercions('Paws::CodeCommit::BatchGetRepositories', @_);
46 return $self->caller->do_call($self, $call_object);
47 }
48 sub CreateApprovalRuleTemplate {
49 my $self = shift;
50 my $call_object = $self->new_with_coercions('Paws::CodeCommit::CreateApprovalRuleTemplate', @_);
51 return $self->caller->do_call($self, $call_object);
52 }
53 sub CreateBranch {
54 my $self = shift;
55 my $call_object = $self->new_with_coercions('Paws::CodeCommit::CreateBranch', @_);
56 return $self->caller->do_call($self, $call_object);
57 }
58 sub CreateCommit {
59 my $self = shift;
60 my $call_object = $self->new_with_coercions('Paws::CodeCommit::CreateCommit', @_);
61 return $self->caller->do_call($self, $call_object);
62 }
63 sub CreatePullRequest {
64 my $self = shift;
65 my $call_object = $self->new_with_coercions('Paws::CodeCommit::CreatePullRequest', @_);
66 return $self->caller->do_call($self, $call_object);
67 }
68 sub CreatePullRequestApprovalRule {
69 my $self = shift;
70 my $call_object = $self->new_with_coercions('Paws::CodeCommit::CreatePullRequestApprovalRule', @_);
71 return $self->caller->do_call($self, $call_object);
72 }
73 sub CreateRepository {
74 my $self = shift;
75 my $call_object = $self->new_with_coercions('Paws::CodeCommit::CreateRepository', @_);
76 return $self->caller->do_call($self, $call_object);
77 }
78 sub CreateUnreferencedMergeCommit {
79 my $self = shift;
80 my $call_object = $self->new_with_coercions('Paws::CodeCommit::CreateUnreferencedMergeCommit', @_);
81 return $self->caller->do_call($self, $call_object);
82 }
83 sub DeleteApprovalRuleTemplate {
84 my $self = shift;
85 my $call_object = $self->new_with_coercions('Paws::CodeCommit::DeleteApprovalRuleTemplate', @_);
86 return $self->caller->do_call($self, $call_object);
87 }
88 sub DeleteBranch {
89 my $self = shift;
90 my $call_object = $self->new_with_coercions('Paws::CodeCommit::DeleteBranch', @_);
91 return $self->caller->do_call($self, $call_object);
92 }
93 sub DeleteCommentContent {
94 my $self = shift;
95 my $call_object = $self->new_with_coercions('Paws::CodeCommit::DeleteCommentContent', @_);
96 return $self->caller->do_call($self, $call_object);
97 }
98 sub DeleteFile {
99 my $self = shift;
100 my $call_object = $self->new_with_coercions('Paws::CodeCommit::DeleteFile', @_);
101 return $self->caller->do_call($self, $call_object);
102 }
103 sub DeletePullRequestApprovalRule {
104 my $self = shift;
105 my $call_object = $self->new_with_coercions('Paws::CodeCommit::DeletePullRequestApprovalRule', @_);
106 return $self->caller->do_call($self, $call_object);
107 }
108 sub DeleteRepository {
109 my $self = shift;
110 my $call_object = $self->new_with_coercions('Paws::CodeCommit::DeleteRepository', @_);
111 return $self->caller->do_call($self, $call_object);
112 }
113 sub DescribeMergeConflicts {
114 my $self = shift;
115 my $call_object = $self->new_with_coercions('Paws::CodeCommit::DescribeMergeConflicts', @_);
116 return $self->caller->do_call($self, $call_object);
117 }
118 sub DescribePullRequestEvents {
119 my $self = shift;
120 my $call_object = $self->new_with_coercions('Paws::CodeCommit::DescribePullRequestEvents', @_);
121 return $self->caller->do_call($self, $call_object);
122 }
123 sub DisassociateApprovalRuleTemplateFromRepository {
124 my $self = shift;
125 my $call_object = $self->new_with_coercions('Paws::CodeCommit::DisassociateApprovalRuleTemplateFromRepository', @_);
126 return $self->caller->do_call($self, $call_object);
127 }
128 sub EvaluatePullRequestApprovalRules {
129 my $self = shift;
130 my $call_object = $self->new_with_coercions('Paws::CodeCommit::EvaluatePullRequestApprovalRules', @_);
131 return $self->caller->do_call($self, $call_object);
132 }
133 sub GetApprovalRuleTemplate {
134 my $self = shift;
135 my $call_object = $self->new_with_coercions('Paws::CodeCommit::GetApprovalRuleTemplate', @_);
136 return $self->caller->do_call($self, $call_object);
137 }
138 sub GetBlob {
139 my $self = shift;
140 my $call_object = $self->new_with_coercions('Paws::CodeCommit::GetBlob', @_);
141 return $self->caller->do_call($self, $call_object);
142 }
143 sub GetBranch {
144 my $self = shift;
145 my $call_object = $self->new_with_coercions('Paws::CodeCommit::GetBranch', @_);
146 return $self->caller->do_call($self, $call_object);
147 }
148 sub GetComment {
149 my $self = shift;
150 my $call_object = $self->new_with_coercions('Paws::CodeCommit::GetComment', @_);
151 return $self->caller->do_call($self, $call_object);
152 }
153 sub GetCommentReactions {
154 my $self = shift;
155 my $call_object = $self->new_with_coercions('Paws::CodeCommit::GetCommentReactions', @_);
156 return $self->caller->do_call($self, $call_object);
157 }
158 sub GetCommentsForComparedCommit {
159 my $self = shift;
160 my $call_object = $self->new_with_coercions('Paws::CodeCommit::GetCommentsForComparedCommit', @_);
161 return $self->caller->do_call($self, $call_object);
162 }
163 sub GetCommentsForPullRequest {
164 my $self = shift;
165 my $call_object = $self->new_with_coercions('Paws::CodeCommit::GetCommentsForPullRequest', @_);
166 return $self->caller->do_call($self, $call_object);
167 }
168 sub GetCommit {
169 my $self = shift;
170 my $call_object = $self->new_with_coercions('Paws::CodeCommit::GetCommit', @_);
171 return $self->caller->do_call($self, $call_object);
172 }
173 sub GetDifferences {
174 my $self = shift;
175 my $call_object = $self->new_with_coercions('Paws::CodeCommit::GetDifferences', @_);
176 return $self->caller->do_call($self, $call_object);
177 }
178 sub GetFile {
179 my $self = shift;
180 my $call_object = $self->new_with_coercions('Paws::CodeCommit::GetFile', @_);
181 return $self->caller->do_call($self, $call_object);
182 }
183 sub GetFolder {
184 my $self = shift;
185 my $call_object = $self->new_with_coercions('Paws::CodeCommit::GetFolder', @_);
186 return $self->caller->do_call($self, $call_object);
187 }
188 sub GetMergeCommit {
189 my $self = shift;
190 my $call_object = $self->new_with_coercions('Paws::CodeCommit::GetMergeCommit', @_);
191 return $self->caller->do_call($self, $call_object);
192 }
193 sub GetMergeConflicts {
194 my $self = shift;
195 my $call_object = $self->new_with_coercions('Paws::CodeCommit::GetMergeConflicts', @_);
196 return $self->caller->do_call($self, $call_object);
197 }
198 sub GetMergeOptions {
199 my $self = shift;
200 my $call_object = $self->new_with_coercions('Paws::CodeCommit::GetMergeOptions', @_);
201 return $self->caller->do_call($self, $call_object);
202 }
203 sub GetPullRequest {
204 my $self = shift;
205 my $call_object = $self->new_with_coercions('Paws::CodeCommit::GetPullRequest', @_);
206 return $self->caller->do_call($self, $call_object);
207 }
208 sub GetPullRequestApprovalStates {
209 my $self = shift;
210 my $call_object = $self->new_with_coercions('Paws::CodeCommit::GetPullRequestApprovalStates', @_);
211 return $self->caller->do_call($self, $call_object);
212 }
213 sub GetPullRequestOverrideState {
214 my $self = shift;
215 my $call_object = $self->new_with_coercions('Paws::CodeCommit::GetPullRequestOverrideState', @_);
216 return $self->caller->do_call($self, $call_object);
217 }
218 sub GetRepository {
219 my $self = shift;
220 my $call_object = $self->new_with_coercions('Paws::CodeCommit::GetRepository', @_);
221 return $self->caller->do_call($self, $call_object);
222 }
223 sub GetRepositoryTriggers {
224 my $self = shift;
225 my $call_object = $self->new_with_coercions('Paws::CodeCommit::GetRepositoryTriggers', @_);
226 return $self->caller->do_call($self, $call_object);
227 }
228 sub ListApprovalRuleTemplates {
229 my $self = shift;
230 my $call_object = $self->new_with_coercions('Paws::CodeCommit::ListApprovalRuleTemplates', @_);
231 return $self->caller->do_call($self, $call_object);
232 }
233 sub ListAssociatedApprovalRuleTemplatesForRepository {
234 my $self = shift;
235 my $call_object = $self->new_with_coercions('Paws::CodeCommit::ListAssociatedApprovalRuleTemplatesForRepository', @_);
236 return $self->caller->do_call($self, $call_object);
237 }
238 sub ListBranches {
239 my $self = shift;
240 my $call_object = $self->new_with_coercions('Paws::CodeCommit::ListBranches', @_);
241 return $self->caller->do_call($self, $call_object);
242 }
243 sub ListPullRequests {
244 my $self = shift;
245 my $call_object = $self->new_with_coercions('Paws::CodeCommit::ListPullRequests', @_);
246 return $self->caller->do_call($self, $call_object);
247 }
248 sub ListRepositories {
249 my $self = shift;
250 my $call_object = $self->new_with_coercions('Paws::CodeCommit::ListRepositories', @_);
251 return $self->caller->do_call($self, $call_object);
252 }
253 sub ListRepositoriesForApprovalRuleTemplate {
254 my $self = shift;
255 my $call_object = $self->new_with_coercions('Paws::CodeCommit::ListRepositoriesForApprovalRuleTemplate', @_);
256 return $self->caller->do_call($self, $call_object);
257 }
258 sub ListTagsForResource {
259 my $self = shift;
260 my $call_object = $self->new_with_coercions('Paws::CodeCommit::ListTagsForResource', @_);
261 return $self->caller->do_call($self, $call_object);
262 }
263 sub MergeBranchesByFastForward {
264 my $self = shift;
265 my $call_object = $self->new_with_coercions('Paws::CodeCommit::MergeBranchesByFastForward', @_);
266 return $self->caller->do_call($self, $call_object);
267 }
268 sub MergeBranchesBySquash {
269 my $self = shift;
270 my $call_object = $self->new_with_coercions('Paws::CodeCommit::MergeBranchesBySquash', @_);
271 return $self->caller->do_call($self, $call_object);
272 }
273 sub MergeBranchesByThreeWay {
274 my $self = shift;
275 my $call_object = $self->new_with_coercions('Paws::CodeCommit::MergeBranchesByThreeWay', @_);
276 return $self->caller->do_call($self, $call_object);
277 }
278 sub MergePullRequestByFastForward {
279 my $self = shift;
280 my $call_object = $self->new_with_coercions('Paws::CodeCommit::MergePullRequestByFastForward', @_);
281 return $self->caller->do_call($self, $call_object);
282 }
283 sub MergePullRequestBySquash {
284 my $self = shift;
285 my $call_object = $self->new_with_coercions('Paws::CodeCommit::MergePullRequestBySquash', @_);
286 return $self->caller->do_call($self, $call_object);
287 }
288 sub MergePullRequestByThreeWay {
289 my $self = shift;
290 my $call_object = $self->new_with_coercions('Paws::CodeCommit::MergePullRequestByThreeWay', @_);
291 return $self->caller->do_call($self, $call_object);
292 }
293 sub OverridePullRequestApprovalRules {
294 my $self = shift;
295 my $call_object = $self->new_with_coercions('Paws::CodeCommit::OverridePullRequestApprovalRules', @_);
296 return $self->caller->do_call($self, $call_object);
297 }
298 sub PostCommentForComparedCommit {
299 my $self = shift;
300 my $call_object = $self->new_with_coercions('Paws::CodeCommit::PostCommentForComparedCommit', @_);
301 return $self->caller->do_call($self, $call_object);
302 }
303 sub PostCommentForPullRequest {
304 my $self = shift;
305 my $call_object = $self->new_with_coercions('Paws::CodeCommit::PostCommentForPullRequest', @_);
306 return $self->caller->do_call($self, $call_object);
307 }
308 sub PostCommentReply {
309 my $self = shift;
310 my $call_object = $self->new_with_coercions('Paws::CodeCommit::PostCommentReply', @_);
311 return $self->caller->do_call($self, $call_object);
312 }
313 sub PutCommentReaction {
314 my $self = shift;
315 my $call_object = $self->new_with_coercions('Paws::CodeCommit::PutCommentReaction', @_);
316 return $self->caller->do_call($self, $call_object);
317 }
318 sub PutFile {
319 my $self = shift;
320 my $call_object = $self->new_with_coercions('Paws::CodeCommit::PutFile', @_);
321 return $self->caller->do_call($self, $call_object);
322 }
323 sub PutRepositoryTriggers {
324 my $self = shift;
325 my $call_object = $self->new_with_coercions('Paws::CodeCommit::PutRepositoryTriggers', @_);
326 return $self->caller->do_call($self, $call_object);
327 }
328 sub TagResource {
329 my $self = shift;
330 my $call_object = $self->new_with_coercions('Paws::CodeCommit::TagResource', @_);
331 return $self->caller->do_call($self, $call_object);
332 }
333 sub TestRepositoryTriggers {
334 my $self = shift;
335 my $call_object = $self->new_with_coercions('Paws::CodeCommit::TestRepositoryTriggers', @_);
336 return $self->caller->do_call($self, $call_object);
337 }
338 sub UntagResource {
339 my $self = shift;
340 my $call_object = $self->new_with_coercions('Paws::CodeCommit::UntagResource', @_);
341 return $self->caller->do_call($self, $call_object);
342 }
343 sub UpdateApprovalRuleTemplateContent {
344 my $self = shift;
345 my $call_object = $self->new_with_coercions('Paws::CodeCommit::UpdateApprovalRuleTemplateContent', @_);
346 return $self->caller->do_call($self, $call_object);
347 }
348 sub UpdateApprovalRuleTemplateDescription {
349 my $self = shift;
350 my $call_object = $self->new_with_coercions('Paws::CodeCommit::UpdateApprovalRuleTemplateDescription', @_);
351 return $self->caller->do_call($self, $call_object);
352 }
353 sub UpdateApprovalRuleTemplateName {
354 my $self = shift;
355 my $call_object = $self->new_with_coercions('Paws::CodeCommit::UpdateApprovalRuleTemplateName', @_);
356 return $self->caller->do_call($self, $call_object);
357 }
358 sub UpdateComment {
359 my $self = shift;
360 my $call_object = $self->new_with_coercions('Paws::CodeCommit::UpdateComment', @_);
361 return $self->caller->do_call($self, $call_object);
362 }
363 sub UpdateDefaultBranch {
364 my $self = shift;
365 my $call_object = $self->new_with_coercions('Paws::CodeCommit::UpdateDefaultBranch', @_);
366 return $self->caller->do_call($self, $call_object);
367 }
368 sub UpdatePullRequestApprovalRuleContent {
369 my $self = shift;
370 my $call_object = $self->new_with_coercions('Paws::CodeCommit::UpdatePullRequestApprovalRuleContent', @_);
371 return $self->caller->do_call($self, $call_object);
372 }
373 sub UpdatePullRequestApprovalState {
374 my $self = shift;
375 my $call_object = $self->new_with_coercions('Paws::CodeCommit::UpdatePullRequestApprovalState', @_);
376 return $self->caller->do_call($self, $call_object);
377 }
378 sub UpdatePullRequestDescription {
379 my $self = shift;
380 my $call_object = $self->new_with_coercions('Paws::CodeCommit::UpdatePullRequestDescription', @_);
381 return $self->caller->do_call($self, $call_object);
382 }
383 sub UpdatePullRequestStatus {
384 my $self = shift;
385 my $call_object = $self->new_with_coercions('Paws::CodeCommit::UpdatePullRequestStatus', @_);
386 return $self->caller->do_call($self, $call_object);
387 }
388 sub UpdatePullRequestTitle {
389 my $self = shift;
390 my $call_object = $self->new_with_coercions('Paws::CodeCommit::UpdatePullRequestTitle', @_);
391 return $self->caller->do_call($self, $call_object);
392 }
393 sub UpdateRepositoryDescription {
394 my $self = shift;
395 my $call_object = $self->new_with_coercions('Paws::CodeCommit::UpdateRepositoryDescription', @_);
396 return $self->caller->do_call($self, $call_object);
397 }
398 sub UpdateRepositoryName {
399 my $self = shift;
400 my $call_object = $self->new_with_coercions('Paws::CodeCommit::UpdateRepositoryName', @_);
401 return $self->caller->do_call($self, $call_object);
402 }
403
404 sub DescribeAllPullRequestEvents {
405 my $self = shift;
406  
407 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
408 my $result = $self->DescribePullRequestEvents(@_);
409 my $next_result = $result;
410  
411 if (not defined $callback) {
412 while ($next_result->nextToken) {
413 $next_result = $self->DescribePullRequestEvents(@_, nextToken => $next_result->nextToken);
414 push @{ $result->pullRequestEvents }, @{ $next_result->pullRequestEvents };
415 }
416 return $result;
417 } else {
418 while ($result->nextToken) {
419 $callback->($_ => 'pullRequestEvents') foreach (@{ $result->pullRequestEvents });
420 $result = $self->DescribePullRequestEvents(@_, nextToken => $result->nextToken);
421 }
422 $callback->($_ => 'pullRequestEvents') foreach (@{ $result->pullRequestEvents });
423 }
424  
425 return undef
426 }
427 sub GetAllCommentsForComparedCommit {
428 my $self = shift;
429  
430 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
431 my $result = $self->GetCommentsForComparedCommit(@_);
432 my $next_result = $result;
433  
434 if (not defined $callback) {
435 while ($next_result->nextToken) {
436 $next_result = $self->GetCommentsForComparedCommit(@_, nextToken => $next_result->nextToken);
437 push @{ $result->commentsForComparedCommitData }, @{ $next_result->commentsForComparedCommitData };
438 }
439 return $result;
440 } else {
441 while ($result->nextToken) {
442 $callback->($_ => 'commentsForComparedCommitData') foreach (@{ $result->commentsForComparedCommitData });
443 $result = $self->GetCommentsForComparedCommit(@_, nextToken => $result->nextToken);
444 }
445 $callback->($_ => 'commentsForComparedCommitData') foreach (@{ $result->commentsForComparedCommitData });
446 }
447  
448 return undef
449 }
450 sub GetAllCommentsForPullRequest {
451 my $self = shift;
452  
453 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
454 my $result = $self->GetCommentsForPullRequest(@_);
455 my $next_result = $result;
456  
457 if (not defined $callback) {
458 while ($next_result->nextToken) {
459 $next_result = $self->GetCommentsForPullRequest(@_, nextToken => $next_result->nextToken);
460 push @{ $result->commentsForPullRequestData }, @{ $next_result->commentsForPullRequestData };
461 }
462 return $result;
463 } else {
464 while ($result->nextToken) {
465 $callback->($_ => 'commentsForPullRequestData') foreach (@{ $result->commentsForPullRequestData });
466 $result = $self->GetCommentsForPullRequest(@_, nextToken => $result->nextToken);
467 }
468 $callback->($_ => 'commentsForPullRequestData') foreach (@{ $result->commentsForPullRequestData });
469 }
470  
471 return undef
472 }
473 sub GetAllDifferences {
474 my $self = shift;
475  
476 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
477 my $result = $self->GetDifferences(@_);
478 my $next_result = $result;
479  
480 if (not defined $callback) {
481 while ($next_result->NextToken) {
482 $next_result = $self->GetDifferences(@_, NextToken => $next_result->NextToken);
483 push @{ $result->differences }, @{ $next_result->differences };
484 }
485 return $result;
486 } else {
487 while ($result->NextToken) {
488 $callback->($_ => 'differences') foreach (@{ $result->differences });
489 $result = $self->GetDifferences(@_, NextToken => $result->NextToken);
490 }
491 $callback->($_ => 'differences') foreach (@{ $result->differences });
492 }
493  
494 return undef
495 }
496 sub ListAllBranches {
497 my $self = shift;
498  
499 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
500 my $result = $self->ListBranches(@_);
501 my $next_result = $result;
502  
503 if (not defined $callback) {
504 while ($next_result->nextToken) {
505 $next_result = $self->ListBranches(@_, nextToken => $next_result->nextToken);
506 push @{ $result->branches }, @{ $next_result->branches };
507 }
508 return $result;
509 } else {
510 while ($result->nextToken) {
511 $callback->($_ => 'branches') foreach (@{ $result->branches });
512 $result = $self->ListBranches(@_, nextToken => $result->nextToken);
513 }
514 $callback->($_ => 'branches') foreach (@{ $result->branches });
515 }
516  
517 return undef
518 }
519 sub ListAllPullRequests {
520 my $self = shift;
521  
522 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
523 my $result = $self->ListPullRequests(@_);
524 my $next_result = $result;
525  
526 if (not defined $callback) {
527 while ($next_result->nextToken) {
528 $next_result = $self->ListPullRequests(@_, nextToken => $next_result->nextToken);
529 push @{ $result->pullRequestIds }, @{ $next_result->pullRequestIds };
530 }
531 return $result;
532 } else {
533 while ($result->nextToken) {
534 $callback->($_ => 'pullRequestIds') foreach (@{ $result->pullRequestIds });
535 $result = $self->ListPullRequests(@_, nextToken => $result->nextToken);
536 }
537 $callback->($_ => 'pullRequestIds') foreach (@{ $result->pullRequestIds });
538 }
539  
540 return undef
541 }
542 sub ListAllRepositories {
543 my $self = shift;
544  
545 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
546 my $result = $self->ListRepositories(@_);
547 my $next_result = $result;
548  
549 if (not defined $callback) {
550 while ($next_result->nextToken) {
551 $next_result = $self->ListRepositories(@_, nextToken => $next_result->nextToken);
552 push @{ $result->repositories }, @{ $next_result->repositories };
553 }
554 return $result;
555 } else {
556 while ($result->nextToken) {
557 $callback->($_ => 'repositories') foreach (@{ $result->repositories });
558 $result = $self->ListRepositories(@_, nextToken => $result->nextToken);
559 }
560 $callback->($_ => 'repositories') foreach (@{ $result->repositories });
561 }
562  
563 return undef
564 }
565  
566  
567 sub operations { qw/AssociateApprovalRuleTemplateWithRepository BatchAssociateApprovalRuleTemplateWithRepositories BatchDescribeMergeConflicts BatchDisassociateApprovalRuleTemplateFromRepositories BatchGetCommits BatchGetRepositories CreateApprovalRuleTemplate CreateBranch CreateCommit CreatePullRequest CreatePullRequestApprovalRule CreateRepository CreateUnreferencedMergeCommit DeleteApprovalRuleTemplate DeleteBranch DeleteCommentContent DeleteFile DeletePullRequestApprovalRule DeleteRepository DescribeMergeConflicts DescribePullRequestEvents DisassociateApprovalRuleTemplateFromRepository EvaluatePullRequestApprovalRules GetApprovalRuleTemplate GetBlob GetBranch GetComment GetCommentReactions GetCommentsForComparedCommit GetCommentsForPullRequest GetCommit GetDifferences GetFile GetFolder GetMergeCommit GetMergeConflicts GetMergeOptions GetPullRequest GetPullRequestApprovalStates GetPullRequestOverrideState GetRepository GetRepositoryTriggers ListApprovalRuleTemplates ListAssociatedApprovalRuleTemplatesForRepository ListBranches ListPullRequests ListRepositories ListRepositoriesForApprovalRuleTemplate ListTagsForResource MergeBranchesByFastForward MergeBranchesBySquash MergeBranchesByThreeWay MergePullRequestByFastForward MergePullRequestBySquash MergePullRequestByThreeWay OverridePullRequestApprovalRules PostCommentForComparedCommit PostCommentForPullRequest PostCommentReply PutCommentReaction PutFile PutRepositoryTriggers TagResource TestRepositoryTriggers UntagResource UpdateApprovalRuleTemplateContent UpdateApprovalRuleTemplateDescription UpdateApprovalRuleTemplateName UpdateComment UpdateDefaultBranch UpdatePullRequestApprovalRuleContent UpdatePullRequestApprovalState UpdatePullRequestDescription UpdatePullRequestStatus UpdatePullRequestTitle UpdateRepositoryDescription UpdateRepositoryName / }
568  
569 1;
570  
571 ### main pod documentation begin ###
572  
573 =head1 NAME
574  
575 Paws::CodeCommit - Perl Interface to AWS AWS CodeCommit
576  
577 =head1 SYNOPSIS
578  
579 use Paws;
580  
581 my $obj = Paws->service('CodeCommit');
582 my $res = $obj->Method(
583 Arg1 => $val1,
584 Arg2 => [ 'V1', 'V2' ],
585 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
586 # of the arguments type
587 Arg3 => { Att1 => 'Val1' },
588 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
589 # the constructor of the arguments type
590 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
591 );
592  
593 =head1 DESCRIPTION
594  
595 AWS CodeCommit
596  
597 This is the I<AWS CodeCommit API Reference>. This reference provides
598 descriptions of the operations and data types for AWS CodeCommit API
599 along with usage examples.
600  
601 You can use the AWS CodeCommit API to work with the following objects:
602  
603 Repositories, by calling the following:
604  
605 =over
606  
607 =item *
608  
609 BatchGetRepositories, which returns information about one or more
610 repositories associated with your AWS account.
611  
612 =item *
613  
614 CreateRepository, which creates an AWS CodeCommit repository.
615  
616 =item *
617  
618 DeleteRepository, which deletes an AWS CodeCommit repository.
619  
620 =item *
621  
622 GetRepository, which returns information about a specified repository.
623  
624 =item *
625  
626 ListRepositories, which lists all AWS CodeCommit repositories
627 associated with your AWS account.
628  
629 =item *
630  
631 UpdateRepositoryDescription, which sets or updates the description of
632 the repository.
633  
634 =item *
635  
636 UpdateRepositoryName, which changes the name of the repository. If you
637 change the name of a repository, no other users of that repository can
638 access it until you send them the new HTTPS or SSH URL to use.
639  
640 =back
641  
642 Branches, by calling the following:
643  
644 =over
645  
646 =item *
647  
648 CreateBranch, which creates a branch in a specified repository.
649  
650 =item *
651  
652 DeleteBranch, which deletes the specified branch in a repository unless
653 it is the default branch.
654  
655 =item *
656  
657 GetBranch, which returns information about a specified branch.
658  
659 =item *
660  
661 ListBranches, which lists all branches for a specified repository.
662  
663 =item *
664  
665 UpdateDefaultBranch, which changes the default branch for a repository.
666  
667 =back
668  
669 Files, by calling the following:
670  
671 =over
672  
673 =item *
674  
675 DeleteFile, which deletes the content of a specified file from a
676 specified branch.
677  
678 =item *
679  
680 GetBlob, which returns the base-64 encoded content of an individual Git
681 blob object in a repository.
682  
683 =item *
684  
685 GetFile, which returns the base-64 encoded content of a specified file.
686  
687 =item *
688  
689 GetFolder, which returns the contents of a specified folder or
690 directory.
691  
692 =item *
693  
694 PutFile, which adds or modifies a single file in a specified repository
695 and branch.
696  
697 =back
698  
699 Commits, by calling the following:
700  
701 =over
702  
703 =item *
704  
705 BatchGetCommits, which returns information about one or more commits in
706 a repository.
707  
708 =item *
709  
710 CreateCommit, which creates a commit for changes to a repository.
711  
712 =item *
713  
714 GetCommit, which returns information about a commit, including commit
715 messages and author and committer information.
716  
717 =item *
718  
719 GetDifferences, which returns information about the differences in a
720 valid commit specifier (such as a branch, tag, HEAD, commit ID, or
721 other fully qualified reference).
722  
723 =back
724  
725 Merges, by calling the following:
726  
727 =over
728  
729 =item *
730  
731 BatchDescribeMergeConflicts, which returns information about conflicts
732 in a merge between commits in a repository.
733  
734 =item *
735  
736 CreateUnreferencedMergeCommit, which creates an unreferenced commit
737 between two branches or commits for the purpose of comparing them and
738 identifying any potential conflicts.
739  
740 =item *
741  
742 DescribeMergeConflicts, which returns information about merge conflicts
743 between the base, source, and destination versions of a file in a
744 potential merge.
745  
746 =item *
747  
748 GetMergeCommit, which returns information about the merge between a
749 source and destination commit.
750  
751 =item *
752  
753 GetMergeConflicts, which returns information about merge conflicts
754 between the source and destination branch in a pull request.
755  
756 =item *
757  
758 GetMergeOptions, which returns information about the available merge
759 options between two branches or commit specifiers.
760  
761 =item *
762  
763 MergeBranchesByFastForward, which merges two branches using the
764 fast-forward merge option.
765  
766 =item *
767  
768 MergeBranchesBySquash, which merges two branches using the squash merge
769 option.
770  
771 =item *
772  
773 MergeBranchesByThreeWay, which merges two branches using the three-way
774 merge option.
775  
776 =back
777  
778 Pull requests, by calling the following:
779  
780 =over
781  
782 =item *
783  
784 CreatePullRequest, which creates a pull request in a specified
785 repository.
786  
787 =item *
788  
789 CreatePullRequestApprovalRule, which creates an approval rule for a
790 specified pull request.
791  
792 =item *
793  
794 DeletePullRequestApprovalRule, which deletes an approval rule for a
795 specified pull request.
796  
797 =item *
798  
799 DescribePullRequestEvents, which returns information about one or more
800 pull request events.
801  
802 =item *
803  
804 EvaluatePullRequestApprovalRules, which evaluates whether a pull
805 request has met all the conditions specified in its associated approval
806 rules.
807  
808 =item *
809  
810 GetCommentsForPullRequest, which returns information about comments on
811 a specified pull request.
812  
813 =item *
814  
815 GetPullRequest, which returns information about a specified pull
816 request.
817  
818 =item *
819  
820 GetPullRequestApprovalStates, which returns information about the
821 approval states for a specified pull request.
822  
823 =item *
824  
825 GetPullRequestOverrideState, which returns information about whether
826 approval rules have been set aside (overriden) for a pull request, and
827 if so, the Amazon Resource Name (ARN) of the user or identity that
828 overrode the rules and their requirements for the pull request.
829  
830 =item *
831  
832 ListPullRequests, which lists all pull requests for a repository.
833  
834 =item *
835  
836 MergePullRequestByFastForward, which merges the source destination
837 branch of a pull request into the specified destination branch for that
838 pull request using the fast-forward merge option.
839  
840 =item *
841  
842 MergePullRequestBySquash, which merges the source destination branch of
843 a pull request into the specified destination branch for that pull
844 request using the squash merge option.
845  
846 =item *
847  
848 MergePullRequestByThreeWay. which merges the source destination branch
849 of a pull request into the specified destination branch for that pull
850 request using the three-way merge option.
851  
852 =item *
853  
854 OverridePullRequestApprovalRules, which sets aside all approval rule
855 requirements for a pull request.
856  
857 =item *
858  
859 PostCommentForPullRequest, which posts a comment to a pull request at
860 the specified line, file, or request.
861  
862 =item *
863  
864 UpdatePullRequestApprovalRuleContent, which updates the structure of an
865 approval rule for a pull request.
866  
867 =item *
868  
869 UpdatePullRequestApprovalState, which updates the state of an approval
870 on a pull request.
871  
872 =item *
873  
874 UpdatePullRequestDescription, which updates the description of a pull
875 request.
876  
877 =item *
878  
879 UpdatePullRequestStatus, which updates the status of a pull request.
880  
881 =item *
882  
883 UpdatePullRequestTitle, which updates the title of a pull request.
884  
885 =back
886  
887 Approval rule templates, by calling the following:
888  
889 =over
890  
891 =item *
892  
893 AssociateApprovalRuleTemplateWithRepository, which associates a
894 template with a specified repository. After the template is associated
895 with a repository, AWS CodeCommit creates approval rules that match the
896 template conditions on every pull request created in the specified
897 repository.
898  
899 =item *
900  
901 BatchAssociateApprovalRuleTemplateWithRepositories, which associates a
902 template with one or more specified repositories. After the template is
903 associated with a repository, AWS CodeCommit creates approval rules
904 that match the template conditions on every pull request created in the
905 specified repositories.
906  
907 =item *
908  
909 BatchDisassociateApprovalRuleTemplateFromRepositories, which removes
910 the association between a template and specified repositories so that
911 approval rules based on the template are not automatically created when
912 pull requests are created in those repositories.
913  
914 =item *
915  
916 CreateApprovalRuleTemplate, which creates a template for approval rules
917 that can then be associated with one or more repositories in your AWS
918 account.
919  
920 =item *
921  
922 DeleteApprovalRuleTemplate, which deletes the specified template. It
923 does not remove approval rules on pull requests already created with
924 the template.
925  
926 =item *
927  
928 DisassociateApprovalRuleTemplateFromRepository, which removes the
929 association between a template and a repository so that approval rules
930 based on the template are not automatically created when pull requests
931 are created in the specified repository.
932  
933 =item *
934  
935 GetApprovalRuleTemplate, which returns information about an approval
936 rule template.
937  
938 =item *
939  
940 ListApprovalRuleTemplates, which lists all approval rule templates in
941 the AWS Region in your AWS account.
942  
943 =item *
944  
945 ListAssociatedApprovalRuleTemplatesForRepository, which lists all
946 approval rule templates that are associated with a specified
947 repository.
948  
949 =item *
950  
951 ListRepositoriesForApprovalRuleTemplate, which lists all repositories
952 associated with the specified approval rule template.
953  
954 =item *
955  
956 UpdateApprovalRuleTemplateDescription, which updates the description of
957 an approval rule template.
958  
959 =item *
960  
961 UpdateApprovalRuleTemplateName, which updates the name of an approval
962 rule template.
963  
964 =item *
965  
966 UpdateApprovalRuleTemplateContent, which updates the content of an
967 approval rule template.
968  
969 =back
970  
971 Comments in a repository, by calling the following:
972  
973 =over
974  
975 =item *
976  
977 DeleteCommentContent, which deletes the content of a comment on a
978 commit in a repository.
979  
980 =item *
981  
982 GetComment, which returns information about a comment on a commit.
983  
984 =item *
985  
986 GetCommentReactions, which returns information about emoji reactions to
987 comments.
988  
989 =item *
990  
991 GetCommentsForComparedCommit, which returns information about comments
992 on the comparison between two commit specifiers in a repository.
993  
994 =item *
995  
996 PostCommentForComparedCommit, which creates a comment on the comparison
997 between two commit specifiers in a repository.
998  
999 =item *
1000  
1001 PostCommentReply, which creates a reply to a comment.
1002  
1003 =item *
1004  
1005 PutCommentReaction, which creates or updates an emoji reaction to a
1006 comment.
1007  
1008 =item *
1009  
1010 UpdateComment, which updates the content of a comment on a commit in a
1011 repository.
1012  
1013 =back
1014  
1015 Tags used to tag resources in AWS CodeCommit (not Git tags), by calling
1016 the following:
1017  
1018 =over
1019  
1020 =item *
1021  
1022 ListTagsForResource, which gets information about AWS tags for a
1023 specified Amazon Resource Name (ARN) in AWS CodeCommit.
1024  
1025 =item *
1026  
1027 TagResource, which adds or updates tags for a resource in AWS
1028 CodeCommit.
1029  
1030 =item *
1031  
1032 UntagResource, which removes tags for a resource in AWS CodeCommit.
1033  
1034 =back
1035  
1036 Triggers, by calling the following:
1037  
1038 =over
1039  
1040 =item *
1041  
1042 GetRepositoryTriggers, which returns information about triggers
1043 configured for a repository.
1044  
1045 =item *
1046  
1047 PutRepositoryTriggers, which replaces all triggers for a repository and
1048 can be used to create or delete triggers.
1049  
1050 =item *
1051  
1052 TestRepositoryTriggers, which tests the functionality of a repository
1053 trigger by sending data to the trigger target.
1054  
1055 =back
1056  
1057 For information about how to use AWS CodeCommit, see the AWS CodeCommit
1058 User Guide
1059 (https://docs.aws.amazon.com/codecommit/latest/userguide/welcome.html).
1060  
1061 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/codecommit-2015-04-13>
1062  
1063  
1064 =head1 METHODS
1065  
1066 =head2 AssociateApprovalRuleTemplateWithRepository
1067  
1068 =over
1069  
1070 =item ApprovalRuleTemplateName => Str
1071  
1072 =item RepositoryName => Str
1073  
1074  
1075 =back
1076  
1077 Each argument is described in detail in: L<Paws::CodeCommit::AssociateApprovalRuleTemplateWithRepository>
1078  
1079 Returns: nothing
1080  
1081 Creates an association between an approval rule template and a
1082 specified repository. Then, the next time a pull request is created in
1083 the repository where the destination reference (if specified) matches
1084 the destination reference (branch) for the pull request, an approval
1085 rule that matches the template conditions is automatically created for
1086 that pull request. If no destination references are specified in the
1087 template, an approval rule that matches the template contents is
1088 created for all pull requests in that repository.
1089  
1090  
1091 =head2 BatchAssociateApprovalRuleTemplateWithRepositories
1092  
1093 =over
1094  
1095 =item ApprovalRuleTemplateName => Str
1096  
1097 =item RepositoryNames => ArrayRef[Str|Undef]
1098  
1099  
1100 =back
1101  
1102 Each argument is described in detail in: L<Paws::CodeCommit::BatchAssociateApprovalRuleTemplateWithRepositories>
1103  
1104 Returns: a L<Paws::CodeCommit::BatchAssociateApprovalRuleTemplateWithRepositoriesOutput> instance
1105  
1106 Creates an association between an approval rule template and one or
1107 more specified repositories.
1108  
1109  
1110 =head2 BatchDescribeMergeConflicts
1111  
1112 =over
1113  
1114 =item DestinationCommitSpecifier => Str
1115  
1116 =item MergeOption => Str
1117  
1118 =item RepositoryName => Str
1119  
1120 =item SourceCommitSpecifier => Str
1121  
1122 =item [ConflictDetailLevel => Str]
1123  
1124 =item [ConflictResolutionStrategy => Str]
1125  
1126 =item [FilePaths => ArrayRef[Str|Undef]]
1127  
1128 =item [MaxConflictFiles => Int]
1129  
1130 =item [MaxMergeHunks => Int]
1131  
1132 =item [NextToken => Str]
1133  
1134  
1135 =back
1136  
1137 Each argument is described in detail in: L<Paws::CodeCommit::BatchDescribeMergeConflicts>
1138  
1139 Returns: a L<Paws::CodeCommit::BatchDescribeMergeConflictsOutput> instance
1140  
1141 Returns information about one or more merge conflicts in the attempted
1142 merge of two commit specifiers using the squash or three-way merge
1143 strategy.
1144  
1145  
1146 =head2 BatchDisassociateApprovalRuleTemplateFromRepositories
1147  
1148 =over
1149  
1150 =item ApprovalRuleTemplateName => Str
1151  
1152 =item RepositoryNames => ArrayRef[Str|Undef]
1153  
1154  
1155 =back
1156  
1157 Each argument is described in detail in: L<Paws::CodeCommit::BatchDisassociateApprovalRuleTemplateFromRepositories>
1158  
1159 Returns: a L<Paws::CodeCommit::BatchDisassociateApprovalRuleTemplateFromRepositoriesOutput> instance
1160  
1161 Removes the association between an approval rule template and one or
1162 more specified repositories.
1163  
1164  
1165 =head2 BatchGetCommits
1166  
1167 =over
1168  
1169 =item CommitIds => ArrayRef[Str|Undef]
1170  
1171 =item RepositoryName => Str
1172  
1173  
1174 =back
1175  
1176 Each argument is described in detail in: L<Paws::CodeCommit::BatchGetCommits>
1177  
1178 Returns: a L<Paws::CodeCommit::BatchGetCommitsOutput> instance
1179  
1180 Returns information about the contents of one or more commits in a
1181 repository.
1182  
1183  
1184 =head2 BatchGetRepositories
1185  
1186 =over
1187  
1188 =item RepositoryNames => ArrayRef[Str|Undef]
1189  
1190  
1191 =back
1192  
1193 Each argument is described in detail in: L<Paws::CodeCommit::BatchGetRepositories>
1194  
1195 Returns: a L<Paws::CodeCommit::BatchGetRepositoriesOutput> instance
1196  
1197 Returns information about one or more repositories.
1198  
1199 The description field for a repository accepts all HTML characters and
1200 all valid Unicode characters. Applications that do not HTML-encode the
1201 description and display it in a webpage can expose users to potentially
1202 malicious code. Make sure that you HTML-encode the description field in
1203 any application that uses this API to display the repository
1204 description on a webpage.
1205  
1206  
1207 =head2 CreateApprovalRuleTemplate
1208  
1209 =over
1210  
1211 =item ApprovalRuleTemplateContent => Str
1212  
1213 =item ApprovalRuleTemplateName => Str
1214  
1215 =item [ApprovalRuleTemplateDescription => Str]
1216  
1217  
1218 =back
1219  
1220 Each argument is described in detail in: L<Paws::CodeCommit::CreateApprovalRuleTemplate>
1221  
1222 Returns: a L<Paws::CodeCommit::CreateApprovalRuleTemplateOutput> instance
1223  
1224 Creates a template for approval rules that can then be associated with
1225 one or more repositories in your AWS account. When you associate a
1226 template with a repository, AWS CodeCommit creates an approval rule
1227 that matches the conditions of the template for all pull requests that
1228 meet the conditions of the template. For more information, see
1229 AssociateApprovalRuleTemplateWithRepository.
1230  
1231  
1232 =head2 CreateBranch
1233  
1234 =over
1235  
1236 =item BranchName => Str
1237  
1238 =item CommitId => Str
1239  
1240 =item RepositoryName => Str
1241  
1242  
1243 =back
1244  
1245 Each argument is described in detail in: L<Paws::CodeCommit::CreateBranch>
1246  
1247 Returns: nothing
1248  
1249 Creates a branch in a repository and points the branch to a commit.
1250  
1251 Calling the create branch operation does not set a repository's default
1252 branch. To do this, call the update default branch operation.
1253  
1254  
1255 =head2 CreateCommit
1256  
1257 =over
1258  
1259 =item BranchName => Str
1260  
1261 =item RepositoryName => Str
1262  
1263 =item [AuthorName => Str]
1264  
1265 =item [CommitMessage => Str]
1266  
1267 =item [DeleteFiles => ArrayRef[L<Paws::CodeCommit::DeleteFileEntry>]]
1268  
1269 =item [Email => Str]
1270  
1271 =item [KeepEmptyFolders => Bool]
1272  
1273 =item [ParentCommitId => Str]
1274  
1275 =item [PutFiles => ArrayRef[L<Paws::CodeCommit::PutFileEntry>]]
1276  
1277 =item [SetFileModes => ArrayRef[L<Paws::CodeCommit::SetFileModeEntry>]]
1278  
1279  
1280 =back
1281  
1282 Each argument is described in detail in: L<Paws::CodeCommit::CreateCommit>
1283  
1284 Returns: a L<Paws::CodeCommit::CreateCommitOutput> instance
1285  
1286 Creates a commit for a repository on the tip of a specified branch.
1287  
1288  
1289 =head2 CreatePullRequest
1290  
1291 =over
1292  
1293 =item Targets => ArrayRef[L<Paws::CodeCommit::Target>]
1294  
1295 =item Title => Str
1296  
1297 =item [ClientRequestToken => Str]
1298  
1299 =item [Description => Str]
1300  
1301  
1302 =back
1303  
1304 Each argument is described in detail in: L<Paws::CodeCommit::CreatePullRequest>
1305  
1306 Returns: a L<Paws::CodeCommit::CreatePullRequestOutput> instance
1307  
1308 Creates a pull request in the specified repository.
1309  
1310  
1311 =head2 CreatePullRequestApprovalRule
1312  
1313 =over
1314  
1315 =item ApprovalRuleContent => Str
1316  
1317 =item ApprovalRuleName => Str
1318  
1319 =item PullRequestId => Str
1320  
1321  
1322 =back
1323  
1324 Each argument is described in detail in: L<Paws::CodeCommit::CreatePullRequestApprovalRule>
1325  
1326 Returns: a L<Paws::CodeCommit::CreatePullRequestApprovalRuleOutput> instance
1327  
1328 Creates an approval rule for a pull request.
1329  
1330  
1331 =head2 CreateRepository
1332  
1333 =over
1334  
1335 =item RepositoryName => Str
1336  
1337 =item [RepositoryDescription => Str]
1338  
1339 =item [Tags => L<Paws::CodeCommit::TagsMap>]
1340  
1341  
1342 =back
1343  
1344 Each argument is described in detail in: L<Paws::CodeCommit::CreateRepository>
1345  
1346 Returns: a L<Paws::CodeCommit::CreateRepositoryOutput> instance
1347  
1348 Creates a new, empty repository.
1349  
1350  
1351 =head2 CreateUnreferencedMergeCommit
1352  
1353 =over
1354  
1355 =item DestinationCommitSpecifier => Str
1356  
1357 =item MergeOption => Str
1358  
1359 =item RepositoryName => Str
1360  
1361 =item SourceCommitSpecifier => Str
1362  
1363 =item [AuthorName => Str]
1364  
1365 =item [CommitMessage => Str]
1366  
1367 =item [ConflictDetailLevel => Str]
1368  
1369 =item [ConflictResolution => L<Paws::CodeCommit::ConflictResolution>]
1370  
1371 =item [ConflictResolutionStrategy => Str]
1372  
1373 =item [Email => Str]
1374  
1375 =item [KeepEmptyFolders => Bool]
1376  
1377  
1378 =back
1379  
1380 Each argument is described in detail in: L<Paws::CodeCommit::CreateUnreferencedMergeCommit>
1381  
1382 Returns: a L<Paws::CodeCommit::CreateUnreferencedMergeCommitOutput> instance
1383  
1384 Creates an unreferenced commit that represents the result of merging
1385 two branches using a specified merge strategy. This can help you
1386 determine the outcome of a potential merge. This API cannot be used
1387 with the fast-forward merge strategy because that strategy does not
1388 create a merge commit.
1389  
1390 This unreferenced merge commit can only be accessed using the GetCommit
1391 API or through git commands such as git fetch. To retrieve this commit,
1392 you must specify its commit ID or otherwise reference it.
1393  
1394  
1395 =head2 DeleteApprovalRuleTemplate
1396  
1397 =over
1398  
1399 =item ApprovalRuleTemplateName => Str
1400  
1401  
1402 =back
1403  
1404 Each argument is described in detail in: L<Paws::CodeCommit::DeleteApprovalRuleTemplate>
1405  
1406 Returns: a L<Paws::CodeCommit::DeleteApprovalRuleTemplateOutput> instance
1407  
1408 Deletes a specified approval rule template. Deleting a template does
1409 not remove approval rules on pull requests already created with the
1410 template.
1411  
1412  
1413 =head2 DeleteBranch
1414  
1415 =over
1416  
1417 =item BranchName => Str
1418  
1419 =item RepositoryName => Str
1420  
1421  
1422 =back
1423  
1424 Each argument is described in detail in: L<Paws::CodeCommit::DeleteBranch>
1425  
1426 Returns: a L<Paws::CodeCommit::DeleteBranchOutput> instance
1427  
1428 Deletes a branch from a repository, unless that branch is the default
1429 branch for the repository.
1430  
1431  
1432 =head2 DeleteCommentContent
1433  
1434 =over
1435  
1436 =item CommentId => Str
1437  
1438  
1439 =back
1440  
1441 Each argument is described in detail in: L<Paws::CodeCommit::DeleteCommentContent>
1442  
1443 Returns: a L<Paws::CodeCommit::DeleteCommentContentOutput> instance
1444  
1445 Deletes the content of a comment made on a change, file, or commit in a
1446 repository.
1447  
1448  
1449 =head2 DeleteFile
1450  
1451 =over
1452  
1453 =item BranchName => Str
1454  
1455 =item FilePath => Str
1456  
1457 =item ParentCommitId => Str
1458  
1459 =item RepositoryName => Str
1460  
1461 =item [CommitMessage => Str]
1462  
1463 =item [Email => Str]
1464  
1465 =item [KeepEmptyFolders => Bool]
1466  
1467 =item [Name => Str]
1468  
1469  
1470 =back
1471  
1472 Each argument is described in detail in: L<Paws::CodeCommit::DeleteFile>
1473  
1474 Returns: a L<Paws::CodeCommit::DeleteFileOutput> instance
1475  
1476 Deletes a specified file from a specified branch. A commit is created
1477 on the branch that contains the revision. The file still exists in the
1478 commits earlier to the commit that contains the deletion.
1479  
1480  
1481 =head2 DeletePullRequestApprovalRule
1482  
1483 =over
1484  
1485 =item ApprovalRuleName => Str
1486  
1487 =item PullRequestId => Str
1488  
1489  
1490 =back
1491  
1492 Each argument is described in detail in: L<Paws::CodeCommit::DeletePullRequestApprovalRule>
1493  
1494 Returns: a L<Paws::CodeCommit::DeletePullRequestApprovalRuleOutput> instance
1495  
1496 Deletes an approval rule from a specified pull request. Approval rules
1497 can be deleted from a pull request only if the pull request is open,
1498 and if the approval rule was created specifically for a pull request
1499 and not generated from an approval rule template associated with the
1500 repository where the pull request was created. You cannot delete an
1501 approval rule from a merged or closed pull request.
1502  
1503  
1504 =head2 DeleteRepository
1505  
1506 =over
1507  
1508 =item RepositoryName => Str
1509  
1510  
1511 =back
1512  
1513 Each argument is described in detail in: L<Paws::CodeCommit::DeleteRepository>
1514  
1515 Returns: a L<Paws::CodeCommit::DeleteRepositoryOutput> instance
1516  
1517 Deletes a repository. If a specified repository was already deleted, a
1518 null repository ID is returned.
1519  
1520 Deleting a repository also deletes all associated objects and metadata.
1521 After a repository is deleted, all future push calls to the deleted
1522 repository fail.
1523  
1524  
1525 =head2 DescribeMergeConflicts
1526  
1527 =over
1528  
1529 =item DestinationCommitSpecifier => Str
1530  
1531 =item FilePath => Str
1532  
1533 =item MergeOption => Str
1534  
1535 =item RepositoryName => Str
1536  
1537 =item SourceCommitSpecifier => Str
1538  
1539 =item [ConflictDetailLevel => Str]
1540  
1541 =item [ConflictResolutionStrategy => Str]
1542  
1543 =item [MaxMergeHunks => Int]
1544  
1545 =item [NextToken => Str]
1546  
1547  
1548 =back
1549  
1550 Each argument is described in detail in: L<Paws::CodeCommit::DescribeMergeConflicts>
1551  
1552 Returns: a L<Paws::CodeCommit::DescribeMergeConflictsOutput> instance
1553  
1554 Returns information about one or more merge conflicts in the attempted
1555 merge of two commit specifiers using the squash or three-way merge
1556 strategy. If the merge option for the attempted merge is specified as
1557 FAST_FORWARD_MERGE, an exception is thrown.
1558  
1559  
1560 =head2 DescribePullRequestEvents
1561  
1562 =over
1563  
1564 =item PullRequestId => Str
1565  
1566 =item [ActorArn => Str]
1567  
1568 =item [MaxResults => Int]
1569  
1570 =item [NextToken => Str]
1571  
1572 =item [PullRequestEventType => Str]
1573  
1574  
1575 =back
1576  
1577 Each argument is described in detail in: L<Paws::CodeCommit::DescribePullRequestEvents>
1578  
1579 Returns: a L<Paws::CodeCommit::DescribePullRequestEventsOutput> instance
1580  
1581 Returns information about one or more pull request events.
1582  
1583  
1584 =head2 DisassociateApprovalRuleTemplateFromRepository
1585  
1586 =over
1587  
1588 =item ApprovalRuleTemplateName => Str
1589  
1590 =item RepositoryName => Str
1591  
1592  
1593 =back
1594  
1595 Each argument is described in detail in: L<Paws::CodeCommit::DisassociateApprovalRuleTemplateFromRepository>
1596  
1597 Returns: nothing
1598  
1599 Removes the association between a template and a repository so that
1600 approval rules based on the template are not automatically created when
1601 pull requests are created in the specified repository. This does not
1602 delete any approval rules previously created for pull requests through
1603 the template association.
1604  
1605  
1606 =head2 EvaluatePullRequestApprovalRules
1607  
1608 =over
1609  
1610 =item PullRequestId => Str
1611  
1612 =item RevisionId => Str
1613  
1614  
1615 =back
1616  
1617 Each argument is described in detail in: L<Paws::CodeCommit::EvaluatePullRequestApprovalRules>
1618  
1619 Returns: a L<Paws::CodeCommit::EvaluatePullRequestApprovalRulesOutput> instance
1620  
1621 Evaluates whether a pull request has met all the conditions specified
1622 in its associated approval rules.
1623  
1624  
1625 =head2 GetApprovalRuleTemplate
1626  
1627 =over
1628  
1629 =item ApprovalRuleTemplateName => Str
1630  
1631  
1632 =back
1633  
1634 Each argument is described in detail in: L<Paws::CodeCommit::GetApprovalRuleTemplate>
1635  
1636 Returns: a L<Paws::CodeCommit::GetApprovalRuleTemplateOutput> instance
1637  
1638 Returns information about a specified approval rule template.
1639  
1640  
1641 =head2 GetBlob
1642  
1643 =over
1644  
1645 =item BlobId => Str
1646  
1647 =item RepositoryName => Str
1648  
1649  
1650 =back
1651  
1652 Each argument is described in detail in: L<Paws::CodeCommit::GetBlob>
1653  
1654 Returns: a L<Paws::CodeCommit::GetBlobOutput> instance
1655  
1656 Returns the base-64 encoded content of an individual blob in a
1657 repository.
1658  
1659  
1660 =head2 GetBranch
1661  
1662 =over
1663  
1664 =item [BranchName => Str]
1665  
1666 =item [RepositoryName => Str]
1667  
1668  
1669 =back
1670  
1671 Each argument is described in detail in: L<Paws::CodeCommit::GetBranch>
1672  
1673 Returns: a L<Paws::CodeCommit::GetBranchOutput> instance
1674  
1675 Returns information about a repository branch, including its name and
1676 the last commit ID.
1677  
1678  
1679 =head2 GetComment
1680  
1681 =over
1682  
1683 =item CommentId => Str
1684  
1685  
1686 =back
1687  
1688 Each argument is described in detail in: L<Paws::CodeCommit::GetComment>
1689  
1690 Returns: a L<Paws::CodeCommit::GetCommentOutput> instance
1691  
1692 Returns the content of a comment made on a change, file, or commit in a
1693 repository.
1694  
1695 Reaction counts might include numbers from user identities who were
1696 deleted after the reaction was made. For a count of reactions from
1697 active identities, use GetCommentReactions.
1698  
1699  
1700 =head2 GetCommentReactions
1701  
1702 =over
1703  
1704 =item CommentId => Str
1705  
1706 =item [MaxResults => Int]
1707  
1708 =item [NextToken => Str]
1709  
1710 =item [ReactionUserArn => Str]
1711  
1712  
1713 =back
1714  
1715 Each argument is described in detail in: L<Paws::CodeCommit::GetCommentReactions>
1716  
1717 Returns: a L<Paws::CodeCommit::GetCommentReactionsOutput> instance
1718  
1719 Returns information about reactions to a specified comment ID.
1720 Reactions from users who have been deleted will not be included in the
1721 count.
1722  
1723  
1724 =head2 GetCommentsForComparedCommit
1725  
1726 =over
1727  
1728 =item AfterCommitId => Str
1729  
1730 =item RepositoryName => Str
1731  
1732 =item [BeforeCommitId => Str]
1733  
1734 =item [MaxResults => Int]
1735  
1736 =item [NextToken => Str]
1737  
1738  
1739 =back
1740  
1741 Each argument is described in detail in: L<Paws::CodeCommit::GetCommentsForComparedCommit>
1742  
1743 Returns: a L<Paws::CodeCommit::GetCommentsForComparedCommitOutput> instance
1744  
1745 Returns information about comments made on the comparison between two
1746 commits.
1747  
1748 Reaction counts might include numbers from user identities who were
1749 deleted after the reaction was made. For a count of reactions from
1750 active identities, use GetCommentReactions.
1751  
1752  
1753 =head2 GetCommentsForPullRequest
1754  
1755 =over
1756  
1757 =item PullRequestId => Str
1758  
1759 =item [AfterCommitId => Str]
1760  
1761 =item [BeforeCommitId => Str]
1762  
1763 =item [MaxResults => Int]
1764  
1765 =item [NextToken => Str]
1766  
1767 =item [RepositoryName => Str]
1768  
1769  
1770 =back
1771  
1772 Each argument is described in detail in: L<Paws::CodeCommit::GetCommentsForPullRequest>
1773  
1774 Returns: a L<Paws::CodeCommit::GetCommentsForPullRequestOutput> instance
1775  
1776 Returns comments made on a pull request.
1777  
1778 Reaction counts might include numbers from user identities who were
1779 deleted after the reaction was made. For a count of reactions from
1780 active identities, use GetCommentReactions.
1781  
1782  
1783 =head2 GetCommit
1784  
1785 =over
1786  
1787 =item CommitId => Str
1788  
1789 =item RepositoryName => Str
1790  
1791  
1792 =back
1793  
1794 Each argument is described in detail in: L<Paws::CodeCommit::GetCommit>
1795  
1796 Returns: a L<Paws::CodeCommit::GetCommitOutput> instance
1797  
1798 Returns information about a commit, including commit message and
1799 committer information.
1800  
1801  
1802 =head2 GetDifferences
1803  
1804 =over
1805  
1806 =item AfterCommitSpecifier => Str
1807  
1808 =item RepositoryName => Str
1809  
1810 =item [AfterPath => Str]
1811  
1812 =item [BeforeCommitSpecifier => Str]
1813  
1814 =item [BeforePath => Str]
1815  
1816 =item [MaxResults => Int]
1817  
1818 =item [NextToken => Str]
1819  
1820  
1821 =back
1822  
1823 Each argument is described in detail in: L<Paws::CodeCommit::GetDifferences>
1824  
1825 Returns: a L<Paws::CodeCommit::GetDifferencesOutput> instance
1826  
1827 Returns information about the differences in a valid commit specifier
1828 (such as a branch, tag, HEAD, commit ID, or other fully qualified
1829 reference). Results can be limited to a specified path.
1830  
1831  
1832 =head2 GetFile
1833  
1834 =over
1835  
1836 =item FilePath => Str
1837  
1838 =item RepositoryName => Str
1839  
1840 =item [CommitSpecifier => Str]
1841  
1842  
1843 =back
1844  
1845 Each argument is described in detail in: L<Paws::CodeCommit::GetFile>
1846  
1847 Returns: a L<Paws::CodeCommit::GetFileOutput> instance
1848  
1849 Returns the base-64 encoded contents of a specified file and its
1850 metadata.
1851  
1852  
1853 =head2 GetFolder
1854  
1855 =over
1856  
1857 =item FolderPath => Str
1858  
1859 =item RepositoryName => Str
1860  
1861 =item [CommitSpecifier => Str]
1862  
1863  
1864 =back
1865  
1866 Each argument is described in detail in: L<Paws::CodeCommit::GetFolder>
1867  
1868 Returns: a L<Paws::CodeCommit::GetFolderOutput> instance
1869  
1870 Returns the contents of a specified folder in a repository.
1871  
1872  
1873 =head2 GetMergeCommit
1874  
1875 =over
1876  
1877 =item DestinationCommitSpecifier => Str
1878  
1879 =item RepositoryName => Str
1880  
1881 =item SourceCommitSpecifier => Str
1882  
1883 =item [ConflictDetailLevel => Str]
1884  
1885 =item [ConflictResolutionStrategy => Str]
1886  
1887  
1888 =back
1889  
1890 Each argument is described in detail in: L<Paws::CodeCommit::GetMergeCommit>
1891  
1892 Returns: a L<Paws::CodeCommit::GetMergeCommitOutput> instance
1893  
1894 Returns information about a specified merge commit.
1895  
1896  
1897 =head2 GetMergeConflicts
1898  
1899 =over
1900  
1901 =item DestinationCommitSpecifier => Str
1902  
1903 =item MergeOption => Str
1904  
1905 =item RepositoryName => Str
1906  
1907 =item SourceCommitSpecifier => Str
1908  
1909 =item [ConflictDetailLevel => Str]
1910  
1911 =item [ConflictResolutionStrategy => Str]
1912  
1913 =item [MaxConflictFiles => Int]
1914  
1915 =item [NextToken => Str]
1916  
1917  
1918 =back
1919  
1920 Each argument is described in detail in: L<Paws::CodeCommit::GetMergeConflicts>
1921  
1922 Returns: a L<Paws::CodeCommit::GetMergeConflictsOutput> instance
1923  
1924 Returns information about merge conflicts between the before and after
1925 commit IDs for a pull request in a repository.
1926  
1927  
1928 =head2 GetMergeOptions
1929  
1930 =over
1931  
1932 =item DestinationCommitSpecifier => Str
1933  
1934 =item RepositoryName => Str
1935  
1936 =item SourceCommitSpecifier => Str
1937  
1938 =item [ConflictDetailLevel => Str]
1939  
1940 =item [ConflictResolutionStrategy => Str]
1941  
1942  
1943 =back
1944  
1945 Each argument is described in detail in: L<Paws::CodeCommit::GetMergeOptions>
1946  
1947 Returns: a L<Paws::CodeCommit::GetMergeOptionsOutput> instance
1948  
1949 Returns information about the merge options available for merging two
1950 specified branches. For details about why a merge option is not
1951 available, use GetMergeConflicts or DescribeMergeConflicts.
1952  
1953  
1954 =head2 GetPullRequest
1955  
1956 =over
1957  
1958 =item PullRequestId => Str
1959  
1960  
1961 =back
1962  
1963 Each argument is described in detail in: L<Paws::CodeCommit::GetPullRequest>
1964  
1965 Returns: a L<Paws::CodeCommit::GetPullRequestOutput> instance
1966  
1967 Gets information about a pull request in a specified repository.
1968  
1969  
1970 =head2 GetPullRequestApprovalStates
1971  
1972 =over
1973  
1974 =item PullRequestId => Str
1975  
1976 =item RevisionId => Str
1977  
1978  
1979 =back
1980  
1981 Each argument is described in detail in: L<Paws::CodeCommit::GetPullRequestApprovalStates>
1982  
1983 Returns: a L<Paws::CodeCommit::GetPullRequestApprovalStatesOutput> instance
1984  
1985 Gets information about the approval states for a specified pull
1986 request. Approval states only apply to pull requests that have one or
1987 more approval rules applied to them.
1988  
1989  
1990 =head2 GetPullRequestOverrideState
1991  
1992 =over
1993  
1994 =item PullRequestId => Str
1995  
1996 =item RevisionId => Str
1997  
1998  
1999 =back
2000  
2001 Each argument is described in detail in: L<Paws::CodeCommit::GetPullRequestOverrideState>
2002  
2003 Returns: a L<Paws::CodeCommit::GetPullRequestOverrideStateOutput> instance
2004  
2005 Returns information about whether approval rules have been set aside
2006 (overridden) for a pull request, and if so, the Amazon Resource Name
2007 (ARN) of the user or identity that overrode the rules and their
2008 requirements for the pull request.
2009  
2010  
2011 =head2 GetRepository
2012  
2013 =over
2014  
2015 =item RepositoryName => Str
2016  
2017  
2018 =back
2019  
2020 Each argument is described in detail in: L<Paws::CodeCommit::GetRepository>
2021  
2022 Returns: a L<Paws::CodeCommit::GetRepositoryOutput> instance
2023  
2024 Returns information about a repository.
2025  
2026 The description field for a repository accepts all HTML characters and
2027 all valid Unicode characters. Applications that do not HTML-encode the
2028 description and display it in a webpage can expose users to potentially
2029 malicious code. Make sure that you HTML-encode the description field in
2030 any application that uses this API to display the repository
2031 description on a webpage.
2032  
2033  
2034 =head2 GetRepositoryTriggers
2035  
2036 =over
2037  
2038 =item RepositoryName => Str
2039  
2040  
2041 =back
2042  
2043 Each argument is described in detail in: L<Paws::CodeCommit::GetRepositoryTriggers>
2044  
2045 Returns: a L<Paws::CodeCommit::GetRepositoryTriggersOutput> instance
2046  
2047 Gets information about triggers configured for a repository.
2048  
2049  
2050 =head2 ListApprovalRuleTemplates
2051  
2052 =over
2053  
2054 =item [MaxResults => Int]
2055  
2056 =item [NextToken => Str]
2057  
2058  
2059 =back
2060  
2061 Each argument is described in detail in: L<Paws::CodeCommit::ListApprovalRuleTemplates>
2062  
2063 Returns: a L<Paws::CodeCommit::ListApprovalRuleTemplatesOutput> instance
2064  
2065 Lists all approval rule templates in the specified AWS Region in your
2066 AWS account. If an AWS Region is not specified, the AWS Region where
2067 you are signed in is used.
2068  
2069  
2070 =head2 ListAssociatedApprovalRuleTemplatesForRepository
2071  
2072 =over
2073  
2074 =item RepositoryName => Str
2075  
2076 =item [MaxResults => Int]
2077  
2078 =item [NextToken => Str]
2079  
2080  
2081 =back
2082  
2083 Each argument is described in detail in: L<Paws::CodeCommit::ListAssociatedApprovalRuleTemplatesForRepository>
2084  
2085 Returns: a L<Paws::CodeCommit::ListAssociatedApprovalRuleTemplatesForRepositoryOutput> instance
2086  
2087 Lists all approval rule templates that are associated with a specified
2088 repository.
2089  
2090  
2091 =head2 ListBranches
2092  
2093 =over
2094  
2095 =item RepositoryName => Str
2096  
2097 =item [NextToken => Str]
2098  
2099  
2100 =back
2101  
2102 Each argument is described in detail in: L<Paws::CodeCommit::ListBranches>
2103  
2104 Returns: a L<Paws::CodeCommit::ListBranchesOutput> instance
2105  
2106 Gets information about one or more branches in a repository.
2107  
2108  
2109 =head2 ListPullRequests
2110  
2111 =over
2112  
2113 =item RepositoryName => Str
2114  
2115 =item [AuthorArn => Str]
2116  
2117 =item [MaxResults => Int]
2118  
2119 =item [NextToken => Str]
2120  
2121 =item [PullRequestStatus => Str]
2122  
2123  
2124 =back
2125  
2126 Each argument is described in detail in: L<Paws::CodeCommit::ListPullRequests>
2127  
2128 Returns: a L<Paws::CodeCommit::ListPullRequestsOutput> instance
2129  
2130 Returns a list of pull requests for a specified repository. The return
2131 list can be refined by pull request status or pull request author ARN.
2132  
2133  
2134 =head2 ListRepositories
2135  
2136 =over
2137  
2138 =item [NextToken => Str]
2139  
2140 =item [Order => Str]
2141  
2142 =item [SortBy => Str]
2143  
2144  
2145 =back
2146  
2147 Each argument is described in detail in: L<Paws::CodeCommit::ListRepositories>
2148  
2149 Returns: a L<Paws::CodeCommit::ListRepositoriesOutput> instance
2150  
2151 Gets information about one or more repositories.
2152  
2153  
2154 =head2 ListRepositoriesForApprovalRuleTemplate
2155  
2156 =over
2157  
2158 =item ApprovalRuleTemplateName => Str
2159  
2160 =item [MaxResults => Int]
2161  
2162 =item [NextToken => Str]
2163  
2164  
2165 =back
2166  
2167 Each argument is described in detail in: L<Paws::CodeCommit::ListRepositoriesForApprovalRuleTemplate>
2168  
2169 Returns: a L<Paws::CodeCommit::ListRepositoriesForApprovalRuleTemplateOutput> instance
2170  
2171 Lists all repositories associated with the specified approval rule
2172 template.
2173  
2174  
2175 =head2 ListTagsForResource
2176  
2177 =over
2178  
2179 =item ResourceArn => Str
2180  
2181 =item [NextToken => Str]
2182  
2183  
2184 =back
2185  
2186 Each argument is described in detail in: L<Paws::CodeCommit::ListTagsForResource>
2187  
2188 Returns: a L<Paws::CodeCommit::ListTagsForResourceOutput> instance
2189  
2190 Gets information about AWS tags for a specified Amazon Resource Name
2191 (ARN) in AWS CodeCommit. For a list of valid resources in AWS
2192 CodeCommit, see CodeCommit Resources and Operations
2193 (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats)
2194 in theI< AWS CodeCommit User Guide>.
2195  
2196  
2197 =head2 MergeBranchesByFastForward
2198  
2199 =over
2200  
2201 =item DestinationCommitSpecifier => Str
2202  
2203 =item RepositoryName => Str
2204  
2205 =item SourceCommitSpecifier => Str
2206  
2207 =item [TargetBranch => Str]
2208  
2209  
2210 =back
2211  
2212 Each argument is described in detail in: L<Paws::CodeCommit::MergeBranchesByFastForward>
2213  
2214 Returns: a L<Paws::CodeCommit::MergeBranchesByFastForwardOutput> instance
2215  
2216 Merges two branches using the fast-forward merge strategy.
2217  
2218  
2219 =head2 MergeBranchesBySquash
2220  
2221 =over
2222  
2223 =item DestinationCommitSpecifier => Str
2224  
2225 =item RepositoryName => Str
2226  
2227 =item SourceCommitSpecifier => Str
2228  
2229 =item [AuthorName => Str]
2230  
2231 =item [CommitMessage => Str]
2232  
2233 =item [ConflictDetailLevel => Str]
2234  
2235 =item [ConflictResolution => L<Paws::CodeCommit::ConflictResolution>]
2236  
2237 =item [ConflictResolutionStrategy => Str]
2238  
2239 =item [Email => Str]
2240  
2241 =item [KeepEmptyFolders => Bool]
2242  
2243 =item [TargetBranch => Str]
2244  
2245  
2246 =back
2247  
2248 Each argument is described in detail in: L<Paws::CodeCommit::MergeBranchesBySquash>
2249  
2250 Returns: a L<Paws::CodeCommit::MergeBranchesBySquashOutput> instance
2251  
2252 Merges two branches using the squash merge strategy.
2253  
2254  
2255 =head2 MergeBranchesByThreeWay
2256  
2257 =over
2258  
2259 =item DestinationCommitSpecifier => Str
2260  
2261 =item RepositoryName => Str
2262  
2263 =item SourceCommitSpecifier => Str
2264  
2265 =item [AuthorName => Str]
2266  
2267 =item [CommitMessage => Str]
2268  
2269 =item [ConflictDetailLevel => Str]
2270  
2271 =item [ConflictResolution => L<Paws::CodeCommit::ConflictResolution>]
2272  
2273 =item [ConflictResolutionStrategy => Str]
2274  
2275 =item [Email => Str]
2276  
2277 =item [KeepEmptyFolders => Bool]
2278  
2279 =item [TargetBranch => Str]
2280  
2281  
2282 =back
2283  
2284 Each argument is described in detail in: L<Paws::CodeCommit::MergeBranchesByThreeWay>
2285  
2286 Returns: a L<Paws::CodeCommit::MergeBranchesByThreeWayOutput> instance
2287  
2288 Merges two specified branches using the three-way merge strategy.
2289  
2290  
2291 =head2 MergePullRequestByFastForward
2292  
2293 =over
2294  
2295 =item PullRequestId => Str
2296  
2297 =item RepositoryName => Str
2298  
2299 =item [SourceCommitId => Str]
2300  
2301  
2302 =back
2303  
2304 Each argument is described in detail in: L<Paws::CodeCommit::MergePullRequestByFastForward>
2305  
2306 Returns: a L<Paws::CodeCommit::MergePullRequestByFastForwardOutput> instance
2307  
2308 Attempts to merge the source commit of a pull request into the
2309 specified destination branch for that pull request at the specified
2310 commit using the fast-forward merge strategy. If the merge is
2311 successful, it closes the pull request.
2312  
2313  
2314 =head2 MergePullRequestBySquash
2315  
2316 =over
2317  
2318 =item PullRequestId => Str
2319  
2320 =item RepositoryName => Str
2321  
2322 =item [AuthorName => Str]
2323  
2324 =item [CommitMessage => Str]
2325  
2326 =item [ConflictDetailLevel => Str]
2327  
2328 =item [ConflictResolution => L<Paws::CodeCommit::ConflictResolution>]
2329  
2330 =item [ConflictResolutionStrategy => Str]
2331  
2332 =item [Email => Str]
2333  
2334 =item [KeepEmptyFolders => Bool]
2335  
2336 =item [SourceCommitId => Str]
2337  
2338  
2339 =back
2340  
2341 Each argument is described in detail in: L<Paws::CodeCommit::MergePullRequestBySquash>
2342  
2343 Returns: a L<Paws::CodeCommit::MergePullRequestBySquashOutput> instance
2344  
2345 Attempts to merge the source commit of a pull request into the
2346 specified destination branch for that pull request at the specified
2347 commit using the squash merge strategy. If the merge is successful, it
2348 closes the pull request.
2349  
2350  
2351 =head2 MergePullRequestByThreeWay
2352  
2353 =over
2354  
2355 =item PullRequestId => Str
2356  
2357 =item RepositoryName => Str
2358  
2359 =item [AuthorName => Str]
2360  
2361 =item [CommitMessage => Str]
2362  
2363 =item [ConflictDetailLevel => Str]
2364  
2365 =item [ConflictResolution => L<Paws::CodeCommit::ConflictResolution>]
2366  
2367 =item [ConflictResolutionStrategy => Str]
2368  
2369 =item [Email => Str]
2370  
2371 =item [KeepEmptyFolders => Bool]
2372  
2373 =item [SourceCommitId => Str]
2374  
2375  
2376 =back
2377  
2378 Each argument is described in detail in: L<Paws::CodeCommit::MergePullRequestByThreeWay>
2379  
2380 Returns: a L<Paws::CodeCommit::MergePullRequestByThreeWayOutput> instance
2381  
2382 Attempts to merge the source commit of a pull request into the
2383 specified destination branch for that pull request at the specified
2384 commit using the three-way merge strategy. If the merge is successful,
2385 it closes the pull request.
2386  
2387  
2388 =head2 OverridePullRequestApprovalRules
2389  
2390 =over
2391  
2392 =item OverrideStatus => Str
2393  
2394 =item PullRequestId => Str
2395  
2396 =item RevisionId => Str
2397  
2398  
2399 =back
2400  
2401 Each argument is described in detail in: L<Paws::CodeCommit::OverridePullRequestApprovalRules>
2402  
2403 Returns: nothing
2404  
2405 Sets aside (overrides) all approval rule requirements for a specified
2406 pull request.
2407  
2408  
2409 =head2 PostCommentForComparedCommit
2410  
2411 =over
2412  
2413 =item AfterCommitId => Str
2414  
2415 =item Content => Str
2416  
2417 =item RepositoryName => Str
2418  
2419 =item [BeforeCommitId => Str]
2420  
2421 =item [ClientRequestToken => Str]
2422  
2423 =item [Location => L<Paws::CodeCommit::Location>]
2424  
2425  
2426 =back
2427  
2428 Each argument is described in detail in: L<Paws::CodeCommit::PostCommentForComparedCommit>
2429  
2430 Returns: a L<Paws::CodeCommit::PostCommentForComparedCommitOutput> instance
2431  
2432 Posts a comment on the comparison between two commits.
2433  
2434  
2435 =head2 PostCommentForPullRequest
2436  
2437 =over
2438  
2439 =item AfterCommitId => Str
2440  
2441 =item BeforeCommitId => Str
2442  
2443 =item Content => Str
2444  
2445 =item PullRequestId => Str
2446  
2447 =item RepositoryName => Str
2448  
2449 =item [ClientRequestToken => Str]
2450  
2451 =item [Location => L<Paws::CodeCommit::Location>]
2452  
2453  
2454 =back
2455  
2456 Each argument is described in detail in: L<Paws::CodeCommit::PostCommentForPullRequest>
2457  
2458 Returns: a L<Paws::CodeCommit::PostCommentForPullRequestOutput> instance
2459  
2460 Posts a comment on a pull request.
2461  
2462  
2463 =head2 PostCommentReply
2464  
2465 =over
2466  
2467 =item Content => Str
2468  
2469 =item InReplyTo => Str
2470  
2471 =item [ClientRequestToken => Str]
2472  
2473  
2474 =back
2475  
2476 Each argument is described in detail in: L<Paws::CodeCommit::PostCommentReply>
2477  
2478 Returns: a L<Paws::CodeCommit::PostCommentReplyOutput> instance
2479  
2480 Posts a comment in reply to an existing comment on a comparison between
2481 commits or a pull request.
2482  
2483  
2484 =head2 PutCommentReaction
2485  
2486 =over
2487  
2488 =item CommentId => Str
2489  
2490 =item ReactionValue => Str
2491  
2492  
2493 =back
2494  
2495 Each argument is described in detail in: L<Paws::CodeCommit::PutCommentReaction>
2496  
2497 Returns: nothing
2498  
2499 Adds or updates a reaction to a specified comment for the user whose
2500 identity is used to make the request. You can only add or update a
2501 reaction for yourself. You cannot add, modify, or delete a reaction for
2502 another user.
2503  
2504  
2505 =head2 PutFile
2506  
2507 =over
2508  
2509 =item BranchName => Str
2510  
2511 =item FileContent => Str
2512  
2513 =item FilePath => Str
2514  
2515 =item RepositoryName => Str
2516  
2517 =item [CommitMessage => Str]
2518  
2519 =item [Email => Str]
2520  
2521 =item [FileMode => Str]
2522  
2523 =item [Name => Str]
2524  
2525 =item [ParentCommitId => Str]
2526  
2527  
2528 =back
2529  
2530 Each argument is described in detail in: L<Paws::CodeCommit::PutFile>
2531  
2532 Returns: a L<Paws::CodeCommit::PutFileOutput> instance
2533  
2534 Adds or updates a file in a branch in an AWS CodeCommit repository, and
2535 generates a commit for the addition in the specified branch.
2536  
2537  
2538 =head2 PutRepositoryTriggers
2539  
2540 =over
2541  
2542 =item RepositoryName => Str
2543  
2544 =item Triggers => ArrayRef[L<Paws::CodeCommit::RepositoryTrigger>]
2545  
2546  
2547 =back
2548  
2549 Each argument is described in detail in: L<Paws::CodeCommit::PutRepositoryTriggers>
2550  
2551 Returns: a L<Paws::CodeCommit::PutRepositoryTriggersOutput> instance
2552  
2553 Replaces all triggers for a repository. Used to create or delete
2554 triggers.
2555  
2556  
2557 =head2 TagResource
2558  
2559 =over
2560  
2561 =item ResourceArn => Str
2562  
2563 =item Tags => L<Paws::CodeCommit::TagsMap>
2564  
2565  
2566 =back
2567  
2568 Each argument is described in detail in: L<Paws::CodeCommit::TagResource>
2569  
2570 Returns: nothing
2571  
2572 Adds or updates tags for a resource in AWS CodeCommit. For a list of
2573 valid resources in AWS CodeCommit, see CodeCommit Resources and
2574 Operations
2575 (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats)
2576 in the I<AWS CodeCommit User Guide>.
2577  
2578  
2579 =head2 TestRepositoryTriggers
2580  
2581 =over
2582  
2583 =item RepositoryName => Str
2584  
2585 =item Triggers => ArrayRef[L<Paws::CodeCommit::RepositoryTrigger>]
2586  
2587  
2588 =back
2589  
2590 Each argument is described in detail in: L<Paws::CodeCommit::TestRepositoryTriggers>
2591  
2592 Returns: a L<Paws::CodeCommit::TestRepositoryTriggersOutput> instance
2593  
2594 Tests the functionality of repository triggers by sending information
2595 to the trigger target. If real data is available in the repository, the
2596 test sends data from the last commit. If no data is available, sample
2597 data is generated.
2598  
2599  
2600 =head2 UntagResource
2601  
2602 =over
2603  
2604 =item ResourceArn => Str
2605  
2606 =item TagKeys => ArrayRef[Str|Undef]
2607  
2608  
2609 =back
2610  
2611 Each argument is described in detail in: L<Paws::CodeCommit::UntagResource>
2612  
2613 Returns: nothing
2614  
2615 Removes tags for a resource in AWS CodeCommit. For a list of valid
2616 resources in AWS CodeCommit, see CodeCommit Resources and Operations
2617 (https://docs.aws.amazon.com/codecommit/latest/userguide/auth-and-access-control-iam-access-control-identity-based.html#arn-formats)
2618 in the I<AWS CodeCommit User Guide>.
2619  
2620  
2621 =head2 UpdateApprovalRuleTemplateContent
2622  
2623 =over
2624  
2625 =item ApprovalRuleTemplateName => Str
2626  
2627 =item NewRuleContent => Str
2628  
2629 =item [ExistingRuleContentSha256 => Str]
2630  
2631  
2632 =back
2633  
2634 Each argument is described in detail in: L<Paws::CodeCommit::UpdateApprovalRuleTemplateContent>
2635  
2636 Returns: a L<Paws::CodeCommit::UpdateApprovalRuleTemplateContentOutput> instance
2637  
2638 Updates the content of an approval rule template. You can change the
2639 number of required approvals, the membership of the approval rule, and
2640 whether an approval pool is defined.
2641  
2642  
2643 =head2 UpdateApprovalRuleTemplateDescription
2644  
2645 =over
2646  
2647 =item ApprovalRuleTemplateDescription => Str
2648  
2649 =item ApprovalRuleTemplateName => Str
2650  
2651  
2652 =back
2653  
2654 Each argument is described in detail in: L<Paws::CodeCommit::UpdateApprovalRuleTemplateDescription>
2655  
2656 Returns: a L<Paws::CodeCommit::UpdateApprovalRuleTemplateDescriptionOutput> instance
2657  
2658 Updates the description for a specified approval rule template.
2659  
2660  
2661 =head2 UpdateApprovalRuleTemplateName
2662  
2663 =over
2664  
2665 =item NewApprovalRuleTemplateName => Str
2666  
2667 =item OldApprovalRuleTemplateName => Str
2668  
2669  
2670 =back
2671  
2672 Each argument is described in detail in: L<Paws::CodeCommit::UpdateApprovalRuleTemplateName>
2673  
2674 Returns: a L<Paws::CodeCommit::UpdateApprovalRuleTemplateNameOutput> instance
2675  
2676 Updates the name of a specified approval rule template.
2677  
2678  
2679 =head2 UpdateComment
2680  
2681 =over
2682  
2683 =item CommentId => Str
2684  
2685 =item Content => Str
2686  
2687  
2688 =back
2689  
2690 Each argument is described in detail in: L<Paws::CodeCommit::UpdateComment>
2691  
2692 Returns: a L<Paws::CodeCommit::UpdateCommentOutput> instance
2693  
2694 Replaces the contents of a comment.
2695  
2696  
2697 =head2 UpdateDefaultBranch
2698  
2699 =over
2700  
2701 =item DefaultBranchName => Str
2702  
2703 =item RepositoryName => Str
2704  
2705  
2706 =back
2707  
2708 Each argument is described in detail in: L<Paws::CodeCommit::UpdateDefaultBranch>
2709  
2710 Returns: nothing
2711  
2712 Sets or changes the default branch name for the specified repository.
2713  
2714 If you use this operation to change the default branch name to the
2715 current default branch name, a success message is returned even though
2716 the default branch did not change.
2717  
2718  
2719 =head2 UpdatePullRequestApprovalRuleContent
2720  
2721 =over
2722  
2723 =item ApprovalRuleName => Str
2724  
2725 =item NewRuleContent => Str
2726  
2727 =item PullRequestId => Str
2728  
2729 =item [ExistingRuleContentSha256 => Str]
2730  
2731  
2732 =back
2733  
2734 Each argument is described in detail in: L<Paws::CodeCommit::UpdatePullRequestApprovalRuleContent>
2735  
2736 Returns: a L<Paws::CodeCommit::UpdatePullRequestApprovalRuleContentOutput> instance
2737  
2738 Updates the structure of an approval rule created specifically for a
2739 pull request. For example, you can change the number of required
2740 approvers and the approval pool for approvers.
2741  
2742  
2743 =head2 UpdatePullRequestApprovalState
2744  
2745 =over
2746  
2747 =item ApprovalState => Str
2748  
2749 =item PullRequestId => Str
2750  
2751 =item RevisionId => Str
2752  
2753  
2754 =back
2755  
2756 Each argument is described in detail in: L<Paws::CodeCommit::UpdatePullRequestApprovalState>
2757  
2758 Returns: nothing
2759  
2760 Updates the state of a user's approval on a pull request. The user is
2761 derived from the signed-in account when the request is made.
2762  
2763  
2764 =head2 UpdatePullRequestDescription
2765  
2766 =over
2767  
2768 =item Description => Str
2769  
2770 =item PullRequestId => Str
2771  
2772  
2773 =back
2774  
2775 Each argument is described in detail in: L<Paws::CodeCommit::UpdatePullRequestDescription>
2776  
2777 Returns: a L<Paws::CodeCommit::UpdatePullRequestDescriptionOutput> instance
2778  
2779 Replaces the contents of the description of a pull request.
2780  
2781  
2782 =head2 UpdatePullRequestStatus
2783  
2784 =over
2785  
2786 =item PullRequestId => Str
2787  
2788 =item PullRequestStatus => Str
2789  
2790  
2791 =back
2792  
2793 Each argument is described in detail in: L<Paws::CodeCommit::UpdatePullRequestStatus>
2794  
2795 Returns: a L<Paws::CodeCommit::UpdatePullRequestStatusOutput> instance
2796  
2797 Updates the status of a pull request.
2798  
2799  
2800 =head2 UpdatePullRequestTitle
2801  
2802 =over
2803  
2804 =item PullRequestId => Str
2805  
2806 =item Title => Str
2807  
2808  
2809 =back
2810  
2811 Each argument is described in detail in: L<Paws::CodeCommit::UpdatePullRequestTitle>
2812  
2813 Returns: a L<Paws::CodeCommit::UpdatePullRequestTitleOutput> instance
2814  
2815 Replaces the title of a pull request.
2816  
2817  
2818 =head2 UpdateRepositoryDescription
2819  
2820 =over
2821  
2822 =item RepositoryName => Str
2823  
2824 =item [RepositoryDescription => Str]
2825  
2826  
2827 =back
2828  
2829 Each argument is described in detail in: L<Paws::CodeCommit::UpdateRepositoryDescription>
2830  
2831 Returns: nothing
2832  
2833 Sets or changes the comment or description for a repository.
2834  
2835 The description field for a repository accepts all HTML characters and
2836 all valid Unicode characters. Applications that do not HTML-encode the
2837 description and display it in a webpage can expose users to potentially
2838 malicious code. Make sure that you HTML-encode the description field in
2839 any application that uses this API to display the repository
2840 description on a webpage.
2841  
2842  
2843 =head2 UpdateRepositoryName
2844  
2845 =over
2846  
2847 =item NewName => Str
2848  
2849 =item OldName => Str
2850  
2851  
2852 =back
2853  
2854 Each argument is described in detail in: L<Paws::CodeCommit::UpdateRepositoryName>
2855  
2856 Returns: nothing
2857  
2858 Renames a repository. The repository name must be unique across the
2859 calling AWS account. Repository names are limited to 100 alphanumeric,
2860 dash, and underscore characters, and cannot include certain characters.
2861 The suffix .git is prohibited. For more information about the limits on
2862 repository names, see Limits
2863 (https://docs.aws.amazon.com/codecommit/latest/userguide/limits.html)
2864 in the AWS CodeCommit User Guide.
2865  
2866  
2867  
2868  
2869 =head1 PAGINATORS
2870  
2871 Paginator methods are helpers that repetively call methods that return partial results
2872  
2873 =head2 DescribeAllPullRequestEvents(sub { },PullRequestId => Str, [ActorArn => Str, MaxResults => Int, NextToken => Str, PullRequestEventType => Str])
2874  
2875 =head2 DescribeAllPullRequestEvents(PullRequestId => Str, [ActorArn => Str, MaxResults => Int, NextToken => Str, PullRequestEventType => Str])
2876  
2877  
2878 If passed a sub as first parameter, it will call the sub for each element found in :
2879  
2880 - pullRequestEvents, passing the object as the first parameter, and the string 'pullRequestEvents' as the second parameter
2881  
2882 If not, it will return a a L<Paws::CodeCommit::DescribePullRequestEventsOutput> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2883  
2884  
2885 =head2 GetAllCommentsForComparedCommit(sub { },AfterCommitId => Str, RepositoryName => Str, [BeforeCommitId => Str, MaxResults => Int, NextToken => Str])
2886  
2887 =head2 GetAllCommentsForComparedCommit(AfterCommitId => Str, RepositoryName => Str, [BeforeCommitId => Str, MaxResults => Int, NextToken => Str])
2888  
2889  
2890 If passed a sub as first parameter, it will call the sub for each element found in :
2891  
2892 - commentsForComparedCommitData, passing the object as the first parameter, and the string 'commentsForComparedCommitData' as the second parameter
2893  
2894 If not, it will return a a L<Paws::CodeCommit::GetCommentsForComparedCommitOutput> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2895  
2896  
2897 =head2 GetAllCommentsForPullRequest(sub { },PullRequestId => Str, [AfterCommitId => Str, BeforeCommitId => Str, MaxResults => Int, NextToken => Str, RepositoryName => Str])
2898  
2899 =head2 GetAllCommentsForPullRequest(PullRequestId => Str, [AfterCommitId => Str, BeforeCommitId => Str, MaxResults => Int, NextToken => Str, RepositoryName => Str])
2900  
2901  
2902 If passed a sub as first parameter, it will call the sub for each element found in :
2903  
2904 - commentsForPullRequestData, passing the object as the first parameter, and the string 'commentsForPullRequestData' as the second parameter
2905  
2906 If not, it will return a a L<Paws::CodeCommit::GetCommentsForPullRequestOutput> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2907  
2908  
2909 =head2 GetAllDifferences(sub { },AfterCommitSpecifier => Str, RepositoryName => Str, [AfterPath => Str, BeforeCommitSpecifier => Str, BeforePath => Str, MaxResults => Int, NextToken => Str])
2910  
2911 =head2 GetAllDifferences(AfterCommitSpecifier => Str, RepositoryName => Str, [AfterPath => Str, BeforeCommitSpecifier => Str, BeforePath => Str, MaxResults => Int, NextToken => Str])
2912  
2913  
2914 If passed a sub as first parameter, it will call the sub for each element found in :
2915  
2916 - differences, passing the object as the first parameter, and the string 'differences' as the second parameter
2917  
2918 If not, it will return a a L<Paws::CodeCommit::GetDifferencesOutput> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2919  
2920  
2921 =head2 ListAllBranches(sub { },RepositoryName => Str, [NextToken => Str])
2922  
2923 =head2 ListAllBranches(RepositoryName => Str, [NextToken => Str])
2924  
2925  
2926 If passed a sub as first parameter, it will call the sub for each element found in :
2927  
2928 - branches, passing the object as the first parameter, and the string 'branches' as the second parameter
2929  
2930 If not, it will return a a L<Paws::CodeCommit::ListBranchesOutput> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2931  
2932  
2933 =head2 ListAllPullRequests(sub { },RepositoryName => Str, [AuthorArn => Str, MaxResults => Int, NextToken => Str, PullRequestStatus => Str])
2934  
2935 =head2 ListAllPullRequests(RepositoryName => Str, [AuthorArn => Str, MaxResults => Int, NextToken => Str, PullRequestStatus => Str])
2936  
2937  
2938 If passed a sub as first parameter, it will call the sub for each element found in :
2939  
2940 - pullRequestIds, passing the object as the first parameter, and the string 'pullRequestIds' as the second parameter
2941  
2942 If not, it will return a a L<Paws::CodeCommit::ListPullRequestsOutput> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2943  
2944  
2945 =head2 ListAllRepositories(sub { },[NextToken => Str, Order => Str, SortBy => Str])
2946  
2947 =head2 ListAllRepositories([NextToken => Str, Order => Str, SortBy => Str])
2948  
2949  
2950 If passed a sub as first parameter, it will call the sub for each element found in :
2951  
2952 - repositories, passing the object as the first parameter, and the string 'repositories' as the second parameter
2953  
2954 If not, it will return a a L<Paws::CodeCommit::ListRepositoriesOutput> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
2955  
2956  
2957  
2958  
2959  
2960 =head1 SEE ALSO
2961  
2962 This service class forms part of L<Paws>
2963  
2964 =head1 BUGS and CONTRIBUTIONS
2965  
2966 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
2967  
2968 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
2969  
2970 =cut
2971