{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-transfer-family/json-schema/amazon-transfer-family-list-executions-response-schema.json",
  "title": "ListExecutionsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-transfer-family-listexecutions-api-openapi.yml#/components/schemas/ListExecutionsResponse",
  "type": "object",
  "properties": {
    "NextToken": {
      "type": "string",
      "description": "ListExecutions returns the NextToken parameter in the output. You can then pass the NextToken parameter in a subsequent command to continue listing additional executions."
    },
    "WorkflowId": {
      "type": "string",
      "description": "A unique identifier for the workflow."
    },
    "Executions": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ListedExecution"
      },
      "description": "Returns the details for each execution, in a ListedExecution array."
    }
  },
  "required": [
    "WorkflowId",
    "Executions"
  ],
  "$defs": {
    "EfsFileLocation": {
      "type": "object",
      "properties": {
        "FileSystemId": {
          "type": "string",
          "description": "The identifier of the file system, assigned by Amazon EFS."
        },
        "Path": {
          "type": "string",
          "description": "The pathname for the folder being used by a workflow."
        }
      }
    },
    "FileLocation": {
      "type": "object",
      "properties": {
        "S3FileLocation": {
          "$ref": "#/$defs/S3FileLocation"
        },
        "EfsFileLocation": {
          "$ref": "#/$defs/EfsFileLocation"
        }
      }
    },
    "ListedExecution": {
      "type": "object",
      "properties": {
        "ExecutionId": {
          "type": "string",
          "description": "A unique identifier for the execution of a workflow."
        },
        "InitialFileLocation": {
          "$ref": "#/$defs/FileLocation"
        },
        "ServiceMetadata": {
          "$ref": "#/$defs/ServiceMetadata"
        },
        "Status": {
          "type": "string",
          "enum": [
            "IN_PROGRESS",
            "COMPLETED",
            "EXCEPTION",
            "HANDLING_EXCEPTION"
          ],
          "description": "The status is one of the execution. Can be in progress, completed, exception encountered, or handling the exception."
        }
      }
    },
    "S3FileLocation": {
      "type": "object",
      "properties": {
        "Bucket": {
          "type": "string",
          "description": "Specifies the S3 bucket that contains the file being used."
        },
        "Key": {
          "type": "string",
          "description": "The name assigned to the file when it was created in Amazon S3. You use the object key to retrieve the object."
        },
        "VersionId": {
          "type": "string",
          "description": "Specifies the file version."
        },
        "Etag": {
          "type": "string",
          "description": "The entity tag is a hash of the object. The ETag reflects changes only to the contents of an object, not its metadata."
        }
      }
    },
    "ServiceMetadata": {
      "type": "object",
      "properties": {
        "UserDetails": {
          "$ref": "#/$defs/UserDetails"
        }
      },
      "required": [
        "UserDetails"
      ]
    },
    "UserDetails": {
      "type": "object",
      "properties": {
        "UserName": {
          "type": "string",
          "description": "A unique string that identifies a Transfer Family user associated with a server."
        },
        "ServerId": {
          "type": "string",
          "description": "The system-assigned unique identifier for a Transfer server instance."
        },
        "SessionId": {
          "type": "string",
          "description": "The system-assigned unique identifier for a session that corresponds to the workflow."
        }
      },
      "required": [
        "UserName",
        "ServerId"
      ]
    }
  }
}