blib/lib/Paws/Synthetics/CanaryCodeInput.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::Synthetics::CanaryCodeInput;
3 use Moose;
4 has Handler => (is => 'ro', isa => 'Str', required => 1);
5 has S3Bucket => (is => 'ro', isa => 'Str');
6 has S3Key => (is => 'ro', isa => 'Str');
7 has S3Version => (is => 'ro', isa => 'Str');
8 has ZipFile => (is => 'ro', isa => 'Str');
9  
10 1;
11  
12 ### main pod documentation begin ###
13  
14 =head1 NAME
15  
16 Paws::Synthetics::CanaryCodeInput
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::Synthetics::CanaryCodeInput object:
28  
29 $service_obj->Method(Att1 => { Handler => $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::Synthetics::CanaryCodeInput object:
34  
35 $result = $service_obj->Method(...);
36 $result->Att1->Handler
37  
38 =head1 DESCRIPTION
39  
40 Use this structure to input your script code for the canary. This
41 structure contains the Lambda handler with the location where the
42 canary should start running the script. If the script is stored in an
43 S3 bucket, the bucket name, key, and version are also included. If the
44 script was passed into the canary directly, the script code is
45 contained in the value of C<Zipfile>.
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 B<REQUIRED> Handler => Str
51  
52 The entry point to use for the source code when running the canary.
53 This value must end with the string C<.handler>.
54  
55  
56 =head2 S3Bucket => Str
57  
58 If your canary script is located in S3, specify the full bucket name
59 here. The bucket must already exist. Specify the full bucket name,
60 including C<s3://> as the start of the bucket name.
61  
62  
63 =head2 S3Key => Str
64  
65 The S3 key of your script. For more information, see Working with
66 Amazon S3 Objects
67 (https://docs.aws.amazon.com/AmazonS3/latest/dev/UsingObjects.html).
68  
69  
70 =head2 S3Version => Str
71  
72 The S3 version ID of your script.
73  
74  
75 =head2 ZipFile => Str
76  
77 If you input your canary script directly into the canary instead of
78 referring to an S3 location, the value of this parameter is the .zip
79 file that contains the script. It can be up to 5 MB.
80  
81  
82  
83 =head1 SEE ALSO
84  
85 This class forms part of L<Paws>, describing an object used in L<Paws::Synthetics>
86  
87 =head1 BUGS and CONTRIBUTIONS
88  
89 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
90  
91 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
92  
93 =cut
94