ComputeOptimizer class

AWS Compute Optimizer is a service that analyzes the configuration and utilization metrics of your AWS compute resources, such as EC2 instances, Auto Scaling groups, AWS Lambda functions, and Amazon EBS volumes. 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, including the required permissions to use the service, see the AWS Compute Optimizer User Guide.

Constructors

ComputeOptimizer({required String region, AwsClientCredentials? credentials, AwsClientCredentialsProvider? credentialsProvider, Client? client, String? endpointUrl})

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
Closes the internal HTTP client if none was provided at creation. If a client was passed as a constructor argument, this becomes a noop.
describeRecommendationExportJobs({List<JobFilter>? filters, List<String>? jobIds, int? maxResults, String? nextToken}) Future<DescribeRecommendationExportJobsResponse>
Describes recommendation export jobs created in the last seven days.
exportAutoScalingGroupRecommendations({required S3DestinationConfig s3DestinationConfig, List<String>? accountIds, List<ExportableAutoScalingGroupField>? fieldsToExport, FileFormat? fileFormat, List<Filter>? filters, bool? includeMemberAccounts}) Future<ExportAutoScalingGroupRecommendationsResponse>
Exports optimization recommendations for Auto Scaling groups.
exportEC2InstanceRecommendations({required S3DestinationConfig s3DestinationConfig, List<String>? accountIds, List<ExportableInstanceField>? fieldsToExport, FileFormat? fileFormat, List<Filter>? filters, bool? includeMemberAccounts}) Future<ExportEC2InstanceRecommendationsResponse>
Exports optimization recommendations for Amazon EC2 instances.
getAutoScalingGroupRecommendations({List<String>? accountIds, List<String>? autoScalingGroupArns, List<Filter>? filters, int? maxResults, String? nextToken}) Future<GetAutoScalingGroupRecommendationsResponse>
Returns Auto Scaling group recommendations.
getEBSVolumeRecommendations({List<String>? accountIds, List<EBSFilter>? filters, int? maxResults, String? nextToken, List<String>? volumeArns}) Future<GetEBSVolumeRecommendationsResponse>
Returns Amazon Elastic Block Store (Amazon EBS) volume recommendations.
getEC2InstanceRecommendations({List<String>? accountIds, List<Filter>? filters, List<String>? instanceArns, int? maxResults, String? nextToken}) Future<GetEC2InstanceRecommendationsResponse>
Returns Amazon EC2 instance recommendations.
getEC2RecommendationProjectedMetrics({required DateTime endTime, required String instanceArn, required int period, required DateTime startTime, required MetricStatistic stat}) Future<GetEC2RecommendationProjectedMetricsResponse>
Returns the projected utilization metrics of Amazon EC2 instance recommendations.
getEnrollmentStatus() Future<GetEnrollmentStatusResponse>
Returns the enrollment (opt in) status of an account to the AWS Compute Optimizer service.
getLambdaFunctionRecommendations({List<String>? accountIds, List<LambdaFunctionRecommendationFilter>? filters, List<String>? functionArns, int? maxResults, String? nextToken}) Future<GetLambdaFunctionRecommendationsResponse>
Returns AWS Lambda function recommendations.
getRecommendationSummaries({List<String>? accountIds, int? maxResults, String? nextToken}) Future<GetRecommendationSummariesResponse>
Returns the optimization findings for an account.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateEnrollmentStatus({required Status status, bool? includeMemberAccounts}) Future<UpdateEnrollmentStatusResponse>
Updates the enrollment (opt in) status of an account to the AWS Compute Optimizer service.

Operators

operator ==(Object other) bool
The equality operator.
inherited