blib/lib/Paws/AppRunner.pm untested

filter: Statementstmt 0.0% 0 / 81 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 29 Podpod 0.0% 0 / 28 totaltotal 0.0% 0 / 138 CC 1 SCAR 6.9
CC
1
Cov
0%
service
2.0
signing_name
2.0
version
2.0
CRAP 2.0
1 package Paws::AppRunner;
2 use Moose;
3 sub service { 'apprunner' }
4 sub signing_name { 'apprunner' }
5 sub version { '2020-05-15' }
6 sub target_prefix { 'AppRunner' }
7 sub json_version { "1.0" }
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 AssociateCustomDomain {
19 my $self = shift;
20 my $call_object = $self->new_with_coercions('Paws::AppRunner::AssociateCustomDomain', @_);
21 return $self->caller->do_call($self, $call_object);
22 }
23 sub CreateAutoScalingConfiguration {
24 my $self = shift;
25 my $call_object = $self->new_with_coercions('Paws::AppRunner::CreateAutoScalingConfiguration', @_);
26 return $self->caller->do_call($self, $call_object);
27 }
28 sub CreateConnection {
29 my $self = shift;
30 my $call_object = $self->new_with_coercions('Paws::AppRunner::CreateConnection', @_);
31 return $self->caller->do_call($self, $call_object);
32 }
33 sub CreateService {
34 my $self = shift;
35 my $call_object = $self->new_with_coercions('Paws::AppRunner::CreateService', @_);
36 return $self->caller->do_call($self, $call_object);
37 }
38 sub DeleteAutoScalingConfiguration {
39 my $self = shift;
40 my $call_object = $self->new_with_coercions('Paws::AppRunner::DeleteAutoScalingConfiguration', @_);
41 return $self->caller->do_call($self, $call_object);
42 }
43 sub DeleteConnection {
44 my $self = shift;
45 my $call_object = $self->new_with_coercions('Paws::AppRunner::DeleteConnection', @_);
46 return $self->caller->do_call($self, $call_object);
47 }
48 sub DeleteService {
49 my $self = shift;
50 my $call_object = $self->new_with_coercions('Paws::AppRunner::DeleteService', @_);
51 return $self->caller->do_call($self, $call_object);
52 }
53 sub DescribeAutoScalingConfiguration {
54 my $self = shift;
55 my $call_object = $self->new_with_coercions('Paws::AppRunner::DescribeAutoScalingConfiguration', @_);
56 return $self->caller->do_call($self, $call_object);
57 }
58 sub DescribeCustomDomains {
59 my $self = shift;
60 my $call_object = $self->new_with_coercions('Paws::AppRunner::DescribeCustomDomains', @_);
61 return $self->caller->do_call($self, $call_object);
62 }
63 sub DescribeService {
64 my $self = shift;
65 my $call_object = $self->new_with_coercions('Paws::AppRunner::DescribeService', @_);
66 return $self->caller->do_call($self, $call_object);
67 }
68 sub DisassociateCustomDomain {
69 my $self = shift;
70 my $call_object = $self->new_with_coercions('Paws::AppRunner::DisassociateCustomDomain', @_);
71 return $self->caller->do_call($self, $call_object);
72 }
73 sub ListAutoScalingConfigurations {
74 my $self = shift;
75 my $call_object = $self->new_with_coercions('Paws::AppRunner::ListAutoScalingConfigurations', @_);
76 return $self->caller->do_call($self, $call_object);
77 }
78 sub ListConnections {
79 my $self = shift;
80 my $call_object = $self->new_with_coercions('Paws::AppRunner::ListConnections', @_);
81 return $self->caller->do_call($self, $call_object);
82 }
83 sub ListOperations {
84 my $self = shift;
85 my $call_object = $self->new_with_coercions('Paws::AppRunner::ListOperations', @_);
86 return $self->caller->do_call($self, $call_object);
87 }
88 sub ListServices {
89 my $self = shift;
90 my $call_object = $self->new_with_coercions('Paws::AppRunner::ListServices', @_);
91 return $self->caller->do_call($self, $call_object);
92 }
93 sub ListTagsForResource {
94 my $self = shift;
95 my $call_object = $self->new_with_coercions('Paws::AppRunner::ListTagsForResource', @_);
96 return $self->caller->do_call($self, $call_object);
97 }
98 sub PauseService {
99 my $self = shift;
100 my $call_object = $self->new_with_coercions('Paws::AppRunner::PauseService', @_);
101 return $self->caller->do_call($self, $call_object);
102 }
103 sub ResumeService {
104 my $self = shift;
105 my $call_object = $self->new_with_coercions('Paws::AppRunner::ResumeService', @_);
106 return $self->caller->do_call($self, $call_object);
107 }
108 sub StartDeployment {
109 my $self = shift;
110 my $call_object = $self->new_with_coercions('Paws::AppRunner::StartDeployment', @_);
111 return $self->caller->do_call($self, $call_object);
112 }
113 sub TagResource {
114 my $self = shift;
115 my $call_object = $self->new_with_coercions('Paws::AppRunner::TagResource', @_);
116 return $self->caller->do_call($self, $call_object);
117 }
118 sub UntagResource {
119 my $self = shift;
120 my $call_object = $self->new_with_coercions('Paws::AppRunner::UntagResource', @_);
121 return $self->caller->do_call($self, $call_object);
122 }
123 sub UpdateService {
124 my $self = shift;
125 my $call_object = $self->new_with_coercions('Paws::AppRunner::UpdateService', @_);
126 return $self->caller->do_call($self, $call_object);
127 }
128
129  
130  
131 sub operations { qw/AssociateCustomDomain CreateAutoScalingConfiguration CreateConnection CreateService DeleteAutoScalingConfiguration DeleteConnection DeleteService DescribeAutoScalingConfiguration DescribeCustomDomains DescribeService DisassociateCustomDomain ListAutoScalingConfigurations ListConnections ListOperations ListServices ListTagsForResource PauseService ResumeService StartDeployment TagResource UntagResource UpdateService / }
132  
133 1;
134  
135 ### main pod documentation begin ###
136  
137 =head1 NAME
138  
139 Paws::AppRunner - Perl Interface to AWS AWS App Runner
140  
141 =head1 SYNOPSIS
142  
143 use Paws;
144  
145 my $obj = Paws->service('AppRunner');
146 my $res = $obj->Method(
147 Arg1 => $val1,
148 Arg2 => [ 'V1', 'V2' ],
149 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
150 # of the arguments type
151 Arg3 => { Att1 => 'Val1' },
152 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
153 # the constructor of the arguments type
154 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
155 );
156  
157 =head1 DESCRIPTION
158  
159 AWS App Runner
160  
161 AWS App Runner is an application service that provides a fast, simple,
162 and cost-effective way to go directly from an existing container image
163 or source code to a running service in the AWS cloud in seconds. You
164 don't need to learn new technologies, decide which compute service to
165 use, or understand how to provision and configure AWS resources.
166  
167 App Runner connects directly to your container registry or source code
168 repository. It provides an automatic delivery pipeline with fully
169 managed operations, high performance, scalability, and security.
170  
171 For more information about App Runner, see the AWS App Runner Developer
172 Guide (https://docs.aws.amazon.com/apprunner/latest/dg/). For release
173 information, see the AWS App Runner Release Notes
174 (https://docs.aws.amazon.com/apprunner/latest/relnotes/).
175  
176 To install the Software Development Kits (SDKs), Integrated Development
177 Environment (IDE) Toolkits, and command line tools that you can use to
178 access the API, see Tools for Amazon Web Services
179 (http://aws.amazon.com/tools/).
180  
181 B<Endpoints>
182  
183 For a list of Region-specific endpoints that App Runner supports, see
184 AWS App Runner endpoints and quotas
185 (https://docs.aws.amazon.com/general/latest/gr/apprunner.html) in the
186 I<AWS General Reference>.
187  
188 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/apprunner-2020-05-15>
189  
190  
191 =head1 METHODS
192  
193 =head2 AssociateCustomDomain
194  
195 =over
196  
197 =item DomainName => Str
198  
199 =item ServiceArn => Str
200  
201 =item [EnableWWWSubdomain => Bool]
202  
203  
204 =back
205  
206 Each argument is described in detail in: L<Paws::AppRunner::AssociateCustomDomain>
207  
208 Returns: a L<Paws::AppRunner::AssociateCustomDomainResponse> instance
209  
210 Associate your own domain name with the AWS App Runner subdomain URL of
211 your App Runner service.
212  
213 After you call C<AssociateCustomDomain> and receive a successful
214 response, use the information in the CustomDomain record that's
215 returned to add CNAME records to your Domain Name System (DNS). For
216 each mapped domain name, add a mapping to the target App Runner
217 subdomain and one or more certificate validation records. App Runner
218 then performs DNS validation to verify that you own or control the
219 domain name that you associated. App Runner tracks domain validity in a
220 certificate stored in AWS Certificate Manager (ACM)
221 (https://docs.aws.amazon.com/acm/latest/userguide).
222  
223  
224 =head2 CreateAutoScalingConfiguration
225  
226 =over
227  
228 =item AutoScalingConfigurationName => Str
229  
230 =item [MaxConcurrency => Int]
231  
232 =item [MaxSize => Int]
233  
234 =item [MinSize => Int]
235  
236 =item [Tags => ArrayRef[L<Paws::AppRunner::Tag>]]
237  
238  
239 =back
240  
241 Each argument is described in detail in: L<Paws::AppRunner::CreateAutoScalingConfiguration>
242  
243 Returns: a L<Paws::AppRunner::CreateAutoScalingConfigurationResponse> instance
244  
245 Create an AWS App Runner automatic scaling configuration resource. App
246 Runner requires this resource when you create App Runner services that
247 require non-default auto scaling settings. You can share an auto
248 scaling configuration across multiple services.
249  
250 Create multiple revisions of a configuration by using the same
251 C<AutoScalingConfigurationName> and different
252 C<AutoScalingConfigurationRevision> values. When you create a service,
253 you can set it to use the latest active revision of an auto scaling
254 configuration or a specific revision.
255  
256 Configure a higher C<MinSize> to increase the spread of your App Runner
257 service over more Availability Zones in the AWS Region. The tradeoff is
258 a higher minimal cost.
259  
260 Configure a lower C<MaxSize> to control your cost. The tradeoff is
261 lower responsiveness during peak demand.
262  
263  
264 =head2 CreateConnection
265  
266 =over
267  
268 =item ConnectionName => Str
269  
270 =item ProviderType => Str
271  
272 =item [Tags => ArrayRef[L<Paws::AppRunner::Tag>]]
273  
274  
275 =back
276  
277 Each argument is described in detail in: L<Paws::AppRunner::CreateConnection>
278  
279 Returns: a L<Paws::AppRunner::CreateConnectionResponse> instance
280  
281 Create an AWS App Runner connection resource. App Runner requires a
282 connection resource when you create App Runner services that access
283 private repositories from certain third-party providers. You can share
284 a connection across multiple services.
285  
286 A connection resource is needed to access GitHub repositories. GitHub
287 requires a user interface approval process through the App Runner
288 console before you can use the connection.
289  
290  
291 =head2 CreateService
292  
293 =over
294  
295 =item ServiceName => Str
296  
297 =item SourceConfiguration => L<Paws::AppRunner::SourceConfiguration>
298  
299 =item [AutoScalingConfigurationArn => Str]
300  
301 =item [EncryptionConfiguration => L<Paws::AppRunner::EncryptionConfiguration>]
302  
303 =item [HealthCheckConfiguration => L<Paws::AppRunner::HealthCheckConfiguration>]
304  
305 =item [InstanceConfiguration => L<Paws::AppRunner::InstanceConfiguration>]
306  
307 =item [Tags => ArrayRef[L<Paws::AppRunner::Tag>]]
308  
309  
310 =back
311  
312 Each argument is described in detail in: L<Paws::AppRunner::CreateService>
313  
314 Returns: a L<Paws::AppRunner::CreateServiceResponse> instance
315  
316 Create an AWS App Runner service. After the service is created, the
317 action also automatically starts a deployment.
318  
319 This is an asynchronous operation. On a successful call, you can use
320 the returned C<OperationId> and the ListOperations
321 (https://docs.aws.amazon.com/apprunner/latest/api/API_ListOperations.html)
322 call to track the operation's progress.
323  
324  
325 =head2 DeleteAutoScalingConfiguration
326  
327 =over
328  
329 =item AutoScalingConfigurationArn => Str
330  
331  
332 =back
333  
334 Each argument is described in detail in: L<Paws::AppRunner::DeleteAutoScalingConfiguration>
335  
336 Returns: a L<Paws::AppRunner::DeleteAutoScalingConfigurationResponse> instance
337  
338 Delete an AWS App Runner automatic scaling configuration resource. You
339 can delete a specific revision or the latest active revision. You can't
340 delete a configuration that's used by one or more App Runner services.
341  
342  
343 =head2 DeleteConnection
344  
345 =over
346  
347 =item ConnectionArn => Str
348  
349  
350 =back
351  
352 Each argument is described in detail in: L<Paws::AppRunner::DeleteConnection>
353  
354 Returns: a L<Paws::AppRunner::DeleteConnectionResponse> instance
355  
356 Delete an AWS App Runner connection. You must first ensure that there
357 are no running App Runner services that use this connection. If there
358 are any, the C<DeleteConnection> action fails.
359  
360  
361 =head2 DeleteService
362  
363 =over
364  
365 =item ServiceArn => Str
366  
367  
368 =back
369  
370 Each argument is described in detail in: L<Paws::AppRunner::DeleteService>
371  
372 Returns: a L<Paws::AppRunner::DeleteServiceResponse> instance
373  
374 Delete an AWS App Runner service.
375  
376 This is an asynchronous operation. On a successful call, you can use
377 the returned C<OperationId> and the ListOperations call to track the
378 operation's progress.
379  
380  
381 =head2 DescribeAutoScalingConfiguration
382  
383 =over
384  
385 =item AutoScalingConfigurationArn => Str
386  
387  
388 =back
389  
390 Each argument is described in detail in: L<Paws::AppRunner::DescribeAutoScalingConfiguration>
391  
392 Returns: a L<Paws::AppRunner::DescribeAutoScalingConfigurationResponse> instance
393  
394 Return a full description of an AWS App Runner automatic scaling
395 configuration resource.
396  
397  
398 =head2 DescribeCustomDomains
399  
400 =over
401  
402 =item ServiceArn => Str
403  
404 =item [MaxResults => Int]
405  
406 =item [NextToken => Str]
407  
408  
409 =back
410  
411 Each argument is described in detail in: L<Paws::AppRunner::DescribeCustomDomains>
412  
413 Returns: a L<Paws::AppRunner::DescribeCustomDomainsResponse> instance
414  
415 Return a description of custom domain names that are associated with an
416 AWS App Runner service.
417  
418  
419 =head2 DescribeService
420  
421 =over
422  
423 =item ServiceArn => Str
424  
425  
426 =back
427  
428 Each argument is described in detail in: L<Paws::AppRunner::DescribeService>
429  
430 Returns: a L<Paws::AppRunner::DescribeServiceResponse> instance
431  
432 Return a full description of an AWS App Runner service.
433  
434  
435 =head2 DisassociateCustomDomain
436  
437 =over
438  
439 =item DomainName => Str
440  
441 =item ServiceArn => Str
442  
443  
444 =back
445  
446 Each argument is described in detail in: L<Paws::AppRunner::DisassociateCustomDomain>
447  
448 Returns: a L<Paws::AppRunner::DisassociateCustomDomainResponse> instance
449  
450 Disassociate a custom domain name from an AWS App Runner service.
451  
452 Certificates tracking domain validity are associated with a custom
453 domain and are stored in AWS Certificate Manager (ACM)
454 (https://docs.aws.amazon.com/acm/latest/userguide). These certificates
455 aren't deleted as part of this action. App Runner delays certificate
456 deletion for 30 days after a domain is disassociated from your service.
457  
458  
459 =head2 ListAutoScalingConfigurations
460  
461 =over
462  
463 =item [AutoScalingConfigurationName => Str]
464  
465 =item [LatestOnly => Bool]
466  
467 =item [MaxResults => Int]
468  
469 =item [NextToken => Str]
470  
471  
472 =back
473  
474 Each argument is described in detail in: L<Paws::AppRunner::ListAutoScalingConfigurations>
475  
476 Returns: a L<Paws::AppRunner::ListAutoScalingConfigurationsResponse> instance
477  
478 Returns a list of AWS App Runner automatic scaling configurations in
479 your AWS account. You can query the revisions for a specific
480 configuration name or the revisions for all configurations in your
481 account. You can optionally query only the latest revision of each
482 requested name.
483  
484  
485 =head2 ListConnections
486  
487 =over
488  
489 =item [ConnectionName => Str]
490  
491 =item [MaxResults => Int]
492  
493 =item [NextToken => Str]
494  
495  
496 =back
497  
498 Each argument is described in detail in: L<Paws::AppRunner::ListConnections>
499  
500 Returns: a L<Paws::AppRunner::ListConnectionsResponse> instance
501  
502 Returns a list of AWS App Runner connections that are associated with
503 your AWS account.
504  
505  
506 =head2 ListOperations
507  
508 =over
509  
510 =item ServiceArn => Str
511  
512 =item [MaxResults => Int]
513  
514 =item [NextToken => Str]
515  
516  
517 =back
518  
519 Each argument is described in detail in: L<Paws::AppRunner::ListOperations>
520  
521 Returns: a L<Paws::AppRunner::ListOperationsResponse> instance
522  
523 Return a list of operations that occurred on an AWS App Runner service.
524  
525 The resulting list of OperationSummary objects is sorted in reverse
526 chronological order. The first object on the list represents the last
527 started operation.
528  
529  
530 =head2 ListServices
531  
532 =over
533  
534 =item [MaxResults => Int]
535  
536 =item [NextToken => Str]
537  
538  
539 =back
540  
541 Each argument is described in detail in: L<Paws::AppRunner::ListServices>
542  
543 Returns: a L<Paws::AppRunner::ListServicesResponse> instance
544  
545 Returns a list of running AWS App Runner services in your AWS account.
546  
547  
548 =head2 ListTagsForResource
549  
550 =over
551  
552 =item ResourceArn => Str
553  
554  
555 =back
556  
557 Each argument is described in detail in: L<Paws::AppRunner::ListTagsForResource>
558  
559 Returns: a L<Paws::AppRunner::ListTagsForResourceResponse> instance
560  
561 List tags that are associated with for an AWS App Runner resource. The
562 response contains a list of tag key-value pairs.
563  
564  
565 =head2 PauseService
566  
567 =over
568  
569 =item ServiceArn => Str
570  
571  
572 =back
573  
574 Each argument is described in detail in: L<Paws::AppRunner::PauseService>
575  
576 Returns: a L<Paws::AppRunner::PauseServiceResponse> instance
577  
578 Pause an active AWS App Runner service. App Runner reduces compute
579 capacity for the service to zero and loses state (for example,
580 ephemeral storage is removed).
581  
582 This is an asynchronous operation. On a successful call, you can use
583 the returned C<OperationId> and the ListOperations call to track the
584 operation's progress.
585  
586  
587 =head2 ResumeService
588  
589 =over
590  
591 =item ServiceArn => Str
592  
593  
594 =back
595  
596 Each argument is described in detail in: L<Paws::AppRunner::ResumeService>
597  
598 Returns: a L<Paws::AppRunner::ResumeServiceResponse> instance
599  
600 Resume an active AWS App Runner service. App Runner provisions compute
601 capacity for the service.
602  
603 This is an asynchronous operation. On a successful call, you can use
604 the returned C<OperationId> and the ListOperations call to track the
605 operation's progress.
606  
607  
608 =head2 StartDeployment
609  
610 =over
611  
612 =item ServiceArn => Str
613  
614  
615 =back
616  
617 Each argument is described in detail in: L<Paws::AppRunner::StartDeployment>
618  
619 Returns: a L<Paws::AppRunner::StartDeploymentResponse> instance
620  
621 Initiate a manual deployment of the latest commit in a source code
622 repository or the latest image in a source image repository to an AWS
623 App Runner service.
624  
625 For a source code repository, App Runner retrieves the commit and
626 builds a Docker image. For a source image repository, App Runner
627 retrieves the latest Docker image. In both cases, App Runner then
628 deploys the new image to your service and starts a new container
629 instance.
630  
631 This is an asynchronous operation. On a successful call, you can use
632 the returned C<OperationId> and the ListOperations call to track the
633 operation's progress.
634  
635  
636 =head2 TagResource
637  
638 =over
639  
640 =item ResourceArn => Str
641  
642 =item Tags => ArrayRef[L<Paws::AppRunner::Tag>]
643  
644  
645 =back
646  
647 Each argument is described in detail in: L<Paws::AppRunner::TagResource>
648  
649 Returns: a L<Paws::AppRunner::TagResourceResponse> instance
650  
651 Add tags to, or update the tag values of, an App Runner resource. A tag
652 is a key-value pair.
653  
654  
655 =head2 UntagResource
656  
657 =over
658  
659 =item ResourceArn => Str
660  
661 =item TagKeys => ArrayRef[Str|Undef]
662  
663  
664 =back
665  
666 Each argument is described in detail in: L<Paws::AppRunner::UntagResource>
667  
668 Returns: a L<Paws::AppRunner::UntagResourceResponse> instance
669  
670 Remove tags from an App Runner resource.
671  
672  
673 =head2 UpdateService
674  
675 =over
676  
677 =item ServiceArn => Str
678  
679 =item [AutoScalingConfigurationArn => Str]
680  
681 =item [HealthCheckConfiguration => L<Paws::AppRunner::HealthCheckConfiguration>]
682  
683 =item [InstanceConfiguration => L<Paws::AppRunner::InstanceConfiguration>]
684  
685 =item [SourceConfiguration => L<Paws::AppRunner::SourceConfiguration>]
686  
687  
688 =back
689  
690 Each argument is described in detail in: L<Paws::AppRunner::UpdateService>
691  
692 Returns: a L<Paws::AppRunner::UpdateServiceResponse> instance
693  
694 Update an AWS App Runner service. You can update the source
695 configuration and instance configuration of the service. You can also
696 update the ARN of the auto scaling configuration resource that's
697 associated with the service. However, you can't change the name or the
698 encryption configuration of the service. These can be set only when you
699 create the service.
700  
701 To update the tags applied to your service, use the separate actions
702 TagResource and UntagResource.
703  
704 This is an asynchronous operation. On a successful call, you can use
705 the returned C<OperationId> and the ListOperations call to track the
706 operation's progress.
707  
708  
709  
710  
711 =head1 PAGINATORS
712  
713 Paginator methods are helpers that repetively call methods that return partial results
714  
715  
716  
717  
718 =head1 SEE ALSO
719  
720 This service class forms part of L<Paws>
721  
722 =head1 BUGS and CONTRIBUTIONS
723  
724 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
725  
726 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
727  
728 =cut
729