blib/lib/Paws/Lambda/ListEventSourceMappings.pm untested

filter: Statementstmt 0.0% 0 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::Lambda::ListEventSourceMappings;
3 use Moose;
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 use MooseX::ClassAttribute;
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 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::Lambda::ListEventSourceMappings - Arguments for method ListEventSourceMappings on L<Paws::Lambda>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method ListEventSourceMappings on the
26 L<AWS Lambda|Paws::Lambda> service. Use the attributes of this class
27 as arguments to method ListEventSourceMappings.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListEventSourceMappings.
30  
31 =head1 SYNOPSIS
32  
33 my $lambda = Paws->service('Lambda');
34 # To list the event source mappings for a function
35 # The following example returns a list of the event source mappings for a
36 # function named my-function.
37 my $ListEventSourceMappingsResponse =
38 $lambda->ListEventSourceMappings( 'FunctionName' => 'my-function' );
39  
40 # Results:
41 my $EventSourceMappings =
42 $ListEventSourceMappingsResponse->EventSourceMappings;
43  
44 # Returns a L<Paws::Lambda::ListEventSourceMappingsResponse> object.
45  
46 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.
47 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/lambda/ListEventSourceMappings>
48  
49 =head1 ATTRIBUTES
50  
51  
52 =head2 EventSourceArn => Str
53  
54 The Amazon Resource Name (ARN) of the event source.
55  
56 =over
57  
58 =item *
59  
60 B<Amazon Kinesis> - The ARN of the data stream or a stream consumer.
61  
62 =item *
63  
64 B<Amazon DynamoDB Streams> - The ARN of the stream.
65  
66 =item *
67  
68 B<Amazon Simple Queue Service> - The ARN of the queue.
69  
70 =item *
71  
72 B<Amazon Managed Streaming for Apache Kafka> - The ARN of the cluster.
73  
74 =back
75  
76  
77  
78  
79 =head2 FunctionName => Str
80  
81 The name of the Lambda function.
82  
83 B<Name formats>
84  
85 =over
86  
87 =item *
88  
89 B<Function name> - C<MyFunction>.
90  
91 =item *
92  
93 B<Function ARN> -
94 C<arn:aws:lambda:us-west-2:123456789012:function:MyFunction>.
95  
96 =item *
97  
98 B<Version or Alias ARN> -
99 C<arn:aws:lambda:us-west-2:123456789012:function:MyFunction:PROD>.
100  
101 =item *
102  
103 B<Partial ARN> - C<123456789012:function:MyFunction>.
104  
105 =back
106  
107 The length constraint applies only to the full ARN. If you specify only
108 the function name, it's limited to 64 characters in length.
109  
110  
111  
112 =head2 Marker => Str
113  
114 A pagination token returned by a previous call.
115  
116  
117  
118 =head2 MaxItems => Int
119  
120 The maximum number of event source mappings to return.
121  
122  
123  
124  
125 =head1 SEE ALSO
126  
127 This class forms part of L<Paws>, documenting arguments for method ListEventSourceMappings in L<Paws::Lambda>
128  
129 =head1 BUGS and CONTRIBUTIONS
130  
131 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
132  
133 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
134  
135 =cut
136