blib/lib/Paws/Lambda/FunctionCode.pm

filter: Statementstmt 100% 9 / 9 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 1 / 1 Podpod n/a totaltotal 100% 10 / 10 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
CRAP 1.0
« blib/lib/Paws/Lambda/CreateFunction.pm ↑ Summary blib/lib/Paws/Lambda/Invoke.pm »
1 # Generated by default/object.tt
2 package Paws::Lambda::FunctionCode;
3 1 ▶ use Moose;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 has ImageUri => (is => 'ro', isa => 'Str');
5 1 has S3Bucket => (is => 'ro', isa => 'Str');
6 1 has S3Key => (is => 'ro', isa => 'Str');
7 1 has S3ObjectVersion => (is => 'ro', isa => 'Str');
8 1 has ZipFile => (is => 'ro', isa => 'Str');
9  
10 1 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::Lambda::FunctionCode
17  
18 =head1 USAGE
19  
20 This class represents one of two things:
21  
22 =head3 Arguments in a call to a service
23  
24 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25 Each attribute should be used as a named argument in the calls that expect this type of object.
26  
27 As an example, if Att1 is expected to be a Paws::Lambda::FunctionCode object:
28  
29 $service_obj->Method(Att1 => { ImageUri => $value, ..., ZipFile => $value });
30  
31 =head3 Results returned from an API call
32  
33 Use accessors for each attribute. If Att1 is expected to be an Paws::Lambda::FunctionCode object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->ImageUri
37  
38 =head1 DESCRIPTION
39  
40 The code for the Lambda function. You can specify either an object in
41 Amazon S3, upload a .zip file archive deployment package directly, or
42 specify the URI of a container image.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 ImageUri => Str
48  
49 URI of a container image
50 (https://docs.aws.amazon.com/lambda/latest/dg/lambda-images.html) in
51 the Amazon ECR registry.
52  
53  
54 =head2 S3Bucket => Str
55  
56 An Amazon S3 bucket in the same Amazon Web Services Region as your
57 function. The bucket can be in a different Amazon Web Services account.
58  
59  
60 =head2 S3Key => Str
61  
62 The Amazon S3 key of the deployment package.
63  
64  
65 =head2 S3ObjectVersion => Str
66  
67 For versioned objects, the version of the deployment package object to
68 use.
69  
70  
71 =head2 ZipFile => Str
72  
73 The base64-encoded contents of the deployment package. Amazon Web
74 Services SDK and Amazon Web Services CLI clients handle the encoding
75 for you.
76  
77  
78  
79 =head1 SEE ALSO
80  
81 This class forms part of L<Paws>, describing an object used in L<Paws::Lambda>
82  
83 =head1 BUGS and CONTRIBUTIONS
84  
85 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
86  
87 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
88  
89 =cut
90  
« blib/lib/Paws/Lambda/CreateFunction.pm ↑ Summary blib/lib/Paws/Lambda/Invoke.pm »