blib/lib/Paws/EMR/ListClusters.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::ListClusters;
3 use Moose;
4 has ClusterStates => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
5 has CreatedAfter => (is => 'ro', isa => 'Str');
6 has CreatedBefore => (is => 'ro', isa => 'Str');
7 has Marker => (is => 'ro', isa => 'Str');
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListClusters');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EMR::ListClustersOutput');
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::ListClusters - Arguments for method ListClusters on L<Paws::EMR>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method ListClusters on the
25 L<Amazon Elastic MapReduce|Paws::EMR> service. Use the attributes of this class
26 as arguments to method ListClusters.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListClusters.
29  
30 =head1 SYNOPSIS
31  
32 my $elasticmapreduce = Paws->service('EMR');
33 my $ListClustersOutput = $elasticmapreduce->ListClusters(
34 ClusterStates => [
35 'STARTING',
36 ... # values: STARTING, BOOTSTRAPPING, RUNNING, WAITING, TERMINATING, TERMINATED, TERMINATED_WITH_ERRORS
37 ], # OPTIONAL
38 CreatedAfter => '1970-01-01T01:00:00', # OPTIONAL
39 CreatedBefore => '1970-01-01T01:00:00', # OPTIONAL
40 Marker => 'MyMarker', # OPTIONAL
41 );
42  
43 # Results:
44 my $Clusters = $ListClustersOutput->Clusters;
45 my $Marker = $ListClustersOutput->Marker;
46  
47 # Returns a L<Paws::EMR::ListClustersOutput> object.
48  
49 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.
50 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/elasticmapreduce/ListClusters>
51  
52 =head1 ATTRIBUTES
53  
54  
55 =head2 ClusterStates => ArrayRef[Str|Undef]
56  
57 The cluster state filters to apply when listing clusters.
58  
59  
60  
61 =head2 CreatedAfter => Str
62  
63 The creation date and time beginning value filter for listing clusters.
64  
65  
66  
67 =head2 CreatedBefore => Str
68  
69 The creation date and time end value filter for listing clusters.
70  
71  
72  
73 =head2 Marker => Str
74  
75 The pagination token that indicates the next set of results to
76 retrieve.
77  
78  
79  
80  
81 =head1 SEE ALSO
82  
83 This class forms part of L<Paws>, documenting arguments for method ListClusters 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