blib/lib/Paws/Synthetics/CanaryScheduleOutput.pm untested

filter: Statementstmt 0.0% 0 / 5 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 6 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::CanaryScheduleOutput;
3 use Moose;
4 has DurationInSeconds => (is => 'ro', isa => 'Int');
5 has Expression => (is => 'ro', isa => 'Str');
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::Synthetics::CanaryScheduleOutput
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::Synthetics::CanaryScheduleOutput object:
25  
26 $service_obj->Method(Att1 => { DurationInSeconds => $value, ..., Expression => $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::Synthetics::CanaryScheduleOutput object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->DurationInSeconds
34  
35 =head1 DESCRIPTION
36  
37 How long, in seconds, for the canary to continue making regular runs
38 according to the schedule in the C<Expression> value.
39  
40 =head1 ATTRIBUTES
41  
42  
43 =head2 DurationInSeconds => Int
44  
45 How long, in seconds, for the canary to continue making regular runs
46 after it was created. The runs are performed according to the schedule
47 in the C<Expression> value.
48  
49  
50 =head2 Expression => Str
51  
52 A rate expression that defines how often the canary is to run. The
53 syntax is C<rate(I<number unit>)>. I<unit> can be C<minute>,
54 C<minutes>, or C<hour>.
55  
56 For example, C<rate(1 minute)> runs the canary once a minute, C<rate(10
57 minutes)> runs it once every 10 minutes, and C<rate(1 hour)> runs it
58 once every hour.
59  
60 Specifying C<rate(0 minute)> or C<rate(0 hour)> is a special value that
61 causes the canary to run only once when it is started.
62  
63  
64  
65 =head1 SEE ALSO
66  
67 This class forms part of L<Paws>, describing an object used in L<Paws::Synthetics>
68  
69 =head1 BUGS and CONTRIBUTIONS
70  
71 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
72  
73 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
74  
75 =cut
76