blib/lib/Paws/Synthetics/CanaryRunConfigInput.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::Synthetics::CanaryRunConfigInput;
3 use Moose;
4 has ActiveTracing => (is => 'ro', isa => 'Bool');
5 has EnvironmentVariables => (is => 'ro', isa => 'Paws::Synthetics::EnvironmentVariablesMap');
6 has MemoryInMB => (is => 'ro', isa => 'Int');
7 has TimeoutInSeconds => (is => 'ro', isa => 'Int');
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::Synthetics::CanaryRunConfigInput
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::Synthetics::CanaryRunConfigInput object:
27  
28 $service_obj->Method(Att1 => { ActiveTracing => $value, ..., TimeoutInSeconds => $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::Synthetics::CanaryRunConfigInput object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->ActiveTracing
36  
37 =head1 DESCRIPTION
38  
39 A structure that contains input information for a canary run.
40  
41 =head1 ATTRIBUTES
42  
43  
44 =head2 ActiveTracing => Bool
45  
46 Specifies whether this canary is to use active AWS X-Ray tracing when
47 it runs. Active tracing enables this canary run to be displayed in the
48 ServiceLens and X-Ray service maps even if the canary does not hit an
49 endpoint that has X-ray tracing enabled. Using X-Ray tracing incurs
50 charges. For more information, see Canaries and X-Ray tracing
51 (https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch_Synthetics_Canaries_tracing.html).
52  
53 You can enable active tracing only for canaries that use version
54 C<syn-nodejs-2.0> or later for their canary runtime.
55  
56  
57 =head2 EnvironmentVariables => L<Paws::Synthetics::EnvironmentVariablesMap>
58  
59 Specifies the keys and values to use for any environment variables used
60 in the canary script. Use the following format:
61  
62 { "key1" : "value1", "key2" : "value2", ...}
63  
64 Keys must start with a letter and be at least two characters. The total
65 size of your environment variables cannot exceed 4 KB. You can't
66 specify any Lambda reserved environment variables as the keys for your
67 environment variables. For more information about reserved keys, see
68 Runtime environment variables
69 (https://docs.aws.amazon.com/lambda/latest/dg/configuration-envvars.html#configuration-envvars-runtime).
70  
71  
72 =head2 MemoryInMB => Int
73  
74 The maximum amount of memory available to the canary while it is
75 running, in MB. This value must be a multiple of 64.
76  
77  
78 =head2 TimeoutInSeconds => Int
79  
80 How long the canary is allowed to run before it must stop. You can't
81 set this time to be longer than the frequency of the runs of this
82 canary.
83  
84 If you omit this field, the frequency of the canary is used as this
85 value, up to a maximum of 14 minutes.
86  
87  
88  
89 =head1 SEE ALSO
90  
91 This class forms part of L<Paws>, describing an object used in L<Paws::Synthetics>
92  
93 =head1 BUGS and CONTRIBUTIONS
94  
95 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
96  
97 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
98  
99 =cut
100