{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-launch-wizard/json-schema/amazon-launch-wizard-list-deployment-pattern-versions-input-schema.json",
  "title": "ListDeploymentPatternVersionsInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-launch-wizard-operations-api-openapi.yml#/components/schemas/ListDeploymentPatternVersionsInput",
  "type": "object",
  "properties": {
    "workloadName": {
      "type": "string",
      "description": "The name of the workload. You can use the ListWorkloads operation to discover supported values for this parameter."
    },
    "deploymentPatternName": {
      "type": "string",
      "description": "The name of the deployment pattern. You can use the ListWorkloadDeploymentPatterns operation to discover supported values for this parameter."
    },
    "maxResults": {
      "type": "integer",
      "description": "The maximum number of deployment pattern versions to list."
    },
    "nextToken": {
      "type": "string",
      "description": "The token for the next set of results."
    },
    "filters": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/DeploymentPatternVersionFilter"
      },
      "description": "Filters to apply when listing deployment pattern versions."
    }
  },
  "required": [
    "workloadName",
    "deploymentPatternName"
  ],
  "$defs": {
    "DeploymentPatternVersionFilter": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string",
          "enum": [
            "updateFromVersion"
          ],
          "description": "The name of the filter attribute. Specifies which attribute to filter on when querying deployment pattern versions."
        },
        "values": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The values to filter by. Contains the specific values to match against when filtering deployment pattern versions."
        }
      },
      "required": [
        "name",
        "values"
      ]
    }
  }
}