File Coverage

blib/lib/Paws/EMR/Step.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::Step;
2 1     1   385 use Moose;
  1         3  
  1         8  
3             has ActionOnFailure => (is => 'ro', isa => 'Str');
4             has Config => (is => 'ro', isa => 'Paws::EMR::HadoopStepConfig');
5             has Id => (is => 'ro', isa => 'Str');
6             has Name => (is => 'ro', isa => 'Str');
7             has Status => (is => 'ro', isa => 'Paws::EMR::StepStatus');
8             1;
9              
10             ### main pod documentation begin ###
11              
12             =head1 NAME
13              
14             Paws::EMR::Step
15              
16             =head1 USAGE
17              
18             This class represents one of two things:
19              
20             =head3 Arguments in a call to a service
21              
22             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
23             Each attribute should be used as a named argument in the calls that expect this type of object.
24              
25             As an example, if Att1 is expected to be a Paws::EMR::Step object:
26              
27             $service_obj->Method(Att1 => { ActionOnFailure => $value, ..., Status => $value });
28              
29             =head3 Results returned from an API call
30              
31             Use accessors for each attribute. If Att1 is expected to be an Paws::EMR::Step object:
32              
33             $result = $service_obj->Method(...);
34             $result->Att1->ActionOnFailure
35              
36             =head1 DESCRIPTION
37              
38             This represents a step in a cluster.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 ActionOnFailure => Str
44              
45             This specifies what action to take when the cluster step fails.
46             Possible values are TERMINATE_CLUSTER, CANCEL_AND_WAIT, and CONTINUE.
47              
48              
49             =head2 Config => L<Paws::EMR::HadoopStepConfig>
50              
51             The Hadoop job configuration of the cluster step.
52              
53              
54             =head2 Id => Str
55              
56             The identifier of the cluster step.
57              
58              
59             =head2 Name => Str
60              
61             The name of the cluster step.
62              
63              
64             =head2 Status => L<Paws::EMR::StepStatus>
65              
66             The current execution status details of the cluster step.
67              
68              
69              
70             =head1 SEE ALSO
71              
72             This class forms part of L<Paws>, describing an object used in L<Paws::EMR>
73              
74             =head1 BUGS and CONTRIBUTIONS
75              
76             The source code is located here: https://github.com/pplu/aws-sdk-perl
77              
78             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
79              
80             =cut
81