GetLicenseRecommendationsRequest

Amazon Web ServicesCost OptimizationFinOpsMachine LearningResource Recommendations

Properties

Name Type Description
resourceArns array The ARN that identifies the Amazon EC2 instance. The following is the format of the ARN: arn:aws:ec2:region:aws_account_id:instance/instance-id
nextToken string The token to advance to the next page of license recommendations.
maxResults integer The maximum number of license recommendations to return with a single request. To retrieve the remaining results, make another request with the returned nextToken value.
filters array An array of objects to specify a filter that returns a more specific list of license recommendations.
accountIds array The ID of the Amazon Web Services account for which to return license recommendations. If your account is the management account of an organization, use this parameter to specify the member account fo
View JSON Schema on GitHub

JSON Schema

amazon-compute-optimizer-get-license-recommendations-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-compute-optimizer/json-schema/amazon-compute-optimizer-get-license-recommendations-request-schema.json",
  "title": "GetLicenseRecommendationsRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-compute-optimizer-operations-api-openapi.yml#/components/schemas/GetLicenseRecommendationsRequest",
  "type": "object",
  "properties": {
    "resourceArns": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The ARN that identifies the Amazon EC2 instance. The following is the format of the ARN: arn:aws:ec2:region:aws_account_id:instance/instance-id"
    },
    "nextToken": {
      "type": "string",
      "description": "The token to advance to the next page of license recommendations."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of license recommendations to return with a single request. To retrieve the remaining results, make another request with the returned nextToken value."
    },
    "filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/LicenseRecommendationFilter"
      },
      "description": "An array of objects to specify a filter that returns a more specific list of license recommendations."
    },
    "accountIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The ID of the Amazon Web Services account for which to return license recommendations. If your account is the management account of an organization, use this parameter to specify the member account for which you want to return license recommendations. Only one account ID can be specified per request."
    }
  },
  "$defs": {
    "LicenseRecommendationFilter": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "enum": [
            "Finding",
            "FindingReasonCode",
            "LicenseName"
          ],
          "description": "The name of the filter. Specify Finding to return recommendations with a specific finding classification. Specify FindingReasonCode to return recommendations with a specific finding reason code. You can filter your license recommendations by tag:key and tag-key tags. A tag:key is a key and value combination of a tag assigned to your license recommendations. Use the tag key in the filter name and the tag value as the filter value. For example, to find all license recommendations that have a tag with the key of Owner and the value of TeamA, specify tag:Owner for the filter name and TeamA for the"
        },
        "values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The value of the filter. The valid values for this parameter are as follows, depending on what you specify for the name parameter: If you specify the name parameter as Finding, then specify Optimized, NotOptimized, or InsufficentMetrics. If you specify the name parameter as FindingReasonCode, then specify Optimized, LicenseOverprovisioned, InvalidCloudwatchApplicationInsights, or CloudwatchApplicationInsightsError."
        }
      }
    }
  }
}

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.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/amazon-compute-optimizer-get-license-recommendations-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?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. See our Privacy Policy and Terms.

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