{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-transfer-family/json-schema/amazon-transfer-family-list-file-transfer-results-response-schema.json",
  "title": "ListFileTransferResultsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-transfer-family-listfiletransferresults-api-openapi.yml#/components/schemas/ListFileTransferResultsResponse",
  "type": "object",
  "properties": {
    "FileTransferResults": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ConnectorFileTransferResult"
      },
      "description": "Returns the details for the files transferred in the transfer identified by the TransferId and ConnectorId specified. FilePath: the filename and path to where the file was sent to or retrieved from. StatusCode: current status for the transfer. The status returned is one of the following values:QUEUED, IN_PROGRESS, COMPLETED, or FAILED FailureCode: for transfers that fail, this parameter contains a code indicating the reason. For example, RETRIEVE_FILE_NOT_FOUND FailureMessage: for transfers that fail, this parameter describes the reason for the failure."
    },
    "NextToken": {
      "type": "string",
      "description": "Returns a token that you can use to call ListFileTransferResults again and receive additional results, if there are any (against the same TransferId."
    }
  },
  "required": [
    "FileTransferResults"
  ],
  "$defs": {
    "ConnectorFileTransferResult": {
      "type": "object",
      "properties": {
        "FilePath": {
          "type": "string",
          "description": "The filename and path to where the file was sent to or retrieved from."
        },
        "StatusCode": {
          "type": "string",
          "enum": [
            "QUEUED",
            "IN_PROGRESS",
            "COMPLETED",
            "FAILED"
          ],
          "description": "The current status for the transfer."
        },
        "FailureCode": {
          "type": "string",
          "description": "For transfers that fail, this parameter contains a code indicating the reason. For example, RETRIEVE_FILE_NOT_FOUND"
        },
        "FailureMessage": {
          "type": "string",
          "description": "For transfers that fail, this parameter describes the reason for the failure."
        }
      },
      "required": [
        "FilePath",
        "StatusCode"
      ]
    }
  }
}