blib/lib/Paws/CodeDeploy.pm untested

filter: Statementstmt 0.0% 0 / 336 Branchbran 0.0% 0 / 36 Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 63 Podpod 0.0% 0 / 62 totaltotal 0.0% 0 / 497 CC 19 SCAR 16.7
CC
19
Cov
0%
ListAllApplicationRevisions
12.0
ListAllApplications
12.0
ListAllDeploymentConfigs
12.0
CRAP 5.3
1 package Paws::CodeDeploy;
2 use Moose;
3 sub service { 'codedeploy' }
4 sub signing_name { 'codedeploy' }
5 sub version { '2014-10-06' }
6 sub target_prefix { 'CodeDeploy_20141006' }
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 AddTagsToOnPremisesInstances {
19 my $self = shift;
20 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::AddTagsToOnPremisesInstances', @_);
21 return $self->caller->do_call($self, $call_object);
22 }
23 sub BatchGetApplicationRevisions {
24 my $self = shift;
25 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::BatchGetApplicationRevisions', @_);
26 return $self->caller->do_call($self, $call_object);
27 }
28 sub BatchGetApplications {
29 my $self = shift;
30 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::BatchGetApplications', @_);
31 return $self->caller->do_call($self, $call_object);
32 }
33 sub BatchGetDeploymentGroups {
34 my $self = shift;
35 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::BatchGetDeploymentGroups', @_);
36 return $self->caller->do_call($self, $call_object);
37 }
38 sub BatchGetDeploymentInstances {
39 my $self = shift;
40 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::BatchGetDeploymentInstances', @_);
41 return $self->caller->do_call($self, $call_object);
42 }
43 sub BatchGetDeployments {
44 my $self = shift;
45 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::BatchGetDeployments', @_);
46 return $self->caller->do_call($self, $call_object);
47 }
48 sub BatchGetDeploymentTargets {
49 my $self = shift;
50 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::BatchGetDeploymentTargets', @_);
51 return $self->caller->do_call($self, $call_object);
52 }
53 sub BatchGetOnPremisesInstances {
54 my $self = shift;
55 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::BatchGetOnPremisesInstances', @_);
56 return $self->caller->do_call($self, $call_object);
57 }
58 sub ContinueDeployment {
59 my $self = shift;
60 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::ContinueDeployment', @_);
61 return $self->caller->do_call($self, $call_object);
62 }
63 sub CreateApplication {
64 my $self = shift;
65 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::CreateApplication', @_);
66 return $self->caller->do_call($self, $call_object);
67 }
68 sub CreateDeployment {
69 my $self = shift;
70 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::CreateDeployment', @_);
71 return $self->caller->do_call($self, $call_object);
72 }
73 sub CreateDeploymentConfig {
74 my $self = shift;
75 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::CreateDeploymentConfig', @_);
76 return $self->caller->do_call($self, $call_object);
77 }
78 sub CreateDeploymentGroup {
79 my $self = shift;
80 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::CreateDeploymentGroup', @_);
81 return $self->caller->do_call($self, $call_object);
82 }
83 sub DeleteApplication {
84 my $self = shift;
85 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::DeleteApplication', @_);
86 return $self->caller->do_call($self, $call_object);
87 }
88 sub DeleteDeploymentConfig {
89 my $self = shift;
90 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::DeleteDeploymentConfig', @_);
91 return $self->caller->do_call($self, $call_object);
92 }
93 sub DeleteDeploymentGroup {
94 my $self = shift;
95 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::DeleteDeploymentGroup', @_);
96 return $self->caller->do_call($self, $call_object);
97 }
98 sub DeleteGitHubAccountToken {
99 my $self = shift;
100 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::DeleteGitHubAccountToken', @_);
101 return $self->caller->do_call($self, $call_object);
102 }
103 sub DeleteResourcesByExternalId {
104 my $self = shift;
105 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::DeleteResourcesByExternalId', @_);
106 return $self->caller->do_call($self, $call_object);
107 }
108 sub DeregisterOnPremisesInstance {
109 my $self = shift;
110 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::DeregisterOnPremisesInstance', @_);
111 return $self->caller->do_call($self, $call_object);
112 }
113 sub GetApplication {
114 my $self = shift;
115 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::GetApplication', @_);
116 return $self->caller->do_call($self, $call_object);
117 }
118 sub GetApplicationRevision {
119 my $self = shift;
120 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::GetApplicationRevision', @_);
121 return $self->caller->do_call($self, $call_object);
122 }
123 sub GetDeployment {
124 my $self = shift;
125 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::GetDeployment', @_);
126 return $self->caller->do_call($self, $call_object);
127 }
128 sub GetDeploymentConfig {
129 my $self = shift;
130 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::GetDeploymentConfig', @_);
131 return $self->caller->do_call($self, $call_object);
132 }
133 sub GetDeploymentGroup {
134 my $self = shift;
135 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::GetDeploymentGroup', @_);
136 return $self->caller->do_call($self, $call_object);
137 }
138 sub GetDeploymentInstance {
139 my $self = shift;
140 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::GetDeploymentInstance', @_);
141 return $self->caller->do_call($self, $call_object);
142 }
143 sub GetDeploymentTarget {
144 my $self = shift;
145 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::GetDeploymentTarget', @_);
146 return $self->caller->do_call($self, $call_object);
147 }
148 sub GetOnPremisesInstance {
149 my $self = shift;
150 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::GetOnPremisesInstance', @_);
151 return $self->caller->do_call($self, $call_object);
152 }
153 sub ListApplicationRevisions {
154 my $self = shift;
155 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::ListApplicationRevisions', @_);
156 return $self->caller->do_call($self, $call_object);
157 }
158 sub ListApplications {
159 my $self = shift;
160 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::ListApplications', @_);
161 return $self->caller->do_call($self, $call_object);
162 }
163 sub ListDeploymentConfigs {
164 my $self = shift;
165 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::ListDeploymentConfigs', @_);
166 return $self->caller->do_call($self, $call_object);
167 }
168 sub ListDeploymentGroups {
169 my $self = shift;
170 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::ListDeploymentGroups', @_);
171 return $self->caller->do_call($self, $call_object);
172 }
173 sub ListDeploymentInstances {
174 my $self = shift;
175 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::ListDeploymentInstances', @_);
176 return $self->caller->do_call($self, $call_object);
177 }
178 sub ListDeployments {
179 my $self = shift;
180 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::ListDeployments', @_);
181 return $self->caller->do_call($self, $call_object);
182 }
183 sub ListDeploymentTargets {
184 my $self = shift;
185 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::ListDeploymentTargets', @_);
186 return $self->caller->do_call($self, $call_object);
187 }
188 sub ListGitHubAccountTokenNames {
189 my $self = shift;
190 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::ListGitHubAccountTokenNames', @_);
191 return $self->caller->do_call($self, $call_object);
192 }
193 sub ListOnPremisesInstances {
194 my $self = shift;
195 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::ListOnPremisesInstances', @_);
196 return $self->caller->do_call($self, $call_object);
197 }
198 sub ListTagsForResource {
199 my $self = shift;
200 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::ListTagsForResource', @_);
201 return $self->caller->do_call($self, $call_object);
202 }
203 sub PutLifecycleEventHookExecutionStatus {
204 my $self = shift;
205 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::PutLifecycleEventHookExecutionStatus', @_);
206 return $self->caller->do_call($self, $call_object);
207 }
208 sub RegisterApplicationRevision {
209 my $self = shift;
210 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::RegisterApplicationRevision', @_);
211 return $self->caller->do_call($self, $call_object);
212 }
213 sub RegisterOnPremisesInstance {
214 my $self = shift;
215 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::RegisterOnPremisesInstance', @_);
216 return $self->caller->do_call($self, $call_object);
217 }
218 sub RemoveTagsFromOnPremisesInstances {
219 my $self = shift;
220 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::RemoveTagsFromOnPremisesInstances', @_);
221 return $self->caller->do_call($self, $call_object);
222 }
223 sub SkipWaitTimeForInstanceTermination {
224 my $self = shift;
225 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::SkipWaitTimeForInstanceTermination', @_);
226 return $self->caller->do_call($self, $call_object);
227 }
228 sub StopDeployment {
229 my $self = shift;
230 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::StopDeployment', @_);
231 return $self->caller->do_call($self, $call_object);
232 }
233 sub TagResource {
234 my $self = shift;
235 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::TagResource', @_);
236 return $self->caller->do_call($self, $call_object);
237 }
238 sub UntagResource {
239 my $self = shift;
240 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::UntagResource', @_);
241 return $self->caller->do_call($self, $call_object);
242 }
243 sub UpdateApplication {
244 my $self = shift;
245 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::UpdateApplication', @_);
246 return $self->caller->do_call($self, $call_object);
247 }
248 sub UpdateDeploymentGroup {
249 my $self = shift;
250 my $call_object = $self->new_with_coercions('Paws::CodeDeploy::UpdateDeploymentGroup', @_);
251 return $self->caller->do_call($self, $call_object);
252 }
253
254 sub ListAllApplicationRevisions {
255 my $self = shift;
256  
257 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
258 my $result = $self->ListApplicationRevisions(@_);
259 my $next_result = $result;
260  
261 if (not defined $callback) {
262 while ($next_result->nextToken) {
263 $next_result = $self->ListApplicationRevisions(@_, nextToken => $next_result->nextToken);
264 push @{ $result->revisions }, @{ $next_result->revisions };
265 }
266 return $result;
267 } else {
268 while ($result->nextToken) {
269 $callback->($_ => 'revisions') foreach (@{ $result->revisions });
270 $result = $self->ListApplicationRevisions(@_, nextToken => $result->nextToken);
271 }
272 $callback->($_ => 'revisions') foreach (@{ $result->revisions });
273 }
274  
275 return undef
276 }
277 sub ListAllApplications {
278 my $self = shift;
279  
280 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
281 my $result = $self->ListApplications(@_);
282 my $next_result = $result;
283  
284 if (not defined $callback) {
285 while ($next_result->nextToken) {
286 $next_result = $self->ListApplications(@_, nextToken => $next_result->nextToken);
287 push @{ $result->applications }, @{ $next_result->applications };
288 }
289 return $result;
290 } else {
291 while ($result->nextToken) {
292 $callback->($_ => 'applications') foreach (@{ $result->applications });
293 $result = $self->ListApplications(@_, nextToken => $result->nextToken);
294 }
295 $callback->($_ => 'applications') foreach (@{ $result->applications });
296 }
297  
298 return undef
299 }
300 sub ListAllDeploymentConfigs {
301 my $self = shift;
302  
303 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
304 my $result = $self->ListDeploymentConfigs(@_);
305 my $next_result = $result;
306  
307 if (not defined $callback) {
308 while ($next_result->nextToken) {
309 $next_result = $self->ListDeploymentConfigs(@_, nextToken => $next_result->nextToken);
310 push @{ $result->deploymentConfigsList }, @{ $next_result->deploymentConfigsList };
311 }
312 return $result;
313 } else {
314 while ($result->nextToken) {
315 $callback->($_ => 'deploymentConfigsList') foreach (@{ $result->deploymentConfigsList });
316 $result = $self->ListDeploymentConfigs(@_, nextToken => $result->nextToken);
317 }
318 $callback->($_ => 'deploymentConfigsList') foreach (@{ $result->deploymentConfigsList });
319 }
320  
321 return undef
322 }
323 sub ListAllDeploymentGroups {
324 my $self = shift;
325  
326 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
327 my $result = $self->ListDeploymentGroups(@_);
328 my $next_result = $result;
329  
330 if (not defined $callback) {
331 while ($next_result->nextToken) {
332 $next_result = $self->ListDeploymentGroups(@_, nextToken => $next_result->nextToken);
333 push @{ $result->deploymentGroups }, @{ $next_result->deploymentGroups };
334 }
335 return $result;
336 } else {
337 while ($result->nextToken) {
338 $callback->($_ => 'deploymentGroups') foreach (@{ $result->deploymentGroups });
339 $result = $self->ListDeploymentGroups(@_, nextToken => $result->nextToken);
340 }
341 $callback->($_ => 'deploymentGroups') foreach (@{ $result->deploymentGroups });
342 }
343  
344 return undef
345 }
346 sub ListAllDeploymentInstances {
347 my $self = shift;
348  
349 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
350 my $result = $self->ListDeploymentInstances(@_);
351 my $next_result = $result;
352  
353 if (not defined $callback) {
354 while ($next_result->nextToken) {
355 $next_result = $self->ListDeploymentInstances(@_, nextToken => $next_result->nextToken);
356 push @{ $result->instancesList }, @{ $next_result->instancesList };
357 }
358 return $result;
359 } else {
360 while ($result->nextToken) {
361 $callback->($_ => 'instancesList') foreach (@{ $result->instancesList });
362 $result = $self->ListDeploymentInstances(@_, nextToken => $result->nextToken);
363 }
364 $callback->($_ => 'instancesList') foreach (@{ $result->instancesList });
365 }
366  
367 return undef
368 }
369 sub ListAllDeployments {
370 my $self = shift;
371  
372 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
373 my $result = $self->ListDeployments(@_);
374 my $next_result = $result;
375  
376 if (not defined $callback) {
377 while ($next_result->nextToken) {
378 $next_result = $self->ListDeployments(@_, nextToken => $next_result->nextToken);
379 push @{ $result->deployments }, @{ $next_result->deployments };
380 }
381 return $result;
382 } else {
383 while ($result->nextToken) {
384 $callback->($_ => 'deployments') foreach (@{ $result->deployments });
385 $result = $self->ListDeployments(@_, nextToken => $result->nextToken);
386 }
387 $callback->($_ => 'deployments') foreach (@{ $result->deployments });
388 }
389  
390 return undef
391 }
392 sub ListAllDeploymentTargets {
393 my $self = shift;
394  
395 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
396 my $result = $self->ListDeploymentTargets(@_);
397 my $next_result = $result;
398  
399 if (not defined $callback) {
400 while ($next_result->nextToken) {
401 $next_result = $self->ListDeploymentTargets(@_, nextToken => $next_result->nextToken);
402 push @{ $result->targetIds }, @{ $next_result->targetIds };
403 }
404 return $result;
405 } else {
406 while ($result->nextToken) {
407 $callback->($_ => 'targetIds') foreach (@{ $result->targetIds });
408 $result = $self->ListDeploymentTargets(@_, nextToken => $result->nextToken);
409 }
410 $callback->($_ => 'targetIds') foreach (@{ $result->targetIds });
411 }
412  
413 return undef
414 }
415 sub ListAllGitHubAccountTokenNames {
416 my $self = shift;
417  
418 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
419 my $result = $self->ListGitHubAccountTokenNames(@_);
420 my $next_result = $result;
421  
422 if (not defined $callback) {
423 while ($next_result->nextToken) {
424 $next_result = $self->ListGitHubAccountTokenNames(@_, nextToken => $next_result->nextToken);
425 push @{ $result->tokenNameList }, @{ $next_result->tokenNameList };
426 }
427 return $result;
428 } else {
429 while ($result->nextToken) {
430 $callback->($_ => 'tokenNameList') foreach (@{ $result->tokenNameList });
431 $result = $self->ListGitHubAccountTokenNames(@_, nextToken => $result->nextToken);
432 }
433 $callback->($_ => 'tokenNameList') foreach (@{ $result->tokenNameList });
434 }
435  
436 return undef
437 }
438 sub ListAllOnPremisesInstances {
439 my $self = shift;
440  
441 my $callback = shift @_ if (ref($_[0]) eq 'CODE');
442 my $result = $self->ListOnPremisesInstances(@_);
443 my $next_result = $result;
444  
445 if (not defined $callback) {
446 while ($next_result->nextToken) {
447 $next_result = $self->ListOnPremisesInstances(@_, nextToken => $next_result->nextToken);
448 push @{ $result->instanceNames }, @{ $next_result->instanceNames };
449 }
450 return $result;
451 } else {
452 while ($result->nextToken) {
453 $callback->($_ => 'instanceNames') foreach (@{ $result->instanceNames });
454 $result = $self->ListOnPremisesInstances(@_, nextToken => $result->nextToken);
455 }
456 $callback->($_ => 'instanceNames') foreach (@{ $result->instanceNames });
457 }
458  
459 return undef
460 }
461  
462  
463 sub operations { qw/AddTagsToOnPremisesInstances BatchGetApplicationRevisions BatchGetApplications BatchGetDeploymentGroups BatchGetDeploymentInstances BatchGetDeployments BatchGetDeploymentTargets BatchGetOnPremisesInstances ContinueDeployment CreateApplication CreateDeployment CreateDeploymentConfig CreateDeploymentGroup DeleteApplication DeleteDeploymentConfig DeleteDeploymentGroup DeleteGitHubAccountToken DeleteResourcesByExternalId DeregisterOnPremisesInstance GetApplication GetApplicationRevision GetDeployment GetDeploymentConfig GetDeploymentGroup GetDeploymentInstance GetDeploymentTarget GetOnPremisesInstance ListApplicationRevisions ListApplications ListDeploymentConfigs ListDeploymentGroups ListDeploymentInstances ListDeployments ListDeploymentTargets ListGitHubAccountTokenNames ListOnPremisesInstances ListTagsForResource PutLifecycleEventHookExecutionStatus RegisterApplicationRevision RegisterOnPremisesInstance RemoveTagsFromOnPremisesInstances SkipWaitTimeForInstanceTermination StopDeployment TagResource UntagResource UpdateApplication UpdateDeploymentGroup / }
464  
465 1;
466  
467 ### main pod documentation begin ###
468  
469 =head1 NAME
470  
471 Paws::CodeDeploy - Perl Interface to AWS AWS CodeDeploy
472  
473 =head1 SYNOPSIS
474  
475 use Paws;
476  
477 my $obj = Paws->service('CodeDeploy');
478 my $res = $obj->Method(
479 Arg1 => $val1,
480 Arg2 => [ 'V1', 'V2' ],
481 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
482 # of the arguments type
483 Arg3 => { Att1 => 'Val1' },
484 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
485 # the constructor of the arguments type
486 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
487 );
488  
489 =head1 DESCRIPTION
490  
491 AWS CodeDeploy
492  
493 AWS CodeDeploy is a deployment service that automates application
494 deployments to Amazon EC2 instances, on-premises instances running in
495 your own facility, serverless AWS Lambda functions, or applications in
496 an Amazon ECS service.
497  
498 You can deploy a nearly unlimited variety of application content, such
499 as an updated Lambda function, updated applications in an Amazon ECS
500 service, code, web and configuration files, executables, packages,
501 scripts, multimedia files, and so on. AWS CodeDeploy can deploy
502 application content stored in Amazon S3 buckets, GitHub repositories,
503 or Bitbucket repositories. You do not need to make changes to your
504 existing code before you can use AWS CodeDeploy.
505  
506 AWS CodeDeploy makes it easier for you to rapidly release new features,
507 helps you avoid downtime during application deployment, and handles the
508 complexity of updating your applications, without many of the risks
509 associated with error-prone manual deployments.
510  
511 B<AWS CodeDeploy Components>
512  
513 Use the information in this guide to help you work with the following
514 AWS CodeDeploy components:
515  
516 =over
517  
518 =item *
519  
520 B<Application>: A name that uniquely identifies the application you
521 want to deploy. AWS CodeDeploy uses this name, which functions as a
522 container, to ensure the correct combination of revision, deployment
523 configuration, and deployment group are referenced during a deployment.
524  
525 =item *
526  
527 B<Deployment group>: A set of individual instances, CodeDeploy Lambda
528 deployment configuration settings, or an Amazon ECS service and network
529 details. A Lambda deployment group specifies how to route traffic to a
530 new version of a Lambda function. An Amazon ECS deployment group
531 specifies the service created in Amazon ECS to deploy, a load balancer,
532 and a listener to reroute production traffic to an updated
533 containerized application. An EC2/On-premises deployment group contains
534 individually tagged instances, Amazon EC2 instances in Amazon EC2 Auto
535 Scaling groups, or both. All deployment groups can specify optional
536 trigger, alarm, and rollback settings.
537  
538 =item *
539  
540 B<Deployment configuration>: A set of deployment rules and deployment
541 success and failure conditions used by AWS CodeDeploy during a
542 deployment.
543  
544 =item *
545  
546 B<Deployment>: The process and the components used when updating a
547 Lambda function, a containerized application in an Amazon ECS service,
548 or of installing content on one or more instances.
549  
550 =item *
551  
552 B<Application revisions>: For an AWS Lambda deployment, this is an
553 AppSpec file that specifies the Lambda function to be updated and one
554 or more functions to validate deployment lifecycle events. For an
555 Amazon ECS deployment, this is an AppSpec file that specifies the
556 Amazon ECS task definition, container, and port where production
557 traffic is rerouted. For an EC2/On-premises deployment, this is an
558 archive file that contains source contentE<mdash>source code, webpages,
559 executable files, and deployment scriptsE<mdash>along with an AppSpec
560 file. Revisions are stored in Amazon S3 buckets or GitHub repositories.
561 For Amazon S3, a revision is uniquely identified by its Amazon S3
562 object key and its ETag, version, or both. For GitHub, a revision is
563 uniquely identified by its commit ID.
564  
565 =back
566  
567 This guide also contains information to help you get details about the
568 instances in your deployments, to make on-premises instances available
569 for AWS CodeDeploy deployments, to get details about a Lambda function
570 deployment, and to get details about Amazon ECS service deployments.
571  
572 B<AWS CodeDeploy Information Resources>
573  
574 =over
575  
576 =item *
577  
578 AWS CodeDeploy User Guide
579 (https://docs.aws.amazon.com/codedeploy/latest/userguide)
580  
581 =item *
582  
583 AWS CodeDeploy API Reference Guide
584 (https://docs.aws.amazon.com/codedeploy/latest/APIReference/)
585  
586 =item *
587  
588 AWS CLI Reference for AWS CodeDeploy
589 (https://docs.aws.amazon.com/cli/latest/reference/deploy/index.html)
590  
591 =item *
592  
593 AWS CodeDeploy Developer Forum
594 (https://forums.aws.amazon.com/forum.jspa?forumID=179)
595  
596 =back
597  
598  
599 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/codedeploy-2014-10-06>
600  
601  
602 =head1 METHODS
603  
604 =head2 AddTagsToOnPremisesInstances
605  
606 =over
607  
608 =item InstanceNames => ArrayRef[Str|Undef]
609  
610 =item Tags => ArrayRef[L<Paws::CodeDeploy::Tag>]
611  
612  
613 =back
614  
615 Each argument is described in detail in: L<Paws::CodeDeploy::AddTagsToOnPremisesInstances>
616  
617 Returns: nothing
618  
619 Adds tags to on-premises instances.
620  
621  
622 =head2 BatchGetApplicationRevisions
623  
624 =over
625  
626 =item ApplicationName => Str
627  
628 =item Revisions => ArrayRef[L<Paws::CodeDeploy::RevisionLocation>]
629  
630  
631 =back
632  
633 Each argument is described in detail in: L<Paws::CodeDeploy::BatchGetApplicationRevisions>
634  
635 Returns: a L<Paws::CodeDeploy::BatchGetApplicationRevisionsOutput> instance
636  
637 Gets information about one or more application revisions. The maximum
638 number of application revisions that can be returned is 25.
639  
640  
641 =head2 BatchGetApplications
642  
643 =over
644  
645 =item ApplicationNames => ArrayRef[Str|Undef]
646  
647  
648 =back
649  
650 Each argument is described in detail in: L<Paws::CodeDeploy::BatchGetApplications>
651  
652 Returns: a L<Paws::CodeDeploy::BatchGetApplicationsOutput> instance
653  
654 Gets information about one or more applications. The maximum number of
655 applications that can be returned is 100.
656  
657  
658 =head2 BatchGetDeploymentGroups
659  
660 =over
661  
662 =item ApplicationName => Str
663  
664 =item DeploymentGroupNames => ArrayRef[Str|Undef]
665  
666  
667 =back
668  
669 Each argument is described in detail in: L<Paws::CodeDeploy::BatchGetDeploymentGroups>
670  
671 Returns: a L<Paws::CodeDeploy::BatchGetDeploymentGroupsOutput> instance
672  
673 Gets information about one or more deployment groups.
674  
675  
676 =head2 BatchGetDeploymentInstances
677  
678 =over
679  
680 =item DeploymentId => Str
681  
682 =item InstanceIds => ArrayRef[Str|Undef]
683  
684  
685 =back
686  
687 Each argument is described in detail in: L<Paws::CodeDeploy::BatchGetDeploymentInstances>
688  
689 Returns: a L<Paws::CodeDeploy::BatchGetDeploymentInstancesOutput> instance
690  
691 This method works, but is deprecated. Use C<BatchGetDeploymentTargets>
692 instead.
693  
694 Returns an array of one or more instances associated with a deployment.
695 This method works with EC2/On-premises and AWS Lambda compute
696 platforms. The newer C<BatchGetDeploymentTargets> works with all
697 compute platforms. The maximum number of instances that can be returned
698 is 25.
699  
700  
701 =head2 BatchGetDeployments
702  
703 =over
704  
705 =item DeploymentIds => ArrayRef[Str|Undef]
706  
707  
708 =back
709  
710 Each argument is described in detail in: L<Paws::CodeDeploy::BatchGetDeployments>
711  
712 Returns: a L<Paws::CodeDeploy::BatchGetDeploymentsOutput> instance
713  
714 Gets information about one or more deployments. The maximum number of
715 deployments that can be returned is 25.
716  
717  
718 =head2 BatchGetDeploymentTargets
719  
720 =over
721  
722 =item [DeploymentId => Str]
723  
724 =item [TargetIds => ArrayRef[Str|Undef]]
725  
726  
727 =back
728  
729 Each argument is described in detail in: L<Paws::CodeDeploy::BatchGetDeploymentTargets>
730  
731 Returns: a L<Paws::CodeDeploy::BatchGetDeploymentTargetsOutput> instance
732  
733 Returns an array of one or more targets associated with a deployment.
734 This method works with all compute types and should be used instead of
735 the deprecated C<BatchGetDeploymentInstances>. The maximum number of
736 targets that can be returned is 25.
737  
738 The type of targets returned depends on the deployment's compute
739 platform or deployment method:
740  
741 =over
742  
743 =item *
744  
745 B<EC2/On-premises>: Information about EC2 instance targets.
746  
747 =item *
748  
749 B<AWS Lambda>: Information about Lambda functions targets.
750  
751 =item *
752  
753 B<Amazon ECS>: Information about Amazon ECS service targets.
754  
755 =item *
756  
757 B<CloudFormation>: Information about targets of blue/green deployments
758 initiated by a CloudFormation stack update.
759  
760 =back
761  
762  
763  
764 =head2 BatchGetOnPremisesInstances
765  
766 =over
767  
768 =item InstanceNames => ArrayRef[Str|Undef]
769  
770  
771 =back
772  
773 Each argument is described in detail in: L<Paws::CodeDeploy::BatchGetOnPremisesInstances>
774  
775 Returns: a L<Paws::CodeDeploy::BatchGetOnPremisesInstancesOutput> instance
776  
777 Gets information about one or more on-premises instances. The maximum
778 number of on-premises instances that can be returned is 25.
779  
780  
781 =head2 ContinueDeployment
782  
783 =over
784  
785 =item [DeploymentId => Str]
786  
787 =item [DeploymentWaitType => Str]
788  
789  
790 =back
791  
792 Each argument is described in detail in: L<Paws::CodeDeploy::ContinueDeployment>
793  
794 Returns: nothing
795  
796 For a blue/green deployment, starts the process of rerouting traffic
797 from instances in the original environment to instances in the
798 replacement environment without waiting for a specified wait time to
799 elapse. (Traffic rerouting, which is achieved by registering instances
800 in the replacement environment with the load balancer, can start as
801 soon as all instances have a status of Ready.)
802  
803  
804 =head2 CreateApplication
805  
806 =over
807  
808 =item ApplicationName => Str
809  
810 =item [ComputePlatform => Str]
811  
812 =item [Tags => ArrayRef[L<Paws::CodeDeploy::Tag>]]
813  
814  
815 =back
816  
817 Each argument is described in detail in: L<Paws::CodeDeploy::CreateApplication>
818  
819 Returns: a L<Paws::CodeDeploy::CreateApplicationOutput> instance
820  
821 Creates an application.
822  
823  
824 =head2 CreateDeployment
825  
826 =over
827  
828 =item ApplicationName => Str
829  
830 =item [AutoRollbackConfiguration => L<Paws::CodeDeploy::AutoRollbackConfiguration>]
831  
832 =item [DeploymentConfigName => Str]
833  
834 =item [DeploymentGroupName => Str]
835  
836 =item [Description => Str]
837  
838 =item [FileExistsBehavior => Str]
839  
840 =item [IgnoreApplicationStopFailures => Bool]
841  
842 =item [Revision => L<Paws::CodeDeploy::RevisionLocation>]
843  
844 =item [TargetInstances => L<Paws::CodeDeploy::TargetInstances>]
845  
846 =item [UpdateOutdatedInstancesOnly => Bool]
847  
848  
849 =back
850  
851 Each argument is described in detail in: L<Paws::CodeDeploy::CreateDeployment>
852  
853 Returns: a L<Paws::CodeDeploy::CreateDeploymentOutput> instance
854  
855 Deploys an application revision through the specified deployment group.
856  
857  
858 =head2 CreateDeploymentConfig
859  
860 =over
861  
862 =item DeploymentConfigName => Str
863  
864 =item [ComputePlatform => Str]
865  
866 =item [MinimumHealthyHosts => L<Paws::CodeDeploy::MinimumHealthyHosts>]
867  
868 =item [TrafficRoutingConfig => L<Paws::CodeDeploy::TrafficRoutingConfig>]
869  
870  
871 =back
872  
873 Each argument is described in detail in: L<Paws::CodeDeploy::CreateDeploymentConfig>
874  
875 Returns: a L<Paws::CodeDeploy::CreateDeploymentConfigOutput> instance
876  
877 Creates a deployment configuration.
878  
879  
880 =head2 CreateDeploymentGroup
881  
882 =over
883  
884 =item ApplicationName => Str
885  
886 =item DeploymentGroupName => Str
887  
888 =item ServiceRoleArn => Str
889  
890 =item [AlarmConfiguration => L<Paws::CodeDeploy::AlarmConfiguration>]
891  
892 =item [AutoRollbackConfiguration => L<Paws::CodeDeploy::AutoRollbackConfiguration>]
893  
894 =item [AutoScalingGroups => ArrayRef[Str|Undef]]
895  
896 =item [BlueGreenDeploymentConfiguration => L<Paws::CodeDeploy::BlueGreenDeploymentConfiguration>]
897  
898 =item [DeploymentConfigName => Str]
899  
900 =item [DeploymentStyle => L<Paws::CodeDeploy::DeploymentStyle>]
901  
902 =item [Ec2TagFilters => ArrayRef[L<Paws::CodeDeploy::EC2TagFilter>]]
903  
904 =item [Ec2TagSet => L<Paws::CodeDeploy::EC2TagSet>]
905  
906 =item [EcsServices => ArrayRef[L<Paws::CodeDeploy::ECSService>]]
907  
908 =item [LoadBalancerInfo => L<Paws::CodeDeploy::LoadBalancerInfo>]
909  
910 =item [OnPremisesInstanceTagFilters => ArrayRef[L<Paws::CodeDeploy::TagFilter>]]
911  
912 =item [OnPremisesTagSet => L<Paws::CodeDeploy::OnPremisesTagSet>]
913  
914 =item [OutdatedInstancesStrategy => Str]
915  
916 =item [Tags => ArrayRef[L<Paws::CodeDeploy::Tag>]]
917  
918 =item [TriggerConfigurations => ArrayRef[L<Paws::CodeDeploy::TriggerConfig>]]
919  
920  
921 =back
922  
923 Each argument is described in detail in: L<Paws::CodeDeploy::CreateDeploymentGroup>
924  
925 Returns: a L<Paws::CodeDeploy::CreateDeploymentGroupOutput> instance
926  
927 Creates a deployment group to which application revisions are deployed.
928  
929  
930 =head2 DeleteApplication
931  
932 =over
933  
934 =item ApplicationName => Str
935  
936  
937 =back
938  
939 Each argument is described in detail in: L<Paws::CodeDeploy::DeleteApplication>
940  
941 Returns: nothing
942  
943 Deletes an application.
944  
945  
946 =head2 DeleteDeploymentConfig
947  
948 =over
949  
950 =item DeploymentConfigName => Str
951  
952  
953 =back
954  
955 Each argument is described in detail in: L<Paws::CodeDeploy::DeleteDeploymentConfig>
956  
957 Returns: nothing
958  
959 Deletes a deployment configuration.
960  
961 A deployment configuration cannot be deleted if it is currently in use.
962 Predefined configurations cannot be deleted.
963  
964  
965 =head2 DeleteDeploymentGroup
966  
967 =over
968  
969 =item ApplicationName => Str
970  
971 =item DeploymentGroupName => Str
972  
973  
974 =back
975  
976 Each argument is described in detail in: L<Paws::CodeDeploy::DeleteDeploymentGroup>
977  
978 Returns: a L<Paws::CodeDeploy::DeleteDeploymentGroupOutput> instance
979  
980 Deletes a deployment group.
981  
982  
983 =head2 DeleteGitHubAccountToken
984  
985 =over
986  
987 =item [TokenName => Str]
988  
989  
990 =back
991  
992 Each argument is described in detail in: L<Paws::CodeDeploy::DeleteGitHubAccountToken>
993  
994 Returns: a L<Paws::CodeDeploy::DeleteGitHubAccountTokenOutput> instance
995  
996 Deletes a GitHub account connection.
997  
998  
999 =head2 DeleteResourcesByExternalId
1000  
1001 =over
1002  
1003 =item [ExternalId => Str]
1004  
1005  
1006 =back
1007  
1008 Each argument is described in detail in: L<Paws::CodeDeploy::DeleteResourcesByExternalId>
1009  
1010 Returns: a L<Paws::CodeDeploy::DeleteResourcesByExternalIdOutput> instance
1011  
1012 Deletes resources linked to an external ID.
1013  
1014  
1015 =head2 DeregisterOnPremisesInstance
1016  
1017 =over
1018  
1019 =item InstanceName => Str
1020  
1021  
1022 =back
1023  
1024 Each argument is described in detail in: L<Paws::CodeDeploy::DeregisterOnPremisesInstance>
1025  
1026 Returns: nothing
1027  
1028 Deregisters an on-premises instance.
1029  
1030  
1031 =head2 GetApplication
1032  
1033 =over
1034  
1035 =item ApplicationName => Str
1036  
1037  
1038 =back
1039  
1040 Each argument is described in detail in: L<Paws::CodeDeploy::GetApplication>
1041  
1042 Returns: a L<Paws::CodeDeploy::GetApplicationOutput> instance
1043  
1044 Gets information about an application.
1045  
1046  
1047 =head2 GetApplicationRevision
1048  
1049 =over
1050  
1051 =item ApplicationName => Str
1052  
1053 =item Revision => L<Paws::CodeDeploy::RevisionLocation>
1054  
1055  
1056 =back
1057  
1058 Each argument is described in detail in: L<Paws::CodeDeploy::GetApplicationRevision>
1059  
1060 Returns: a L<Paws::CodeDeploy::GetApplicationRevisionOutput> instance
1061  
1062 Gets information about an application revision.
1063  
1064  
1065 =head2 GetDeployment
1066  
1067 =over
1068  
1069 =item DeploymentId => Str
1070  
1071  
1072 =back
1073  
1074 Each argument is described in detail in: L<Paws::CodeDeploy::GetDeployment>
1075  
1076 Returns: a L<Paws::CodeDeploy::GetDeploymentOutput> instance
1077  
1078 Gets information about a deployment.
1079  
1080 The C<content> property of the C<appSpecContent> object in the returned
1081 revision is always null. Use C<GetApplicationRevision> and the
1082 C<sha256> property of the returned C<appSpecContent> object to get the
1083 content of the deploymentE<rsquo>s AppSpec file.
1084  
1085  
1086 =head2 GetDeploymentConfig
1087  
1088 =over
1089  
1090 =item DeploymentConfigName => Str
1091  
1092  
1093 =back
1094  
1095 Each argument is described in detail in: L<Paws::CodeDeploy::GetDeploymentConfig>
1096  
1097 Returns: a L<Paws::CodeDeploy::GetDeploymentConfigOutput> instance
1098  
1099 Gets information about a deployment configuration.
1100  
1101  
1102 =head2 GetDeploymentGroup
1103  
1104 =over
1105  
1106 =item ApplicationName => Str
1107  
1108 =item DeploymentGroupName => Str
1109  
1110  
1111 =back
1112  
1113 Each argument is described in detail in: L<Paws::CodeDeploy::GetDeploymentGroup>
1114  
1115 Returns: a L<Paws::CodeDeploy::GetDeploymentGroupOutput> instance
1116  
1117 Gets information about a deployment group.
1118  
1119  
1120 =head2 GetDeploymentInstance
1121  
1122 =over
1123  
1124 =item DeploymentId => Str
1125  
1126 =item InstanceId => Str
1127  
1128  
1129 =back
1130  
1131 Each argument is described in detail in: L<Paws::CodeDeploy::GetDeploymentInstance>
1132  
1133 Returns: a L<Paws::CodeDeploy::GetDeploymentInstanceOutput> instance
1134  
1135 Gets information about an instance as part of a deployment.
1136  
1137  
1138 =head2 GetDeploymentTarget
1139  
1140 =over
1141  
1142 =item [DeploymentId => Str]
1143  
1144 =item [TargetId => Str]
1145  
1146  
1147 =back
1148  
1149 Each argument is described in detail in: L<Paws::CodeDeploy::GetDeploymentTarget>
1150  
1151 Returns: a L<Paws::CodeDeploy::GetDeploymentTargetOutput> instance
1152  
1153 Returns information about a deployment target.
1154  
1155  
1156 =head2 GetOnPremisesInstance
1157  
1158 =over
1159  
1160 =item InstanceName => Str
1161  
1162  
1163 =back
1164  
1165 Each argument is described in detail in: L<Paws::CodeDeploy::GetOnPremisesInstance>
1166  
1167 Returns: a L<Paws::CodeDeploy::GetOnPremisesInstanceOutput> instance
1168  
1169 Gets information about an on-premises instance.
1170  
1171  
1172 =head2 ListApplicationRevisions
1173  
1174 =over
1175  
1176 =item ApplicationName => Str
1177  
1178 =item [Deployed => Str]
1179  
1180 =item [NextToken => Str]
1181  
1182 =item [S3Bucket => Str]
1183  
1184 =item [S3KeyPrefix => Str]
1185  
1186 =item [SortBy => Str]
1187  
1188 =item [SortOrder => Str]
1189  
1190  
1191 =back
1192  
1193 Each argument is described in detail in: L<Paws::CodeDeploy::ListApplicationRevisions>
1194  
1195 Returns: a L<Paws::CodeDeploy::ListApplicationRevisionsOutput> instance
1196  
1197 Lists information about revisions for an application.
1198  
1199  
1200 =head2 ListApplications
1201  
1202 =over
1203  
1204 =item [NextToken => Str]
1205  
1206  
1207 =back
1208  
1209 Each argument is described in detail in: L<Paws::CodeDeploy::ListApplications>
1210  
1211 Returns: a L<Paws::CodeDeploy::ListApplicationsOutput> instance
1212  
1213 Lists the applications registered with the IAM user or AWS account.
1214  
1215  
1216 =head2 ListDeploymentConfigs
1217  
1218 =over
1219  
1220 =item [NextToken => Str]
1221  
1222  
1223 =back
1224  
1225 Each argument is described in detail in: L<Paws::CodeDeploy::ListDeploymentConfigs>
1226  
1227 Returns: a L<Paws::CodeDeploy::ListDeploymentConfigsOutput> instance
1228  
1229 Lists the deployment configurations with the IAM user or AWS account.
1230  
1231  
1232 =head2 ListDeploymentGroups
1233  
1234 =over
1235  
1236 =item ApplicationName => Str
1237  
1238 =item [NextToken => Str]
1239  
1240  
1241 =back
1242  
1243 Each argument is described in detail in: L<Paws::CodeDeploy::ListDeploymentGroups>
1244  
1245 Returns: a L<Paws::CodeDeploy::ListDeploymentGroupsOutput> instance
1246  
1247 Lists the deployment groups for an application registered with the IAM
1248 user or AWS account.
1249  
1250  
1251 =head2 ListDeploymentInstances
1252  
1253 =over
1254  
1255 =item DeploymentId => Str
1256  
1257 =item [InstanceStatusFilter => ArrayRef[Str|Undef]]
1258  
1259 =item [InstanceTypeFilter => ArrayRef[Str|Undef]]
1260  
1261 =item [NextToken => Str]
1262  
1263  
1264 =back
1265  
1266 Each argument is described in detail in: L<Paws::CodeDeploy::ListDeploymentInstances>
1267  
1268 Returns: a L<Paws::CodeDeploy::ListDeploymentInstancesOutput> instance
1269  
1270 The newer C<BatchGetDeploymentTargets> should be used instead because
1271 it works with all compute types. C<ListDeploymentInstances> throws an
1272 exception if it is used with a compute platform other than
1273 EC2/On-premises or AWS Lambda.
1274  
1275 Lists the instance for a deployment associated with the IAM user or AWS
1276 account.
1277  
1278  
1279 =head2 ListDeployments
1280  
1281 =over
1282  
1283 =item [ApplicationName => Str]
1284  
1285 =item [CreateTimeRange => L<Paws::CodeDeploy::TimeRange>]
1286  
1287 =item [DeploymentGroupName => Str]
1288  
1289 =item [ExternalId => Str]
1290  
1291 =item [IncludeOnlyStatuses => ArrayRef[Str|Undef]]
1292  
1293 =item [NextToken => Str]
1294  
1295  
1296 =back
1297  
1298 Each argument is described in detail in: L<Paws::CodeDeploy::ListDeployments>
1299  
1300 Returns: a L<Paws::CodeDeploy::ListDeploymentsOutput> instance
1301  
1302 Lists the deployments in a deployment group for an application
1303 registered with the IAM user or AWS account.
1304  
1305  
1306 =head2 ListDeploymentTargets
1307  
1308 =over
1309  
1310 =item [DeploymentId => Str]
1311  
1312 =item [NextToken => Str]
1313  
1314 =item [TargetFilters => L<Paws::CodeDeploy::TargetFilters>]
1315  
1316  
1317 =back
1318  
1319 Each argument is described in detail in: L<Paws::CodeDeploy::ListDeploymentTargets>
1320  
1321 Returns: a L<Paws::CodeDeploy::ListDeploymentTargetsOutput> instance
1322  
1323 Returns an array of target IDs that are associated a deployment.
1324  
1325  
1326 =head2 ListGitHubAccountTokenNames
1327  
1328 =over
1329  
1330 =item [NextToken => Str]
1331  
1332  
1333 =back
1334  
1335 Each argument is described in detail in: L<Paws::CodeDeploy::ListGitHubAccountTokenNames>
1336  
1337 Returns: a L<Paws::CodeDeploy::ListGitHubAccountTokenNamesOutput> instance
1338  
1339 Lists the names of stored connections to GitHub accounts.
1340  
1341  
1342 =head2 ListOnPremisesInstances
1343  
1344 =over
1345  
1346 =item [NextToken => Str]
1347  
1348 =item [RegistrationStatus => Str]
1349  
1350 =item [TagFilters => ArrayRef[L<Paws::CodeDeploy::TagFilter>]]
1351  
1352  
1353 =back
1354  
1355 Each argument is described in detail in: L<Paws::CodeDeploy::ListOnPremisesInstances>
1356  
1357 Returns: a L<Paws::CodeDeploy::ListOnPremisesInstancesOutput> instance
1358  
1359 Gets a list of names for one or more on-premises instances.
1360  
1361 Unless otherwise specified, both registered and deregistered
1362 on-premises instance names are listed. To list only registered or
1363 deregistered on-premises instance names, use the registration status
1364 parameter.
1365  
1366  
1367 =head2 ListTagsForResource
1368  
1369 =over
1370  
1371 =item ResourceArn => Str
1372  
1373 =item [NextToken => Str]
1374  
1375  
1376 =back
1377  
1378 Each argument is described in detail in: L<Paws::CodeDeploy::ListTagsForResource>
1379  
1380 Returns: a L<Paws::CodeDeploy::ListTagsForResourceOutput> instance
1381  
1382 Returns a list of tags for the resource identified by a specified
1383 Amazon Resource Name (ARN). Tags are used to organize and categorize
1384 your CodeDeploy resources.
1385  
1386  
1387 =head2 PutLifecycleEventHookExecutionStatus
1388  
1389 =over
1390  
1391 =item [DeploymentId => Str]
1392  
1393 =item [LifecycleEventHookExecutionId => Str]
1394  
1395 =item [Status => Str]
1396  
1397  
1398 =back
1399  
1400 Each argument is described in detail in: L<Paws::CodeDeploy::PutLifecycleEventHookExecutionStatus>
1401  
1402 Returns: a L<Paws::CodeDeploy::PutLifecycleEventHookExecutionStatusOutput> instance
1403  
1404 Sets the result of a Lambda validation function. The function validates
1405 lifecycle hooks during a deployment that uses the AWS Lambda or Amazon
1406 ECS compute platform. For AWS Lambda deployments, the available
1407 lifecycle hooks are C<BeforeAllowTraffic> and C<AfterAllowTraffic>. For
1408 Amazon ECS deployments, the available lifecycle hooks are
1409 C<BeforeInstall>, C<AfterInstall>, C<AfterAllowTestTraffic>,
1410 C<BeforeAllowTraffic>, and C<AfterAllowTraffic>. Lambda validation
1411 functions return C<Succeeded> or C<Failed>. For more information, see
1412 AppSpec 'hooks' Section for an AWS Lambda Deployment
1413 (https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-hooks.html#appspec-hooks-lambda)
1414 and AppSpec 'hooks' Section for an Amazon ECS Deployment
1415 (https://docs.aws.amazon.com/codedeploy/latest/userguide/reference-appspec-file-structure-hooks.html#appspec-hooks-ecs).
1416  
1417  
1418 =head2 RegisterApplicationRevision
1419  
1420 =over
1421  
1422 =item ApplicationName => Str
1423  
1424 =item Revision => L<Paws::CodeDeploy::RevisionLocation>
1425  
1426 =item [Description => Str]
1427  
1428  
1429 =back
1430  
1431 Each argument is described in detail in: L<Paws::CodeDeploy::RegisterApplicationRevision>
1432  
1433 Returns: nothing
1434  
1435 Registers with AWS CodeDeploy a revision for the specified application.
1436  
1437  
1438 =head2 RegisterOnPremisesInstance
1439  
1440 =over
1441  
1442 =item InstanceName => Str
1443  
1444 =item [IamSessionArn => Str]
1445  
1446 =item [IamUserArn => Str]
1447  
1448  
1449 =back
1450  
1451 Each argument is described in detail in: L<Paws::CodeDeploy::RegisterOnPremisesInstance>
1452  
1453 Returns: nothing
1454  
1455 Registers an on-premises instance.
1456  
1457 Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in
1458 the request. You cannot use both.
1459  
1460  
1461 =head2 RemoveTagsFromOnPremisesInstances
1462  
1463 =over
1464  
1465 =item InstanceNames => ArrayRef[Str|Undef]
1466  
1467 =item Tags => ArrayRef[L<Paws::CodeDeploy::Tag>]
1468  
1469  
1470 =back
1471  
1472 Each argument is described in detail in: L<Paws::CodeDeploy::RemoveTagsFromOnPremisesInstances>
1473  
1474 Returns: nothing
1475  
1476 Removes one or more tags from one or more on-premises instances.
1477  
1478  
1479 =head2 SkipWaitTimeForInstanceTermination
1480  
1481 =over
1482  
1483 =item [DeploymentId => Str]
1484  
1485  
1486 =back
1487  
1488 Each argument is described in detail in: L<Paws::CodeDeploy::SkipWaitTimeForInstanceTermination>
1489  
1490 Returns: nothing
1491  
1492 In a blue/green deployment, overrides any specified wait time and
1493 starts terminating instances immediately after the traffic routing is
1494 complete.
1495  
1496  
1497 =head2 StopDeployment
1498  
1499 =over
1500  
1501 =item DeploymentId => Str
1502  
1503 =item [AutoRollbackEnabled => Bool]
1504  
1505  
1506 =back
1507  
1508 Each argument is described in detail in: L<Paws::CodeDeploy::StopDeployment>
1509  
1510 Returns: a L<Paws::CodeDeploy::StopDeploymentOutput> instance
1511  
1512 Attempts to stop an ongoing deployment.
1513  
1514  
1515 =head2 TagResource
1516  
1517 =over
1518  
1519 =item ResourceArn => Str
1520  
1521 =item Tags => ArrayRef[L<Paws::CodeDeploy::Tag>]
1522  
1523  
1524 =back
1525  
1526 Each argument is described in detail in: L<Paws::CodeDeploy::TagResource>
1527  
1528 Returns: a L<Paws::CodeDeploy::TagResourceOutput> instance
1529  
1530 Associates the list of tags in the input C<Tags> parameter with the
1531 resource identified by the C<ResourceArn> input parameter.
1532  
1533  
1534 =head2 UntagResource
1535  
1536 =over
1537  
1538 =item ResourceArn => Str
1539  
1540 =item TagKeys => ArrayRef[Str|Undef]
1541  
1542  
1543 =back
1544  
1545 Each argument is described in detail in: L<Paws::CodeDeploy::UntagResource>
1546  
1547 Returns: a L<Paws::CodeDeploy::UntagResourceOutput> instance
1548  
1549 Disassociates a resource from a list of tags. The resource is
1550 identified by the C<ResourceArn> input parameter. The tags are
1551 identified by the list of keys in the C<TagKeys> input parameter.
1552  
1553  
1554 =head2 UpdateApplication
1555  
1556 =over
1557  
1558 =item [ApplicationName => Str]
1559  
1560 =item [NewApplicationName => Str]
1561  
1562  
1563 =back
1564  
1565 Each argument is described in detail in: L<Paws::CodeDeploy::UpdateApplication>
1566  
1567 Returns: nothing
1568  
1569 Changes the name of an application.
1570  
1571  
1572 =head2 UpdateDeploymentGroup
1573  
1574 =over
1575  
1576 =item ApplicationName => Str
1577  
1578 =item CurrentDeploymentGroupName => Str
1579  
1580 =item [AlarmConfiguration => L<Paws::CodeDeploy::AlarmConfiguration>]
1581  
1582 =item [AutoRollbackConfiguration => L<Paws::CodeDeploy::AutoRollbackConfiguration>]
1583  
1584 =item [AutoScalingGroups => ArrayRef[Str|Undef]]
1585  
1586 =item [BlueGreenDeploymentConfiguration => L<Paws::CodeDeploy::BlueGreenDeploymentConfiguration>]
1587  
1588 =item [DeploymentConfigName => Str]
1589  
1590 =item [DeploymentStyle => L<Paws::CodeDeploy::DeploymentStyle>]
1591  
1592 =item [Ec2TagFilters => ArrayRef[L<Paws::CodeDeploy::EC2TagFilter>]]
1593  
1594 =item [Ec2TagSet => L<Paws::CodeDeploy::EC2TagSet>]
1595  
1596 =item [EcsServices => ArrayRef[L<Paws::CodeDeploy::ECSService>]]
1597  
1598 =item [LoadBalancerInfo => L<Paws::CodeDeploy::LoadBalancerInfo>]
1599  
1600 =item [NewDeploymentGroupName => Str]
1601  
1602 =item [OnPremisesInstanceTagFilters => ArrayRef[L<Paws::CodeDeploy::TagFilter>]]
1603  
1604 =item [OnPremisesTagSet => L<Paws::CodeDeploy::OnPremisesTagSet>]
1605  
1606 =item [OutdatedInstancesStrategy => Str]
1607  
1608 =item [ServiceRoleArn => Str]
1609  
1610 =item [TriggerConfigurations => ArrayRef[L<Paws::CodeDeploy::TriggerConfig>]]
1611  
1612  
1613 =back
1614  
1615 Each argument is described in detail in: L<Paws::CodeDeploy::UpdateDeploymentGroup>
1616  
1617 Returns: a L<Paws::CodeDeploy::UpdateDeploymentGroupOutput> instance
1618  
1619 Changes information about a deployment group.
1620  
1621  
1622  
1623  
1624 =head1 PAGINATORS
1625  
1626 Paginator methods are helpers that repetively call methods that return partial results
1627  
1628 =head2 ListAllApplicationRevisions(sub { },ApplicationName => Str, [Deployed => Str, NextToken => Str, S3Bucket => Str, S3KeyPrefix => Str, SortBy => Str, SortOrder => Str])
1629  
1630 =head2 ListAllApplicationRevisions(ApplicationName => Str, [Deployed => Str, NextToken => Str, S3Bucket => Str, S3KeyPrefix => Str, SortBy => Str, SortOrder => Str])
1631  
1632  
1633 If passed a sub as first parameter, it will call the sub for each element found in :
1634  
1635 - revisions, passing the object as the first parameter, and the string 'revisions' as the second parameter
1636  
1637 If not, it will return a a L<Paws::CodeDeploy::ListApplicationRevisionsOutput> 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.
1638  
1639  
1640 =head2 ListAllApplications(sub { },[NextToken => Str])
1641  
1642 =head2 ListAllApplications([NextToken => Str])
1643  
1644  
1645 If passed a sub as first parameter, it will call the sub for each element found in :
1646  
1647 - applications, passing the object as the first parameter, and the string 'applications' as the second parameter
1648  
1649 If not, it will return a a L<Paws::CodeDeploy::ListApplicationsOutput> 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.
1650  
1651  
1652 =head2 ListAllDeploymentConfigs(sub { },[NextToken => Str])
1653  
1654 =head2 ListAllDeploymentConfigs([NextToken => Str])
1655  
1656  
1657 If passed a sub as first parameter, it will call the sub for each element found in :
1658  
1659 - deploymentConfigsList, passing the object as the first parameter, and the string 'deploymentConfigsList' as the second parameter
1660  
1661 If not, it will return a a L<Paws::CodeDeploy::ListDeploymentConfigsOutput> 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.
1662  
1663  
1664 =head2 ListAllDeploymentGroups(sub { },ApplicationName => Str, [NextToken => Str])
1665  
1666 =head2 ListAllDeploymentGroups(ApplicationName => Str, [NextToken => Str])
1667  
1668  
1669 If passed a sub as first parameter, it will call the sub for each element found in :
1670  
1671 - deploymentGroups, passing the object as the first parameter, and the string 'deploymentGroups' as the second parameter
1672  
1673 If not, it will return a a L<Paws::CodeDeploy::ListDeploymentGroupsOutput> 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.
1674  
1675  
1676 =head2 ListAllDeploymentInstances(sub { },DeploymentId => Str, [InstanceStatusFilter => ArrayRef[Str|Undef], InstanceTypeFilter => ArrayRef[Str|Undef], NextToken => Str])
1677  
1678 =head2 ListAllDeploymentInstances(DeploymentId => Str, [InstanceStatusFilter => ArrayRef[Str|Undef], InstanceTypeFilter => ArrayRef[Str|Undef], NextToken => Str])
1679  
1680  
1681 If passed a sub as first parameter, it will call the sub for each element found in :
1682  
1683 - instancesList, passing the object as the first parameter, and the string 'instancesList' as the second parameter
1684  
1685 If not, it will return a a L<Paws::CodeDeploy::ListDeploymentInstancesOutput> 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.
1686  
1687  
1688 =head2 ListAllDeployments(sub { },[ApplicationName => Str, CreateTimeRange => L<Paws::CodeDeploy::TimeRange>, DeploymentGroupName => Str, ExternalId => Str, IncludeOnlyStatuses => ArrayRef[Str|Undef], NextToken => Str])
1689  
1690 =head2 ListAllDeployments([ApplicationName => Str, CreateTimeRange => L<Paws::CodeDeploy::TimeRange>, DeploymentGroupName => Str, ExternalId => Str, IncludeOnlyStatuses => ArrayRef[Str|Undef], NextToken => Str])
1691  
1692  
1693 If passed a sub as first parameter, it will call the sub for each element found in :
1694  
1695 - deployments, passing the object as the first parameter, and the string 'deployments' as the second parameter
1696  
1697 If not, it will return a a L<Paws::CodeDeploy::ListDeploymentsOutput> 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.
1698  
1699  
1700 =head2 ListAllDeploymentTargets(sub { },[DeploymentId => Str, NextToken => Str, TargetFilters => L<Paws::CodeDeploy::TargetFilters>])
1701  
1702 =head2 ListAllDeploymentTargets([DeploymentId => Str, NextToken => Str, TargetFilters => L<Paws::CodeDeploy::TargetFilters>])
1703  
1704  
1705 If passed a sub as first parameter, it will call the sub for each element found in :
1706  
1707 - targetIds, passing the object as the first parameter, and the string 'targetIds' as the second parameter
1708  
1709 If not, it will return a a L<Paws::CodeDeploy::ListDeploymentTargetsOutput> 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.
1710  
1711  
1712 =head2 ListAllGitHubAccountTokenNames(sub { },[NextToken => Str])
1713  
1714 =head2 ListAllGitHubAccountTokenNames([NextToken => Str])
1715  
1716  
1717 If passed a sub as first parameter, it will call the sub for each element found in :
1718  
1719 - tokenNameList, passing the object as the first parameter, and the string 'tokenNameList' as the second parameter
1720  
1721 If not, it will return a a L<Paws::CodeDeploy::ListGitHubAccountTokenNamesOutput> 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.
1722  
1723  
1724 =head2 ListAllOnPremisesInstances(sub { },[NextToken => Str, RegistrationStatus => Str, TagFilters => ArrayRef[L<Paws::CodeDeploy::TagFilter>]])
1725  
1726 =head2 ListAllOnPremisesInstances([NextToken => Str, RegistrationStatus => Str, TagFilters => ArrayRef[L<Paws::CodeDeploy::TagFilter>]])
1727  
1728  
1729 If passed a sub as first parameter, it will call the sub for each element found in :
1730  
1731 - instanceNames, passing the object as the first parameter, and the string 'instanceNames' as the second parameter
1732  
1733 If not, it will return a a L<Paws::CodeDeploy::ListOnPremisesInstancesOutput> 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.
1734  
1735  
1736  
1737  
1738  
1739 =head1 SEE ALSO
1740  
1741 This service class forms part of L<Paws>
1742  
1743 =head1 BUGS and CONTRIBUTIONS
1744  
1745 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
1746  
1747 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
1748  
1749 =cut
1750