{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-cloudformation/json-schema/amazon-cloudformation-list-stack-refactors-output-schema.json",
  "title": "ListStackRefactorsOutput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-cloudformation-stack-refactor-api-openapi.yml#/components/schemas/ListStackRefactorsOutput",
  "type": "object",
  "properties": {
    "StackRefactorSummaries": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/StackRefactorSummary"
      },
      "description": "Provides a summary of a stack refactor, including the following: StackRefactorId Status StatusReason ExecutionStatus ExecutionStatusReason Description"
    },
    "NextToken": {
      "type": "string",
      "description": "If the request doesn't return all the remaining results, NextToken is set to a token. To retrieve the next set of results, call this action again and assign that token to the request object's NextToken parameter. If the request returns all results, NextToken is set to null."
    }
  },
  "required": [
    "StackRefactorSummaries"
  ],
  "$defs": {
    "StackRefactorSummary": {
      "type": "object",
      "properties": {
        "StackRefactorId": {
          "type": "string",
          "description": "The ID associated with the stack refactor created from the CreateStackRefactor action."
        },
        "Description": {
          "type": "string",
          "description": "A description to help you identify the refactor."
        },
        "ExecutionStatus": {
          "type": "string",
          "enum": [
            "UNAVAILABLE",
            "AVAILABLE",
            "OBSOLETE",
            "EXECUTE_IN_PROGRESS",
            "EXECUTE_COMPLETE",
            "EXECUTE_FAILED",
            "ROLLBACK_IN_PROGRESS",
            "ROLLBACK_COMPLETE",
            "ROLLBACK_FAILED"
          ],
          "description": "The operation status that's provided after calling the ExecuteStackRefactor action."
        },
        "ExecutionStatusReason": {
          "type": "string",
          "description": "A detailed explanation for the stack refactor ExecutionStatus."
        },
        "Status": {
          "type": "string",
          "enum": [
            "CREATE_IN_PROGRESS",
            "CREATE_COMPLETE",
            "CREATE_FAILED",
            "DELETE_IN_PROGRESS",
            "DELETE_COMPLETE",
            "DELETE_FAILED"
          ],
          "description": "The stack refactor operation status that's provided after calling the CreateStackRefactor action."
        },
        "StatusReason": {
          "type": "string",
          "description": "A detailed explanation for the stack refactor Status."
        }
      }
    }
  }
}