{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-transfer-family/json-schema/amazon-transfer-family-test-connection-response-schema.json",
  "title": "TestConnectionResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-transfer-family-testconnection-api-openapi.yml#/components/schemas/TestConnectionResponse",
  "type": "object",
  "properties": {
    "ConnectorId": {
      "type": "string",
      "description": "Returns the identifier of the connector object that you are testing."
    },
    "Status": {
      "type": "string",
      "description": "Returns OK for successful test, or ERROR if the test fails."
    },
    "StatusMessage": {
      "type": "string",
      "description": "Returns Connection succeeded if the test is successful. Or, returns a descriptive error message if the test fails. The following list provides troubleshooting details, depending on the error message that you receive. Verify that your secret name aligns with the one in Transfer Role permissions. Verify the server URL in the connector configuration , and verify that the login credentials work successfully outside of the connector. Verify that the secret exists and is formatted correctly. Verify that the trusted host key in the connector configuration matches the ssh-keyscan output."
    },
    "SftpConnectionDetails": {
      "$ref": "#/$defs/SftpConnectorConnectionDetails"
    }
  },
  "$defs": {
    "SftpConnectorConnectionDetails": {
      "type": "object",
      "properties": {
        "HostKey": {
          "type": "string",
          "description": "The SSH public key of the remote SFTP server. This is returned during the initial connection attempt when you call TestConnection. It allows you to retrieve the valid server host key to update the connector when you are unable to obtain it in advance."
        }
      }
    }
  }
}