getAttachment
inline suspend fun ConnectParticipantClient.getAttachment(crossinline block: GetAttachmentRequest.Builder.() -> Unit): GetAttachmentResponse
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. AnAccessDeniedException
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 ofParticipantToken
. The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.