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

filter: Statementstmt 0.0% 0 / 8 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 9 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::TestResult;
3 use Moose;
4 has ComputeUtilization => (is => 'ro', isa => 'Str');
5 has FunctionErrorMessage => (is => 'ro', isa => 'Str');
6 has FunctionExecutionLogs => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
7 has FunctionOutput => (is => 'ro', isa => 'Str');
8 has FunctionSummary => (is => 'ro', isa => 'Paws::CloudFront::FunctionSummary');
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::CloudFront::TestResult
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::CloudFront::TestResult object:
28  
29 $service_obj->Method(Att1 => { ComputeUtilization => $value, ..., FunctionSummary => $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::CloudFront::TestResult object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->ComputeUtilization
37  
38 =head1 DESCRIPTION
39  
40 Contains the result of testing a CloudFront function with
41 C<TestFunction>.
42  
43 =head1 ATTRIBUTES
44  
45  
46 =head2 ComputeUtilization => Str
47  
48 The amount of time that the function took to run as a percentage of the
49 maximum allowed time. For example, a compute utilization of 35 means
50 that the function completed in 35% of the maximum allowed time.
51  
52  
53 =head2 FunctionErrorMessage => Str
54  
55 If the result of testing the function was an error, this field contains
56 the error message.
57  
58  
59 =head2 FunctionExecutionLogs => ArrayRef[Str|Undef]
60  
61 Contains the log lines that the function wrote (if any) when running
62 the test.
63  
64  
65 =head2 FunctionOutput => Str
66  
67 The event object returned by the function. For more information about
68 the structure of the event object, see Event object structure
69 (https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/functions-event-structure.html)
70 in the I<Amazon CloudFront Developer Guide>.
71  
72  
73 =head2 FunctionSummary => L<Paws::CloudFront::FunctionSummary>
74  
75 Contains configuration information and metadata about the CloudFront
76 function that was tested.
77  
78  
79  
80 =head1 SEE ALSO
81  
82 This class forms part of L<Paws>, describing an object used in L<Paws::CloudFront>
83  
84 =head1 BUGS and CONTRIBUTIONS
85  
86 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
87  
88 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
89  
90 =cut
91