blib/lib/Paws/EMR/JobFlowDetail.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::EMR::JobFlowDetail;
3 use Moose;
4 has AmiVersion => (is => 'ro', isa => 'Str');
5 has AutoScalingRole => (is => 'ro', isa => 'Str');
6 has BootstrapActions => (is => 'ro', isa => 'ArrayRef[Paws::EMR::BootstrapActionDetail]');
7 has ExecutionStatusDetail => (is => 'ro', isa => 'Paws::EMR::JobFlowExecutionStatusDetail', required => 1);
8 has Instances => (is => 'ro', isa => 'Paws::EMR::JobFlowInstancesDetail', required => 1);
9 has JobFlowId => (is => 'ro', isa => 'Str', required => 1);
10 has JobFlowRole => (is => 'ro', isa => 'Str');
11 has LogEncryptionKmsKeyId => (is => 'ro', isa => 'Str');
12 has LogUri => (is => 'ro', isa => 'Str');
13 has Name => (is => 'ro', isa => 'Str', required => 1);
14 has ScaleDownBehavior => (is => 'ro', isa => 'Str');
15 has ServiceRole => (is => 'ro', isa => 'Str');
16 has Steps => (is => 'ro', isa => 'ArrayRef[Paws::EMR::StepDetail]');
17 has SupportedProducts => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
18 has VisibleToAllUsers => (is => 'ro', isa => 'Bool');
19  
20 1;
21  
22 ### main pod documentation begin ###
23  
24 =head1 NAME
25  
26 Paws::EMR::JobFlowDetail
27  
28 =head1 USAGE
29  
30 This class represents one of two things:
31  
32 =head3 Arguments in a call to a service
33  
34 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
35 Each attribute should be used as a named argument in the calls that expect this type of object.
36  
37 As an example, if Att1 is expected to be a Paws::EMR::JobFlowDetail object:
38  
39 $service_obj->Method(Att1 => { AmiVersion => $value, ..., VisibleToAllUsers => $value });
40  
41 =head3 Results returned from an API call
42  
43 Use accessors for each attribute. If Att1 is expected to be an Paws::EMR::JobFlowDetail object:
44  
45 $result = $service_obj->Method(...);
46 $result->Att1->AmiVersion
47  
48 =head1 DESCRIPTION
49  
50 A description of a cluster (job flow).
51  
52 =head1 ATTRIBUTES
53  
54  
55 =head2 AmiVersion => Str
56  
57 Applies only to Amazon EMR AMI versions 3.x and 2.x. For Amazon EMR
58 releases 4.0 and later, C<ReleaseLabel> is used. To specify a custom
59 AMI, use C<CustomAmiID>.
60  
61  
62 =head2 AutoScalingRole => Str
63  
64 An IAM role for automatic scaling policies. The default role is
65 C<EMR_AutoScaling_DefaultRole>. The IAM role provides a way for the
66 automatic scaling feature to get the required permissions it needs to
67 launch and terminate EC2 instances in an instance group.
68  
69  
70 =head2 BootstrapActions => ArrayRef[L<Paws::EMR::BootstrapActionDetail>]
71  
72 A list of the bootstrap actions run by the job flow.
73  
74  
75 =head2 B<REQUIRED> ExecutionStatusDetail => L<Paws::EMR::JobFlowExecutionStatusDetail>
76  
77 Describes the execution status of the job flow.
78  
79  
80 =head2 B<REQUIRED> Instances => L<Paws::EMR::JobFlowInstancesDetail>
81  
82 Describes the Amazon EC2 instances of the job flow.
83  
84  
85 =head2 B<REQUIRED> JobFlowId => Str
86  
87 The job flow identifier.
88  
89  
90 =head2 JobFlowRole => Str
91  
92 The IAM role that was specified when the job flow was launched. The EC2
93 instances of the job flow assume this role.
94  
95  
96 =head2 LogEncryptionKmsKeyId => Str
97  
98 The AWS KMS customer master key (CMK) used for encrypting log files.
99 This attribute is only available with EMR version 5.30.0 and later,
100 excluding EMR 6.0.0.
101  
102  
103 =head2 LogUri => Str
104  
105 The location in Amazon S3 where log files for the job are stored.
106  
107  
108 =head2 B<REQUIRED> Name => Str
109  
110 The name of the job flow.
111  
112  
113 =head2 ScaleDownBehavior => Str
114  
115 The way that individual Amazon EC2 instances terminate when an
116 automatic scale-in activity occurs or an instance group is resized.
117 C<TERMINATE_AT_INSTANCE_HOUR> indicates that Amazon EMR terminates
118 nodes at the instance-hour boundary, regardless of when the request to
119 terminate the instance was submitted. This option is only available
120 with Amazon EMR 5.1.0 and later and is the default for clusters created
121 using that version. C<TERMINATE_AT_TASK_COMPLETION> indicates that
122 Amazon EMR adds nodes to a deny list and drains tasks from nodes before
123 terminating the Amazon EC2 instances, regardless of the instance-hour
124 boundary. With either behavior, Amazon EMR removes the least active
125 nodes first and blocks instance termination if it could lead to HDFS
126 corruption. C<TERMINATE_AT_TASK_COMPLETION> available only in Amazon
127 EMR version 4.1.0 and later, and is the default for versions of Amazon
128 EMR earlier than 5.1.0.
129  
130  
131 =head2 ServiceRole => Str
132  
133 The IAM role that is assumed by the Amazon EMR service to access AWS
134 resources on your behalf.
135  
136  
137 =head2 Steps => ArrayRef[L<Paws::EMR::StepDetail>]
138  
139 A list of steps run by the job flow.
140  
141  
142 =head2 SupportedProducts => ArrayRef[Str|Undef]
143  
144 A list of strings set by third-party software when the job flow is
145 launched. If you are not using third-party software to manage the job
146 flow, this value is empty.
147  
148  
149 =head2 VisibleToAllUsers => Bool
150  
151 Indicates whether the cluster is visible to all IAM users of the AWS
152 account associated with the cluster. The default value, C<true>,
153 indicates that all IAM users in the AWS account can perform cluster
154 actions if they have the proper IAM policy permissions. If this value
155 is C<false>, only the IAM user that created the cluster can perform
156 actions. This value can be changed on a running cluster by using the
157 SetVisibleToAllUsers action. You can override the default value of
158 C<true> when you create a cluster by using the C<VisibleToAllUsers>
159 parameter of the C<RunJobFlow> action.
160  
161  
162  
163 =head1 SEE ALSO
164  
165 This class forms part of L<Paws>, describing an object used in L<Paws::EMR>
166  
167 =head1 BUGS and CONTRIBUTIONS
168  
169 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
170  
171 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
172  
173 =cut
174