Amazon Compute Optimizer · JSON Structure

Compute Optimizer Get Lambda Function Recommendations Request Structure

GetLambdaFunctionRecommendationsRequest schema

Type: object Properties: 5
Cost OptimizationFinOpsMachine LearningResource Recommendations

GetLambdaFunctionRecommendationsRequest is a JSON Structure definition published by Amazon Compute Optimizer, describing 5 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

functionArns accountIds filters nextToken maxResults

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-compute-optimizer/refs/heads/main/json-structure/compute-optimizer-get-lambda-function-recommendations-request-structure.json",
  "name": "GetLambdaFunctionRecommendationsRequest",
  "description": "GetLambdaFunctionRecommendationsRequest schema",
  "type": "object",
  "properties": {
    "functionArns": {
      "allOf": [
        {
          "$ref": "#/components/schemas/FunctionArns"
        },
        {
          "description": "<p>The Amazon Resource Name (ARN) of the functions for which to return recommendations.</p> <p>You can specify a qualified or unqualified ARN. If you specify an unqualified ARN without a function version suffix, Compute Optimizer will return recommendations for the latest (<code>$LATEST</code>) version of the function. If you specify a qualified ARN with a version suffix, Compute Optimizer will return recommendations for the specified function version. For more information about using function versions, see <a href=\"https://docs.aws.amazon.com/lambda/latest/dg/configuration-versions.html#versioning-versions-using\">Using versions</a> in the <i>Lambda Developer Guide</i>.</p>"
        }
      ]
    },
    "accountIds": {
      "allOf": [
        {
          "$ref": "#/components/schemas/AccountIds"
        },
        {
          "description": "<p>The ID of the Amazon Web Services account for which to return function 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 function recommendations.</p> <p>Only one account ID can be specified per request.</p>"
        }
      ]
    },
    "filters": {
      "allOf": [
        {
          "$ref": "#/components/schemas/LambdaFunctionRecommendationFilters"
        },
        {
          "description": "An array of objects to specify a filter that returns a more specific list of function recommendations."
        }
      ]
    },
    "nextToken": {
      "allOf": [
        {
          "$ref": "#/components/schemas/NextToken"
        },
        {
          "description": "The token to advance to the next page of function recommendations."
        }
      ]
    },
    "maxResults": {
      "allOf": [
        {
          "$ref": "#/components/schemas/MaxResults"
        },
        {
          "description": "<p>The maximum number of function 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>"
        }
      ]
    }
  }
}