File Coverage

blib/lib/Paws/AutoScaling/DescribePolicies.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::AutoScaling::DescribePolicies;
3 1     1   703 use Moose;
  1     1   4  
  1         7  
  1         604  
  1         2  
  1         10  
4             has AutoScalingGroupName => (is => 'ro', isa => 'Str');
5             has MaxRecords => (is => 'ro', isa => 'Int');
6             has NextToken => (is => 'ro', isa => 'Str');
7             has PolicyNames => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
8             has PolicyTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
9              
10 1     1   8689 use MooseX::ClassAttribute;
  1     1   3  
  1         10  
  1         9033  
  1         39  
  1         15  
11              
12             class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribePolicies');
13             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AutoScaling::PoliciesType');
14             class_has _result_key => (isa => 'Str', is => 'ro', default => 'DescribePoliciesResult');
15             1;
16              
17             ### main pod documentation begin ###
18              
19             =head1 NAME
20              
21             Paws::AutoScaling::DescribePolicies - Arguments for method DescribePolicies on Paws::AutoScaling
22              
23             =head1 DESCRIPTION
24              
25             This class represents the parameters used for calling the method DescribePolicies on the
26             Auto Scaling service. Use the attributes of this class
27             as arguments to method DescribePolicies.
28              
29             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribePolicies.
30              
31             As an example:
32              
33             $service_obj->DescribePolicies(Att1 => $value1, Att2 => $value2, ...);
34              
35             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.
36              
37             =head1 ATTRIBUTES
38              
39              
40             =head2 AutoScalingGroupName => Str
41              
42             The name of the group.
43              
44              
45              
46             =head2 MaxRecords => Int
47              
48             The maximum number of items to be returned with each call. The default
49             value is 50 and the maximum value is 100.
50              
51              
52              
53             =head2 NextToken => Str
54              
55             The token for the next set of items to return. (You received this token
56             from a previous call.)
57              
58              
59              
60             =head2 PolicyNames => ArrayRef[Str|Undef]
61              
62             One or more policy names or policy ARNs to be described. If you omit
63             this parameter, all policy names are described. If an group name is
64             provided, the results are limited to that group. This list is limited
65             to 50 items. If you specify an unknown policy name, it is ignored with
66             no error.
67              
68              
69              
70             =head2 PolicyTypes => ArrayRef[Str|Undef]
71              
72             One or more policy types. Valid values are C<SimpleScaling> and
73             C<StepScaling>.
74              
75              
76              
77              
78             =head1 SEE ALSO
79              
80             This class forms part of L<Paws>, documenting arguments for method DescribePolicies in L<Paws::AutoScaling>
81              
82             =head1 BUGS and CONTRIBUTIONS
83              
84             The source code is located here: https://github.com/pplu/aws-sdk-perl
85              
86             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
87              
88             =cut
89