File Coverage

blib/lib/Paws/ECS/ListTasks.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::ECS::ListTasks;
3 1     1   503 use Moose;
  1         4  
  1         9  
4             has Cluster => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'cluster' );
5             has ContainerInstance => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'containerInstance' );
6             has DesiredStatus => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'desiredStatus' );
7             has Family => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'family' );
8             has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults' );
9             has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' );
10             has ServiceName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'serviceName' );
11             has StartedBy => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'startedBy' );
12              
13 1     1   6319 use MooseX::ClassAttribute;
  1         3  
  1         9  
14              
15             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListTasks');
16             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ECS::ListTasksResponse');
17             class_has _result_key => (isa => 'Str', is => 'ro');
18             1;
19              
20             ### main pod documentation begin ###
21              
22             =head1 NAME
23              
24             Paws::ECS::ListTasks - Arguments for method ListTasks on Paws::ECS
25              
26             =head1 DESCRIPTION
27              
28             This class represents the parameters used for calling the method ListTasks on the
29             Amazon EC2 Container Service service. Use the attributes of this class
30             as arguments to method ListTasks.
31              
32             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListTasks.
33              
34             As an example:
35              
36             $service_obj->ListTasks(Att1 => $value1, Att2 => $value2, ...);
37              
38             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.
39              
40             =head1 ATTRIBUTES
41              
42              
43             =head2 Cluster => Str
44              
45             The short name or full Amazon Resource Name (ARN) of the cluster that
46             hosts the tasks to list. If you do not specify a cluster, the default
47             cluster is assumed.
48              
49              
50              
51             =head2 ContainerInstance => Str
52              
53             The container instance ID or full Amazon Resource Name (ARN) of the
54             container instance with which to filter the C<ListTasks> results.
55             Specifying a C<containerInstance> limits the results to tasks that
56             belong to that container instance.
57              
58              
59              
60             =head2 DesiredStatus => Str
61              
62             The task desired status with which to filter the C<ListTasks> results.
63             Specifying a C<desiredStatus> of C<STOPPED> limits the results to tasks
64             that ECS has set the desired status to C<STOPPED>, which can be useful
65             for debugging tasks that are not starting properly or have died or
66             finished. The default status filter is C<RUNNING>, which shows tasks
67             that ECS has set the desired status to C<RUNNING>.
68              
69             Although you can filter results based on a desired status of
70             C<PENDING>, this will not return any results because ECS never sets the
71             desired status of a task to that value (only a task's C<lastStatus> may
72             have a value of C<PENDING>).
73              
74             Valid values are: C<"RUNNING">, C<"PENDING">, C<"STOPPED">
75              
76             =head2 Family => Str
77              
78             The name of the family with which to filter the C<ListTasks> results.
79             Specifying a C<family> limits the results to tasks that belong to that
80             family.
81              
82              
83              
84             =head2 MaxResults => Int
85              
86             The maximum number of task results returned by C<ListTasks> in
87             paginated output. When this parameter is used, C<ListTasks> only
88             returns C<maxResults> results in a single page along with a
89             C<nextToken> response element. The remaining results of the initial
90             request can be seen by sending another C<ListTasks> request with the
91             returned C<nextToken> value. This value can be between 1 and 100. If
92             this parameter is not used, then C<ListTasks> returns up to 100 results
93             and a C<nextToken> value if applicable.
94              
95              
96              
97             =head2 NextToken => Str
98              
99             The C<nextToken> value returned from a previous paginated C<ListTasks>
100             request where C<maxResults> was used and the results exceeded the value
101             of that parameter. Pagination continues from the end of the previous
102             results that returned the C<nextToken> value. This value is C<null>
103             when there are no more results to return.
104              
105             This token should be treated as an opaque identifier that is only used
106             to retrieve the next items in a list and not for other programmatic
107             purposes.
108              
109              
110              
111             =head2 ServiceName => Str
112              
113             The name of the service with which to filter the C<ListTasks> results.
114             Specifying a C<serviceName> limits the results to tasks that belong to
115             that service.
116              
117              
118              
119             =head2 StartedBy => Str
120              
121             The C<startedBy> value with which to filter the task results.
122             Specifying a C<startedBy> value limits the results to tasks that were
123             started with that value.
124              
125              
126              
127              
128             =head1 SEE ALSO
129              
130             This class forms part of L<Paws>, documenting arguments for method ListTasks in L<Paws::ECS>
131              
132             =head1 BUGS and CONTRIBUTIONS
133              
134             The source code is located here: https://github.com/pplu/aws-sdk-perl
135              
136             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
137              
138             =cut
139