{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-datasync/json-schema/amazon-datasync-describe-location-smb-response-schema.json",
  "title": "DescribeLocationSmbResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-datasync-location-smb-api-openapi.yml#/components/schemas/DescribeLocationSmbResponse",
  "type": "object",
  "properties": {
    "LocationArn": {
      "type": "string",
      "description": "The ARN of the SMB location."
    },
    "LocationUri": {
      "type": "string",
      "description": "The URI of the SMB location."
    },
    "AgentArns": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The ARNs of the DataSync agents that can connect with your SMB file server."
    },
    "User": {
      "type": "string",
      "description": "The user that can mount and access the files, folders, and file metadata in your SMB file server. This element applies only if AuthenticationType is set to NTLM."
    },
    "Domain": {
      "type": "string",
      "description": "The name of the Windows domain that the SMB file server belongs to. This element applies only if AuthenticationType is set to NTLM."
    },
    "MountOptions": {
      "$ref": "#/$defs/SmbMountOptions"
    },
    "CreationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time that the SMB location was created."
    },
    "DnsIpAddresses": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "The IPv4 or IPv6 addresses for the DNS servers that your SMB file server belongs to. This element applies only if AuthenticationType is set to KERBEROS."
    },
    "KerberosPrincipal": {
      "type": "string",
      "description": "The Kerberos principal that has permission to access the files, folders, and file metadata in your SMB file server."
    },
    "AuthenticationType": {
      "type": "string",
      "enum": [
        "NTLM",
        "KERBEROS"
      ],
      "description": "The authentication protocol that DataSync uses to connect to your SMB file server."
    },
    "ManagedSecretConfig": {
      "$ref": "#/$defs/ManagedSecretConfig"
    },
    "CmkSecretConfig": {
      "$ref": "#/$defs/CmkSecretConfig"
    },
    "CustomSecretConfig": {
      "$ref": "#/$defs/CustomSecretConfig"
    }
  },
  "$defs": {
    "CmkSecretConfig": {
      "type": "object",
      "properties": {
        "SecretArn": {
          "type": "string",
          "description": "Specifies the ARN for the DataSync-managed Secrets Manager secret that that is used to access a specific storage location. This property is generated by DataSync and is read-only. DataSync encrypts this secret with the KMS key that you specify for KmsKeyArn."
        },
        "KmsKeyArn": {
          "type": "string",
          "description": "Specifies the ARN for the customer-managed KMS key that DataSync uses to encrypt the DataSync-managed secret stored for SecretArn. DataSync provides this key to Secrets Manager."
        }
      }
    },
    "CustomSecretConfig": {
      "type": "object",
      "properties": {
        "SecretArn": {
          "type": "string",
          "description": "Specifies the ARN for an Secrets Manager secret."
        },
        "SecretAccessRoleArn": {
          "type": "string",
          "description": "Specifies the ARN for the Identity and Access Management role that DataSync uses to access the secret specified for SecretArn."
        }
      }
    },
    "ManagedSecretConfig": {
      "type": "object",
      "properties": {
        "SecretArn": {
          "type": "string",
          "description": "Specifies the ARN for an Secrets Manager secret."
        }
      }
    },
    "SmbMountOptions": {
      "type": "object",
      "properties": {
        "Version": {
          "type": "string",
          "enum": [
            "AUTOMATIC",
            "SMB2",
            "SMB3",
            "SMB1",
            "SMB2_0"
          ],
          "description": "By default, DataSync automatically chooses an SMB protocol version based on negotiation with your SMB file server. You also can configure DataSync to use a specific SMB version, but we recommend doing this only if DataSync has trouble negotiating with the SMB file server automatically. These are the following options for configuring the SMB version: AUTOMATIC (default): DataSync and the SMB file server negotiate the highest version of SMB that they mutually support between 2.1 and 3.1.1. This is the recommended option. If you instead choose a specific version that your file server doesn't supp"
        }
      }
    }
  }
}