{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-emr/json-schema/amazon-emr-list-instances-input-schema.json",
  "title": "ListInstancesInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-emr-operations-api-openapi.yml#/components/schemas/ListInstancesInput",
  "type": "object",
  "properties": {
    "ClusterId": {
      "type": "string",
      "description": "The identifier of the cluster for which to list the instances."
    },
    "InstanceGroupId": {
      "type": "string",
      "description": "The identifier of the instance group for which to list the instances."
    },
    "InstanceGroupTypes": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "MASTER",
          "CORE",
          "TASK"
        ]
      },
      "description": "The type of instance group for which to list the instances."
    },
    "InstanceFleetId": {
      "type": "string",
      "description": "The unique identifier of the instance fleet."
    },
    "InstanceFleetType": {
      "type": "string",
      "enum": [
        "MASTER",
        "CORE",
        "TASK"
      ],
      "description": "The node type of the instance fleet. For example MASTER, CORE, or TASK."
    },
    "InstanceStates": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "AWAITING_FULFILLMENT",
          "PROVISIONING",
          "BOOTSTRAPPING",
          "RUNNING",
          "TERMINATED"
        ]
      },
      "description": "A list of instance states that will filter the instances returned with this request."
    },
    "Marker": {
      "type": "string",
      "description": "The pagination token that indicates the next set of results to retrieve."
    }
  },
  "required": [
    "ClusterId"
  ]
}