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