blib/lib/Paws/CloudFront/LambdaFunctionAssociations.pm untested

filter: Statementstmt 0.0% 0 / 6 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 7 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::CloudFront::LambdaFunctionAssociations;
3 use Moose;
4 has Items => (is => 'ro', isa => 'ArrayRef[Paws::CloudFront::LambdaFunctionAssociation]', request_name => 'LambdaFunctionAssociation', traits => ['NameInRequest']);
5 has Quantity => (is => 'ro', isa => 'Int', required => 1);
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::CloudFront::LambdaFunctionAssociations
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::CloudFront::LambdaFunctionAssociations object:
25  
26 $service_obj->Method(Att1 => { Items => $value, ..., Quantity => $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::CloudFront::LambdaFunctionAssociations object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->Items
34  
35 =head1 DESCRIPTION
36  
37 A complex type that specifies a list of Lambda functions associations
38 for a cache behavior.
39  
40 If you want to invoke one or more Lambda functions triggered by
41 requests that match the C<PathPattern> of the cache behavior, specify
42 the applicable values for C<Quantity> and C<Items>. Note that there can
43 be up to 4 C<LambdaFunctionAssociation> items in this list (one for
44 each possible value of C<EventType>) and each C<EventType> can be
45 associated with the Lambda function only once.
46  
47 If you don't want to invoke any Lambda functions for the requests that
48 match C<PathPattern>, specify C<0> for C<Quantity> and omit C<Items>.
49  
50 =head1 ATTRIBUTES
51  
52  
53 =head2 Items => ArrayRef[L<Paws::CloudFront::LambdaFunctionAssociation>]
54  
55 B<Optional>: A complex type that contains C<LambdaFunctionAssociation>
56 items for this cache behavior. If C<Quantity> is C<0>, you can omit
57 C<Items>.
58  
59  
60 =head2 B<REQUIRED> Quantity => Int
61  
62 The number of Lambda function associations for this cache behavior.
63  
64  
65  
66 =head1 SEE ALSO
67  
68 This class forms part of L<Paws>, describing an object used in L<Paws::CloudFront>
69  
70 =head1 BUGS and CONTRIBUTIONS
71  
72 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
73  
74 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
75  
76 =cut
77