{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-datasync/json-schema/amazon-datasync-describe-agent-response-schema.json",
  "title": "DescribeAgentResponse",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-datasync-agent-api-openapi.yml#/components/schemas/DescribeAgentResponse",
  "type": "object",
  "properties": {
    "AgentArn": {
      "type": "string",
      "description": "The ARN of the agent."
    },
    "Name": {
      "type": "string",
      "description": "The name of the agent."
    },
    "Status": {
      "type": "string",
      "enum": [
        "ONLINE",
        "OFFLINE"
      ],
      "description": "The status of the agent. If the status is ONLINE, the agent is configured properly and ready to use. If the status is OFFLINE, the agent has been out of contact with DataSync for five minutes or longer. This can happen for a few reasons. For more information, see What do I do if my agent is offline?"
    },
    "LastConnectionTime": {
      "type": "string",
      "format": "date-time",
      "description": "The last time that the agent was communicating with the DataSync service."
    },
    "CreationTime": {
      "type": "string",
      "format": "date-time",
      "description": "The time that the agent was activated."
    },
    "EndpointType": {
      "type": "string",
      "enum": [
        "PUBLIC",
        "PRIVATE_LINK",
        "FIPS",
        "FIPS_PRIVATE_LINK"
      ],
      "description": "The type of service endpoint that your agent is connected to."
    },
    "PrivateLinkConfig": {
      "$ref": "#/$defs/PrivateLinkConfig"
    },
    "Platform": {
      "$ref": "#/$defs/Platform"
    }
  },
  "$defs": {
    "Platform": {
      "type": "object",
      "properties": {
        "Version": {
          "type": "string",
          "description": "The version of the DataSync agent."
        }
      }
    },
    "PrivateLinkConfig": {
      "type": "object",
      "properties": {
        "VpcEndpointId": {
          "type": "string",
          "description": "Specifies the ID of the VPC service endpoint that's recorded for your agent. The endpoint ID is informational and isn't verified by DataSync. Your agent communicates through the private IP address in PrivateLinkEndpoint, which is set when you activate the agent."
        },
        "PrivateLinkEndpoint": {
          "type": "string",
          "description": "Specifies the VPC endpoint provided by Amazon Web Services PrivateLink that your agent connects to."
        },
        "SubnetArns": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Specifies the ARN of the subnet where DataSync creates the network interfaces that handle data transfer traffic for your tasks. You can only specify one ARN. The subnet doesn't have to be the subnet that contains your VPC endpoint."
        },
        "SecurityGroupArns": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Specifies the Amazon Resource Names (ARN) of the security group that provides DataSync access to your VPC endpoint. You can only specify one ARN."
        }
      }
    }
  }
}