blib/lib/Paws/AutoScaling/GetPredictiveScalingForecast.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::AutoScaling::GetPredictiveScalingForecast;
3 use Moose;
4 has AutoScalingGroupName => (is => 'ro', isa => 'Str', required => 1);
5 has EndTime => (is => 'ro', isa => 'Str', required => 1);
6 has PolicyName => (is => 'ro', isa => 'Str', required => 1);
7 has StartTime => (is => 'ro', isa => 'Str', required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetPredictiveScalingForecast');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AutoScaling::GetPredictiveScalingForecastAnswer');
13 class_has _result_key => (isa => 'Str', is => 'ro', default => 'GetPredictiveScalingForecastResult');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::AutoScaling::GetPredictiveScalingForecast - Arguments for method GetPredictiveScalingForecast on L<Paws::AutoScaling>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method GetPredictiveScalingForecast on the
25 L<Auto Scaling|Paws::AutoScaling> service. Use the attributes of this class
26 as arguments to method GetPredictiveScalingForecast.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetPredictiveScalingForecast.
29  
30 =head1 SYNOPSIS
31  
32 my $autoscaling = Paws->service('AutoScaling');
33 my $GetPredictiveScalingForecastAnswer =
34 $autoscaling->GetPredictiveScalingForecast(
35 AutoScalingGroupName => 'MyXmlStringMaxLen255',
36 EndTime => '1970-01-01T01:00:00',
37 PolicyName => 'MyXmlStringMaxLen255',
38 StartTime => '1970-01-01T01:00:00',
39  
40 );
41  
42 # Results:
43 my $CapacityForecast =
44 $GetPredictiveScalingForecastAnswer->CapacityForecast;
45 my $LoadForecast = $GetPredictiveScalingForecastAnswer->LoadForecast;
46 my $UpdateTime = $GetPredictiveScalingForecastAnswer->UpdateTime;
47  
48 # Returns a L<Paws::AutoScaling::GetPredictiveScalingForecastAnswer> object.
49  
50 Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
51 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/autoscaling/GetPredictiveScalingForecast>
52  
53 =head1 ATTRIBUTES
54  
55  
56 =head2 B<REQUIRED> AutoScalingGroupName => Str
57  
58 The name of the Auto Scaling group.
59  
60  
61  
62 =head2 B<REQUIRED> EndTime => Str
63  
64 The exclusive end time of the time range for the forecast data to get.
65 The maximum time duration between the start and end time is 30 days.
66  
67 Although this parameter can accept a date and time that is more than
68 two days in the future, the availability of forecast data has limits.
69 Amazon EC2 Auto Scaling only issues forecasts for periods of two days
70 in advance.
71  
72  
73  
74 =head2 B<REQUIRED> PolicyName => Str
75  
76 The name of the policy.
77  
78  
79  
80 =head2 B<REQUIRED> StartTime => Str
81  
82 The inclusive start time of the time range for the forecast data to
83 get. At most, the date and time can be one year before the current date
84 and time.
85  
86  
87  
88  
89 =head1 SEE ALSO
90  
91 This class forms part of L<Paws>, documenting arguments for method GetPredictiveScalingForecast in L<Paws::AutoScaling>
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