blib/lib/Paws/Lightsail/UpdateContainerService.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Lightsail::UpdateContainerService;
3 use Moose;
4 has IsDisabled => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'isDisabled' );
5 has Power => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'power' );
6 has PublicDomainNames => (is => 'ro', isa => 'Paws::Lightsail::ContainerServicePublicDomains', traits => ['NameInRequest'], request_name => 'publicDomainNames' );
7 has Scale => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'scale' );
8 has ServiceName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'serviceName' , required => 1);
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateContainerService');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Lightsail::UpdateContainerServiceResult');
14 class_has _result_key => (isa => 'Str', is => 'ro');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::Lightsail::UpdateContainerService - Arguments for method UpdateContainerService on L<Paws::Lightsail>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method UpdateContainerService on the
26 L<Amazon Lightsail|Paws::Lightsail> service. Use the attributes of this class
27 as arguments to method UpdateContainerService.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateContainerService.
30  
31 =head1 SYNOPSIS
32  
33 my $lightsail = Paws->service('Lightsail');
34 my $UpdateContainerServiceResult = $lightsail->UpdateContainerService(
35 ServiceName => 'MyContainerServiceName',
36 IsDisabled => 1, # OPTIONAL
37 Power => 'nano', # OPTIONAL
38 PublicDomainNames => { 'Mystring' => [ 'Mystring', ... ], }, # OPTIONAL
39 Scale => 1, # OPTIONAL
40 );
41  
42 # Results:
43 my $ContainerService = $UpdateContainerServiceResult->ContainerService;
44  
45 # Returns a L<Paws::Lightsail::UpdateContainerServiceResult> object.
46  
47 Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
48 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/lightsail/UpdateContainerService>
49  
50 =head1 ATTRIBUTES
51  
52  
53 =head2 IsDisabled => Bool
54  
55 A Boolean value to indicate whether the container service is disabled.
56  
57  
58  
59 =head2 Power => Str
60  
61 The power for the container service.
62  
63 The power specifies the amount of memory, vCPUs, and base monthly cost
64 of each node of the container service. The C<power> and C<scale> of a
65 container service makes up its configured capacity. To determine the
66 monthly price of your container service, multiply the base price of the
67 C<power> with the C<scale> (the number of nodes) of the service.
68  
69 Use the C<GetContainerServicePowers> action to view the specifications
70 of each power option.
71  
72 Valid values are: C<"nano">, C<"micro">, C<"small">, C<"medium">, C<"large">, C<"xlarge">
73  
74 =head2 PublicDomainNames => L<Paws::Lightsail::ContainerServicePublicDomains>
75  
76 The public domain names to use with the container service, such as
77 C<example.com> and C<www.example.com>.
78  
79 You can specify up to four public domain names for a container service.
80 The domain names that you specify are used when you create a deployment
81 with a container configured as the public endpoint of your container
82 service.
83  
84 If you don't specify public domain names, then you can use the default
85 domain of the container service.
86  
87 You must create and validate an SSL/TLS certificate before you can use
88 public domain names with your container service. Use the
89 C<CreateCertificate> action to create a certificate for the public
90 domain names you want to use with your container service.
91  
92 You can specify public domain names using a string to array map as
93 shown in the example later on this page.
94  
95  
96  
97 =head2 Scale => Int
98  
99 The scale for the container service.
100  
101 The scale specifies the allocated compute nodes of the container
102 service. The C<power> and C<scale> of a container service makes up its
103 configured capacity. To determine the monthly price of your container
104 service, multiply the base price of the C<power> with the C<scale> (the
105 number of nodes) of the service.
106  
107  
108  
109 =head2 B<REQUIRED> ServiceName => Str
110  
111 The name of the container service to update.
112  
113  
114  
115  
116 =head1 SEE ALSO
117  
118 This class forms part of L<Paws>, documenting arguments for method UpdateContainerService in L<Paws::Lightsail>
119  
120 =head1 BUGS and CONTRIBUTIONS
121  
122 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
123  
124 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
125  
126 =cut
127