{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-connect/json-schema/amazon-connect-get-attachment-request-schema.json",
  "title": "GetAttachmentRequest",
  "x-generated": "2026-11-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-connect-participant-api-openapi.yml#/components/schemas/GetAttachmentRequest",
  "type": "object",
  "properties": {
    "AttachmentId": {
      "type": "string",
      "description": "A unique identifier for the attachment."
    },
    "ConnectionToken": {
      "type": "string",
      "description": "The authentication token associated with the participant's connection."
    },
    "UrlExpiryInSeconds": {
      "type": "integer",
      "description": "The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z."
    },
    "UrlContentDisposition": {
      "type": "string",
      "enum": [
        "INLINE",
        "ATTACHMENT"
      ],
      "description": "Specifies how a browser handles the file at the pre-signed URL. The following values are valid: INLINE Displays the file in the browser. ATTACHMENT Downloads the file. This is the default behavior."
    }
  },
  "required": [
    "AttachmentId",
    "ConnectionToken"
  ]
}