Amazon Compute Optimizer AWS Compute Optimizer API

The AWS Compute Optimizer API from Amazon Compute Optimizer — 21 operation(s) for aws compute optimizer.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 21

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /#DeleteRecommendationPreferences Delete a Compute Optimizer recommendation preference · Delete Recommendation Preferences #
Ask an LLM
“How do I turn off enhanced infrastructure metrics for a resource type?”
“Can I delete a recommendation preference for a single account instead of the whole organization?”
Tell an agent destructive · confirm first
Delete the {preference} recommendation preference for {resource_type}.
Remove the {preference} preference from {resource_type} in account {account}.
POST /#GetRecommendationPreferences Get recommendation preferences · Get Recommendation Preferences #
Ask an LLM
“Are enhanced infrastructure metrics preferences turned on for my account?”
“Can I read the organization's recommendation preferences?”
Tell an agent
Show the {resourceType} recommendation preferences for scope {scope}.
Get the recommendation preferences for {resourceType}.
POST /#PutRecommendationPreferences Set a Compute Optimizer recommendation preference · Put Recommendation Preferences #
Ask an LLM
“How do I turn on enhanced infrastructure metrics for my instances?”
“Can I change the look-back period used for instance recommendations?”
Tell an agent
Set enhanced infrastructure metrics to {metrics} for {resource_type}.
Set the look-back period to {look_back} days for {resource_type} recommendations.
POST /#DescribeRecommendationExportJobs List recommendation export jobs · Describe Recommendation Export Jobs #
Ask an LLM
“Which Auto Scaling group or EBS volume export jobs are in progress?”
“Can I see the status of every recommendation export job?”
Tell an agent
List all recommendation export jobs.
Show export jobs matching {filters}.
POST /#ExportAutoScalingGroupRecommendations Export Auto Scaling group recommendations · Export Auto Scaling Group Recommendations #
Ask an LLM
“How do I save my Auto Scaling group optimization recommendations to a bucket?”
“Can I export recommendations for every member account of my organization?”
Tell an agent
Export Auto Scaling group recommendations to {s3DestinationConfig} as {fileFormat}.
Export Auto Scaling group recommendations for accounts {accountIds} filtered by {filters}, including member accounts {includeMemberAccounts}.
POST /#GetAutoScalingGroupRecommendations Get Auto Scaling group recommendations · Get Auto Scaling Group Recommendations #
Ask an LLM
“What rightsizing recommendations does Compute Optimizer have for my Auto Scaling groups?”
“Can I filter Auto Scaling group recommendations by account?”
Tell an agent
Get Auto Scaling group recommendations for {accounts}.
Show Auto Scaling group recommendations matching {filters}.
POST /#ExportEBSVolumeRecommendations Export EBS volume recommendations · Export EBSVolume Recommendations #
Ask an LLM
“How do I export recommendations for my Amazon EBS volumes?”
“Can I export EBS volume recommendations for all member accounts?”
Tell an agent
Export EBS volume recommendations to {s3}.
Export EBS volume recommendations for {accounts} to {s3}.
POST /#GetEBSVolumeRecommendations Get EBS volume recommendations · Get EBSVolume Recommendations #
Ask an LLM
“What EBS volume recommendations does Compute Optimizer have?”
“Can I see EBS volume recommendations for a single volume?”
Tell an agent
Get EBS volume recommendations for {volumes}.
Show EBS volume recommendations matching {filters}.
POST /#ExportEC2InstanceRecommendations Export EC2 instance recommendations · Export EC2Instance Recommendations #
Ask an LLM
“How do I export rightsizing recommendations for my EC2 instances?”
“Can I export EC2 instance recommendations to a specific S3 bucket?”
Tell an agent
Export EC2 instance recommendations to {s3}.
Export EC2 instance recommendations for {accounts} to {s3}.
POST /#GetEC2InstanceRecommendations Get EC2 instance recommendations · Get EC2Instance Recommendations #
Ask an LLM
“What EC2 instance recommendations does Compute Optimizer have?”
“Can I filter EC2 instance recommendations by account?”
Tell an agent
Get EC2 instance recommendations for {instances}.
Show EC2 instance recommendations matching {filters}.
POST /#ExportECSServiceRecommendations Export Amazon ECS service recommendations · Export ECSService Recommendations #
Ask an LLM
“How do I export optimization recommendations for my Amazon ECS services on Fargate?”
“Can I export ECS service recommendations for all member accounts?”
Tell an agent
Export Amazon ECS service recommendations to {s3}.
Export ECS service recommendations for {accounts} to {s3}.
POST /#GetECSServiceRecommendations Get Amazon ECS service recommendations · Get ECSService Recommendations #
Ask an LLM
“What recommendations does Compute Optimizer have for my Amazon ECS services on Fargate?”
“Can I filter ECS service recommendations by account?”
Tell an agent
Get Amazon ECS service recommendations for {services}.
Show ECS service recommendations matching {filters}.
POST /#ExportLambdaFunctionRecommendations Export Lambda function recommendations · Export Lambda Function Recommendations #
Ask an LLM
“How do I export optimization recommendations for my Lambda functions?”
“Can I export Lambda function recommendations for all member accounts?”
Tell an agent
Export Lambda function recommendations to {s3}.
Export Lambda function recommendations for {accounts} to {s3}.
POST /#GetLambdaFunctionRecommendations Get Lambda function recommendations · Get Lambda Function Recommendations #
Ask an LLM
“What recommendations does Compute Optimizer have for my Lambda functions?”
“Can I filter Lambda function recommendations by account?”
Tell an agent
Get Lambda function recommendations for {functions}.
Show Lambda function recommendations matching {filters}.
POST /#GetEC2RecommendationProjectedMetrics Get projected utilization metrics for EC2 recommendations · Get EC2Recommendation Projected Metrics #
Ask an LLM
“What CPU and memory utilization does Compute Optimizer project for my instance recommendations?”
“Can I get projected metrics for a recommendation over a time range?”
Tell an agent
Get projected {stat} {period} metrics for {instance} from {start} to {end}.
Show projected {stat} for {instance} with preference {preference}.
POST /#GetECSServiceRecommendationProjectedMetrics Get projected metrics for ECS service recommendations · Get ECSService Recommendation Projected Metrics #
Ask an LLM
“What will my recommended ECS service size cost and perform under load?”
“How do I see projected metrics for an Amazon ECS service recommendation?”
Tell an agent
Get {stat} projected metrics for ECS service {serviceArn} from {startTime} to {endTime} at {period} seconds.
Project {stat} for {serviceArn} over {period}, {startTime} to {endTime}.
POST /#GetEffectiveRecommendationPreferences See the preferences in force for a resource · Get Effective Recommendation Preferences #
Ask an LLM
“Which recommendation preferences actually apply to a given instance or Auto Scaling group?”
“Is enhanced infrastructure metrics preference active for this resource?”
Tell an agent
Show the effective recommendation preferences for resource {resourceArn}.
Check whether enhanced metrics preferences are active for {resourceArn}.
POST /#GetEnrollmentStatus Check enrollment in Compute Optimizer · Get Enrollment Status #
Ask an LLM
“Is Compute Optimizer enrolled in my account?”
“Are member accounts of my organization enrolled?”
Tell an agent
Check Compute Optimizer enrollment status.
Call the {target} action to tell me whether this account is enrolled in Compute Optimizer.
POST /#UpdateEnrollmentStatus Opt in or out of Compute Optimizer · Update Enrollment Status #
Ask an LLM
“How do I opt my account into Compute Optimizer?”
“Can I opt out of Compute Optimizer for all member accounts?”
Tell an agent
Set Compute Optimizer enrollment status to {status}.
Set enrollment status to {status} for member accounts {include}.
POST /#GetEnrollmentStatusesForOrganization Get enrollment status of organization member accounts · Get Enrollment Statuses For Organization #
Ask an LLM
“Which member accounts of my organization are enrolled in Compute Optimizer?”
“Can I see the enrollment status of every account in my organization?”
Tell an agent
Show enrollment statuses for my organization's member accounts.
List enrollment statuses matching {filters}.
POST /#GetRecommendationSummaries Summarize optimization findings for an account · Get Recommendation Summaries #
Ask an LLM
“How many EC2 instances in my account are underprovisioned or overprovisioned?”
“What does Compute Optimizer report for my Lambda functions and EBS volumes?”
Tell an agent
Summarize optimization findings for account {account}.
Show the next {max} recommendation summaries.

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-compute-optimizer:amazon-compute-optimizer-aws-compute-optimizer-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-compute-optimizer-aws-compute-optimizer-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: AWS Compute Optimizer Aws Compute Optimizer API
  version: '2019-11-01'
  description: Generated from AWS's published Smithy model for AWS Compute Optimizer. 21 operation(s).
  contact:
    name: Amazon Web Services
    url: https://aws.amazon.com/contact-us/
  license:
    name: Apache 2.0
    identifier: Apache-2.0
    url: https://github.com/aws/api-models-aws/blob/main/LICENSE
servers:
- url: https://compute-optimizer.{region}.amazonaws.com
  variables:
    region:
      default: us-east-1
security:


# --- truncated at 32 KB (194 KB total) ---
# Full source: https://artifacts.apis.io/amazon-compute-optimizer/openapi/amazon-compute-optimizer-aws-compute-optimizer-api-openapi.yml