NAME
Paws::ComputeOptimizer - Perl Interface to AWS AWS Compute Optimizer
SYNOPSIS
use Paws;
my $obj = Paws->service('ComputeOptimizer');
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 Compute Optimizer is a service that analyzes the configuration and utilization metrics of your AWS resources, such as EC2 instances and Auto Scaling groups. It reports whether your resources are optimal, and generates optimization recommendations to reduce the cost and improve the performance of your workloads. Compute Optimizer also provides recent utilization metric data, as well as projected utilization metric data for the recommendations, which you can use to evaluate which recommendation provides the best price-performance trade-off. The analysis of your usage patterns can help you decide when to move or resize your running resources, and still meet your performance and capacity requirements. For more information about Compute Optimizer, see the AWS Compute Optimizer User Guide (https://docs.aws.amazon.com/compute-optimizer/latest/ug/).
For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/compute-optimizer-2019-11-01
METHODS
GetAutoScalingGroupRecommendations
- [AccountIds => ArrayRef[Str|Undef]]
- [AutoScalingGroupArns => ArrayRef[Str|Undef]]
- [Filters => ArrayRef[Paws::ComputeOptimizer::Filter]]
- [MaxResults => Int]
- [NextToken => Str]
Each argument is described in detail in: Paws::ComputeOptimizer::GetAutoScalingGroupRecommendations
Returns: a Paws::ComputeOptimizer::GetAutoScalingGroupRecommendationsResponse instance
Returns Auto Scaling group recommendations.
AWS Compute Optimizer currently generates recommendations for Auto Scaling groups that are configured to run instances of the M, C, R, T, and X instance families. The service does not generate recommendations for Auto Scaling groups that have a scaling policy attached to them, or that do not have the same values for desired, minimum, and maximum capacity. In order for Compute Optimizer to analyze your Auto Scaling groups, they must be of a fixed size. For more information, see the AWS Compute Optimizer User Guide (https://docs.aws.amazon.com/compute-optimizer/latest/ug/what-is.html).
GetEC2InstanceRecommendations
- [AccountIds => ArrayRef[Str|Undef]]
- [Filters => ArrayRef[Paws::ComputeOptimizer::Filter]]
- [InstanceArns => ArrayRef[Str|Undef]]
- [MaxResults => Int]
- [NextToken => Str]
Each argument is described in detail in: Paws::ComputeOptimizer::GetEC2InstanceRecommendations
Returns: a Paws::ComputeOptimizer::GetEC2InstanceRecommendationsResponse instance
Returns Amazon EC2 instance recommendations.
AWS Compute Optimizer currently generates recommendations for Amazon Elastic Compute Cloud (Amazon EC2) and Amazon EC2 Auto Scaling. It generates recommendations for M, C, R, T, and X instance families. For more information, see the AWS Compute Optimizer User Guide (https://docs.aws.amazon.com/compute-optimizer/latest/ug/what-is.html).
GetEC2RecommendationProjectedMetrics
Each argument is described in detail in: Paws::ComputeOptimizer::GetEC2RecommendationProjectedMetrics
Returns: a Paws::ComputeOptimizer::GetEC2RecommendationProjectedMetricsResponse instance
Returns the projected utilization metrics of Amazon EC2 instance recommendations.
GetEnrollmentStatus
Each argument is described in detail in: Paws::ComputeOptimizer::GetEnrollmentStatus
Returns: a Paws::ComputeOptimizer::GetEnrollmentStatusResponse instance
Returns the enrollment (opt in) status of an account to the AWS Compute Optimizer service.
If the account is a master account of an organization, this operation also confirms the enrollment status of member accounts within the organization.
GetRecommendationSummaries
Each argument is described in detail in: Paws::ComputeOptimizer::GetRecommendationSummaries
Returns: a Paws::ComputeOptimizer::GetRecommendationSummariesResponse instance
Returns the optimization findings for an account.
For example, it returns the number of Amazon EC2 instances in an account that are under-provisioned, over-provisioned, or optimized. It also returns the number of Auto Scaling groups in an account that are not optimized, or optimized.
UpdateEnrollmentStatus
Each argument is described in detail in: Paws::ComputeOptimizer::UpdateEnrollmentStatus
Returns: a Paws::ComputeOptimizer::UpdateEnrollmentStatusResponse instance
Updates the enrollment (opt in) status of an account to the AWS Compute Optimizer service.
If the account is a master account of an organization, this operation can also enroll member accounts within the organization.
PAGINATORS
Paginator methods are helpers that repetively call methods that return partial results
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