{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-compute-optimizer/json-schema/amazon-compute-optimizer-get-rdsdatabase-recommendations-request-schema.json",
  "title": "GetRDSDatabaseRecommendationsRequest",
  "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/GetRDSDatabaseRecommendationsRequest",
  "type": "object",
  "properties": {
    "resourceArns": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The ARN that identifies the Amazon Aurora or RDS database. The following is the format of the ARN: arn:aws:rds:{region}:{accountId}:db:{resourceName} The following is the format of a DB Cluster ARN: arn:aws:rds:{region}:{accountId}:cluster:{resourceName}"
    },
    "nextToken": {
      "type": "string",
      "description": "The token to advance to the next page of Amazon Aurora and RDS database recommendations."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of Amazon Aurora and RDS database 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/RDSDBRecommendationFilter"
      },
      "description": "An array of objects to specify a filter that returns a more specific list of Amazon Aurora and RDS database recommendations."
    },
    "accountIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Return the Amazon Aurora and RDS database recommendations to the specified Amazon Web Services account IDs. If your account is the management account or the delegated administrator of an organization, use this parameter to return the Amazon Aurora and RDS database recommendations to specific member accounts. You can only specify one account ID per request."
    },
    "recommendationPreferences": {
      "$ref": "#/$defs/RecommendationPreferences"
    }
  },
  "$defs": {
    "RDSDBRecommendationFilter": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "enum": [
            "InstanceFinding",
            "InstanceFindingReasonCode",
            "StorageFinding",
            "StorageFindingReasonCode",
            "Idle"
          ],
          "description": "The name of the filter. Specify Finding to return recommendations with a specific finding classification. You can filter your DB instance recommendations by tag:key and tag-key tags. A tag:key is a key and value combination of a tag assigned to your DB instance recommendations. Use the tag key in the filter name and the tag value as the filter value. For example, to find all DB instance 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 filter value. A tag-key is the key of a tag assigned to your DB instance rec"
        },
        "values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The value of the filter."
        }
      }
    },
    "RecommendationPreferences": {
      "type": "object",
      "properties": {
        "cpuVendorArchitectures": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "AWS_ARM64",
              "CURRENT"
            ]
          },
          "description": "Specifies the CPU vendor and architecture for Amazon EC2 instance and Auto Scaling group recommendations. For example, when you specify AWS_ARM64 with: A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations request, Compute Optimizer returns recommendations that consist of Graviton instance types only. A GetEC2RecommendationProjectedMetrics request, Compute Optimizer returns projected utilization metrics for Graviton instance type recommendations only. A ExportEC2InstanceRecommendations or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations t"
        }
      }
    }
  }
}