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

filter: Statementstmt 0.0% 0 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 6 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 package Paws::EC2::CapacityReservationOptions;
2 use Moose;
3 has UsageStrategy => (is => 'ro', isa => 'Str', request_name => 'usageStrategy', traits => ['NameInRequest']);
4 1;
5  
6 ### main pod documentation begin ###
7  
8 =head1 NAME
9  
10 Paws::EC2::CapacityReservationOptions
11  
12 =head1 USAGE
13  
14 This class represents one of two things:
15  
16 =head3 Arguments in a call to a service
17  
18 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
19 Each attribute should be used as a named argument in the calls that expect this type of object.
20  
21 As an example, if Att1 is expected to be a Paws::EC2::CapacityReservationOptions object:
22  
23 $service_obj->Method(Att1 => { UsageStrategy => $value, ..., UsageStrategy => $value });
24  
25 =head3 Results returned from an API call
26  
27 Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::CapacityReservationOptions object:
28  
29 $result = $service_obj->Method(...);
30 $result->Att1->UsageStrategy
31  
32 =head1 DESCRIPTION
33  
34 This class has no description
35  
36 =head1 ATTRIBUTES
37  
38  
39 =head2 UsageStrategy => Str
40  
41 Indicates whether to use unused Capacity Reservations for fulfilling
42 On-Demand capacity.
43  
44 If you specify C<use-capacity-reservations-first>, the fleet uses
45 unused Capacity Reservations to fulfill On-Demand capacity up to the
46 target On-Demand capacity. If multiple instance pools have unused
47 Capacity Reservations, the On-Demand allocation strategy
48 (C<lowest-price> or C<prioritized>) is applied. If the number of unused
49 Capacity Reservations is less than the On-Demand target capacity, the
50 remaining On-Demand target capacity is launched according to the
51 On-Demand allocation strategy (C<lowest-price> or C<prioritized>).
52  
53 If you do not specify a value, the fleet fulfils the On-Demand capacity
54 according to the chosen On-Demand allocation strategy.
55  
56  
57  
58 =head1 SEE ALSO
59  
60 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
61  
62 =head1 BUGS and CONTRIBUTIONS
63  
64 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
65  
66 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
67  
68 =cut