{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-emr/json-schema/amazon-emr-list-steps-input-schema.json",
  "title": "ListStepsInput",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-emr-step-api-openapi.yml#/components/schemas/ListStepsInput",
  "type": "object",
  "properties": {
    "ClusterId": {
      "type": "string",
      "description": "The identifier of the cluster for which to list the steps."
    },
    "StepStates": {
      "type": "array",
      "items": {
        "type": "string",
        "enum": [
          "PENDING",
          "CANCEL_PENDING",
          "RUNNING",
          "COMPLETED",
          "CANCELLED",
          "FAILED",
          "INTERRUPTED"
        ]
      },
      "description": "The filter to limit the step list based on certain states."
    },
    "StepIds": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The filter to limit the step list based on the identifier of the steps. You can specify a maximum of ten Step IDs. The character constraint applies to the overall length of the array."
    },
    "Marker": {
      "type": "string",
      "description": "The maximum number of steps that a single ListSteps action returns is 50. To return a longer list of steps, use multiple ListSteps actions along with the Marker parameter, which is a pagination token that indicates the next set of results to retrieve."
    }
  },
  "required": [
    "ClusterId"
  ]
}