Amazon Compute Optimizer · Schema
GetEC2InstanceRecommendationsRequest
GetEC2InstanceRecommendationsRequest schema
Cost OptimizationFinOpsMachine-LearningResource Recommendations
Properties
| Name | Type | Description |
|---|---|---|
| instanceArns | object | |
| nextToken | object | |
| maxResults | object | |
| filters | object | |
| accountIds | object | |
| recommendationPreferences | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/amazon-compute-optimizer/refs/heads/main/json-schema/compute-optimizer-get-ec2-instance-recommendations-request-schema.json",
"title": "GetEC2InstanceRecommendationsRequest",
"description": "GetEC2InstanceRecommendationsRequest schema",
"type": "object",
"properties": {
"instanceArns": {
"allOf": [
{
"$ref": "#/components/schemas/InstanceArns"
},
{
"description": "The Amazon Resource Name (ARN) of the instances for which to return recommendations."
}
]
},
"nextToken": {
"allOf": [
{
"$ref": "#/components/schemas/NextToken"
},
{
"description": "The token to advance to the next page of instance recommendations."
}
]
},
"maxResults": {
"allOf": [
{
"$ref": "#/components/schemas/MaxResults"
},
{
"description": "<p>The maximum number of instance recommendations to return with a single request.</p> <p>To retrieve the remaining results, make another request with the returned <code>nextToken</code> value.</p>"
}
]
},
"filters": {
"allOf": [
{
"$ref": "#/components/schemas/Filters"
},
{
"description": "An array of objects to specify a filter that returns a more specific list of instance recommendations."
}
]
},
"accountIds": {
"allOf": [
{
"$ref": "#/components/schemas/AccountIds"
},
{
"description": "<p>The ID of the Amazon Web Services account for which to return instance recommendations.</p> <p>If your account is the management account of an organization, use this parameter to specify the member account for which you want to return instance recommendations.</p> <p>Only one account ID can be specified per request.</p>"
}
]
},
"recommendationPreferences": {
"allOf": [
{
"$ref": "#/components/schemas/RecommendationPreferences"
},
{
"description": "An object to specify the preferences for the Amazon EC2 instance recommendations to return in the response."
}
]
}
}
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/compute-optimizer-get-ec2-instance-recommendations-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.