line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
package Paws::EMR::InstanceTypeSpecification; |
2
|
1
|
|
|
1
|
|
611
|
use Moose; |
|
1
|
|
|
|
|
3
|
|
|
1
|
|
|
|
|
8
|
|
3
|
|
|
|
|
|
|
has BidPrice => (is => 'ro', isa => 'Str'); |
4
|
|
|
|
|
|
|
has BidPriceAsPercentageOfOnDemandPrice => (is => 'ro', isa => 'Num'); |
5
|
|
|
|
|
|
|
has Configurations => (is => 'ro', isa => 'ArrayRef[Paws::EMR::Configuration]'); |
6
|
|
|
|
|
|
|
has EbsBlockDevices => (is => 'ro', isa => 'ArrayRef[Paws::EMR::EbsBlockDevice]'); |
7
|
|
|
|
|
|
|
has EbsOptimized => (is => 'ro', isa => 'Bool'); |
8
|
|
|
|
|
|
|
has InstanceType => (is => 'ro', isa => 'Str'); |
9
|
|
|
|
|
|
|
has WeightedCapacity => (is => 'ro', isa => 'Int'); |
10
|
|
|
|
|
|
|
1; |
11
|
|
|
|
|
|
|
|
12
|
|
|
|
|
|
|
### main pod documentation begin ### |
13
|
|
|
|
|
|
|
|
14
|
|
|
|
|
|
|
=head1 NAME |
15
|
|
|
|
|
|
|
|
16
|
|
|
|
|
|
|
Paws::EMR::InstanceTypeSpecification |
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::EMR::InstanceTypeSpecification object: |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { BidPrice => $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::EMR::InstanceTypeSpecification object: |
34
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
36
|
|
|
|
|
|
|
$result->Att1->BidPrice |
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=head1 DESCRIPTION |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
The configuration specification for each instance type in an instance |
41
|
|
|
|
|
|
|
fleet. |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
The instance fleet configuration is available only in Amazon EMR |
44
|
|
|
|
|
|
|
versions 4.8.0 and later, excluding 5.0.x versions. |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head2 BidPrice => Str |
50
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
The bid price for each EC2 Spot instance type as defined by |
52
|
|
|
|
|
|
|
C<InstanceType>. Expressed in USD. |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
|
55
|
|
|
|
|
|
|
=head2 BidPriceAsPercentageOfOnDemandPrice => Num |
56
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
The bid price, as a percentage of On-Demand price, for each EC2 Spot |
58
|
|
|
|
|
|
|
instance as defined by C<InstanceType>. Expressed as a number (for |
59
|
|
|
|
|
|
|
example, 20 specifies 20%). |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
=head2 Configurations => ArrayRef[L<Paws::EMR::Configuration>] |
63
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
A configuration classification that applies when provisioning cluster |
65
|
|
|
|
|
|
|
instances, which can include configurations for applications and |
66
|
|
|
|
|
|
|
software bundled with Amazon EMR. |
67
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head2 EbsBlockDevices => ArrayRef[L<Paws::EMR::EbsBlockDevice>] |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
The configuration of Amazon Elastic Block Storage (EBS) attached to |
72
|
|
|
|
|
|
|
each instance as defined by C<InstanceType>. |
73
|
|
|
|
|
|
|
|
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
=head2 EbsOptimized => Bool |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
Evaluates to C<TRUE> when the specified C<InstanceType> is |
78
|
|
|
|
|
|
|
EBS-optimized. |
79
|
|
|
|
|
|
|
|
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head2 InstanceType => Str |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
The EC2 instance type, for example C<m3.xlarge>. |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
|
86
|
|
|
|
|
|
|
=head2 WeightedCapacity => Int |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
The number of units that a provisioned instance of this type provides |
89
|
|
|
|
|
|
|
toward fulfilling the target capacities defined in InstanceFleetConfig. |
90
|
|
|
|
|
|
|
Capacity values represent performance characteristics such as vCPUs, |
91
|
|
|
|
|
|
|
memory, or I/O. If not specified, the default value is 1. |
92
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
|
94
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
=head1 SEE ALSO |
96
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::EMR> |
98
|
|
|
|
|
|
|
|
99
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
100
|
|
|
|
|
|
|
|
101
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
102
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
104
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
=cut |
106
|
|
|
|
|
|
|
|