File Coverage

blib/lib/Paws/Batch/ListJobs.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::Batch::ListJobs;
3 1     1   756 use Moose;
  1         4  
  1         11  
4             has JobQueue => (is => 'ro', isa => 'Str', required => 1);
5             has JobStatus => (is => 'ro', isa => 'Str');
6             has MaxResults => (is => 'ro', isa => 'Int');
7             has NextToken => (is => 'ro', isa => 'Str');
8              
9 1     1   12000 use MooseX::ClassAttribute;
  1         4  
  1         15  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListJobs');
12             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/v1/listjobs');
13             class_has _api_method => (isa => 'Str', is => 'ro', default => 'POST');
14             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Batch::ListJobsResponse');
15             class_has _result_key => (isa => 'Str', is => 'ro');
16             1;
17              
18             ### main pod documentation begin ###
19              
20             =head1 NAME
21              
22             Paws::Batch::ListJobs - Arguments for method ListJobs on Paws::Batch
23              
24             =head1 DESCRIPTION
25              
26             This class represents the parameters used for calling the method ListJobs on the
27             AWS Batch service. Use the attributes of this class
28             as arguments to method ListJobs.
29              
30             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListJobs.
31              
32             As an example:
33              
34             $service_obj->ListJobs(Att1 => $value1, Att2 => $value2, ...);
35              
36             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.
37              
38             =head1 ATTRIBUTES
39              
40              
41             =head2 B<REQUIRED> JobQueue => Str
42              
43             The name or full Amazon Resource Name (ARN) of the job queue with which
44             to list jobs.
45              
46              
47              
48             =head2 JobStatus => Str
49              
50             The job status with which to filter jobs in the specified queue.
51              
52             Valid values are: C<"SUBMITTED">, C<"PENDING">, C<"RUNNABLE">, C<"STARTING">, C<"RUNNING">, C<"SUCCEEDED">, C<"FAILED">
53              
54             =head2 MaxResults => Int
55              
56             The maximum number of results returned by C<ListJobs> in paginated
57             output. When this parameter is used, C<ListJobs> only returns
58             C<maxResults> results in a single page along with a C<nextToken>
59             response element. The remaining results of the initial request can be
60             seen by sending another C<ListJobs> request with the returned
61             C<nextToken> value. This value can be between 1 and 100. If this
62             parameter is not used, then C<ListJobs> returns up to 100 results and a
63             C<nextToken> value if applicable.
64              
65              
66              
67             =head2 NextToken => Str
68              
69             The C<nextToken> value returned from a previous paginated C<ListJobs>
70             request where C<maxResults> was used and the results exceeded the value
71             of that parameter. Pagination continues from the end of the previous
72             results that returned the C<nextToken> value. This value is C<null>
73             when there are no more results to return.
74              
75             This token should be treated as an opaque identifier that is only used
76             to retrieve the next items in a list and not for other programmatic
77             purposes.
78              
79              
80              
81              
82             =head1 SEE ALSO
83              
84             This class forms part of L<Paws>, documenting arguments for method ListJobs in L<Paws::Batch>
85              
86             =head1 BUGS and CONTRIBUTIONS
87              
88             The source code is located here: https://github.com/pplu/aws-sdk-perl
89              
90             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
91              
92             =cut
93