« blib/lib/Paws/AutoScaling/DescribeNotificationConfigurationsAnswer.pm
↑ Summary
blib/lib/Paws/AutoScaling/DescribeScalingActivities.pm »
| 1 | |||
| 2 | package Paws::AutoScaling::DescribePolicies; | ||
| 3 | 1 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | 1 | has AutoScalingGroupName => (is => 'ro', isa => 'Str'); | |
| 5 | 1 | has MaxRecords => (is => 'ro', isa => 'Int'); | |
| 6 | 1 | has NextToken => (is => 'ro', isa => 'Str'); | |
| 7 | 1 | has PolicyNames => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | |
| 8 | 1 | has PolicyTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]'); | |
| 9 | |||
| 10 | 1 | ▶ | use MooseX::ClassAttribute; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 11 | |||
| 12 | 1 | class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribePolicies'); | |
| 13 | 1 | class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AutoScaling::PoliciesType'); | |
| 14 | 1 | class_has _result_key => (isa => 'Str', is => 'ro', default => 'DescribePoliciesResult'); | |
| 15 | 1 | 1; | |
| 16 | |||
| 17 | ### main pod documentation begin ### | ||
| 18 | |||
| 19 | =head1 NAME | ||
| 20 | |||
| 21 | Paws::AutoScaling::DescribePolicies - Arguments for method DescribePolicies on L<Paws::AutoScaling> | ||
| 22 | |||
| 23 | =head1 DESCRIPTION | ||
| 24 | |||
| 25 | This class represents the parameters used for calling the method DescribePolicies on the | ||
| 26 | L<Auto Scaling|Paws::AutoScaling> 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 | =head1 SYNOPSIS | ||
| 32 | |||
| 33 | my $autoscaling = Paws->service('AutoScaling'); | ||
| 34 | # To describe scaling policies | ||
| 35 | # This example describes the policies for the specified Auto Scaling group. | ||
| 36 | my $PoliciesType = $autoscaling->DescribePolicies( | ||
| 37 | 'AutoScalingGroupName' => 'my-auto-scaling-group' ); | ||
| 38 | |||
| 39 | # Results: | ||
| 40 | my $ScalingPolicies = $PoliciesType->ScalingPolicies; | ||
| 41 | |||
| 42 | # Returns a L<Paws::AutoScaling::PoliciesType> object. | ||
| 43 | |||
| 44 | 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. | ||
| 45 | For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/autoscaling/DescribePolicies> | ||
| 46 | |||
| 47 | =head1 ATTRIBUTES | ||
| 48 | |||
| 49 | |||
| 50 | =head2 AutoScalingGroupName => Str | ||
| 51 | |||
| 52 | The name of the Auto Scaling group. | ||
| 53 | |||
| 54 | |||
| 55 | |||
| 56 | =head2 MaxRecords => Int | ||
| 57 | |||
| 58 | The maximum number of items to be returned with each call. The default | ||
| 59 | value is C<50> and the maximum value is C<100>. | ||
| 60 | |||
| 61 | |||
| 62 | |||
| 63 | =head2 NextToken => Str | ||
| 64 | |||
| 65 | The token for the next set of items to return. (You received this token | ||
| 66 | from a previous call.) | ||
| 67 | |||
| 68 | |||
| 69 | |||
| 70 | =head2 PolicyNames => ArrayRef[Str|Undef] | ||
| 71 | |||
| 72 | The names of one or more policies. If you omit this parameter, all | ||
| 73 | policies are described. If a group name is provided, the results are | ||
| 74 | limited to that group. If you specify an unknown policy name, it is | ||
| 75 | ignored with no error. | ||
| 76 | |||
| 77 | Array Members: Maximum number of 50 items. | ||
| 78 | |||
| 79 | |||
| 80 | |||
| 81 | =head2 PolicyTypes => ArrayRef[Str|Undef] | ||
| 82 | |||
| 83 | One or more policy types. The valid values are C<SimpleScaling>, | ||
| 84 | C<StepScaling>, C<TargetTrackingScaling>, and C<PredictiveScaling>. | ||
| 85 | |||
| 86 | |||
| 87 | |||
| 88 | |||
| 89 | =head1 SEE ALSO | ||
| 90 | |||
| 91 | This class forms part of L<Paws>, documenting arguments for method DescribePolicies 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 | |||