File Coverage

blib/lib/Paws/Lambda/ListEventSourceMappings.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::ListEventSourceMappings;
3 1     1   534 use Moose;
  1         4  
  1         8  
4             has EventSourceArn => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'EventSourceArn' );
5             has FunctionName => (is => 'ro', isa => 'Str', traits => ['ParamInQuery'], query_name => 'FunctionName' );
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   6586 use MooseX::ClassAttribute;
  1         3  
  1         8  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'ListEventSourceMappings');
12             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2015-03-31/event-source-mappings/');
13             class_has _api_method => (isa => 'Str', is => 'ro', default => 'GET');
14             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Lambda::ListEventSourceMappingsResponse');
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::ListEventSourceMappings - Arguments for method ListEventSourceMappings on Paws::Lambda
23              
24             =head1 DESCRIPTION
25              
26             This class represents the parameters used for calling the method ListEventSourceMappings on the
27             AWS Lambda service. Use the attributes of this class
28             as arguments to method ListEventSourceMappings.
29              
30             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListEventSourceMappings.
31              
32             As an example:
33              
34             $service_obj->ListEventSourceMappings(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 EventSourceArn => Str
42              
43             The Amazon Resource Name (ARN) of the Amazon Kinesis stream. (This
44             parameter is optional.)
45              
46              
47              
48             =head2 FunctionName => Str
49              
50             The name of the Lambda function.
51              
52             You can specify the function name (for example, C<Thumbnail>) or you
53             can specify Amazon Resource Name (ARN) of the function (for example,
54             C<arn:aws:lambda:us-west-2:account-id:function:ThumbNail>). If you are
55             using versioning, you can also provide a qualified function ARN (ARN
56             that is qualified with function version or alias name as suffix). AWS
57             Lambda also allows you to specify only the function name with the
58             account ID qualifier (for example, C<account-id:Thumbnail>). Note that
59             the length constraint applies only to the ARN. If you specify only the
60             function name, it is limited to 64 characters in length.
61              
62              
63              
64             =head2 Marker => Str
65              
66             Optional string. An opaque pagination token returned from a previous
67             C<ListEventSourceMappings> operation. If present, specifies to continue
68             the list from where the returning call left off.
69              
70              
71              
72             =head2 MaxItems => Int
73              
74             Optional integer. Specifies the maximum number of event sources to
75             return in response. This value must be greater than 0.
76              
77              
78              
79              
80             =head1 SEE ALSO
81              
82             This class forms part of L<Paws>, documenting arguments for method ListEventSourceMappings in L<Paws::Lambda>
83              
84             =head1 BUGS and CONTRIBUTIONS
85              
86             The source code is located here: https://github.com/pplu/aws-sdk-perl
87              
88             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
89              
90             =cut
91