File Coverage

blib/lib/Paws/ECS/ListServices.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::ListServices;
3 1     1   600 use Moose;
  1         5  
  1         11  
4             has Cluster => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'cluster' );
5             has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults' );
6             has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' );
7              
8 1     1   11805 use MooseX::ClassAttribute;
  1         4  
  1         15  
9              
10             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListServices');
11             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ECS::ListServicesResponse');
12             class_has _result_key => (isa => 'Str', is => 'ro');
13             1;
14              
15             ### main pod documentation begin ###
16              
17             =head1 NAME
18              
19             Paws::ECS::ListServices - Arguments for method ListServices on Paws::ECS
20              
21             =head1 DESCRIPTION
22              
23             This class represents the parameters used for calling the method ListServices on the
24             Amazon EC2 Container Service service. Use the attributes of this class
25             as arguments to method ListServices.
26              
27             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListServices.
28              
29             As an example:
30              
31             $service_obj->ListServices(Att1 => $value1, Att2 => $value2, ...);
32              
33             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.
34              
35             =head1 ATTRIBUTES
36              
37              
38             =head2 Cluster => Str
39              
40             The short name or full Amazon Resource Name (ARN) of the cluster that
41             hosts the services to list. If you do not specify a cluster, the
42             default cluster is assumed.
43              
44              
45              
46             =head2 MaxResults => Int
47              
48             The maximum number of container instance results returned by
49             C<ListServices> in paginated output. When this parameter is used,
50             C<ListServices> only returns C<maxResults> results in a single page
51             along with a C<nextToken> response element. The remaining results of
52             the initial request can be seen by sending another C<ListServices>
53             request with the returned C<nextToken> value. This value can be between
54             1 and 10. If this parameter is not used, then C<ListServices> returns
55             up to 10 results and a C<nextToken> value if applicable.
56              
57              
58              
59             =head2 NextToken => Str
60              
61             The C<nextToken> value returned from a previous paginated
62             C<ListServices> request where C<maxResults> was used and the results
63             exceeded the value of that parameter. Pagination continues from the end
64             of the previous results that returned the C<nextToken> value. This
65             value is C<null> when there are no more results to return.
66              
67             This token should be treated as an opaque identifier that is only used
68             to retrieve the next items in a list and not for other programmatic
69             purposes.
70              
71              
72              
73              
74             =head1 SEE ALSO
75              
76             This class forms part of L<Paws>, documenting arguments for method ListServices in L<Paws::ECS>
77              
78             =head1 BUGS and CONTRIBUTIONS
79              
80             The source code is located here: https://github.com/pplu/aws-sdk-perl
81              
82             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
83              
84             =cut
85