blib/lib/Paws/RedShift/UsageLimit.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 14 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::RedShift::UsageLimit;
3 use Moose;
4 has Amount => (is => 'ro', isa => 'Int');
5 has BreachAction => (is => 'ro', isa => 'Str');
6 has ClusterIdentifier => (is => 'ro', isa => 'Str');
7 has FeatureType => (is => 'ro', isa => 'Str');
8 has LimitType => (is => 'ro', isa => 'Str');
9 has Period => (is => 'ro', isa => 'Str');
10 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::RedShift::Tag]', request_name => 'Tag', traits => ['NameInRequest',]);
11 has UsageLimitId => (is => 'ro', isa => 'Str');
12  
13 has _request_id => (is => 'ro', isa => 'Str');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::RedShift::UsageLimit
21  
22 =head1 ATTRIBUTES
23  
24  
25 =head2 Amount => Int
26  
27 The limit amount. If time-based, this amount is in minutes. If
28 data-based, this amount is in terabytes (TB).
29  
30  
31 =head2 BreachAction => Str
32  
33 The action that Amazon Redshift takes when the limit is reached.
34 Possible values are:
35  
36 =over
37  
38 =item *
39  
40 B<log> - To log an event in a system table. The default is log.
41  
42 =item *
43  
44 B<emit-metric> - To emit CloudWatch metrics.
45  
46 =item *
47  
48 B<disable> - To disable the feature until the next usage period begins.
49  
50 =back
51  
52  
53 Valid values are: C<"log">, C<"emit-metric">, C<"disable">
54 =head2 ClusterIdentifier => Str
55  
56 The identifier of the cluster with a usage limit.
57  
58  
59 =head2 FeatureType => Str
60  
61 The Amazon Redshift feature to which the limit applies.
62  
63 Valid values are: C<"spectrum">, C<"concurrency-scaling">
64 =head2 LimitType => Str
65  
66 The type of limit. Depending on the feature type, this can be based on
67 a time duration or data size.
68  
69 Valid values are: C<"time">, C<"data-scanned">
70 =head2 Period => Str
71  
72 The time period that the amount applies to. A C<weekly> period begins
73 on Sunday. The default is C<monthly>.
74  
75 Valid values are: C<"daily">, C<"weekly">, C<"monthly">
76 =head2 Tags => ArrayRef[L<Paws::RedShift::Tag>]
77  
78 A list of tag instances.
79  
80  
81 =head2 UsageLimitId => Str
82  
83 The identifier of the usage limit.
84  
85  
86 =head2 _request_id => Str
87  
88  
89 =cut
90