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