| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Paws::EC2::SpotFleetRequestConfigData; |
|
2
|
1
|
|
|
1
|
|
308
|
use Moose; |
|
|
1
|
|
|
|
|
3
|
|
|
|
1
|
|
|
|
|
5
|
|
|
3
|
|
|
|
|
|
|
has AllocationStrategy => (is => 'ro', isa => 'Str', request_name => 'allocationStrategy', traits => ['NameInRequest']); |
|
4
|
|
|
|
|
|
|
has ClientToken => (is => 'ro', isa => 'Str', request_name => 'clientToken', traits => ['NameInRequest']); |
|
5
|
|
|
|
|
|
|
has ExcessCapacityTerminationPolicy => (is => 'ro', isa => 'Str', request_name => 'excessCapacityTerminationPolicy', traits => ['NameInRequest']); |
|
6
|
|
|
|
|
|
|
has FulfilledCapacity => (is => 'ro', isa => 'Num', request_name => 'fulfilledCapacity', traits => ['NameInRequest']); |
|
7
|
|
|
|
|
|
|
has IamFleetRole => (is => 'ro', isa => 'Str', request_name => 'iamFleetRole', traits => ['NameInRequest'], required => 1); |
|
8
|
|
|
|
|
|
|
has InstanceInterruptionBehavior => (is => 'ro', isa => 'Str', request_name => 'instanceInterruptionBehavior', traits => ['NameInRequest']); |
|
9
|
|
|
|
|
|
|
has LaunchSpecifications => (is => 'ro', isa => 'ArrayRef[Paws::EC2::SpotFleetLaunchSpecification]', request_name => 'launchSpecifications', traits => ['NameInRequest'], required => 1); |
|
10
|
|
|
|
|
|
|
has ReplaceUnhealthyInstances => (is => 'ro', isa => 'Bool', request_name => 'replaceUnhealthyInstances', traits => ['NameInRequest']); |
|
11
|
|
|
|
|
|
|
has SpotPrice => (is => 'ro', isa => 'Str', request_name => 'spotPrice', traits => ['NameInRequest'], required => 1); |
|
12
|
|
|
|
|
|
|
has TargetCapacity => (is => 'ro', isa => 'Int', request_name => 'targetCapacity', traits => ['NameInRequest'], required => 1); |
|
13
|
|
|
|
|
|
|
has TerminateInstancesWithExpiration => (is => 'ro', isa => 'Bool', request_name => 'terminateInstancesWithExpiration', traits => ['NameInRequest']); |
|
14
|
|
|
|
|
|
|
has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest']); |
|
15
|
|
|
|
|
|
|
has ValidFrom => (is => 'ro', isa => 'Str', request_name => 'validFrom', traits => ['NameInRequest']); |
|
16
|
|
|
|
|
|
|
has ValidUntil => (is => 'ro', isa => 'Str', request_name => 'validUntil', traits => ['NameInRequest']); |
|
17
|
|
|
|
|
|
|
1; |
|
18
|
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
### main pod documentation begin ### |
|
20
|
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
=head1 NAME |
|
22
|
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
Paws::EC2::SpotFleetRequestConfigData |
|
24
|
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
=head1 USAGE |
|
26
|
|
|
|
|
|
|
|
|
27
|
|
|
|
|
|
|
This class represents one of two things: |
|
28
|
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
=head3 Arguments in a call to a service |
|
30
|
|
|
|
|
|
|
|
|
31
|
|
|
|
|
|
|
Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. |
|
32
|
|
|
|
|
|
|
Each attribute should be used as a named argument in the calls that expect this type of object. |
|
33
|
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
As an example, if Att1 is expected to be a Paws::EC2::SpotFleetRequestConfigData object: |
|
35
|
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { AllocationStrategy => $value, ..., ValidUntil => $value }); |
|
37
|
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head3 Results returned from an API call |
|
39
|
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
Use accessors for each attribute. If Att1 is expected to be an Paws::EC2::SpotFleetRequestConfigData object: |
|
41
|
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
|
43
|
|
|
|
|
|
|
$result->Att1->AllocationStrategy |
|
44
|
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
46
|
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
This class has no description |
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head2 AllocationStrategy => Str |
|
53
|
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
Indicates how to allocate the target capacity across the Spot pools |
|
55
|
|
|
|
|
|
|
specified by the Spot fleet request. The default is C<lowestPrice>. |
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head2 ClientToken => Str |
|
59
|
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
A unique, case-sensitive identifier you provide to ensure idempotency |
|
61
|
|
|
|
|
|
|
of your listings. This helps avoid duplicate listings. For more |
|
62
|
|
|
|
|
|
|
information, see Ensuring Idempotency. |
|
63
|
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
|
|
65
|
|
|
|
|
|
|
=head2 ExcessCapacityTerminationPolicy => Str |
|
66
|
|
|
|
|
|
|
|
|
67
|
|
|
|
|
|
|
Indicates whether running Spot instances should be terminated if the |
|
68
|
|
|
|
|
|
|
target capacity of the Spot fleet request is decreased below the |
|
69
|
|
|
|
|
|
|
current size of the Spot fleet. |
|
70
|
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
|
|
72
|
|
|
|
|
|
|
=head2 FulfilledCapacity => Num |
|
73
|
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
The number of units fulfilled by this request compared to the set |
|
75
|
|
|
|
|
|
|
target capacity. |
|
76
|
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
|
|
78
|
|
|
|
|
|
|
=head2 B<REQUIRED> IamFleetRole => Str |
|
79
|
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
Grants the Spot fleet permission to terminate Spot instances on your |
|
81
|
|
|
|
|
|
|
behalf when you cancel its Spot fleet request using |
|
82
|
|
|
|
|
|
|
CancelSpotFleetRequests or when the Spot fleet request expires, if you |
|
83
|
|
|
|
|
|
|
set C<terminateInstancesWithExpiration>. |
|
84
|
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=head2 InstanceInterruptionBehavior => Str |
|
87
|
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
Indicates whether a Spot instance stops or terminates when it is |
|
89
|
|
|
|
|
|
|
interrupted. |
|
90
|
|
|
|
|
|
|
|
|
91
|
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
=head2 B<REQUIRED> LaunchSpecifications => ArrayRef[L<Paws::EC2::SpotFleetLaunchSpecification>] |
|
93
|
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
Information about the launch specifications for the Spot fleet request. |
|
95
|
|
|
|
|
|
|
|
|
96
|
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
=head2 ReplaceUnhealthyInstances => Bool |
|
98
|
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
Indicates whether Spot fleet should replace unhealthy instances. |
|
100
|
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
=head2 B<REQUIRED> SpotPrice => Str |
|
103
|
|
|
|
|
|
|
|
|
104
|
|
|
|
|
|
|
The bid price per unit hour. |
|
105
|
|
|
|
|
|
|
|
|
106
|
|
|
|
|
|
|
|
|
107
|
|
|
|
|
|
|
=head2 B<REQUIRED> TargetCapacity => Int |
|
108
|
|
|
|
|
|
|
|
|
109
|
|
|
|
|
|
|
The number of units to request. You can choose to set the target |
|
110
|
|
|
|
|
|
|
capacity in terms of instances or a performance characteristic that is |
|
111
|
|
|
|
|
|
|
important to your application workload, such as vCPUs, memory, or I/O. |
|
112
|
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
|
|
114
|
|
|
|
|
|
|
=head2 TerminateInstancesWithExpiration => Bool |
|
115
|
|
|
|
|
|
|
|
|
116
|
|
|
|
|
|
|
Indicates whether running Spot instances should be terminated when the |
|
117
|
|
|
|
|
|
|
Spot fleet request expires. |
|
118
|
|
|
|
|
|
|
|
|
119
|
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
=head2 Type => Str |
|
121
|
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
The type of request. Indicates whether the fleet will only C<request> |
|
123
|
|
|
|
|
|
|
the target capacity or also attempt to C<maintain> it. When you |
|
124
|
|
|
|
|
|
|
C<request> a certain target capacity, the fleet will only place the |
|
125
|
|
|
|
|
|
|
required bids. It will not attempt to replenish Spot instances if |
|
126
|
|
|
|
|
|
|
capacity is diminished, nor will it submit bids in alternative Spot |
|
127
|
|
|
|
|
|
|
pools if capacity is not available. When you want to C<maintain> a |
|
128
|
|
|
|
|
|
|
certain target capacity, fleet will place the required bids to meet |
|
129
|
|
|
|
|
|
|
this target capacity. It will also automatically replenish any |
|
130
|
|
|
|
|
|
|
interrupted instances. Default: C<maintain>. |
|
131
|
|
|
|
|
|
|
|
|
132
|
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
=head2 ValidFrom => Str |
|
134
|
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
The start date and time of the request, in UTC format (for example, |
|
136
|
|
|
|
|
|
|
I<YYYY>-I<MM>-I<DD>TI<HH>:I<MM>:I<SS>Z). The default is to start |
|
137
|
|
|
|
|
|
|
fulfilling the request immediately. |
|
138
|
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
|
|
140
|
|
|
|
|
|
|
=head2 ValidUntil => Str |
|
141
|
|
|
|
|
|
|
|
|
142
|
|
|
|
|
|
|
The end date and time of the request, in UTC format (for example, |
|
143
|
|
|
|
|
|
|
I<YYYY>-I<MM>-I<DD>TI<HH>:I<MM>:I<SS>Z). At this point, no new Spot |
|
144
|
|
|
|
|
|
|
instance requests are placed or enabled to fulfill the request. |
|
145
|
|
|
|
|
|
|
|
|
146
|
|
|
|
|
|
|
|
|
147
|
|
|
|
|
|
|
|
|
148
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
149
|
|
|
|
|
|
|
|
|
150
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::EC2> |
|
151
|
|
|
|
|
|
|
|
|
152
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
|
153
|
|
|
|
|
|
|
|
|
154
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
|
155
|
|
|
|
|
|
|
|
|
156
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
|
157
|
|
|
|
|
|
|
|
|
158
|
|
|
|
|
|
|
=cut |