| line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
|
1
|
|
|
|
|
|
|
package Paws::EMR::JobFlowInstancesDetail; |
|
2
|
1
|
|
|
1
|
|
709
|
use Moose; |
|
|
1
|
|
|
|
|
4
|
|
|
|
1
|
|
|
|
|
10
|
|
|
3
|
|
|
|
|
|
|
has Ec2KeyName => (is => 'ro', isa => 'Str'); |
|
4
|
|
|
|
|
|
|
has Ec2SubnetId => (is => 'ro', isa => 'Str'); |
|
5
|
|
|
|
|
|
|
has HadoopVersion => (is => 'ro', isa => 'Str'); |
|
6
|
|
|
|
|
|
|
has InstanceCount => (is => 'ro', isa => 'Int', required => 1); |
|
7
|
|
|
|
|
|
|
has InstanceGroups => (is => 'ro', isa => 'ArrayRef[Paws::EMR::InstanceGroupDetail]'); |
|
8
|
|
|
|
|
|
|
has KeepJobFlowAliveWhenNoSteps => (is => 'ro', isa => 'Bool'); |
|
9
|
|
|
|
|
|
|
has MasterInstanceId => (is => 'ro', isa => 'Str'); |
|
10
|
|
|
|
|
|
|
has MasterInstanceType => (is => 'ro', isa => 'Str', required => 1); |
|
11
|
|
|
|
|
|
|
has MasterPublicDnsName => (is => 'ro', isa => 'Str'); |
|
12
|
|
|
|
|
|
|
has NormalizedInstanceHours => (is => 'ro', isa => 'Int'); |
|
13
|
|
|
|
|
|
|
has Placement => (is => 'ro', isa => 'Paws::EMR::PlacementType'); |
|
14
|
|
|
|
|
|
|
has SlaveInstanceType => (is => 'ro', isa => 'Str', required => 1); |
|
15
|
|
|
|
|
|
|
has TerminationProtected => (is => 'ro', isa => 'Bool'); |
|
16
|
|
|
|
|
|
|
1; |
|
17
|
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
### main pod documentation begin ### |
|
19
|
|
|
|
|
|
|
|
|
20
|
|
|
|
|
|
|
=head1 NAME |
|
21
|
|
|
|
|
|
|
|
|
22
|
|
|
|
|
|
|
Paws::EMR::JobFlowInstancesDetail |
|
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::EMR::JobFlowInstancesDetail object: |
|
34
|
|
|
|
|
|
|
|
|
35
|
|
|
|
|
|
|
$service_obj->Method(Att1 => { Ec2KeyName => $value, ..., TerminationProtected => $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::EMR::JobFlowInstancesDetail object: |
|
40
|
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
$result = $service_obj->Method(...); |
|
42
|
|
|
|
|
|
|
$result->Att1->Ec2KeyName |
|
43
|
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
=head1 DESCRIPTION |
|
45
|
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
Specify the type of Amazon EC2 instances that the cluster (job flow) |
|
47
|
|
|
|
|
|
|
runs on. |
|
48
|
|
|
|
|
|
|
|
|
49
|
|
|
|
|
|
|
=head1 ATTRIBUTES |
|
50
|
|
|
|
|
|
|
|
|
51
|
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head2 Ec2KeyName => Str |
|
53
|
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
The name of an Amazon EC2 key pair that can be used to ssh to the |
|
55
|
|
|
|
|
|
|
master node. |
|
56
|
|
|
|
|
|
|
|
|
57
|
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
=head2 Ec2SubnetId => Str |
|
59
|
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
For clusters launched within Amazon Virtual Private Cloud, this is the |
|
61
|
|
|
|
|
|
|
identifier of the subnet where the cluster was launched. |
|
62
|
|
|
|
|
|
|
|
|
63
|
|
|
|
|
|
|
|
|
64
|
|
|
|
|
|
|
=head2 HadoopVersion => Str |
|
65
|
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
The Hadoop version for the cluster. |
|
67
|
|
|
|
|
|
|
|
|
68
|
|
|
|
|
|
|
|
|
69
|
|
|
|
|
|
|
=head2 B<REQUIRED> InstanceCount => Int |
|
70
|
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
The number of Amazon EC2 instances in the cluster. If the value is 1, |
|
72
|
|
|
|
|
|
|
the same instance serves as both the master and slave node. If the |
|
73
|
|
|
|
|
|
|
value is greater than 1, one instance is the master node and all others |
|
74
|
|
|
|
|
|
|
are slave nodes. |
|
75
|
|
|
|
|
|
|
|
|
76
|
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head2 InstanceGroups => ArrayRef[L<Paws::EMR::InstanceGroupDetail>] |
|
78
|
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
Details about the instance groups in a cluster. |
|
80
|
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
|
|
82
|
|
|
|
|
|
|
=head2 KeepJobFlowAliveWhenNoSteps => Bool |
|
83
|
|
|
|
|
|
|
|
|
84
|
|
|
|
|
|
|
Specifies whether the cluster should remain available after completing |
|
85
|
|
|
|
|
|
|
all steps. |
|
86
|
|
|
|
|
|
|
|
|
87
|
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=head2 MasterInstanceId => Str |
|
89
|
|
|
|
|
|
|
|
|
90
|
|
|
|
|
|
|
The Amazon EC2 instance identifier of the master node. |
|
91
|
|
|
|
|
|
|
|
|
92
|
|
|
|
|
|
|
|
|
93
|
|
|
|
|
|
|
=head2 B<REQUIRED> MasterInstanceType => Str |
|
94
|
|
|
|
|
|
|
|
|
95
|
|
|
|
|
|
|
The Amazon EC2 master node instance type. |
|
96
|
|
|
|
|
|
|
|
|
97
|
|
|
|
|
|
|
|
|
98
|
|
|
|
|
|
|
=head2 MasterPublicDnsName => Str |
|
99
|
|
|
|
|
|
|
|
|
100
|
|
|
|
|
|
|
The DNS name of the master node. |
|
101
|
|
|
|
|
|
|
|
|
102
|
|
|
|
|
|
|
|
|
103
|
|
|
|
|
|
|
=head2 NormalizedInstanceHours => Int |
|
104
|
|
|
|
|
|
|
|
|
105
|
|
|
|
|
|
|
An approximation of the cost of the cluster, represented in |
|
106
|
|
|
|
|
|
|
m1.small/hours. This value is incremented one time for every hour that |
|
107
|
|
|
|
|
|
|
an m1.small runs. Larger instances are weighted more, so an Amazon EC2 |
|
108
|
|
|
|
|
|
|
instance that is roughly four times more expensive would result in the |
|
109
|
|
|
|
|
|
|
normalized instance hours being incremented by four. This result is |
|
110
|
|
|
|
|
|
|
only an approximation and does not reflect the actual billing rate. |
|
111
|
|
|
|
|
|
|
|
|
112
|
|
|
|
|
|
|
|
|
113
|
|
|
|
|
|
|
=head2 Placement => L<Paws::EMR::PlacementType> |
|
114
|
|
|
|
|
|
|
|
|
115
|
|
|
|
|
|
|
The Amazon EC2 Availability Zone for the cluster. |
|
116
|
|
|
|
|
|
|
|
|
117
|
|
|
|
|
|
|
|
|
118
|
|
|
|
|
|
|
=head2 B<REQUIRED> SlaveInstanceType => Str |
|
119
|
|
|
|
|
|
|
|
|
120
|
|
|
|
|
|
|
The Amazon EC2 slave node instance type. |
|
121
|
|
|
|
|
|
|
|
|
122
|
|
|
|
|
|
|
|
|
123
|
|
|
|
|
|
|
=head2 TerminationProtected => Bool |
|
124
|
|
|
|
|
|
|
|
|
125
|
|
|
|
|
|
|
Specifies whether the Amazon EC2 instances in the cluster are protected |
|
126
|
|
|
|
|
|
|
from termination by API calls, user intervention, or in the event of a |
|
127
|
|
|
|
|
|
|
job-flow error. |
|
128
|
|
|
|
|
|
|
|
|
129
|
|
|
|
|
|
|
|
|
130
|
|
|
|
|
|
|
|
|
131
|
|
|
|
|
|
|
=head1 SEE ALSO |
|
132
|
|
|
|
|
|
|
|
|
133
|
|
|
|
|
|
|
This class forms part of L<Paws>, describing an object used in L<Paws::EMR> |
|
134
|
|
|
|
|
|
|
|
|
135
|
|
|
|
|
|
|
=head1 BUGS and CONTRIBUTIONS |
|
136
|
|
|
|
|
|
|
|
|
137
|
|
|
|
|
|
|
The source code is located here: https://github.com/pplu/aws-sdk-perl |
|
138
|
|
|
|
|
|
|
|
|
139
|
|
|
|
|
|
|
Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues |
|
140
|
|
|
|
|
|
|
|
|
141
|
|
|
|
|
|
|
=cut |
|
142
|
|
|
|
|
|
|
|