{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-datasync/json-schema/amazon-datasync-describe-location-nfs-response-schema.json",
  "title": "DescribeLocationNfsResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-datasync-location-nf-api-openapi.yml#/components/schemas/DescribeLocationNfsResponse",
  "type": "object",
  "properties": {
    "LocationArn": {
      "type": "string",
      "description": "The ARN of the NFS location."
    },
    "LocationUri": {
      "type": "string",
      "description": "The URI of the NFS location."
    },
    "OnPremConfig": {
      "$ref": "#/$defs/OnPremConfig"
    },
    "MountOptions": {
      "$ref": "#/$defs/NfsMountOptions"
    },
    "CreationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time when the NFS location was created."
    }
  },
  "$defs": {
    "NfsMountOptions": {
      "type": "object",
      "properties": {
        "Version": {
          "type": "string",
          "enum": [
            "AUTOMATIC",
            "NFS3",
            "NFS4_0",
            "NFS4_1",
            "NFS4_2"
          ],
          "description": "Specifies the NFS version that you want DataSync to use when mounting your NFS share. If the server refuses to use the version specified, the task fails. You can specify the following options: AUTOMATIC (default): DataSync chooses NFS version 4.1. For Amazon FSx for OpenZFS locations, DataSync first attempts to use NFS version 4.2, then falls back to version 4.1, and then to earlier versions if needed. NFS3: Stateless protocol version that allows for asynchronous writes on the server. NFSv4_0: Stateful, firewall-friendly protocol version that supports delegations and pseudo file systems. NFSv4"
        }
      }
    },
    "OnPremConfig": {
      "type": "object",
      "properties": {
        "AgentArns": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "The Amazon Resource Names (ARNs) of the DataSync agents that can connect to your NFS file server. You can specify more than one agent. For more information, see Using multiple DataSync agents."
        }
      },
      "required": [
        "AgentArns"
      ]
    }
  }
}