blib/lib/Paws/EC2/FleetLaunchTemplateOverridesRequest.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 11 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package Paws::EC2::FleetLaunchTemplateOverridesRequest;
2 use Moose;
3 has AvailabilityZone => (is => 'ro', isa => 'Str');
4 has InstanceType => (is => 'ro', isa => 'Str');
5 has MaxPrice => (is => 'ro', isa => 'Str');
6 has Placement => (is => 'ro', isa => 'Paws::EC2::Placement');
7 has Priority => (is => 'ro', isa => 'Num');
8 has SubnetId => (is => 'ro', isa => 'Str');
9 has WeightedCapacity => (is => 'ro', isa => 'Num');
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::EC2::FleetLaunchTemplateOverridesRequest
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::EC2::FleetLaunchTemplateOverridesRequest object:
28  
29 $service_obj->Method(Att1 => { AvailabilityZone => $value, ..., WeightedCapacity => $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::EC2::FleetLaunchTemplateOverridesRequest object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->AvailabilityZone
37  
38 =head1 DESCRIPTION
39  
40 This class has no description
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 AvailabilityZone => Str
46  
47 The Availability Zone in which to launch the instances.
48  
49  
50 =head2 InstanceType => Str
51  
52 The instance type.
53  
54  
55 =head2 MaxPrice => Str
56  
57 The maximum price per unit hour that you are willing to pay for a Spot
58 Instance.
59  
60  
61 =head2 Placement => L<Paws::EC2::Placement>
62  
63 The location where the instance launched, if applicable.
64  
65  
66 =head2 Priority => Num
67  
68 The priority for the launch template override. The highest priority is
69 launched first.
70  
71 If the On-Demand C<AllocationStrategy> is set to C<prioritized>, EC2
72 Fleet uses priority to determine which launch template override to use
73 first in fulfilling On-Demand capacity.
74  
75 If the Spot C<AllocationStrategy> is set to
76 C<capacity-optimized-prioritized>, EC2 Fleet uses priority on a
77 best-effort basis to determine which launch template override to use in
78 fulfilling Spot capacity, but optimizes for capacity first.
79  
80 Valid values are whole numbers starting at C<0>. The lower the number,
81 the higher the priority. If no number is set, the launch template
82 override has the lowest priority. You can set the same priority for
83 different launch template overrides.
84  
85  
86 =head2 SubnetId => Str
87  
88 The IDs of the subnets in which to launch the instances. Separate
89 multiple subnet IDs using commas (for example,
90 C<subnet-1234abcdeexample1, subnet-0987cdef6example2>). A request of
91 type C<instant> can have only one subnet ID.
92  
93  
94 =head2 WeightedCapacity => Num
95  
96 The number of units provided by the specified instance type.
97  
98  
99  
100 =head1 SEE ALSO
101  
102 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
103  
104 =head1 BUGS and CONTRIBUTIONS
105  
106 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
107  
108 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
109  
110 =cut