blib/lib/Paws/Batch/ComputeResourceUpdate.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::Batch::ComputeResourceUpdate;
3 use Moose;
4 has DesiredvCpus => (is => 'ro', isa => 'Int', request_name => 'desiredvCpus', traits => ['NameInRequest']);
5 has MaxvCpus => (is => 'ro', isa => 'Int', request_name => 'maxvCpus', traits => ['NameInRequest']);
6 has MinvCpus => (is => 'ro', isa => 'Int', request_name => 'minvCpus', traits => ['NameInRequest']);
7 has SecurityGroupIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'securityGroupIds', traits => ['NameInRequest']);
8 has Subnets => (is => 'ro', isa => 'ArrayRef[Str|Undef]', request_name => 'subnets', traits => ['NameInRequest']);
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::Batch::ComputeResourceUpdate
17  
18 =head1 USAGE
19  
20 This class represents one of two things:
21  
22 =head3 Arguments in a call to a service
23  
24 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25 Each attribute should be used as a named argument in the calls that expect this type of object.
26  
27 As an example, if Att1 is expected to be a Paws::Batch::ComputeResourceUpdate object:
28  
29 $service_obj->Method(Att1 => { DesiredvCpus => $value, ..., Subnets => $value });
30  
31 =head3 Results returned from an API call
32  
33 Use accessors for each attribute. If Att1 is expected to be an Paws::Batch::ComputeResourceUpdate object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->DesiredvCpus
37  
38 =head1 DESCRIPTION
39  
40 An object representing the attributes of a compute environment that can
41 be updated. For more information, see Compute Environments
42 (https://docs.aws.amazon.com/batch/latest/userguide/compute_environments.html)
43 in the I<AWS Batch User Guide>.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 DesiredvCpus => Int
49  
50 The desired number of Amazon EC2 vCPUS in the compute environment.
51  
52 This parameter isn't applicable to jobs running on Fargate resources,
53 and shouldn't be specified.
54  
55  
56 =head2 MaxvCpus => Int
57  
58 The maximum number of Amazon EC2 vCPUs that an environment can reach.
59  
60 With both C<BEST_FIT_PROGRESSIVE> and C<SPOT_CAPACITY_OPTIMIZED>
61 allocation strategies, AWS Batch might need to exceed C<maxvCpus> to
62 meet your capacity requirements. In this event, AWS Batch never exceeds
63 C<maxvCpus> by more than a single instance. That is, no more than a
64 single instance from among those specified in your compute environment.
65  
66  
67 =head2 MinvCpus => Int
68  
69 The minimum number of Amazon EC2 vCPUs that an environment should
70 maintain.
71  
72 This parameter isn't applicable to jobs running on Fargate resources,
73 and shouldn't be specified.
74  
75  
76 =head2 SecurityGroupIds => ArrayRef[Str|Undef]
77  
78 The Amazon EC2 security groups associated with instances launched in
79 the compute environment. This parameter is required for Fargate compute
80 resources, where it can contain up to 5 security groups. This can't be
81 specified for EC2 compute resources. Providing an empty list is handled
82 as if this parameter wasn't specified and no change is made.
83  
84  
85 =head2 Subnets => ArrayRef[Str|Undef]
86  
87 The VPC subnets that the compute resources are launched into. Fargate
88 compute resources can contain up to 16 subnets. Providing an empty list
89 will be handled as if this parameter wasn't specified and no change is
90 made. This can't be specified for EC2 compute resources. For more
91 information, see VPCs and Subnets
92 (https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html) in
93 the I<Amazon VPC User Guide>.
94  
95  
96  
97 =head1 SEE ALSO
98  
99 This class forms part of L<Paws>, describing an object used in L<Paws::Batch>
100  
101 =head1 BUGS and CONTRIBUTIONS
102  
103 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
104  
105 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
106  
107 =cut
108