File Coverage

blib/lib/Paws/Lambda.pm
Criterion Covered Total %
statement 16 130 12.3
branch 0 8 0.0
condition n/a
subroutine 6 36 16.6
pod 30 34 88.2
total 52 208 25.0


line stmt bran cond sub pod time code
1             package Paws::Lambda;
2 1     1   7144 use Moose;
  1     2   7  
  1         21  
  2         2423  
  2         9  
  2         24  
3 5     5 0 34 sub service { 'lambda' }
4 0     0 0 0 sub version { '2015-03-31' }
5 0     0 0 0 sub flattened_arrays { 0 }
6             has max_attempts => (is => 'ro', isa => 'Int', default => 5);
7             has retry => (is => 'ro', isa => 'HashRef', default => sub {
8             { base => 'rand', type => 'exponential', growth_factor => 2 }
9             });
10             has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
11             ] });
12              
13             with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller', 'Paws::Net::RestJsonResponse';
14              
15            
16             sub AddPermission {
17 0     0 1 0 my $self = shift;
18 0         0 my $call_object = $self->new_with_coercions('Paws::Lambda::AddPermission', @_);
19 0         0 return $self->caller->do_call($self, $call_object);
20             }
21             sub CreateAlias {
22 0     0 1 0 my $self = shift;
23 0         0 my $call_object = $self->new_with_coercions('Paws::Lambda::CreateAlias', @_);
24 0         0 return $self->caller->do_call($self, $call_object);
25             }
26             sub CreateEventSourceMapping {
27 0     0 1 0 my $self = shift;
28 0         0 my $call_object = $self->new_with_coercions('Paws::Lambda::CreateEventSourceMapping', @_);
29 0         0 return $self->caller->do_call($self, $call_object);
30             }
31             sub CreateFunction {
32 1     1 1 595 my $self = shift;
33 1         7 my $call_object = $self->new_with_coercions('Paws::Lambda::CreateFunction', @_);
34 1         2966 return $self->caller->do_call($self, $call_object);
35             }
36             sub DeleteAlias {
37 0     0 1 0 my $self = shift;
38 0         0 my $call_object = $self->new_with_coercions('Paws::Lambda::DeleteAlias', @_);
39 0         0 return $self->caller->do_call($self, $call_object);
40             }
41             sub DeleteEventSourceMapping {
42 0     0 1 0 my $self = shift;
43 0         0 my $call_object = $self->new_with_coercions('Paws::Lambda::DeleteEventSourceMapping', @_);
44 0         0 return $self->caller->do_call($self, $call_object);
45             }
46             sub DeleteFunction {
47 0     0 1 0 my $self = shift;
48 0         0 my $call_object = $self->new_with_coercions('Paws::Lambda::DeleteFunction', @_);
49 0         0 return $self->caller->do_call($self, $call_object);
50             }
51             sub GetAccountSettings {
52 0     0 1 0 my $self = shift;
53 0         0 my $call_object = $self->new_with_coercions('Paws::Lambda::GetAccountSettings', @_);
54 0         0 return $self->caller->do_call($self, $call_object);
55             }
56             sub GetAlias {
57 0     0 1 0 my $self = shift;
58 0         0 my $call_object = $self->new_with_coercions('Paws::Lambda::GetAlias', @_);
59 0         0 return $self->caller->do_call($self, $call_object);
60             }
61             sub GetEventSourceMapping {
62 0     0 1 0 my $self = shift;
63 0         0 my $call_object = $self->new_with_coercions('Paws::Lambda::GetEventSourceMapping', @_);
64 0         0 return $self->caller->do_call($self, $call_object);
65             }
66             sub GetFunction {
67 0     0 1 0 my $self = shift;
68 0         0 my $call_object = $self->new_with_coercions('Paws::Lambda::GetFunction', @_);
69 0         0 return $self->caller->do_call($self, $call_object);
70             }
71             sub GetFunctionConfiguration {
72 0     0 1 0 my $self = shift;
73 0         0 my $call_object = $self->new_with_coercions('Paws::Lambda::GetFunctionConfiguration', @_);
74 0         0 return $self->caller->do_call($self, $call_object);
75             }
76             sub GetPolicy {
77 0     0 1 0 my $self = shift;
78 0         0 my $call_object = $self->new_with_coercions('Paws::Lambda::GetPolicy', @_);
79 0         0 return $self->caller->do_call($self, $call_object);
80             }
81             sub Invoke {
82 1     1 1 6 my $self = shift;
83 1         6 my $call_object = $self->new_with_coercions('Paws::Lambda::Invoke', @_);
84 1         1926 return $self->caller->do_call($self, $call_object);
85             }
86             sub InvokeAsync {
87 0     0 1 0 my $self = shift;
88 0         0 my $call_object = $self->new_with_coercions('Paws::Lambda::InvokeAsync', @_);
89 0         0 return $self->caller->do_call($self, $call_object);
90             }
91             sub ListAliases {
92 0     0 1 0 my $self = shift;
93 0         0 my $call_object = $self->new_with_coercions('Paws::Lambda::ListAliases', @_);
94 0         0 return $self->caller->do_call($self, $call_object);
95             }
96             sub ListEventSourceMappings {
97 0     0 1 0 my $self = shift;
98 0         0 my $call_object = $self->new_with_coercions('Paws::Lambda::ListEventSourceMappings', @_);
99 0         0 return $self->caller->do_call($self, $call_object);
100             }
101             sub ListFunctions {
102 2     2 1 6 my $self = shift;
103 2         14 my $call_object = $self->new_with_coercions('Paws::Lambda::ListFunctions', @_);
104 2         1299 return $self->caller->do_call($self, $call_object);
105             }
106             sub ListTags {
107 0     0 1   my $self = shift;
108 0           my $call_object = $self->new_with_coercions('Paws::Lambda::ListTags', @_);
109 0           return $self->caller->do_call($self, $call_object);
110             }
111             sub ListVersionsByFunction {
112 0     0 1   my $self = shift;
113 0           my $call_object = $self->new_with_coercions('Paws::Lambda::ListVersionsByFunction', @_);
114 0           return $self->caller->do_call($self, $call_object);
115             }
116             sub PublishVersion {
117 0     0 1   my $self = shift;
118 0           my $call_object = $self->new_with_coercions('Paws::Lambda::PublishVersion', @_);
119 0           return $self->caller->do_call($self, $call_object);
120             }
121             sub RemovePermission {
122 0     0 1   my $self = shift;
123 0           my $call_object = $self->new_with_coercions('Paws::Lambda::RemovePermission', @_);
124 0           return $self->caller->do_call($self, $call_object);
125             }
126             sub TagResource {
127 0     0 1   my $self = shift;
128 0           my $call_object = $self->new_with_coercions('Paws::Lambda::TagResource', @_);
129 0           return $self->caller->do_call($self, $call_object);
130             }
131             sub UntagResource {
132 0     0 1   my $self = shift;
133 0           my $call_object = $self->new_with_coercions('Paws::Lambda::UntagResource', @_);
134 0           return $self->caller->do_call($self, $call_object);
135             }
136             sub UpdateAlias {
137 0     0 1   my $self = shift;
138 0           my $call_object = $self->new_with_coercions('Paws::Lambda::UpdateAlias', @_);
139 0           return $self->caller->do_call($self, $call_object);
140             }
141             sub UpdateEventSourceMapping {
142 0     0 1   my $self = shift;
143 0           my $call_object = $self->new_with_coercions('Paws::Lambda::UpdateEventSourceMapping', @_);
144 0           return $self->caller->do_call($self, $call_object);
145             }
146             sub UpdateFunctionCode {
147 0     0 1   my $self = shift;
148 0           my $call_object = $self->new_with_coercions('Paws::Lambda::UpdateFunctionCode', @_);
149 0           return $self->caller->do_call($self, $call_object);
150             }
151             sub UpdateFunctionConfiguration {
152 0     0 1   my $self = shift;
153 0           my $call_object = $self->new_with_coercions('Paws::Lambda::UpdateFunctionConfiguration', @_);
154 0           return $self->caller->do_call($self, $call_object);
155             }
156            
157             sub ListAllEventSourceMappings {
158 0     0 1   my $self = shift;
159              
160 0 0         my $callback = shift @_ if (ref($_[0]) eq 'CODE');
161 0           my $result = $self->ListEventSourceMappings(@_);
162 0           my $next_result = $result;
163              
164 0 0         if (not defined $callback) {
165 0           while ($next_result->NextMarker) {
166 0           $next_result = $self->ListEventSourceMappings(@_, Marker => $next_result->NextMarker);
167 0           push @{ $result->EventSourceMappings }, @{ $next_result->EventSourceMappings };
  0            
  0            
168             }
169 0           return $result;
170             } else {
171 0           while ($result->NextMarker) {
172 0           $callback->($_ => 'EventSourceMappings') foreach (@{ $result->EventSourceMappings });
  0            
173 0           $result = $self->ListEventSourceMappings(@_, Marker => $result->NextMarker);
174             }
175 0           $callback->($_ => 'EventSourceMappings') foreach (@{ $result->EventSourceMappings });
  0            
176             }
177              
178             return undef
179 0           }
180             sub ListAllFunctions {
181 0     0 1   my $self = shift;
182              
183 0 0         my $callback = shift @_ if (ref($_[0]) eq 'CODE');
184 0           my $result = $self->ListFunctions(@_);
185 0           my $next_result = $result;
186              
187 0 0         if (not defined $callback) {
188 0           while ($next_result->NextMarker) {
189 0           $next_result = $self->ListFunctions(@_, Marker => $next_result->NextMarker);
190 0           push @{ $result->Functions }, @{ $next_result->Functions };
  0            
  0            
191             }
192 0           return $result;
193             } else {
194 0           while ($result->NextMarker) {
195 0           $callback->($_ => 'Functions') foreach (@{ $result->Functions });
  0            
196 0           $result = $self->ListFunctions(@_, Marker => $result->NextMarker);
197             }
198 0           $callback->($_ => 'Functions') foreach (@{ $result->Functions });
  0            
199             }
200              
201             return undef
202 0           }
203              
204              
205 0     0 0   sub operations { qw/AddPermission CreateAlias CreateEventSourceMapping CreateFunction DeleteAlias DeleteEventSourceMapping DeleteFunction GetAccountSettings GetAlias GetEventSourceMapping GetFunction GetFunctionConfiguration GetPolicy Invoke InvokeAsync ListAliases ListEventSourceMappings ListFunctions ListTags ListVersionsByFunction PublishVersion RemovePermission TagResource UntagResource UpdateAlias UpdateEventSourceMapping UpdateFunctionCode UpdateFunctionConfiguration / }
206              
207             1;
208              
209             ### main pod documentation begin ###
210              
211             =head1 NAME
212              
213             Paws::Lambda - Perl Interface to AWS AWS Lambda
214              
215             =head1 SYNOPSIS
216              
217             use Paws;
218              
219             my $obj = Paws->service('Lambda');
220             my $res = $obj->Method(
221             Arg1 => $val1,
222             Arg2 => [ 'V1', 'V2' ],
223             # if Arg3 is an object, the HashRef will be used as arguments to the constructor
224             # of the arguments type
225             Arg3 => { Att1 => 'Val1' },
226             # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
227             # the constructor of the arguments type
228             Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
229             );
230              
231             =head1 DESCRIPTION
232              
233             AWS Lambda
234              
235             B<Overview>
236              
237             This is the I<AWS Lambda API Reference>. The AWS Lambda Developer Guide
238             provides additional information. For the service overview, see What is
239             AWS Lambda, and for information about how the service works, see AWS
240             Lambda: How it Works in the I<AWS Lambda Developer Guide>.
241              
242             =head1 METHODS
243              
244             =head2 AddPermission(Action => Str, FunctionName => Str, Principal => Str, StatementId => Str, [EventSourceToken => Str, Qualifier => Str, SourceAccount => Str, SourceArn => Str])
245              
246             Each argument is described in detail in: L<Paws::Lambda::AddPermission>
247              
248             Returns: a L<Paws::Lambda::AddPermissionResponse> instance
249              
250             Adds a permission to the resource policy associated with the specified
251             AWS Lambda function. You use resource policies to grant permissions to
252             event sources that use I<push> model. In a I<push> model, event sources
253             (such as Amazon S3 and custom applications) invoke your Lambda
254             function. Each permission you add to the resource policy allows an
255             event source, permission to invoke the Lambda function.
256              
257             For information about the push model, see AWS Lambda: How it Works.
258              
259             If you are using versioning, the permissions you add are specific to
260             the Lambda function version or alias you specify in the
261             C<AddPermission> request via the C<Qualifier> parameter. For more
262             information about versioning, see AWS Lambda Function Versioning and
263             Aliases.
264              
265             This operation requires permission for the C<lambda:AddPermission>
266             action.
267              
268              
269             =head2 CreateAlias(FunctionName => Str, FunctionVersion => Str, Name => Str, [Description => Str])
270              
271             Each argument is described in detail in: L<Paws::Lambda::CreateAlias>
272              
273             Returns: a L<Paws::Lambda::AliasConfiguration> instance
274              
275             Creates an alias that points to the specified Lambda function version.
276             For more information, see Introduction to AWS Lambda Aliases.
277              
278             Alias names are unique for a given function. This requires permission
279             for the lambda:CreateAlias action.
280              
281              
282             =head2 CreateEventSourceMapping(EventSourceArn => Str, FunctionName => Str, StartingPosition => Str, [BatchSize => Int, Enabled => Bool, StartingPositionTimestamp => Str])
283              
284             Each argument is described in detail in: L<Paws::Lambda::CreateEventSourceMapping>
285              
286             Returns: a L<Paws::Lambda::EventSourceMappingConfiguration> instance
287              
288             Identifies a stream as an event source for a Lambda function. It can be
289             either an Amazon Kinesis stream or an Amazon DynamoDB stream. AWS
290             Lambda invokes the specified function when records are posted to the
291             stream.
292              
293             This association between a stream source and a Lambda function is
294             called the event source mapping.
295              
296             This event source mapping is relevant only in the AWS Lambda pull
297             model, where AWS Lambda invokes the function. For more information, see
298             AWS Lambda: How it Works in the I<AWS Lambda Developer Guide>.
299              
300             You provide mapping information (for example, which stream to read from
301             and which Lambda function to invoke) in the request body.
302              
303             Each event source, such as an Amazon Kinesis or a DynamoDB stream, can
304             be associated with multiple AWS Lambda function. A given Lambda
305             function can be associated with multiple AWS event sources.
306              
307             If you are using versioning, you can specify a specific function
308             version or an alias via the function name parameter. For more
309             information about versioning, see AWS Lambda Function Versioning and
310             Aliases.
311              
312             This operation requires permission for the
313             C<lambda:CreateEventSourceMapping> action.
314              
315              
316             =head2 CreateFunction(Code => L<Paws::Lambda::FunctionCode>, FunctionName => Str, Handler => Str, Role => Str, Runtime => Str, [DeadLetterConfig => L<Paws::Lambda::DeadLetterConfig>, Description => Str, Environment => L<Paws::Lambda::Environment>, KMSKeyArn => Str, MemorySize => Int, Publish => Bool, Tags => L<Paws::Lambda::Tags>, Timeout => Int, TracingConfig => L<Paws::Lambda::TracingConfig>, VpcConfig => L<Paws::Lambda::VpcConfig>])
317              
318             Each argument is described in detail in: L<Paws::Lambda::CreateFunction>
319              
320             Returns: a L<Paws::Lambda::FunctionConfiguration> instance
321              
322             Creates a new Lambda function. The function metadata is created from
323             the request parameters, and the code for the function is provided by a
324             .zip file in the request body. If the function name already exists, the
325             operation will fail. Note that the function name is case-sensitive.
326              
327             If you are using versioning, you can also publish a version of the
328             Lambda function you are creating using the C<Publish> parameter. For
329             more information about versioning, see AWS Lambda Function Versioning
330             and Aliases.
331              
332             This operation requires permission for the C<lambda:CreateFunction>
333             action.
334              
335              
336             =head2 DeleteAlias(FunctionName => Str, Name => Str)
337              
338             Each argument is described in detail in: L<Paws::Lambda::DeleteAlias>
339              
340             Returns: nothing
341              
342             Deletes the specified Lambda function alias. For more information, see
343             Introduction to AWS Lambda Aliases.
344              
345             This requires permission for the lambda:DeleteAlias action.
346              
347              
348             =head2 DeleteEventSourceMapping(UUID => Str)
349              
350             Each argument is described in detail in: L<Paws::Lambda::DeleteEventSourceMapping>
351              
352             Returns: a L<Paws::Lambda::EventSourceMappingConfiguration> instance
353              
354             Removes an event source mapping. This means AWS Lambda will no longer
355             invoke the function for events in the associated source.
356              
357             This operation requires permission for the
358             C<lambda:DeleteEventSourceMapping> action.
359              
360              
361             =head2 DeleteFunction(FunctionName => Str, [Qualifier => Str])
362              
363             Each argument is described in detail in: L<Paws::Lambda::DeleteFunction>
364              
365             Returns: nothing
366              
367             Deletes the specified Lambda function code and configuration.
368              
369             If you are using the versioning feature and you don't specify a
370             function version in your C<DeleteFunction> request, AWS Lambda will
371             delete the function, including all its versions, and any aliases
372             pointing to the function versions. To delete a specific function
373             version, you must provide the function version via the C<Qualifier>
374             parameter. For information about function versioning, see AWS Lambda
375             Function Versioning and Aliases.
376              
377             When you delete a function the associated resource policy is also
378             deleted. You will need to delete the event source mappings explicitly.
379              
380             This operation requires permission for the C<lambda:DeleteFunction>
381             action.
382              
383              
384             =head2 GetAccountSettings()
385              
386             Each argument is described in detail in: L<Paws::Lambda::GetAccountSettings>
387              
388             Returns: a L<Paws::Lambda::GetAccountSettingsResponse> instance
389              
390             Returns a customer's account settings.
391              
392             You can use this operation to retrieve Lambda limits information, such
393             as code size and concurrency limits. For more information about limits,
394             see AWS Lambda Limits. You can also retrieve resource usage statistics,
395             such as code storage usage and function count.
396              
397              
398             =head2 GetAlias(FunctionName => Str, Name => Str)
399              
400             Each argument is described in detail in: L<Paws::Lambda::GetAlias>
401              
402             Returns: a L<Paws::Lambda::AliasConfiguration> instance
403              
404             Returns the specified alias information such as the alias ARN,
405             description, and function version it is pointing to. For more
406             information, see Introduction to AWS Lambda Aliases.
407              
408             This requires permission for the C<lambda:GetAlias> action.
409              
410              
411             =head2 GetEventSourceMapping(UUID => Str)
412              
413             Each argument is described in detail in: L<Paws::Lambda::GetEventSourceMapping>
414              
415             Returns: a L<Paws::Lambda::EventSourceMappingConfiguration> instance
416              
417             Returns configuration information for the specified event source
418             mapping (see CreateEventSourceMapping).
419              
420             This operation requires permission for the
421             C<lambda:GetEventSourceMapping> action.
422              
423              
424             =head2 GetFunction(FunctionName => Str, [Qualifier => Str])
425              
426             Each argument is described in detail in: L<Paws::Lambda::GetFunction>
427              
428             Returns: a L<Paws::Lambda::GetFunctionResponse> instance
429              
430             Returns the configuration information of the Lambda function and a
431             presigned URL link to the .zip file you uploaded with CreateFunction so
432             you can download the .zip file. Note that the URL is valid for up to 10
433             minutes. The configuration information is the same information you
434             provided as parameters when uploading the function.
435              
436             Using the optional C<Qualifier> parameter, you can specify a specific
437             function version for which you want this information. If you don't
438             specify this parameter, the API uses unqualified function ARN which
439             return information about the C<$LATEST> version of the Lambda function.
440             For more information, see AWS Lambda Function Versioning and Aliases.
441              
442             This operation requires permission for the C<lambda:GetFunction>
443             action.
444              
445              
446             =head2 GetFunctionConfiguration(FunctionName => Str, [Qualifier => Str])
447              
448             Each argument is described in detail in: L<Paws::Lambda::GetFunctionConfiguration>
449              
450             Returns: a L<Paws::Lambda::FunctionConfiguration> instance
451              
452             Returns the configuration information of the Lambda function. This the
453             same information you provided as parameters when uploading the function
454             by using CreateFunction.
455              
456             If you are using the versioning feature, you can retrieve this
457             information for a specific function version by using the optional
458             C<Qualifier> parameter and specifying the function version or alias
459             that points to it. If you don't provide it, the API returns information
460             about the $LATEST version of the function. For more information about
461             versioning, see AWS Lambda Function Versioning and Aliases.
462              
463             This operation requires permission for the
464             C<lambda:GetFunctionConfiguration> operation.
465              
466              
467             =head2 GetPolicy(FunctionName => Str, [Qualifier => Str])
468              
469             Each argument is described in detail in: L<Paws::Lambda::GetPolicy>
470              
471             Returns: a L<Paws::Lambda::GetPolicyResponse> instance
472              
473             Returns the resource policy associated with the specified Lambda
474             function.
475              
476             If you are using the versioning feature, you can get the resource
477             policy associated with the specific Lambda function version or alias by
478             specifying the version or alias name using the C<Qualifier> parameter.
479             For more information about versioning, see AWS Lambda Function
480             Versioning and Aliases.
481              
482             You need permission for the C<lambda:GetPolicy action.>
483              
484              
485             =head2 Invoke(FunctionName => Str, [ClientContext => Str, InvocationType => Str, LogType => Str, Payload => Str, Qualifier => Str])
486              
487             Each argument is described in detail in: L<Paws::Lambda::Invoke>
488              
489             Returns: a L<Paws::Lambda::InvocationResponse> instance
490              
491             Invokes a specific Lambda function. For an example, see Create the
492             Lambda Function and Test It Manually.
493              
494             If you are using the versioning feature, you can invoke the specific
495             function version by providing function version or alias name that is
496             pointing to the function version using the C<Qualifier> parameter in
497             the request. If you don't provide the C<Qualifier> parameter, the
498             C<$LATEST> version of the Lambda function is invoked. Invocations occur
499             at least once in response to an event and functions must be idempotent
500             to handle this. For information about the versioning feature, see AWS
501             Lambda Function Versioning and Aliases.
502              
503             This operation requires permission for the C<lambda:InvokeFunction>
504             action.
505              
506              
507             =head2 InvokeAsync(FunctionName => Str, InvokeArgs => Str)
508              
509             Each argument is described in detail in: L<Paws::Lambda::InvokeAsync>
510              
511             Returns: a L<Paws::Lambda::InvokeAsyncResponse> instance
512              
513             This API is deprecated. We recommend you use C<Invoke> API (see
514             Invoke).
515              
516             Submits an invocation request to AWS Lambda. Upon receiving the
517             request, Lambda executes the specified function asynchronously. To see
518             the logs generated by the Lambda function execution, see the CloudWatch
519             Logs console.
520              
521             This operation requires permission for the C<lambda:InvokeFunction>
522             action.
523              
524              
525             =head2 ListAliases(FunctionName => Str, [FunctionVersion => Str, Marker => Str, MaxItems => Int])
526              
527             Each argument is described in detail in: L<Paws::Lambda::ListAliases>
528              
529             Returns: a L<Paws::Lambda::ListAliasesResponse> instance
530              
531             Returns list of aliases created for a Lambda function. For each alias,
532             the response includes information such as the alias ARN, description,
533             alias name, and the function version to which it points. For more
534             information, see Introduction to AWS Lambda Aliases.
535              
536             This requires permission for the lambda:ListAliases action.
537              
538              
539             =head2 ListEventSourceMappings([EventSourceArn => Str, FunctionName => Str, Marker => Str, MaxItems => Int])
540              
541             Each argument is described in detail in: L<Paws::Lambda::ListEventSourceMappings>
542              
543             Returns: a L<Paws::Lambda::ListEventSourceMappingsResponse> instance
544              
545             Returns a list of event source mappings you created using the
546             C<CreateEventSourceMapping> (see CreateEventSourceMapping).
547              
548             For each mapping, the API returns configuration information. You can
549             optionally specify filters to retrieve specific event source mappings.
550              
551             If you are using the versioning feature, you can get list of event
552             source mappings for a specific Lambda function version or an alias as
553             described in the C<FunctionName> parameter. For information about the
554             versioning feature, see AWS Lambda Function Versioning and Aliases.
555              
556             This operation requires permission for the
557             C<lambda:ListEventSourceMappings> action.
558              
559              
560             =head2 ListFunctions([Marker => Str, MaxItems => Int])
561              
562             Each argument is described in detail in: L<Paws::Lambda::ListFunctions>
563              
564             Returns: a L<Paws::Lambda::ListFunctionsResponse> instance
565              
566             Returns a list of your Lambda functions. For each function, the
567             response includes the function configuration information. You must use
568             GetFunction to retrieve the code for your function.
569              
570             This operation requires permission for the C<lambda:ListFunctions>
571             action.
572              
573             If you are using versioning feature, the response returns list of
574             $LATEST versions of your functions. For information about the
575             versioning feature, see AWS Lambda Function Versioning and Aliases.
576              
577              
578             =head2 ListTags(Resource => Str)
579              
580             Each argument is described in detail in: L<Paws::Lambda::ListTags>
581              
582             Returns: a L<Paws::Lambda::ListTagsResponse> instance
583              
584             Returns a list of tags assigned to a function when supplied the
585             function ARN (Amazon Resource Name).
586              
587              
588             =head2 ListVersionsByFunction(FunctionName => Str, [Marker => Str, MaxItems => Int])
589              
590             Each argument is described in detail in: L<Paws::Lambda::ListVersionsByFunction>
591              
592             Returns: a L<Paws::Lambda::ListVersionsByFunctionResponse> instance
593              
594             List all versions of a function. For information about the versioning
595             feature, see AWS Lambda Function Versioning and Aliases.
596              
597              
598             =head2 PublishVersion(FunctionName => Str, [CodeSha256 => Str, Description => Str])
599              
600             Each argument is described in detail in: L<Paws::Lambda::PublishVersion>
601              
602             Returns: a L<Paws::Lambda::FunctionConfiguration> instance
603              
604             Publishes a version of your function from the current snapshot of
605             $LATEST. That is, AWS Lambda takes a snapshot of the function code and
606             configuration information from $LATEST and publishes a new version. The
607             code and configuration cannot be modified after publication. For
608             information about the versioning feature, see AWS Lambda Function
609             Versioning and Aliases.
610              
611              
612             =head2 RemovePermission(FunctionName => Str, StatementId => Str, [Qualifier => Str])
613              
614             Each argument is described in detail in: L<Paws::Lambda::RemovePermission>
615              
616             Returns: nothing
617              
618             You can remove individual permissions from an resource policy
619             associated with a Lambda function by providing a statement ID that you
620             provided when you added the permission.
621              
622             If you are using versioning, the permissions you remove are specific to
623             the Lambda function version or alias you specify in the
624             C<AddPermission> request via the C<Qualifier> parameter. For more
625             information about versioning, see AWS Lambda Function Versioning and
626             Aliases.
627              
628             Note that removal of a permission will cause an active event source to
629             lose permission to the function.
630              
631             You need permission for the C<lambda:RemovePermission> action.
632              
633              
634             =head2 TagResource(Resource => Str, Tags => L<Paws::Lambda::Tags>)
635              
636             Each argument is described in detail in: L<Paws::Lambda::TagResource>
637              
638             Returns: nothing
639              
640             Creates a list of tags (key-value pairs) on the Lambda function.
641             Requires the Lambda function ARN (Amazon Resource Name). If a key is
642             specified without a value, Lambda creates a tag with the specified key
643             and a value of null.
644              
645              
646             =head2 UntagResource(Resource => Str, TagKeys => ArrayRef[Str|Undef])
647              
648             Each argument is described in detail in: L<Paws::Lambda::UntagResource>
649              
650             Returns: nothing
651              
652             Removes tags from a Lambda function. Requires the function ARN (Amazon
653             Resource Name).
654              
655              
656             =head2 UpdateAlias(FunctionName => Str, Name => Str, [Description => Str, FunctionVersion => Str])
657              
658             Each argument is described in detail in: L<Paws::Lambda::UpdateAlias>
659              
660             Returns: a L<Paws::Lambda::AliasConfiguration> instance
661              
662             Using this API you can update the function version to which the alias
663             points and the alias description. For more information, see
664             Introduction to AWS Lambda Aliases.
665              
666             This requires permission for the lambda:UpdateAlias action.
667              
668              
669             =head2 UpdateEventSourceMapping(UUID => Str, [BatchSize => Int, Enabled => Bool, FunctionName => Str])
670              
671             Each argument is described in detail in: L<Paws::Lambda::UpdateEventSourceMapping>
672              
673             Returns: a L<Paws::Lambda::EventSourceMappingConfiguration> instance
674              
675             You can update an event source mapping. This is useful if you want to
676             change the parameters of the existing mapping without losing your
677             position in the stream. You can change which function will receive the
678             stream records, but to change the stream itself, you must create a new
679             mapping.
680              
681             If you are using the versioning feature, you can update the event
682             source mapping to map to a specific Lambda function version or alias as
683             described in the C<FunctionName> parameter. For information about the
684             versioning feature, see AWS Lambda Function Versioning and Aliases.
685              
686             If you disable the event source mapping, AWS Lambda stops polling. If
687             you enable again, it will resume polling from the time it had stopped
688             polling, so you don't lose processing of any records. However, if you
689             delete event source mapping and create it again, it will reset.
690              
691             This operation requires permission for the
692             C<lambda:UpdateEventSourceMapping> action.
693              
694              
695             =head2 UpdateFunctionCode(FunctionName => Str, [DryRun => Bool, Publish => Bool, S3Bucket => Str, S3Key => Str, S3ObjectVersion => Str, ZipFile => Str])
696              
697             Each argument is described in detail in: L<Paws::Lambda::UpdateFunctionCode>
698              
699             Returns: a L<Paws::Lambda::FunctionConfiguration> instance
700              
701             Updates the code for the specified Lambda function. This operation must
702             only be used on an existing Lambda function and cannot be used to
703             update the function configuration.
704              
705             If you are using the versioning feature, note this API will always
706             update the $LATEST version of your Lambda function. For information
707             about the versioning feature, see AWS Lambda Function Versioning and
708             Aliases.
709              
710             This operation requires permission for the C<lambda:UpdateFunctionCode>
711             action.
712              
713              
714             =head2 UpdateFunctionConfiguration(FunctionName => Str, [DeadLetterConfig => L<Paws::Lambda::DeadLetterConfig>, Description => Str, Environment => L<Paws::Lambda::Environment>, Handler => Str, KMSKeyArn => Str, MemorySize => Int, Role => Str, Runtime => Str, Timeout => Int, TracingConfig => L<Paws::Lambda::TracingConfig>, VpcConfig => L<Paws::Lambda::VpcConfig>])
715              
716             Each argument is described in detail in: L<Paws::Lambda::UpdateFunctionConfiguration>
717              
718             Returns: a L<Paws::Lambda::FunctionConfiguration> instance
719              
720             Updates the configuration parameters for the specified Lambda function
721             by using the values provided in the request. You provide only the
722             parameters you want to change. This operation must only be used on an
723             existing Lambda function and cannot be used to update the function's
724             code.
725              
726             If you are using the versioning feature, note this API will always
727             update the $LATEST version of your Lambda function. For information
728             about the versioning feature, see AWS Lambda Function Versioning and
729             Aliases.
730              
731             This operation requires permission for the
732             C<lambda:UpdateFunctionConfiguration> action.
733              
734              
735              
736              
737             =head1 PAGINATORS
738              
739             Paginator methods are helpers that repetively call methods that return partial results
740              
741             =head2 ListAllEventSourceMappings(sub { },[EventSourceArn => Str, FunctionName => Str, Marker => Str, MaxItems => Int])
742              
743             =head2 ListAllEventSourceMappings([EventSourceArn => Str, FunctionName => Str, Marker => Str, MaxItems => Int])
744              
745              
746             If passed a sub as first parameter, it will call the sub for each element found in :
747              
748             - EventSourceMappings, passing the object as the first parameter, and the string 'EventSourceMappings' as the second parameter
749              
750             If not, it will return a a L<Paws::Lambda::ListEventSourceMappingsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
751              
752              
753             =head2 ListAllFunctions(sub { },[Marker => Str, MaxItems => Int])
754              
755             =head2 ListAllFunctions([Marker => Str, MaxItems => Int])
756              
757              
758             If passed a sub as first parameter, it will call the sub for each element found in :
759              
760             - Functions, passing the object as the first parameter, and the string 'Functions' as the second parameter
761              
762             If not, it will return a a L<Paws::Lambda::ListFunctionsResponse> instance with all the C<param>s; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.
763              
764              
765              
766              
767              
768             =head1 SEE ALSO
769              
770             This service class forms part of L<Paws>
771              
772             =head1 BUGS and CONTRIBUTIONS
773              
774             The source code is located here: https://github.com/pplu/aws-sdk-perl
775              
776             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
777              
778             =cut
779