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   395 use Moose;
  1         3  
  1         6  
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   5481 use MooseX::ClassAttribute;
  1         3  
  1         7  
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. If you
51             do not specify a status, only C<RUNNING> jobs are returned.
52              
53             Valid values are: C<"SUBMITTED">, C<"PENDING">, C<"RUNNABLE">, C<"STARTING">, C<"RUNNING">, C<"SUCCEEDED">, C<"FAILED">
54              
55             =head2 MaxResults => Int
56              
57             The maximum number of results returned by C<ListJobs> in paginated
58             output. When this parameter is used, C<ListJobs> only returns
59             C<maxResults> results in a single page along with a C<nextToken>
60             response element. The remaining results of the initial request can be
61             seen by sending another C<ListJobs> request with the returned
62             C<nextToken> value. This value can be between 1 and 100. If this
63             parameter is not used, then C<ListJobs> returns up to 100 results and a
64             C<nextToken> value if applicable.
65              
66              
67              
68             =head2 NextToken => Str
69              
70             The C<nextToken> value returned from a previous paginated C<ListJobs>
71             request where C<maxResults> was used and the results exceeded the value
72             of that parameter. Pagination continues from the end of the previous
73             results that returned the C<nextToken> value. This value is C<null>
74             when there are no more results to return.
75              
76             This token should be treated as an opaque identifier that is only used
77             to retrieve the next items in a list and not for other programmatic
78             purposes.
79              
80              
81              
82              
83             =head1 SEE ALSO
84              
85             This class forms part of L<Paws>, documenting arguments for method ListJobs in L<Paws::Batch>
86              
87             =head1 BUGS and CONTRIBUTIONS
88              
89             The source code is located here: https://github.com/pplu/aws-sdk-perl
90              
91             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
92              
93             =cut
94