blib/lib/Paws/Synthetics/CanaryScheduleInput.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::CanaryScheduleInput;
3 use Moose;
4 has DurationInSeconds => (is => 'ro', isa => 'Int');
5 has Expression => (is => 'ro', isa => 'Str', required => 1);
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::Synthetics::CanaryScheduleInput
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::CanaryScheduleInput 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::CanaryScheduleInput object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->DurationInSeconds
34  
35 =head1 DESCRIPTION
36  
37 This structure specifies how often a canary is to make runs and the
38 date and time when it should stop making runs.
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 according to the schedule in the C<Expression> value. If you specify 0,
47 the canary continues making runs until you stop it. If you omit this
48 field, the default of 0 is used.
49  
50  
51 =head2 B<REQUIRED> Expression => Str
52  
53 A rate expression that defines how often the canary is to run. The
54 syntax is C<rate(I<number unit>)>. I<unit> can be C<minute>,
55 C<minutes>, or C<hour>.
56  
57 For example, C<rate(1 minute)> runs the canary once a minute, C<rate(10
58 minutes)> runs it once every 10 minutes, and C<rate(1 hour)> runs it
59 once every hour. You can specify a frequency between C<rate(1 minute)>
60 and C<rate(1 hour)>.
61  
62 Specifying C<rate(0 minute)> or C<rate(0 hour)> is a special value that
63 causes the canary to run only once when it is started.
64  
65  
66  
67 =head1 SEE ALSO
68  
69 This class forms part of L<Paws>, describing an object used in L<Paws::Synthetics>
70  
71 =head1 BUGS and CONTRIBUTIONS
72  
73 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
74  
75 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
76  
77 =cut
78