Skip to content

Get Attachment

connectparticipant_get_attachment R Documentation

Provides a pre-signed URL for download of a completed attachment

Description

Provides a pre-signed URL for download of a completed attachment. This is an asynchronous API for use with active contacts.

For security recommendations, see Amazon Connect Chat security best practices.

  • The participant role CUSTOM_BOT is not permitted to access attachments customers may upload. An AccessDeniedException can indicate that the participant may be a CUSTOM_BOT, and it doesn't have access to attachments.

  • ConnectionToken is used for invoking this API instead of ParticipantToken.

The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.

Usage

connectparticipant_get_attachment(AttachmentId, ConnectionToken,
  UrlExpiryInSeconds)

Arguments

AttachmentId

[required] A unique identifier for the attachment.

ConnectionToken

[required] The authentication token associated with the participant's connection.

UrlExpiryInSeconds

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.

Value

A list with the following syntax:

list(
  Url = "string",
  UrlExpiry = "string",
  AttachmentSizeInBytes = 123
)

Request syntax

svc$get_attachment(
  AttachmentId = "string",
  ConnectionToken = "string",
  UrlExpiryInSeconds = 123
)