Paws::AutoScaling::DescribePolicies - Arguments for method DescribePolicies on Paws::AutoScaling


This class represents the parameters used for calling the method DescribePolicies on the Auto Scaling service. Use the attributes of this class as arguments to method DescribePolicies.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribePolicies.


    my $autoscaling = Paws->service('AutoScaling');
    # To describe Auto Scaling policies
    # This example describes the policies for the specified Auto Scaling group.
    my $PoliciesType = $autoscaling->DescribePolicies(
        'AutoScalingGroupName' => 'my-auto-scaling-group'

    # Results:
    my $ScalingPolicies = $PoliciesType->ScalingPolicies;

    # Returns a L<Paws::AutoScaling::PoliciesType> object.

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. For the AWS API documentation, see


AutoScalingGroupName => Str

The name of the Auto Scaling group.

MaxRecords => Int

The maximum number of items to be returned with each call. The default value is 50 and the maximum value is 100.

NextToken => Str

The token for the next set of items to return. (You received this token from a previous call.)

PolicyNames => ArrayRef[Str|Undef]

The names of one or more policies. If you omit this parameter, all policies are described. If an group name is provided, the results are limited to that group. This list is limited to 50 items. If you specify an unknown policy name, it is ignored with no error.

PolicyTypes => ArrayRef[Str|Undef]

One or more policy types. Valid values are SimpleScaling and StepScaling.


This class forms part of Paws, documenting arguments for method DescribePolicies in Paws::AutoScaling


The source code is located here:

Please report bugs to: