PNG  IHDR;IDATxܻn0K )(pA 7LeG{ §㻢|ذaÆ 6lذaÆ 6lذaÆ 6lom$^yذag5bÆ 6lذaÆ 6lذa{ 6lذaÆ `}HFkm,mӪôô! x|'ܢ˟;E:9&ᶒ}{v]n&6 h_tڠ͵-ҫZ;Z$.Pkž)!o>}leQfJTu іچ\X=8Rن4`Vwl>nG^is"ms$ui?wbs[m6K4O.4%/bC%t Mז -lG6mrz2s%9s@-k9=)kB5\+͂Zsٲ Rn~GRC wIcIn7jJhۛNCS|j08yiHKֶۛkɈ+;SzL/F*\Ԕ#"5m2[S=gnaPeғL lذaÆ 6l^ḵaÆ 6lذaÆ 6lذa; _ذaÆ 6lذaÆ 6lذaÆ RIENDB` package Paws::AutoScalingPlans; use Moose; sub service { 'autoscaling-plans' } sub signing_name { 'autoscaling-plans' } sub version { '2018-01-06' } sub target_prefix { 'AnyScaleScalingPlannerFrontendService' } sub json_version { "1.1" } has max_attempts => (is => 'ro', isa => 'Int', default => 5); has retry => (is => 'ro', isa => 'HashRef', default => sub { { base => 'rand', type => 'exponential', growth_factor => 2 } }); has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [ ] }); with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::JsonCaller'; sub CreateScalingPlan { my $self = shift; my $call_object = $self->new_with_coercions('Paws::AutoScalingPlans::CreateScalingPlan', @_); return $self->caller->do_call($self, $call_object); } sub DeleteScalingPlan { my $self = shift; my $call_object = $self->new_with_coercions('Paws::AutoScalingPlans::DeleteScalingPlan', @_); return $self->caller->do_call($self, $call_object); } sub DescribeScalingPlanResources { my $self = shift; my $call_object = $self->new_with_coercions('Paws::AutoScalingPlans::DescribeScalingPlanResources', @_); return $self->caller->do_call($self, $call_object); } sub DescribeScalingPlans { my $self = shift; my $call_object = $self->new_with_coercions('Paws::AutoScalingPlans::DescribeScalingPlans', @_); return $self->caller->do_call($self, $call_object); } sub GetScalingPlanResourceForecastData { my $self = shift; my $call_object = $self->new_with_coercions('Paws::AutoScalingPlans::GetScalingPlanResourceForecastData', @_); return $self->caller->do_call($self, $call_object); } sub UpdateScalingPlan { my $self = shift; my $call_object = $self->new_with_coercions('Paws::AutoScalingPlans::UpdateScalingPlan', @_); return $self->caller->do_call($self, $call_object); } sub DescribeAllScalingPlanResources { my $self = shift; my $callback = shift @_ if (ref($_[0]) eq 'CODE'); my $result = $self->DescribeScalingPlanResources(@_); my $next_result = $result; if (not defined $callback) { while ($next_result->NextToken) { $next_result = $self->DescribeScalingPlanResources(@_, NextToken => $next_result->NextToken); push @{ $result->ScalingPlanResources }, @{ $next_result->ScalingPlanResources }; } return $result; } else { while ($result->NextToken) { $callback->($_ => 'ScalingPlanResources') foreach (@{ $result->ScalingPlanResources }); $result = $self->DescribeScalingPlanResources(@_, NextToken => $result->NextToken); } $callback->($_ => 'ScalingPlanResources') foreach (@{ $result->ScalingPlanResources }); } return undef } sub DescribeAllScalingPlans { my $self = shift; my $callback = shift @_ if (ref($_[0]) eq 'CODE'); my $result = $self->DescribeScalingPlans(@_); my $next_result = $result; if (not defined $callback) { while ($next_result->NextToken) { $next_result = $self->DescribeScalingPlans(@_, NextToken => $next_result->NextToken); push @{ $result->ScalingPlans }, @{ $next_result->ScalingPlans }; } return $result; } else { while ($result->NextToken) { $callback->($_ => 'ScalingPlans') foreach (@{ $result->ScalingPlans }); $result = $self->DescribeScalingPlans(@_, NextToken => $result->NextToken); } $callback->($_ => 'ScalingPlans') foreach (@{ $result->ScalingPlans }); } return undef } sub operations { qw/CreateScalingPlan DeleteScalingPlan DescribeScalingPlanResources DescribeScalingPlans GetScalingPlanResourceForecastData UpdateScalingPlan / } 1; ### main pod documentation begin ### =head1 NAME Paws::AutoScalingPlans - Perl Interface to AWS AWS Auto Scaling Plans =head1 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' } ], ); =head1 DESCRIPTION AWS Auto Scaling Use AWS Auto Scaling to create scaling plans for your applications to automatically scale your scalable AWS resources. B You can use the AWS Auto Scaling service API to accomplish the following tasks: =over =item * Create and manage scaling plans =item * Define target tracking scaling policies to dynamically scale your resources based on utilization =item * Scale Amazon EC2 Auto Scaling groups using predictive scaling and dynamic scaling to scale your Amazon EC2 capacity faster =item * Set minimum and maximum capacity limits =item * Retrieve information on existing scaling plans =item * Access current forecast data and historical forecast data for up to 56 days previous =back To learn more 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 L =head1 METHODS =head2 CreateScalingPlan =over =item ApplicationSource => L =item ScalingInstructions => ArrayRef[L] =item ScalingPlanName => Str =back Each argument is described in detail in: L Returns: a L instance Creates a scaling plan. =head2 DeleteScalingPlan =over =item ScalingPlanName => Str =item ScalingPlanVersion => Int =back Each argument is described in detail in: L Returns: a L 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. =head2 DescribeScalingPlanResources =over =item ScalingPlanName => Str =item ScalingPlanVersion => Int =item [MaxResults => Int] =item [NextToken => Str] =back Each argument is described in detail in: L Returns: a L instance Describes the scalable resources in the specified scaling plan. =head2 DescribeScalingPlans =over =item [ApplicationSources => ArrayRef[L]] =item [MaxResults => Int] =item [NextToken => Str] =item [ScalingPlanNames => ArrayRef[Str|Undef]] =item [ScalingPlanVersion => Int] =back Each argument is described in detail in: L Returns: a L instance Describes one or more of your scaling plans. =head2 GetScalingPlanResourceForecastData =over =item EndTime => Str =item ForecastDataType => Str =item ResourceId => Str =item ScalableDimension => Str =item ScalingPlanName => Str =item ScalingPlanVersion => Int =item ServiceNamespace => Str =item StartTime => Str =back Each argument is described in detail in: L Returns: a L 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. =head2 UpdateScalingPlan =over =item ScalingPlanName => Str =item ScalingPlanVersion => Int =item [ApplicationSource => L] =item [ScalingInstructions => ArrayRef[L]] =back Each argument is described in detail in: L Returns: a L instance Updates the specified scaling plan. You cannot update a scaling plan if it is in the process of being created, updated, or deleted. =head1 PAGINATORS Paginator methods are helpers that repetively call methods that return partial results =head2 DescribeAllScalingPlanResources(sub { },ScalingPlanName => Str, ScalingPlanVersion => Int, [MaxResults => Int, NextToken => Str]) =head2 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 L instance with all the Cs; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. =head2 DescribeAllScalingPlans(sub { },[ApplicationSources => ArrayRef[L], MaxResults => Int, NextToken => Str, ScalingPlanNames => ArrayRef[Str|Undef], ScalingPlanVersion => Int]) =head2 DescribeAllScalingPlans([ApplicationSources => ArrayRef[L], 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 L instance with all the Cs; from all the responses. Please take into account that this mode can potentially consume vasts ammounts of memory. =head1 SEE ALSO This service class forms part of L =head1 BUGS and CONTRIBUTIONS The source code is located here: L Please report bugs to: L =cut