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

filter: Statementstmt 0.0% 0 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 8 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::FunctionMetadata;
3 use Moose;
4 has CreatedTime => (is => 'ro', isa => 'Str');
5 has FunctionARN => (is => 'ro', isa => 'Str', required => 1);
6 has LastModifiedTime => (is => 'ro', isa => 'Str', required => 1);
7 has Stage => (is => 'ro', isa => 'Str');
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::CloudFront::FunctionMetadata
16  
17 =head1 USAGE
18  
19 This class represents one of two things:
20  
21 =head3 Arguments in a call to a service
22  
23 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24 Each attribute should be used as a named argument in the calls that expect this type of object.
25  
26 As an example, if Att1 is expected to be a Paws::CloudFront::FunctionMetadata object:
27  
28 $service_obj->Method(Att1 => { CreatedTime => $value, ..., Stage => $value });
29  
30 =head3 Results returned from an API call
31  
32 Use accessors for each attribute. If Att1 is expected to be an Paws::CloudFront::FunctionMetadata object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->CreatedTime
36  
37 =head1 DESCRIPTION
38  
39 Contains metadata about a CloudFront function.
40  
41 =head1 ATTRIBUTES
42  
43  
44 =head2 CreatedTime => Str
45  
46 The date and time when the function was created.
47  
48  
49 =head2 B<REQUIRED> FunctionARN => Str
50  
51 The Amazon Resource Name (ARN) of the function. The ARN uniquely
52 identifies the function.
53  
54  
55 =head2 B<REQUIRED> LastModifiedTime => Str
56  
57 The date and time when the function was most recently updated.
58  
59  
60 =head2 Stage => Str
61  
62 The stage that the function is in, either C<DEVELOPMENT> or C<LIVE>.
63  
64 When a function is in the C<DEVELOPMENT> stage, you can test the
65 function with C<TestFunction>, and update it with C<UpdateFunction>.
66  
67 When a function is in the C<LIVE> stage, you can attach the function to
68 a distributionE<rsquo>s cache behavior, using the functionE<rsquo>s
69 ARN.
70  
71  
72  
73 =head1 SEE ALSO
74  
75 This class forms part of L<Paws>, describing an object used in L<Paws::CloudFront>
76  
77 =head1 BUGS and CONTRIBUTIONS
78  
79 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
80  
81 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
82  
83 =cut
84