NAME

Paws::AutoScalingPlans - Perl Interface to AWS AWS Auto Scaling Plans

SYNOPSIS

  use Paws;

  my $obj = Paws->service('AutoScalingPlans');
  my $res = $obj->Method(
    Arg1 => $val1,
    Arg2 => [ 'V1', 'V2' ],
    # if Arg3 is an object, the HashRef will be used as arguments to the constructor
    # of the arguments type
    Arg3 => { Att1 => 'Val1' },
    # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
    # the constructor of the arguments type
    Arg4 => [ { Att1 => 'Val1'  }, { Att1 => 'Val2' } ],
  );

DESCRIPTION

AWS Auto Scaling

Use AWS Auto Scaling to quickly discover all the scalable AWS resources for your application and configure dynamic scaling and predictive scaling for your resources using scaling plans. Use this service in conjunction with the Amazon EC2 Auto Scaling, Application Auto Scaling, Amazon CloudWatch, and AWS CloudFormation services.

Currently, predictive scaling is only available for Amazon EC2 Auto Scaling groups.

For more information about AWS Auto Scaling, including information about granting IAM users required permissions for AWS Auto Scaling actions, see the AWS Auto Scaling User Guide (https://docs.aws.amazon.com/autoscaling/plans/userguide/what-is-aws-auto-scaling.html).

For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/autoscaling-2018-01-06

METHODS

CreateScalingPlan

ApplicationSource => Paws::AutoScalingPlans::ApplicationSource
ScalingInstructions => ArrayRef[Paws::AutoScalingPlans::ScalingInstruction]
ScalingPlanName => Str

Each argument is described in detail in: Paws::AutoScalingPlans::CreateScalingPlan

Returns: a Paws::AutoScalingPlans::CreateScalingPlanResponse instance

Creates a scaling plan.

DeleteScalingPlan

ScalingPlanName => Str
ScalingPlanVersion => Int

Each argument is described in detail in: Paws::AutoScalingPlans::DeleteScalingPlan

Returns: a Paws::AutoScalingPlans::DeleteScalingPlanResponse instance

Deletes the specified scaling plan.

Deleting a scaling plan deletes the underlying ScalingInstruction for all of the scalable resources that are covered by the plan.

If the plan has launched resources or has scaling activities in progress, you must delete those resources separately.

DescribeScalingPlanResources

ScalingPlanName => Str
ScalingPlanVersion => Int
[MaxResults => Int]
[NextToken => Str]

Each argument is described in detail in: Paws::AutoScalingPlans::DescribeScalingPlanResources

Returns: a Paws::AutoScalingPlans::DescribeScalingPlanResourcesResponse instance

Describes the scalable resources in the specified scaling plan.

DescribeScalingPlans

[ApplicationSources => ArrayRef[Paws::AutoScalingPlans::ApplicationSource]]
[MaxResults => Int]
[NextToken => Str]
[ScalingPlanNames => ArrayRef[Str|Undef]]
[ScalingPlanVersion => Int]

Each argument is described in detail in: Paws::AutoScalingPlans::DescribeScalingPlans

Returns: a Paws::AutoScalingPlans::DescribeScalingPlansResponse instance

Describes one or more of your scaling plans.

GetScalingPlanResourceForecastData

EndTime => Str
ForecastDataType => Str
ResourceId => Str
ScalableDimension => Str
ScalingPlanName => Str
ScalingPlanVersion => Int
ServiceNamespace => Str
StartTime => Str

Each argument is described in detail in: Paws::AutoScalingPlans::GetScalingPlanResourceForecastData

Returns: a Paws::AutoScalingPlans::GetScalingPlanResourceForecastDataResponse instance

Retrieves the forecast data for a scalable resource.

Capacity forecasts are represented as predicted values, or data points, that are calculated using historical data points from a specified CloudWatch load metric. Data points are available for up to 56 days.

UpdateScalingPlan

ScalingPlanName => Str
ScalingPlanVersion => Int
[ApplicationSource => Paws::AutoScalingPlans::ApplicationSource]
[ScalingInstructions => ArrayRef[Paws::AutoScalingPlans::ScalingInstruction]]

Each argument is described in detail in: Paws::AutoScalingPlans::UpdateScalingPlan

Returns: a Paws::AutoScalingPlans::UpdateScalingPlanResponse instance

Updates the specified scaling plan.

You cannot update a scaling plan if it is in the process of being created, updated, or deleted.

PAGINATORS

Paginator methods are helpers that repetively call methods that return partial results

DescribeAllScalingPlanResources(sub { },ScalingPlanName => Str, ScalingPlanVersion => Int, [MaxResults => Int, NextToken => Str])

DescribeAllScalingPlanResources(ScalingPlanName => Str, ScalingPlanVersion => Int, [MaxResults => Int, NextToken => Str])

If passed a sub as first parameter, it will call the sub for each element found in :

 - ScalingPlanResources, passing the object as the first parameter, and the string 'ScalingPlanResources' as the second parameter 

If not, it will return a a Paws::AutoScalingPlans::DescribeScalingPlanResourcesResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

DescribeAllScalingPlans(sub { },[ApplicationSources => ArrayRef[Paws::AutoScalingPlans::ApplicationSource], MaxResults => Int, NextToken => Str, ScalingPlanNames => ArrayRef[Str|Undef], ScalingPlanVersion => Int])

DescribeAllScalingPlans([ApplicationSources => ArrayRef[Paws::AutoScalingPlans::ApplicationSource], MaxResults => Int, NextToken => Str, ScalingPlanNames => ArrayRef[Str|Undef], ScalingPlanVersion => Int])

If passed a sub as first parameter, it will call the sub for each element found in :

 - ScalingPlans, passing the object as the first parameter, and the string 'ScalingPlans' as the second parameter 

If not, it will return a a Paws::AutoScalingPlans::DescribeScalingPlansResponse instance with all the params; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory.

SEE ALSO

This service class forms part of Paws

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues