blib/lib/Paws/EMRContainers/ListJobRuns.pm untested

filter: Statementstmt 0.0% 0 / 24 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 26 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::EMRContainers::ListJobRuns;
3 use Moose;
4 has CreatedAfter => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'createdAfter');
5 has CreatedBefore => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'createdBefore');
6 has MaxResults => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'maxResults');
7 has Name => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'name');
8 has NextToken => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'nextToken');
9 has States => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['ParamInQuery'], query_name => 'states');
10 has VirtualClusterId => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'virtualClusterId', required => 1);
11  
12 use MooseX::ClassAttribute;
13  
14 class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListJobRuns');
15 class_has _api_uri => (isa => 'Str', is => 'ro', default => '/virtualclusters/{virtualClusterId}/jobruns');
16 class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
17 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::EMRContainers::ListJobRunsResponse');
18 1;
19  
20 ### main pod documentation begin ###
21  
22 =head1 NAME
23  
24 Paws::EMRContainers::ListJobRuns - Arguments for method ListJobRuns on L<Paws::EMRContainers>
25  
26 =head1 DESCRIPTION
27  
28 This class represents the parameters used for calling the method ListJobRuns on the
29 L<Amazon EMR Containers|Paws::EMRContainers> service. Use the attributes of this class
30 as arguments to method ListJobRuns.
31  
32 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListJobRuns.
33  
34 =head1 SYNOPSIS
35  
36 my $emr-containers = Paws->service('EMRContainers');
37 my $ListJobRunsResponse = $emr -containers->ListJobRuns(
38 VirtualClusterId => 'MyResourceIdString',
39 CreatedAfter => '1970-01-01T01:00:00', # OPTIONAL
40 CreatedBefore => '1970-01-01T01:00:00', # OPTIONAL
41 MaxResults => 1, # OPTIONAL
42 Name => 'MyResourceNameString', # OPTIONAL
43 NextToken => 'MyNextToken', # OPTIONAL
44 States => [
45 'PENDING',
46 ... # values: PENDING, SUBMITTED, RUNNING, FAILED, CANCELLED, CANCEL_PENDING, COMPLETED
47 ], # OPTIONAL
48 );
49  
50 # Results:
51 my $JobRuns = $ListJobRunsResponse->JobRuns;
52 my $NextToken = $ListJobRunsResponse->NextToken;
53  
54 # Returns a L<Paws::EMRContainers::ListJobRunsResponse> object.
55  
56 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.
57 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/emr-containers/ListJobRuns>
58  
59 =head1 ATTRIBUTES
60  
61  
62 =head2 CreatedAfter => Str
63  
64 The date and time after which the job runs were submitted.
65  
66  
67  
68 =head2 CreatedBefore => Str
69  
70 The date and time before which the job runs were submitted.
71  
72  
73  
74 =head2 MaxResults => Int
75  
76 The maximum number of job runs that can be listed.
77  
78  
79  
80 =head2 Name => Str
81  
82 The name of the job run.
83  
84  
85  
86 =head2 NextToken => Str
87  
88 The token for the next set of job runs to return.
89  
90  
91  
92 =head2 States => ArrayRef[Str|Undef]
93  
94 The states of the job run.
95  
96  
97  
98 =head2 B<REQUIRED> VirtualClusterId => Str
99  
100 The ID of the virtual cluster for which to list the job run.
101  
102  
103  
104  
105 =head1 SEE ALSO
106  
107 This class forms part of L<Paws>, documenting arguments for method ListJobRuns in L<Paws::EMRContainers>
108  
109 =head1 BUGS and CONTRIBUTIONS
110  
111 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
112  
113 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
114  
115 =cut
116