{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-launch-wizard/json-schema/amazon-launch-wizard-list-workload-deployment-patterns-output-schema.json",
  "title": "ListWorkloadDeploymentPatternsOutput",
  "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/ListWorkloadDeploymentPatternsOutput",
  "type": "object",
  "properties": {
    "workloadDeploymentPatterns": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/WorkloadDeploymentPatternDataSummary"
      },
      "description": "Describes the workload deployment patterns."
    },
    "nextToken": {
      "type": "string",
      "description": "The token to include in another request to get the next page of items. This value is null when there are no more items to return."
    }
  },
  "$defs": {
    "AccountConstraint": {
      "type": "object",
      "properties": {
        "managementAccount": {
          "$ref": "#/$defs/ManagementAccountConstraint"
        },
        "delegatedAdmin": {
          "$ref": "#/$defs/DelegatedAdminConstraint"
        }
      },
      "description": "Exactly one member is set."
    },
    "DelegatedAdminConstraint": {
      "type": "object",
      "properties": {
        "servicePrincipal": {
          "type": "string",
          "description": "The service principal for which the account must be a delegated administrator. For example, `stacksets.cloudformation.amazonaws.com`."
        }
      },
      "required": [
        "servicePrincipal"
      ]
    },
    "ManagementAccountConstraint": {
      "type": "object",
      "properties": {}
    },
    "WorkloadDeploymentPatternDataSummary": {
      "type": "object",
      "properties": {
        "workloadName": {
          "type": "string",
          "description": "The name of the workload."
        },
        "deploymentPatternName": {
          "type": "string",
          "description": "The name of a workload deployment pattern."
        },
        "workloadVersionName": {
          "type": "string",
          "description": "The name of the workload deployment pattern version."
        },
        "deploymentPatternVersionName": {
          "type": "string",
          "description": "The version name of a workload deployment pattern."
        },
        "displayName": {
          "type": "string",
          "description": "The display name of a workload deployment pattern."
        },
        "description": {
          "type": "string",
          "description": "The description of a workload deployment pattern."
        },
        "status": {
          "type": "string",
          "enum": [
            "ACTIVE",
            "INACTIVE",
            "DISABLED",
            "DELETED"
          ],
          "description": "The status of a workload deployment pattern."
        },
        "statusMessage": {
          "type": "string",
          "description": "A message about a workload deployment pattern's status."
        },
        "accountConstraints": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/AccountConstraint"
          },
          "description": "Optional list of constraints describing what kind of AWS account is allowed to deploy this workload or deployment pattern. Within a single list the semantics are OR: an account satisfies the list if it satisfies any entry. Workload-level and pattern-level lists combine with AND at deployment time. An absent or empty list at this level means no constraint at this level."
        }
      }
    }
  }
}