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

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::EMR::DescribeJobFlows;
3 use Moose;
4 has CreatedAfter => (is => 'ro', isa => 'Str');
5 has CreatedBefore => (is => 'ro', isa => 'Str');
6 has JobFlowIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
7 has JobFlowStates => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeJobFlows');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EMR::DescribeJobFlowsOutput');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::EMR::DescribeJobFlows - Arguments for method DescribeJobFlows on L<Paws::EMR>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method DescribeJobFlows on the
25 L<Amazon Elastic MapReduce|Paws::EMR> service. Use the attributes of this class
26 as arguments to method DescribeJobFlows.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeJobFlows.
29  
30 =head1 SYNOPSIS
31  
32 my $elasticmapreduce = Paws->service('EMR');
33 my $DescribeJobFlowsOutput = $elasticmapreduce->DescribeJobFlows(
34 CreatedAfter => '1970-01-01T01:00:00', # OPTIONAL
35 CreatedBefore => '1970-01-01T01:00:00', # OPTIONAL
36 JobFlowIds => [
37 'MyXmlString', ... # max: 10280
38 ], # OPTIONAL
39 JobFlowStates => [
40 'STARTING',
41 ... # values: STARTING, BOOTSTRAPPING, RUNNING, WAITING, SHUTTING_DOWN, TERMINATED, COMPLETED, FAILED
42 ], # OPTIONAL
43 );
44  
45 # Results:
46 my $JobFlows = $DescribeJobFlowsOutput->JobFlows;
47  
48 # Returns a L<Paws::EMR::DescribeJobFlowsOutput> object.
49  
50 Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
51 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce/DescribeJobFlows>
52  
53 =head1 ATTRIBUTES
54  
55  
56 =head2 CreatedAfter => Str
57  
58 Return only job flows created after this date and time.
59  
60  
61  
62 =head2 CreatedBefore => Str
63  
64 Return only job flows created before this date and time.
65  
66  
67  
68 =head2 JobFlowIds => ArrayRef[Str|Undef]
69  
70 Return only job flows whose job flow ID is contained in this list.
71  
72  
73  
74 =head2 JobFlowStates => ArrayRef[Str|Undef]
75  
76 Return only job flows whose state is contained in this list.
77  
78  
79  
80  
81 =head1 SEE ALSO
82  
83 This class forms part of L<Paws>, documenting arguments for method DescribeJobFlows in L<Paws::EMR>
84  
85 =head1 BUGS and CONTRIBUTIONS
86  
87 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
88  
89 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
90  
91 =cut
92