blib/lib/Paws/AutoScalingPlans/DescribeScalingPlans.pm untested

filter: Statementstmt 0.0% 0 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 16 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::AutoScalingPlans::DescribeScalingPlans;
3 use Moose;
4 has ApplicationSources => (is => 'ro', isa => 'ArrayRef[Paws::AutoScalingPlans::ApplicationSource]');
5 has MaxResults => (is => 'ro', isa => 'Int');
6 has NextToken => (is => 'ro', isa => 'Str');
7 has ScalingPlanNames => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
8 has ScalingPlanVersion => (is => 'ro', isa => 'Int');
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeScalingPlans');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AutoScalingPlans::DescribeScalingPlansResponse');
14 class_has _result_key => (isa => 'Str', is => 'ro');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::AutoScalingPlans::DescribeScalingPlans - Arguments for method DescribeScalingPlans on L<Paws::AutoScalingPlans>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method DescribeScalingPlans on the
26 L<AWS Auto Scaling Plans|Paws::AutoScalingPlans> service. Use the attributes of this class
27 as arguments to method DescribeScalingPlans.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeScalingPlans.
30  
31 =head1 SYNOPSIS
32  
33 my $autoscaling-plans = Paws->service('AutoScalingPlans');
34 my $DescribeScalingPlansResponse =
35 $autoscaling -plans->DescribeScalingPlans(
36 ApplicationSources => [
37 {
38 CloudFormationStackARN => 'MyXmlString', # OPTIONAL
39 TagFilters => [
40 {
41 Key => 'MyXmlStringMaxLen128', # min: 1, max: 128; OPTIONAL
42 Values => [
43 'MyXmlStringMaxLen256', ... # min: 1, max: 256
44 ], # OPTIONAL
45 },
46 ...
47 ], # OPTIONAL
48 },
49 ...
50 ], # OPTIONAL
51 MaxResults => 1, # OPTIONAL
52 NextToken => 'MyNextToken', # OPTIONAL
53 ScalingPlanNames => [
54 'MyScalingPlanName', ... # min: 1, max: 128
55 ], # OPTIONAL
56 ScalingPlanVersion => 1, # OPTIONAL
57 );
58  
59 # Results:
60 my $NextToken = $DescribeScalingPlansResponse->NextToken;
61 my $ScalingPlans = $DescribeScalingPlansResponse->ScalingPlans;
62  
63 # Returns a L<Paws::AutoScalingPlans::DescribeScalingPlansResponse> object.
64  
65 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.
66 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/autoscaling-plans/DescribeScalingPlans>
67  
68 =head1 ATTRIBUTES
69  
70  
71 =head2 ApplicationSources => ArrayRef[L<Paws::AutoScalingPlans::ApplicationSource>]
72  
73 The sources for the applications (up to 10). If you specify scaling
74 plan names, you cannot specify application sources.
75  
76  
77  
78 =head2 MaxResults => Int
79  
80 The maximum number of scalable resources to return. This value can be
81 between 1 and 50. The default value is 50.
82  
83  
84  
85 =head2 NextToken => Str
86  
87 The token for the next set of results.
88  
89  
90  
91 =head2 ScalingPlanNames => ArrayRef[Str|Undef]
92  
93 The names of the scaling plans (up to 10). If you specify application
94 sources, you cannot specify scaling plan names.
95  
96  
97  
98 =head2 ScalingPlanVersion => Int
99  
100 The version number of the scaling plan. Currently, the only valid value
101 is C<1>.
102  
103 If you specify a scaling plan version, you must also specify a scaling
104 plan name.
105  
106  
107  
108  
109 =head1 SEE ALSO
110  
111 This class forms part of L<Paws>, documenting arguments for method DescribeScalingPlans in L<Paws::AutoScalingPlans>
112  
113 =head1 BUGS and CONTRIBUTIONS
114  
115 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
116  
117 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
118  
119 =cut
120