File Coverage

blib/lib/Paws/Lambda/ListAliases.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::Lambda::ListAliases;
3 1     1   436 use Moose;
  1         3  
  1         8  
4             has FunctionName => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'FunctionName', required => 1);
5             has FunctionVersion => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'FunctionVersion');
6             has Marker => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'Marker');
7             has MaxItems => (is => 'ro', isa => 'Int', traits => ['ParamInQuery'], query_name => 'MaxItems');
8              
9 1     1   6469 use MooseX::ClassAttribute;
  1         2  
  1         9  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListAliases');
12             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2015-03-31/functions/{FunctionName}/aliases');
13             class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
14             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Lambda::ListAliasesResponse');
15             class_has _result_key => (isa => 'Str', is => 'ro');
16             1;
17              
18             ### main pod documentation begin ###
19              
20             =head1 NAME
21              
22             Paws::Lambda::ListAliases - Arguments for method ListAliases on Paws::Lambda
23              
24             =head1 DESCRIPTION
25              
26             This class represents the parameters used for calling the method ListAliases on the
27             AWS Lambda service. Use the attributes of this class
28             as arguments to method ListAliases.
29              
30             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListAliases.
31              
32             As an example:
33              
34             $service_obj->ListAliases(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> FunctionName => Str
42              
43             Lambda function name for which the alias is created. Note that the
44             length constraint applies only to the ARN. If you specify only the
45             function name, it is limited to 64 characters in length.
46              
47              
48              
49             =head2 FunctionVersion => Str
50              
51             If you specify this optional parameter, the API returns only the
52             aliases that are pointing to the specific Lambda function version,
53             otherwise the API returns all of the aliases created for the Lambda
54             function.
55              
56              
57              
58             =head2 Marker => Str
59              
60             Optional string. An opaque pagination token returned from a previous
61             C<ListAliases> operation. If present, indicates where to continue the
62             listing.
63              
64              
65              
66             =head2 MaxItems => Int
67              
68             Optional integer. Specifies the maximum number of aliases to return in
69             response. This parameter value must be greater than 0.
70              
71              
72              
73              
74             =head1 SEE ALSO
75              
76             This class forms part of L<Paws>, documenting arguments for method ListAliases in L<Paws::Lambda>
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