File Coverage

blib/lib/Paws/Lambda/FunctionCode.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             package Paws::Lambda::FunctionCode;
2 1     1   622 use Moose;
  1     1   3  
  1         8  
  1         523  
  1         3  
  1         6  
3             has S3Bucket => (is => 'ro', isa => 'Str');
4             has S3Key => (is => 'ro', isa => 'Str');
5             has S3ObjectVersion => (is => 'ro', isa => 'Str');
6             has ZipFile => (is => 'ro', isa => 'Str');
7             1;
8              
9             ### main pod documentation begin ###
10              
11             =head1 NAME
12              
13             Paws::Lambda::FunctionCode
14              
15             =head1 USAGE
16              
17             This class represents one of two things:
18              
19             =head3 Arguments in a call to a service
20              
21             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22             Each attribute should be used as a named argument in the calls that expect this type of object.
23              
24             As an example, if Att1 is expected to be a Paws::Lambda::FunctionCode object:
25              
26             $service_obj->Method(Att1 => { S3Bucket => $value, ..., ZipFile => $value });
27              
28             =head3 Results returned from an API call
29              
30             Use accessors for each attribute. If Att1 is expected to be an Paws::Lambda::FunctionCode object:
31              
32             $result = $service_obj->Method(...);
33             $result->Att1->S3Bucket
34              
35             =head1 DESCRIPTION
36              
37             The code for the Lambda function.
38              
39             =head1 ATTRIBUTES
40              
41              
42             =head2 S3Bucket => Str
43              
44             Amazon S3 bucket name where the .zip file containing your deployment
45             package is stored. This bucket must reside in the same AWS region where
46             you are creating the Lambda function.
47              
48              
49             =head2 S3Key => Str
50              
51             The Amazon S3 object (the deployment package) key name you want to
52             upload.
53              
54              
55             =head2 S3ObjectVersion => Str
56              
57             The Amazon S3 object (the deployment package) version you want to
58             upload.
59              
60              
61             =head2 ZipFile => Str
62              
63             The contents of your zip file containing your deployment package. If
64             you are using the web API directly, the contents of the zip file must
65             be base64-encoded. If you are using the AWS SDKs or the AWS CLI, the
66             SDKs or CLI will do the encoding for you. For more information about
67             creating a .zip file, see Execution Permissions in the I<AWS Lambda
68             Developer Guide>.
69              
70              
71              
72             =head1 SEE ALSO
73              
74             This class forms part of L<Paws>, describing an object used in L<Paws::Lambda>
75              
76             =head1 BUGS and CONTRIBUTIONS
77              
78             The source code is located here: https://github.com/pplu/aws-sdk-perl
79              
80             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
81              
82             =cut
83