blib/lib/Paws/DynamoDB/AutoScalingTargetTrackingScalingPolicyConfigurationUpdate.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::DynamoDB::AutoScalingTargetTrackingScalingPolicyConfigurationUpdate;
3 use Moose;
4 has DisableScaleIn => (is => 'ro', isa => 'Bool');
5 has ScaleInCooldown => (is => 'ro', isa => 'Int');
6 has ScaleOutCooldown => (is => 'ro', isa => 'Int');
7 has TargetValue => (is => 'ro', isa => 'Num', required => 1);
8  
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::DynamoDB::AutoScalingTargetTrackingScalingPolicyConfigurationUpdate
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::DynamoDB::AutoScalingTargetTrackingScalingPolicyConfigurationUpdate object:
27  
28 $service_obj->Method(Att1 => { DisableScaleIn => $value, ..., TargetValue => $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::DynamoDB::AutoScalingTargetTrackingScalingPolicyConfigurationUpdate object:
33  
34 $result = $service_obj->Method(...);
35 $result->Att1->DisableScaleIn
36  
37 =head1 DESCRIPTION
38  
39 Represents the settings of a target tracking scaling policy that will
40 be modified.
41  
42 =head1 ATTRIBUTES
43  
44  
45 =head2 DisableScaleIn => Bool
46  
47 Indicates whether scale in by the target tracking policy is disabled.
48 If the value is true, scale in is disabled and the target tracking
49 policy won't remove capacity from the scalable resource. Otherwise,
50 scale in is enabled and the target tracking policy can remove capacity
51 from the scalable resource. The default value is false.
52  
53  
54 =head2 ScaleInCooldown => Int
55  
56 The amount of time, in seconds, after a scale in activity completes
57 before another scale in activity can start. The cooldown period is used
58 to block subsequent scale in requests until it has expired. You should
59 scale in conservatively to protect your application's availability.
60 However, if another alarm triggers a scale out policy during the
61 cooldown period after a scale-in, application auto scaling scales out
62 your scalable target immediately.
63  
64  
65 =head2 ScaleOutCooldown => Int
66  
67 The amount of time, in seconds, after a scale out activity completes
68 before another scale out activity can start. While the cooldown period
69 is in effect, the capacity that has been added by the previous scale
70 out event that initiated the cooldown is calculated as part of the
71 desired capacity for the next scale out. You should continuously (but
72 not excessively) scale out.
73  
74  
75 =head2 B<REQUIRED> TargetValue => Num
76  
77 The target value for the metric. The range is 8.515920e-109 to
78 1.174271e+108 (Base 10) or 2e-360 to 2e360 (Base 2).
79  
80  
81  
82 =head1 SEE ALSO
83  
84 This class forms part of L<Paws>, describing an object used in L<Paws::DynamoDB>
85  
86 =head1 BUGS and CONTRIBUTIONS
87  
88 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
89  
90 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
91  
92 =cut
93