File Coverage

blib/lib/Paws/CodeDeploy.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::CodeDeploy;
2 1     1   2447 use Moose;
  1         2  
  1         8  
3             sub service { 'codedeploy' }
4             sub version { '2014-10-06' }
5             sub target_prefix { 'CodeDeploy_20141006' }
6             sub json_version { "1.1" }
7             has max_attempts => (is => 'ro', isa => 'Int', default => 5);
8             has retry => (is => 'ro', isa => 'HashRef', default => sub {
9             { base => 'rand', type => 'exponential', growth_factor => 2 }
10             });
11             has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
12             ] });
13              
14             with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::JsonCaller', 'Paws::Net::JsonResponse';
15              
16            
17             sub AddTagsToOnPremisesInstances {
18             my $self = shift;
19             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::AddTagsToOnPremisesInstances', @_);
20             return $self->caller->do_call($self, $call_object);
21             }
22             sub BatchGetApplicationRevisions {
23             my $self = shift;
24             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::BatchGetApplicationRevisions', @_);
25             return $self->caller->do_call($self, $call_object);
26             }
27             sub BatchGetApplications {
28             my $self = shift;
29             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::BatchGetApplications', @_);
30             return $self->caller->do_call($self, $call_object);
31             }
32             sub BatchGetDeploymentGroups {
33             my $self = shift;
34             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::BatchGetDeploymentGroups', @_);
35             return $self->caller->do_call($self, $call_object);
36             }
37             sub BatchGetDeploymentInstances {
38             my $self = shift;
39             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::BatchGetDeploymentInstances', @_);
40             return $self->caller->do_call($self, $call_object);
41             }
42             sub BatchGetDeployments {
43             my $self = shift;
44             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::BatchGetDeployments', @_);
45             return $self->caller->do_call($self, $call_object);
46             }
47             sub BatchGetOnPremisesInstances {
48             my $self = shift;
49             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::BatchGetOnPremisesInstances', @_);
50             return $self->caller->do_call($self, $call_object);
51             }
52             sub ContinueDeployment {
53             my $self = shift;
54             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::ContinueDeployment', @_);
55             return $self->caller->do_call($self, $call_object);
56             }
57             sub CreateApplication {
58             my $self = shift;
59             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::CreateApplication', @_);
60             return $self->caller->do_call($self, $call_object);
61             }
62             sub CreateDeployment {
63             my $self = shift;
64             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::CreateDeployment', @_);
65             return $self->caller->do_call($self, $call_object);
66             }
67             sub CreateDeploymentConfig {
68             my $self = shift;
69             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::CreateDeploymentConfig', @_);
70             return $self->caller->do_call($self, $call_object);
71             }
72             sub CreateDeploymentGroup {
73             my $self = shift;
74             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::CreateDeploymentGroup', @_);
75             return $self->caller->do_call($self, $call_object);
76             }
77             sub DeleteApplication {
78             my $self = shift;
79             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::DeleteApplication', @_);
80             return $self->caller->do_call($self, $call_object);
81             }
82             sub DeleteDeploymentConfig {
83             my $self = shift;
84             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::DeleteDeploymentConfig', @_);
85             return $self->caller->do_call($self, $call_object);
86             }
87             sub DeleteDeploymentGroup {
88             my $self = shift;
89             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::DeleteDeploymentGroup', @_);
90             return $self->caller->do_call($self, $call_object);
91             }
92             sub DeregisterOnPremisesInstance {
93             my $self = shift;
94             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::DeregisterOnPremisesInstance', @_);
95             return $self->caller->do_call($self, $call_object);
96             }
97             sub GetApplication {
98             my $self = shift;
99             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::GetApplication', @_);
100             return $self->caller->do_call($self, $call_object);
101             }
102             sub GetApplicationRevision {
103             my $self = shift;
104             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::GetApplicationRevision', @_);
105             return $self->caller->do_call($self, $call_object);
106             }
107             sub GetDeployment {
108             my $self = shift;
109             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::GetDeployment', @_);
110             return $self->caller->do_call($self, $call_object);
111             }
112             sub GetDeploymentConfig {
113             my $self = shift;
114             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::GetDeploymentConfig', @_);
115             return $self->caller->do_call($self, $call_object);
116             }
117             sub GetDeploymentGroup {
118             my $self = shift;
119             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::GetDeploymentGroup', @_);
120             return $self->caller->do_call($self, $call_object);
121             }
122             sub GetDeploymentInstance {
123             my $self = shift;
124             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::GetDeploymentInstance', @_);
125             return $self->caller->do_call($self, $call_object);
126             }
127             sub GetOnPremisesInstance {
128             my $self = shift;
129             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::GetOnPremisesInstance', @_);
130             return $self->caller->do_call($self, $call_object);
131             }
132             sub ListApplicationRevisions {
133             my $self = shift;
134             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::ListApplicationRevisions', @_);
135             return $self->caller->do_call($self, $call_object);
136             }
137             sub ListApplications {
138             my $self = shift;
139             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::ListApplications', @_);
140             return $self->caller->do_call($self, $call_object);
141             }
142             sub ListDeploymentConfigs {
143             my $self = shift;
144             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::ListDeploymentConfigs', @_);
145             return $self->caller->do_call($self, $call_object);
146             }
147             sub ListDeploymentGroups {
148             my $self = shift;
149             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::ListDeploymentGroups', @_);
150             return $self->caller->do_call($self, $call_object);
151             }
152             sub ListDeploymentInstances {
153             my $self = shift;
154             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::ListDeploymentInstances', @_);
155             return $self->caller->do_call($self, $call_object);
156             }
157             sub ListDeployments {
158             my $self = shift;
159             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::ListDeployments', @_);
160             return $self->caller->do_call($self, $call_object);
161             }
162             sub ListGitHubAccountTokenNames {
163             my $self = shift;
164             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::ListGitHubAccountTokenNames', @_);
165             return $self->caller->do_call($self, $call_object);
166             }
167             sub ListOnPremisesInstances {
168             my $self = shift;
169             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::ListOnPremisesInstances', @_);
170             return $self->caller->do_call($self, $call_object);
171             }
172             sub RegisterApplicationRevision {
173             my $self = shift;
174             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::RegisterApplicationRevision', @_);
175             return $self->caller->do_call($self, $call_object);
176             }
177             sub RegisterOnPremisesInstance {
178             my $self = shift;
179             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::RegisterOnPremisesInstance', @_);
180             return $self->caller->do_call($self, $call_object);
181             }
182             sub RemoveTagsFromOnPremisesInstances {
183             my $self = shift;
184             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::RemoveTagsFromOnPremisesInstances', @_);
185             return $self->caller->do_call($self, $call_object);
186             }
187             sub SkipWaitTimeForInstanceTermination {
188             my $self = shift;
189             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::SkipWaitTimeForInstanceTermination', @_);
190             return $self->caller->do_call($self, $call_object);
191             }
192             sub StopDeployment {
193             my $self = shift;
194             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::StopDeployment', @_);
195             return $self->caller->do_call($self, $call_object);
196             }
197             sub UpdateApplication {
198             my $self = shift;
199             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::UpdateApplication', @_);
200             return $self->caller->do_call($self, $call_object);
201             }
202             sub UpdateDeploymentGroup {
203             my $self = shift;
204             my $call_object = $self->new_with_coercions('Paws::CodeDeploy::UpdateDeploymentGroup', @_);
205             return $self->caller->do_call($self, $call_object);
206             }
207            
208             sub ListAllApplicationRevisions {
209             my $self = shift;
210              
211             my $callback = shift @_ if (ref($_[0]) eq 'CODE');
212             my $result = $self->ListApplicationRevisions(@_);
213             my $next_result = $result;
214              
215             if (not defined $callback) {
216             while ($next_result->nextToken) {
217             $next_result = $self->ListApplicationRevisions(@_, nextToken => $next_result->nextToken);
218             push @{ $result->revisions }, @{ $next_result->revisions };
219             }
220             return $result;
221             } else {
222             while ($result->nextToken) {
223             $callback->($_ => 'revisions') foreach (@{ $result->revisions });
224             $result = $self->ListApplicationRevisions(@_, nextToken => $result->nextToken);
225             }
226             $callback->($_ => 'revisions') foreach (@{ $result->revisions });
227             }
228              
229             return undef
230             }
231             sub ListAllApplications {
232             my $self = shift;
233              
234             my $callback = shift @_ if (ref($_[0]) eq 'CODE');
235             my $result = $self->ListApplications(@_);
236             my $next_result = $result;
237              
238             if (not defined $callback) {
239             while ($next_result->nextToken) {
240             $next_result = $self->ListApplications(@_, nextToken => $next_result->nextToken);
241             push @{ $result->applications }, @{ $next_result->applications };
242             }
243             return $result;
244             } else {
245             while ($result->nextToken) {
246             $callback->($_ => 'applications') foreach (@{ $result->applications });
247             $result = $self->ListApplications(@_, nextToken => $result->nextToken);
248             }
249             $callback->($_ => 'applications') foreach (@{ $result->applications });
250             }
251              
252             return undef
253             }
254             sub ListAllDeploymentConfigs {
255             my $self = shift;
256              
257             my $callback = shift @_ if (ref($_[0]) eq 'CODE');
258             my $result = $self->ListDeploymentConfigs(@_);
259             my $next_result = $result;
260              
261             if (not defined $callback) {
262             while ($next_result->nextToken) {
263             $next_result = $self->ListDeploymentConfigs(@_, nextToken => $next_result->nextToken);
264             push @{ $result->deploymentConfigsList }, @{ $next_result->deploymentConfigsList };
265             }
266             return $result;
267             } else {
268             while ($result->nextToken) {
269             $callback->($_ => 'deploymentConfigsList') foreach (@{ $result->deploymentConfigsList });
270             $result = $self->ListDeploymentConfigs(@_, nextToken => $result->nextToken);
271             }
272             $callback->($_ => 'deploymentConfigsList') foreach (@{ $result->deploymentConfigsList });
273             }
274              
275             return undef
276             }
277             sub ListAllDeploymentGroups {
278             my $self = shift;
279              
280             my $callback = shift @_ if (ref($_[0]) eq 'CODE');
281             my $result = $self->ListDeploymentGroups(@_);
282             my $next_result = $result;
283              
284             if (not defined $callback) {
285             while ($next_result->nextToken) {
286             $next_result = $self->ListDeploymentGroups(@_, nextToken => $next_result->nextToken);
287             push @{ $result->deploymentGroups }, @{ $next_result->deploymentGroups };
288             }
289             return $result;
290             } else {
291             while ($result->nextToken) {
292             $callback->($_ => 'deploymentGroups') foreach (@{ $result->deploymentGroups });
293             $result = $self->ListDeploymentGroups(@_, nextToken => $result->nextToken);
294             }
295             $callback->($_ => 'deploymentGroups') foreach (@{ $result->deploymentGroups });
296             }
297              
298             return undef
299             }
300             sub ListAllDeploymentInstances {
301             my $self = shift;
302              
303             my $callback = shift @_ if (ref($_[0]) eq 'CODE');
304             my $result = $self->ListDeploymentInstances(@_);
305             my $next_result = $result;
306              
307             if (not defined $callback) {
308             while ($next_result->nextToken) {
309             $next_result = $self->ListDeploymentInstances(@_, nextToken => $next_result->nextToken);
310             push @{ $result->instancesList }, @{ $next_result->instancesList };
311             }
312             return $result;
313             } else {
314             while ($result->nextToken) {
315             $callback->($_ => 'instancesList') foreach (@{ $result->instancesList });
316             $result = $self->ListDeploymentInstances(@_, nextToken => $result->nextToken);
317             }
318             $callback->($_ => 'instancesList') foreach (@{ $result->instancesList });
319             }
320              
321             return undef
322             }
323             sub ListAllDeployments {
324             my $self = shift;
325              
326             my $callback = shift @_ if (ref($_[0]) eq 'CODE');
327             my $result = $self->ListDeployments(@_);
328             my $next_result = $result;
329              
330             if (not defined $callback) {
331             while ($next_result->nextToken) {
332             $next_result = $self->ListDeployments(@_, nextToken => $next_result->nextToken);
333             push @{ $result->deployments }, @{ $next_result->deployments };
334             }
335             return $result;
336             } else {
337             while ($result->nextToken) {
338             $callback->($_ => 'deployments') foreach (@{ $result->deployments });
339             $result = $self->ListDeployments(@_, nextToken => $result->nextToken);
340             }
341             $callback->($_ => 'deployments') foreach (@{ $result->deployments });
342             }
343              
344             return undef
345             }
346              
347              
348             sub operations { qw/AddTagsToOnPremisesInstances BatchGetApplicationRevisions BatchGetApplications BatchGetDeploymentGroups BatchGetDeploymentInstances BatchGetDeployments BatchGetOnPremisesInstances ContinueDeployment CreateApplication CreateDeployment CreateDeploymentConfig CreateDeploymentGroup DeleteApplication DeleteDeploymentConfig DeleteDeploymentGroup DeregisterOnPremisesInstance GetApplication GetApplicationRevision GetDeployment GetDeploymentConfig GetDeploymentGroup GetDeploymentInstance GetOnPremisesInstance ListApplicationRevisions ListApplications ListDeploymentConfigs ListDeploymentGroups ListDeploymentInstances ListDeployments ListGitHubAccountTokenNames ListOnPremisesInstances RegisterApplicationRevision RegisterOnPremisesInstance RemoveTagsFromOnPremisesInstances SkipWaitTimeForInstanceTermination StopDeployment UpdateApplication UpdateDeploymentGroup / }
349              
350             1;
351              
352             ### main pod documentation begin ###
353              
354             =head1 NAME
355              
356             Paws::CodeDeploy - Perl Interface to AWS AWS CodeDeploy
357              
358             =head1 SYNOPSIS
359              
360             use Paws;
361              
362             my $obj = Paws->service('CodeDeploy');
363             my $res = $obj->Method(
364             Arg1 => $val1,
365             Arg2 => [ 'V1', 'V2' ],
366             # if Arg3 is an object, the HashRef will be used as arguments to the constructor
367             # of the arguments type
368             Arg3 => { Att1 => 'Val1' },
369             # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
370             # the constructor of the arguments type
371             Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
372             );
373              
374             =head1 DESCRIPTION
375              
376             AWS CodeDeploy
377              
378             AWS CodeDeploy is a deployment service that automates application
379             deployments to Amazon EC2 instances or on-premises instances running in
380             your own facility.
381              
382             You can deploy a nearly unlimited variety of application content, such
383             as code, web and configuration files, executables, packages, scripts,
384             multimedia files, and so on. AWS CodeDeploy can deploy application
385             content stored in Amazon S3 buckets, GitHub repositories, or Bitbucket
386             repositories. You do not need to make changes to your existing code
387             before you can use AWS CodeDeploy.
388              
389             AWS CodeDeploy makes it easier for you to rapidly release new features,
390             helps you avoid downtime during application deployment, and handles the
391             complexity of updating your applications, without many of the risks
392             associated with error-prone manual deployments.
393              
394             B<AWS CodeDeploy Components>
395              
396             Use the information in this guide to help you work with the following
397             AWS CodeDeploy components:
398              
399             =over
400              
401             =item *
402              
403             B<Application>: A name that uniquely identifies the application you
404             want to deploy. AWS CodeDeploy uses this name, which functions as a
405             container, to ensure the correct combination of revision, deployment
406             configuration, and deployment group are referenced during a deployment.
407              
408             =item *
409              
410             B<Deployment group>: A set of individual instances. A deployment group
411             contains individually tagged instances, Amazon EC2 instances in Auto
412             Scaling groups, or both.
413              
414             =item *
415              
416             B<Deployment configuration>: A set of deployment rules and deployment
417             success and failure conditions used by AWS CodeDeploy during a
418             deployment.
419              
420             =item *
421              
422             B<Deployment>: The process, and the components involved in the process,
423             of installing content on one or more instances.
424              
425             =item *
426              
427             B<Application revisions>: An archive file containing source
428             contentE<mdash>source code, web pages, executable files, and deployment
429             scriptsE<mdash>along with an application specification file (AppSpec
430             file). Revisions are stored in Amazon S3 buckets or GitHub
431             repositories. For Amazon S3, a revision is uniquely identified by its
432             Amazon S3 object key and its ETag, version, or both. For GitHub, a
433             revision is uniquely identified by its commit ID.
434              
435             =back
436              
437             This guide also contains information to help you get details about the
438             instances in your deployments and to make on-premises instances
439             available for AWS CodeDeploy deployments.
440              
441             B<AWS CodeDeploy Information Resources>
442              
443             =over
444              
445             =item *
446              
447             AWS CodeDeploy User Guide
448              
449             =item *
450              
451             AWS CodeDeploy API Reference Guide
452              
453             =item *
454              
455             AWS CLI Reference for AWS CodeDeploy
456              
457             =item *
458              
459             AWS CodeDeploy Developer Forum
460              
461             =back
462              
463              
464             =head1 METHODS
465              
466             =head2 AddTagsToOnPremisesInstances(InstanceNames => ArrayRef[Str|Undef], Tags => ArrayRef[L<Paws::CodeDeploy::Tag>])
467              
468             Each argument is described in detail in: L<Paws::CodeDeploy::AddTagsToOnPremisesInstances>
469              
470             Returns: nothing
471              
472             Adds tags to on-premises instances.
473              
474              
475             =head2 BatchGetApplicationRevisions(ApplicationName => Str, Revisions => ArrayRef[L<Paws::CodeDeploy::RevisionLocation>])
476              
477             Each argument is described in detail in: L<Paws::CodeDeploy::BatchGetApplicationRevisions>
478              
479             Returns: a L<Paws::CodeDeploy::BatchGetApplicationRevisionsOutput> instance
480              
481             Gets information about one or more application revisions.
482              
483              
484             =head2 BatchGetApplications([ApplicationNames => ArrayRef[Str|Undef]])
485              
486             Each argument is described in detail in: L<Paws::CodeDeploy::BatchGetApplications>
487              
488             Returns: a L<Paws::CodeDeploy::BatchGetApplicationsOutput> instance
489              
490             Gets information about one or more applications.
491              
492              
493             =head2 BatchGetDeploymentGroups(ApplicationName => Str, DeploymentGroupNames => ArrayRef[Str|Undef])
494              
495             Each argument is described in detail in: L<Paws::CodeDeploy::BatchGetDeploymentGroups>
496              
497             Returns: a L<Paws::CodeDeploy::BatchGetDeploymentGroupsOutput> instance
498              
499             Gets information about one or more deployment groups.
500              
501              
502             =head2 BatchGetDeploymentInstances(DeploymentId => Str, InstanceIds => ArrayRef[Str|Undef])
503              
504             Each argument is described in detail in: L<Paws::CodeDeploy::BatchGetDeploymentInstances>
505              
506             Returns: a L<Paws::CodeDeploy::BatchGetDeploymentInstancesOutput> instance
507              
508             Gets information about one or more instance that are part of a
509             deployment group.
510              
511              
512             =head2 BatchGetDeployments([DeploymentIds => ArrayRef[Str|Undef]])
513              
514             Each argument is described in detail in: L<Paws::CodeDeploy::BatchGetDeployments>
515              
516             Returns: a L<Paws::CodeDeploy::BatchGetDeploymentsOutput> instance
517              
518             Gets information about one or more deployments.
519              
520              
521             =head2 BatchGetOnPremisesInstances([InstanceNames => ArrayRef[Str|Undef]])
522              
523             Each argument is described in detail in: L<Paws::CodeDeploy::BatchGetOnPremisesInstances>
524              
525             Returns: a L<Paws::CodeDeploy::BatchGetOnPremisesInstancesOutput> instance
526              
527             Gets information about one or more on-premises instances.
528              
529              
530             =head2 ContinueDeployment([DeploymentId => Str])
531              
532             Each argument is described in detail in: L<Paws::CodeDeploy::ContinueDeployment>
533              
534             Returns: nothing
535              
536             For a blue/green deployment, starts the process of rerouting traffic
537             from instances in the original environment to instances in the
538             replacement environment without waiting for a specified wait time to
539             elapse. (Traffic rerouting, which is achieved by registering instances
540             in the replacement environment with the load balancer, can start as
541             soon as all instances have a status of Ready.)
542              
543              
544             =head2 CreateApplication(ApplicationName => Str)
545              
546             Each argument is described in detail in: L<Paws::CodeDeploy::CreateApplication>
547              
548             Returns: a L<Paws::CodeDeploy::CreateApplicationOutput> instance
549              
550             Creates an application.
551              
552              
553             =head2 CreateDeployment(ApplicationName => Str, [AutoRollbackConfiguration => L<Paws::CodeDeploy::AutoRollbackConfiguration>, DeploymentConfigName => Str, DeploymentGroupName => Str, Description => Str, FileExistsBehavior => Str, IgnoreApplicationStopFailures => Bool, Revision => L<Paws::CodeDeploy::RevisionLocation>, TargetInstances => L<Paws::CodeDeploy::TargetInstances>, UpdateOutdatedInstancesOnly => Bool])
554              
555             Each argument is described in detail in: L<Paws::CodeDeploy::CreateDeployment>
556              
557             Returns: a L<Paws::CodeDeploy::CreateDeploymentOutput> instance
558              
559             Deploys an application revision through the specified deployment group.
560              
561              
562             =head2 CreateDeploymentConfig(DeploymentConfigName => Str, [MinimumHealthyHosts => L<Paws::CodeDeploy::MinimumHealthyHosts>])
563              
564             Each argument is described in detail in: L<Paws::CodeDeploy::CreateDeploymentConfig>
565              
566             Returns: a L<Paws::CodeDeploy::CreateDeploymentConfigOutput> instance
567              
568             Creates a deployment configuration.
569              
570              
571             =head2 CreateDeploymentGroup(ApplicationName => Str, DeploymentGroupName => Str, ServiceRoleArn => Str, [AlarmConfiguration => L<Paws::CodeDeploy::AlarmConfiguration>, AutoRollbackConfiguration => L<Paws::CodeDeploy::AutoRollbackConfiguration>, AutoScalingGroups => ArrayRef[Str|Undef], BlueGreenDeploymentConfiguration => L<Paws::CodeDeploy::BlueGreenDeploymentConfiguration>, DeploymentConfigName => Str, DeploymentStyle => L<Paws::CodeDeploy::DeploymentStyle>, Ec2TagFilters => ArrayRef[L<Paws::CodeDeploy::EC2TagFilter>], LoadBalancerInfo => L<Paws::CodeDeploy::LoadBalancerInfo>, OnPremisesInstanceTagFilters => ArrayRef[L<Paws::CodeDeploy::TagFilter>], TriggerConfigurations => ArrayRef[L<Paws::CodeDeploy::TriggerConfig>]])
572              
573             Each argument is described in detail in: L<Paws::CodeDeploy::CreateDeploymentGroup>
574              
575             Returns: a L<Paws::CodeDeploy::CreateDeploymentGroupOutput> instance
576              
577             Creates a deployment group to which application revisions will be
578             deployed.
579              
580              
581             =head2 DeleteApplication(ApplicationName => Str)
582              
583             Each argument is described in detail in: L<Paws::CodeDeploy::DeleteApplication>
584              
585             Returns: nothing
586              
587             Deletes an application.
588              
589              
590             =head2 DeleteDeploymentConfig(DeploymentConfigName => Str)
591              
592             Each argument is described in detail in: L<Paws::CodeDeploy::DeleteDeploymentConfig>
593              
594             Returns: nothing
595              
596             Deletes a deployment configuration.
597              
598             A deployment configuration cannot be deleted if it is currently in use.
599             Predefined configurations cannot be deleted.
600              
601              
602             =head2 DeleteDeploymentGroup(ApplicationName => Str, DeploymentGroupName => Str)
603              
604             Each argument is described in detail in: L<Paws::CodeDeploy::DeleteDeploymentGroup>
605              
606             Returns: a L<Paws::CodeDeploy::DeleteDeploymentGroupOutput> instance
607              
608             Deletes a deployment group.
609              
610              
611             =head2 DeregisterOnPremisesInstance(InstanceName => Str)
612              
613             Each argument is described in detail in: L<Paws::CodeDeploy::DeregisterOnPremisesInstance>
614              
615             Returns: nothing
616              
617             Deregisters an on-premises instance.
618              
619              
620             =head2 GetApplication(ApplicationName => Str)
621              
622             Each argument is described in detail in: L<Paws::CodeDeploy::GetApplication>
623              
624             Returns: a L<Paws::CodeDeploy::GetApplicationOutput> instance
625              
626             Gets information about an application.
627              
628              
629             =head2 GetApplicationRevision(ApplicationName => Str, Revision => L<Paws::CodeDeploy::RevisionLocation>)
630              
631             Each argument is described in detail in: L<Paws::CodeDeploy::GetApplicationRevision>
632              
633             Returns: a L<Paws::CodeDeploy::GetApplicationRevisionOutput> instance
634              
635             Gets information about an application revision.
636              
637              
638             =head2 GetDeployment(DeploymentId => Str)
639              
640             Each argument is described in detail in: L<Paws::CodeDeploy::GetDeployment>
641              
642             Returns: a L<Paws::CodeDeploy::GetDeploymentOutput> instance
643              
644             Gets information about a deployment.
645              
646              
647             =head2 GetDeploymentConfig(DeploymentConfigName => Str)
648              
649             Each argument is described in detail in: L<Paws::CodeDeploy::GetDeploymentConfig>
650              
651             Returns: a L<Paws::CodeDeploy::GetDeploymentConfigOutput> instance
652              
653             Gets information about a deployment configuration.
654              
655              
656             =head2 GetDeploymentGroup(ApplicationName => Str, DeploymentGroupName => Str)
657              
658             Each argument is described in detail in: L<Paws::CodeDeploy::GetDeploymentGroup>
659              
660             Returns: a L<Paws::CodeDeploy::GetDeploymentGroupOutput> instance
661              
662             Gets information about a deployment group.
663              
664              
665             =head2 GetDeploymentInstance(DeploymentId => Str, InstanceId => Str)
666              
667             Each argument is described in detail in: L<Paws::CodeDeploy::GetDeploymentInstance>
668              
669             Returns: a L<Paws::CodeDeploy::GetDeploymentInstanceOutput> instance
670              
671             Gets information about an instance as part of a deployment.
672              
673              
674             =head2 GetOnPremisesInstance(InstanceName => Str)
675              
676             Each argument is described in detail in: L<Paws::CodeDeploy::GetOnPremisesInstance>
677              
678             Returns: a L<Paws::CodeDeploy::GetOnPremisesInstanceOutput> instance
679              
680             Gets information about an on-premises instance.
681              
682              
683             =head2 ListApplicationRevisions(ApplicationName => Str, [Deployed => Str, NextToken => Str, S3Bucket => Str, S3KeyPrefix => Str, SortBy => Str, SortOrder => Str])
684              
685             Each argument is described in detail in: L<Paws::CodeDeploy::ListApplicationRevisions>
686              
687             Returns: a L<Paws::CodeDeploy::ListApplicationRevisionsOutput> instance
688              
689             Lists information about revisions for an application.
690              
691              
692             =head2 ListApplications([NextToken => Str])
693              
694             Each argument is described in detail in: L<Paws::CodeDeploy::ListApplications>
695              
696             Returns: a L<Paws::CodeDeploy::ListApplicationsOutput> instance
697              
698             Lists the applications registered with the applicable IAM user or AWS
699             account.
700              
701              
702             =head2 ListDeploymentConfigs([NextToken => Str])
703              
704             Each argument is described in detail in: L<Paws::CodeDeploy::ListDeploymentConfigs>
705              
706             Returns: a L<Paws::CodeDeploy::ListDeploymentConfigsOutput> instance
707              
708             Lists the deployment configurations with the applicable IAM user or AWS
709             account.
710              
711              
712             =head2 ListDeploymentGroups(ApplicationName => Str, [NextToken => Str])
713              
714             Each argument is described in detail in: L<Paws::CodeDeploy::ListDeploymentGroups>
715              
716             Returns: a L<Paws::CodeDeploy::ListDeploymentGroupsOutput> instance
717              
718             Lists the deployment groups for an application registered with the
719             applicable IAM user or AWS account.
720              
721              
722             =head2 ListDeploymentInstances(DeploymentId => Str, [InstanceStatusFilter => ArrayRef[Str|Undef], InstanceTypeFilter => ArrayRef[Str|Undef], NextToken => Str])
723              
724             Each argument is described in detail in: L<Paws::CodeDeploy::ListDeploymentInstances>
725              
726             Returns: a L<Paws::CodeDeploy::ListDeploymentInstancesOutput> instance
727              
728             Lists the instance for a deployment associated with the applicable IAM
729             user or AWS account.
730              
731              
732             =head2 ListDeployments([ApplicationName => Str, CreateTimeRange => L<Paws::CodeDeploy::TimeRange>, DeploymentGroupName => Str, IncludeOnlyStatuses => ArrayRef[Str|Undef], NextToken => Str])
733              
734             Each argument is described in detail in: L<Paws::CodeDeploy::ListDeployments>
735              
736             Returns: a L<Paws::CodeDeploy::ListDeploymentsOutput> instance
737              
738             Lists the deployments in a deployment group for an application
739             registered with the applicable IAM user or AWS account.
740              
741              
742             =head2 ListGitHubAccountTokenNames([NextToken => Str])
743              
744             Each argument is described in detail in: L<Paws::CodeDeploy::ListGitHubAccountTokenNames>
745              
746             Returns: a L<Paws::CodeDeploy::ListGitHubAccountTokenNamesOutput> instance
747              
748             Lists the names of stored connections to GitHub accounts.
749              
750              
751             =head2 ListOnPremisesInstances([NextToken => Str, RegistrationStatus => Str, TagFilters => ArrayRef[L<Paws::CodeDeploy::TagFilter>]])
752              
753             Each argument is described in detail in: L<Paws::CodeDeploy::ListOnPremisesInstances>
754              
755             Returns: a L<Paws::CodeDeploy::ListOnPremisesInstancesOutput> instance
756              
757             Gets a list of names for one or more on-premises instances.
758              
759             Unless otherwise specified, both registered and deregistered
760             on-premises instance names will be listed. To list only registered or
761             deregistered on-premises instance names, use the registration status
762             parameter.
763              
764              
765             =head2 RegisterApplicationRevision(ApplicationName => Str, Revision => L<Paws::CodeDeploy::RevisionLocation>, [Description => Str])
766              
767             Each argument is described in detail in: L<Paws::CodeDeploy::RegisterApplicationRevision>
768              
769             Returns: nothing
770              
771             Registers with AWS CodeDeploy a revision for the specified application.
772              
773              
774             =head2 RegisterOnPremisesInstance(InstanceName => Str, [IamSessionArn => Str, IamUserArn => Str])
775              
776             Each argument is described in detail in: L<Paws::CodeDeploy::RegisterOnPremisesInstance>
777              
778             Returns: nothing
779              
780             Registers an on-premises instance.
781              
782             Only one IAM ARN (an IAM session ARN or IAM user ARN) is supported in
783             the request. You cannot use both.
784              
785              
786             =head2 RemoveTagsFromOnPremisesInstances(InstanceNames => ArrayRef[Str|Undef], Tags => ArrayRef[L<Paws::CodeDeploy::Tag>])
787              
788             Each argument is described in detail in: L<Paws::CodeDeploy::RemoveTagsFromOnPremisesInstances>
789              
790             Returns: nothing
791              
792             Removes one or more tags from one or more on-premises instances.
793              
794              
795             =head2 SkipWaitTimeForInstanceTermination([DeploymentId => Str])
796              
797             Each argument is described in detail in: L<Paws::CodeDeploy::SkipWaitTimeForInstanceTermination>
798              
799             Returns: nothing
800              
801             In a blue/green deployment, overrides any specified wait time and
802             starts terminating instances immediately after the traffic routing is
803             completed.
804              
805              
806             =head2 StopDeployment(DeploymentId => Str, [AutoRollbackEnabled => Bool])
807              
808             Each argument is described in detail in: L<Paws::CodeDeploy::StopDeployment>
809              
810             Returns: a L<Paws::CodeDeploy::StopDeploymentOutput> instance
811              
812             Attempts to stop an ongoing deployment.
813              
814              
815             =head2 UpdateApplication([ApplicationName => Str, NewApplicationName => Str])
816              
817             Each argument is described in detail in: L<Paws::CodeDeploy::UpdateApplication>
818              
819             Returns: nothing
820              
821             Changes the name of an application.
822              
823              
824             =head2 UpdateDeploymentGroup(ApplicationName => Str, CurrentDeploymentGroupName => Str, [AlarmConfiguration => L<Paws::CodeDeploy::AlarmConfiguration>, AutoRollbackConfiguration => L<Paws::CodeDeploy::AutoRollbackConfiguration>, AutoScalingGroups => ArrayRef[Str|Undef], BlueGreenDeploymentConfiguration => L<Paws::CodeDeploy::BlueGreenDeploymentConfiguration>, DeploymentConfigName => Str, DeploymentStyle => L<Paws::CodeDeploy::DeploymentStyle>, Ec2TagFilters => ArrayRef[L<Paws::CodeDeploy::EC2TagFilter>], LoadBalancerInfo => L<Paws::CodeDeploy::LoadBalancerInfo>, NewDeploymentGroupName => Str, OnPremisesInstanceTagFilters => ArrayRef[L<Paws::CodeDeploy::TagFilter>], ServiceRoleArn => Str, TriggerConfigurations => ArrayRef[L<Paws::CodeDeploy::TriggerConfig>]])
825              
826             Each argument is described in detail in: L<Paws::CodeDeploy::UpdateDeploymentGroup>
827              
828             Returns: a L<Paws::CodeDeploy::UpdateDeploymentGroupOutput> instance
829              
830             Changes information about a deployment group.
831              
832              
833              
834              
835             =head1 PAGINATORS
836              
837             Paginator methods are helpers that repetively call methods that return partial results
838              
839             =head2 ListAllApplicationRevisions(sub { },ApplicationName => Str, [Deployed => Str, NextToken => Str, S3Bucket => Str, S3KeyPrefix => Str, SortBy => Str, SortOrder => Str])
840              
841             =head2 ListAllApplicationRevisions(ApplicationName => Str, [Deployed => Str, NextToken => Str, S3Bucket => Str, S3KeyPrefix => Str, SortBy => Str, SortOrder => Str])
842              
843              
844             If passed a sub as first parameter, it will call the sub for each element found in :
845              
846             - revisions, passing the object as the first parameter, and the string 'revisions' as the second parameter
847              
848             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.
849              
850              
851             =head2 ListAllApplications(sub { },[NextToken => Str])
852              
853             =head2 ListAllApplications([NextToken => Str])
854              
855              
856             If passed a sub as first parameter, it will call the sub for each element found in :
857              
858             - applications, passing the object as the first parameter, and the string 'applications' as the second parameter
859              
860             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.
861              
862              
863             =head2 ListAllDeploymentConfigs(sub { },[NextToken => Str])
864              
865             =head2 ListAllDeploymentConfigs([NextToken => Str])
866              
867              
868             If passed a sub as first parameter, it will call the sub for each element found in :
869              
870             - deploymentConfigsList, passing the object as the first parameter, and the string 'deploymentConfigsList' as the second parameter
871              
872             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.
873              
874              
875             =head2 ListAllDeploymentGroups(sub { },ApplicationName => Str, [NextToken => Str])
876              
877             =head2 ListAllDeploymentGroups(ApplicationName => Str, [NextToken => Str])
878              
879              
880             If passed a sub as first parameter, it will call the sub for each element found in :
881              
882             - deploymentGroups, passing the object as the first parameter, and the string 'deploymentGroups' as the second parameter
883              
884             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.
885              
886              
887             =head2 ListAllDeploymentInstances(sub { },DeploymentId => Str, [InstanceStatusFilter => ArrayRef[Str|Undef], InstanceTypeFilter => ArrayRef[Str|Undef], NextToken => Str])
888              
889             =head2 ListAllDeploymentInstances(DeploymentId => Str, [InstanceStatusFilter => ArrayRef[Str|Undef], InstanceTypeFilter => ArrayRef[Str|Undef], NextToken => Str])
890              
891              
892             If passed a sub as first parameter, it will call the sub for each element found in :
893              
894             - instancesList, passing the object as the first parameter, and the string 'instancesList' as the second parameter
895              
896             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.
897              
898              
899             =head2 ListAllDeployments(sub { },[ApplicationName => Str, CreateTimeRange => L<Paws::CodeDeploy::TimeRange>, DeploymentGroupName => Str, IncludeOnlyStatuses => ArrayRef[Str|Undef], NextToken => Str])
900              
901             =head2 ListAllDeployments([ApplicationName => Str, CreateTimeRange => L<Paws::CodeDeploy::TimeRange>, DeploymentGroupName => Str, IncludeOnlyStatuses => ArrayRef[Str|Undef], NextToken => Str])
902              
903              
904             If passed a sub as first parameter, it will call the sub for each element found in :
905              
906             - deployments, passing the object as the first parameter, and the string 'deployments' as the second parameter
907              
908             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.
909              
910              
911              
912              
913              
914             =head1 SEE ALSO
915              
916             This service class forms part of L<Paws>
917              
918             =head1 BUGS and CONTRIBUTIONS
919              
920             The source code is located here: https://github.com/pplu/aws-sdk-perl
921              
922             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
923              
924             =cut
925