blib/lib/Paws/EC2/SpotCapacityRebalance.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::SpotCapacityRebalance;
2 use Moose;
3 has ReplacementStrategy => (is => 'ro', isa => 'Str', request_name => 'replacementStrategy', traits => ['NameInRequest']);
4 1;
5  
6 ### main pod documentation begin ###
7  
8 =head1 NAME
9  
10 Paws::EC2::SpotCapacityRebalance
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::SpotCapacityRebalance object:
22  
23 $service_obj->Method(Att1 => { ReplacementStrategy => $value, ..., ReplacementStrategy => $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::SpotCapacityRebalance object:
28  
29 $result = $service_obj->Method(...);
30 $result->Att1->ReplacementStrategy
31  
32 =head1 DESCRIPTION
33  
34 This class has no description
35  
36 =head1 ATTRIBUTES
37  
38  
39 =head2 ReplacementStrategy => Str
40  
41 The replacement strategy to use. Only available for fleets of type
42 C<maintain>. You must specify a value, otherwise you get an error.
43  
44 To allow Spot Fleet to launch a replacement Spot Instance when an
45 instance rebalance notification is emitted for a Spot Instance in the
46 fleet, specify C<launch>.
47  
48 When a replacement instance is launched, the instance marked for
49 rebalance is not automatically terminated. You can terminate it, or you
50 can leave it running. You are charged for all instances while they are
51 running.
52  
53  
54  
55 =head1 SEE ALSO
56  
57 This class forms part of L<Paws>, describing an object used in L<Paws::EC2>
58  
59 =head1 BUGS and CONTRIBUTIONS
60  
61 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
62  
63 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
64  
65 =cut