File Coverage

blib/lib/Paws/EMR/JobFlowDetail.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1             package Paws::EMR::JobFlowDetail;
2 1     1   470 use Moose;
  1         3  
  1         7  
3             has AmiVersion => (is => 'ro', isa => 'Str');
4             has AutoScalingRole => (is => 'ro', isa => 'Str');
5             has BootstrapActions => (is => 'ro', isa => 'ArrayRef[Paws::EMR::BootstrapActionDetail]');
6             has ExecutionStatusDetail => (is => 'ro', isa => 'Paws::EMR::JobFlowExecutionStatusDetail', required => 1);
7             has Instances => (is => 'ro', isa => 'Paws::EMR::JobFlowInstancesDetail', required => 1);
8             has JobFlowId => (is => 'ro', isa => 'Str', required => 1);
9             has JobFlowRole => (is => 'ro', isa => 'Str');
10             has LogUri => (is => 'ro', isa => 'Str');
11             has Name => (is => 'ro', isa => 'Str', required => 1);
12             has ScaleDownBehavior => (is => 'ro', isa => 'Str');
13             has ServiceRole => (is => 'ro', isa => 'Str');
14             has Steps => (is => 'ro', isa => 'ArrayRef[Paws::EMR::StepDetail]');
15             has SupportedProducts => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
16             has VisibleToAllUsers => (is => 'ro', isa => 'Bool');
17             1;
18              
19             ### main pod documentation begin ###
20              
21             =head1 NAME
22              
23             Paws::EMR::JobFlowDetail
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::EMR::JobFlowDetail object:
35              
36             $service_obj->Method(Att1 => { AmiVersion => $value, ..., VisibleToAllUsers => $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::EMR::JobFlowDetail object:
41              
42             $result = $service_obj->Method(...);
43             $result->Att1->AmiVersion
44              
45             =head1 DESCRIPTION
46              
47             A description of a cluster (job flow).
48              
49             =head1 ATTRIBUTES
50              
51              
52             =head2 AmiVersion => Str
53              
54             Used only for version 2.x and 3.x of Amazon EMR. The version of the AMI
55             used to initialize Amazon EC2 instances in the job flow. For a list of
56             AMI versions supported by Amazon EMR, see AMI Versions Supported in EMR
57             in the I<Amazon EMR Developer Guide.>
58              
59              
60             =head2 AutoScalingRole => Str
61              
62             An IAM role for automatic scaling policies. The default role is
63             C<EMR_AutoScaling_DefaultRole>. The IAM role provides a way for the
64             automatic scaling feature to get the required permissions it needs to
65             launch and terminate EC2 instances in an instance group.
66              
67              
68             =head2 BootstrapActions => ArrayRef[L<Paws::EMR::BootstrapActionDetail>]
69              
70             A list of the bootstrap actions run by the job flow.
71              
72              
73             =head2 B<REQUIRED> ExecutionStatusDetail => L<Paws::EMR::JobFlowExecutionStatusDetail>
74              
75             Describes the execution status of the job flow.
76              
77              
78             =head2 B<REQUIRED> Instances => L<Paws::EMR::JobFlowInstancesDetail>
79              
80             Describes the Amazon EC2 instances of the job flow.
81              
82              
83             =head2 B<REQUIRED> JobFlowId => Str
84              
85             The job flow identifier.
86              
87              
88             =head2 JobFlowRole => Str
89              
90             The IAM role that was specified when the job flow was launched. The EC2
91             instances of the job flow assume this role.
92              
93              
94             =head2 LogUri => Str
95              
96             The location in Amazon S3 where log files for the job are stored.
97              
98              
99             =head2 B<REQUIRED> Name => Str
100              
101             The name of the job flow.
102              
103              
104             =head2 ScaleDownBehavior => Str
105              
106             The way that individual Amazon EC2 instances terminate when an
107             automatic scale-in activity occurs or an instance group is resized.
108             C<TERMINATE_AT_INSTANCE_HOUR> indicates that Amazon EMR terminates
109             nodes at the instance-hour boundary, regardless of when the request to
110             terminate the instance was submitted. This option is only available
111             with Amazon EMR 5.1.0 and later and is the default for clusters created
112             using that version. C<TERMINATE_AT_TASK_COMPLETION> indicates that
113             Amazon EMR blacklists and drains tasks from nodes before terminating
114             the Amazon EC2 instances, regardless of the instance-hour boundary.
115             With either behavior, Amazon EMR removes the least active nodes first
116             and blocks instance termination if it could lead to HDFS corruption.
117             C<TERMINATE_AT_TASK_COMPLETION> available only in Amazon EMR version
118             4.1.0 and later, and is the default for versions of Amazon EMR earlier
119             than 5.1.0.
120              
121              
122             =head2 ServiceRole => Str
123              
124             The IAM role that will be assumed by the Amazon EMR service to access
125             AWS resources on your behalf.
126              
127              
128             =head2 Steps => ArrayRef[L<Paws::EMR::StepDetail>]
129              
130             A list of steps run by the job flow.
131              
132              
133             =head2 SupportedProducts => ArrayRef[Str|Undef]
134              
135             A list of strings set by third party software when the job flow is
136             launched. If you are not using third party software to manage the job
137             flow this value is empty.
138              
139              
140             =head2 VisibleToAllUsers => Bool
141              
142             Specifies whether the cluster is visible to all IAM users of the AWS
143             account associated with the cluster. If this value is set to C<true>,
144             all IAM users of that AWS account can view and (if they have the proper
145             policy permissions set) manage the cluster. If it is set to C<false>,
146             only the IAM user that created the cluster can view and manage it. This
147             value can be changed using the SetVisibleToAllUsers action.
148              
149              
150              
151             =head1 SEE ALSO
152              
153             This class forms part of L<Paws>, describing an object used in L<Paws::EMR>
154              
155             =head1 BUGS and CONTRIBUTIONS
156              
157             The source code is located here: https://github.com/pplu/aws-sdk-perl
158              
159             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
160              
161             =cut
162