File Coverage

blib/lib/Paws/Lambda/UpdateEventSourceMapping.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::UpdateEventSourceMapping;
3 1     1   408 use Moose;
  1         3  
  1         8  
4             has BatchSize => (is => 'ro', isa => 'Int');
5             has Enabled => (is => 'ro', isa => 'Bool');
6             has FunctionName => (is => 'ro', isa => 'Str');
7             has UUID => (is => 'ro', isa => 'Str', traits => ['ParamInURI'], uri_name => 'UUID' , required => 1);
8              
9 1     1   5524 use MooseX::ClassAttribute;
  1         3  
  1         7  
10              
11             class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateEventSourceMapping');
12             class_has _api_uri => (isa => 'Str', is => 'ro', default => '/2015-03-31/event-source-mappings/{UUID}');
13             class_has _api_method => (isa => 'Str', is => 'ro', default => 'PUT');
14             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::Lambda::EventSourceMappingConfiguration');
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::UpdateEventSourceMapping - Arguments for method UpdateEventSourceMapping on Paws::Lambda
23              
24             =head1 DESCRIPTION
25              
26             This class represents the parameters used for calling the method UpdateEventSourceMapping on the
27             AWS Lambda service. Use the attributes of this class
28             as arguments to method UpdateEventSourceMapping.
29              
30             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateEventSourceMapping.
31              
32             As an example:
33              
34             $service_obj->UpdateEventSourceMapping(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 BatchSize => Int
42              
43             The maximum number of stream records that can be sent to your Lambda
44             function for a single invocation.
45              
46              
47              
48             =head2 Enabled => Bool
49              
50             Specifies whether AWS Lambda should actively poll the stream or not. If
51             disabled, AWS Lambda will not poll the stream.
52              
53              
54              
55             =head2 FunctionName => Str
56              
57             The Lambda function to which you want the stream records sent.
58              
59             You can specify a function name (for example, C<Thumbnail>) or you can
60             specify Amazon Resource Name (ARN) of the function (for example,
61             C<arn:aws:lambda:us-west-2:account-id:function:ThumbNail>). AWS Lambda
62             also allows you to specify a partial ARN (for example,
63             C<account-id:Thumbnail>). Note that the length constraint applies only
64             to the ARN. If you specify only the function name, it is limited to 64
65             characters in length.
66              
67             If you are using versioning, you can also provide a qualified function
68             ARN (ARN that is qualified with function version or alias name as
69             suffix). For more information about versioning, see AWS Lambda Function
70             Versioning and Aliases
71              
72             Note that the length constraint applies only to the ARN. If you specify
73             only the function name, it is limited to 64 character in length.
74              
75              
76              
77             =head2 B<REQUIRED> UUID => Str
78              
79             The event source mapping identifier.
80              
81              
82              
83              
84             =head1 SEE ALSO
85              
86             This class forms part of L<Paws>, documenting arguments for method UpdateEventSourceMapping in L<Paws::Lambda>
87              
88             =head1 BUGS and CONTRIBUTIONS
89              
90             The source code is located here: https://github.com/pplu/aws-sdk-perl
91              
92             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
93              
94             =cut
95