{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-transfer-family/json-schema/amazon-transfer-family-list-servers-response-schema.json",
  "title": "ListServersResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-transfer-family-list-servers-api-openapi.yml#/components/schemas/ListServersResponse",
  "type": "object",
  "properties": {
    "NextToken": {
      "type": "string",
      "description": "When you can get additional results from the ListServers operation, a NextToken parameter is returned in the output. In a following command, you can pass in the NextToken parameter to continue listing additional servers."
    },
    "Servers": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ListedServer"
      },
      "description": "An array of servers that were listed."
    }
  },
  "required": [
    "Servers"
  ],
  "$defs": {
    "ListedServer": {
      "type": "object",
      "properties": {
        "Arn": {
          "type": "string",
          "description": "Specifies the unique Amazon Resource Name (ARN) for a server to be listed."
        },
        "Domain": {
          "type": "string",
          "enum": [
            "S3",
            "EFS"
          ],
          "description": "Specifies the domain of the storage system that is used for file transfers. There are two domains available: Amazon Simple Storage Service (Amazon S3) and Amazon Elastic File System (Amazon EFS). The default value is S3."
        },
        "IdentityProviderType": {
          "type": "string",
          "enum": [
            "SERVICE_MANAGED",
            "API_GATEWAY",
            "AWS_DIRECTORY_SERVICE",
            "AWS_LAMBDA"
          ],
          "description": "The mode of authentication for a server. The default value is SERVICE_MANAGED, which allows you to store and access user credentials within the Transfer Family service. Use AWS_DIRECTORY_SERVICE to provide access to Active Directory groups in Directory Service for Microsoft Active Directory or Microsoft Active Directory in your on-premises environment or in Amazon Web Services using AD Connector. This option also requires you to provide a Directory ID by using the IdentityProviderDetails parameter. Use the API_GATEWAY value to integrate with an identity provider of your choosing. The API_GATEW"
        },
        "EndpointType": {
          "type": "string",
          "enum": [
            "PUBLIC",
            "VPC",
            "VPC_ENDPOINT"
          ],
          "description": "Specifies the type of VPC endpoint that your server is connected to. If your server is connected to a VPC endpoint, your server isn't accessible over the public internet."
        },
        "LoggingRole": {
          "type": "string",
          "description": "The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role that allows a server to turn on Amazon CloudWatch logging for Amazon S3 or Amazon EFS events. When set, you can view user activity in your CloudWatch logs."
        },
        "ServerId": {
          "type": "string",
          "description": "Specifies the unique system assigned identifier for the servers that were listed."
        },
        "State": {
          "type": "string",
          "enum": [
            "OFFLINE",
            "ONLINE",
            "STARTING",
            "STOPPING",
            "START_FAILED",
            "STOP_FAILED"
          ],
          "description": "The condition of the server that was described. A value of ONLINE indicates that the server can accept jobs and transfer files. A State value of OFFLINE means that the server cannot perform file transfer operations. The states of STARTING and STOPPING indicate that the server is in an intermediate state, either not fully able to respond, or not fully offline. The values of START_FAILED or STOP_FAILED can indicate an error condition."
        },
        "UserCount": {
          "type": "integer",
          "description": "Specifies the number of users that are assigned to a server you specified with the ServerId."
        }
      },
      "required": [
        "Arn"
      ]
    }
  }
}