connect_get_attached_file: Provides a pre-signed URL for download of an approved...

View source: R/connect_operations.R

connect_get_attached_fileR Documentation

Provides a pre-signed URL for download of an approved attached file

Description

Provides a pre-signed URL for download of an approved attached file. This API also returns metadata about the attached file. It will only return a downloadURL if the status of the attached file is APPROVED.

See https://www.paws-r-sdk.com/docs/connect_get_attached_file/ for full documentation.

Usage

connect_get_attached_file(
  InstanceId,
  FileId,
  UrlExpiryInSeconds = NULL,
  AssociatedResourceArn
)

Arguments

InstanceId

[required] The unique identifier of the Connect instance.

FileId

[required] The unique identifier of the attached file resource.

UrlExpiryInSeconds

Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.

AssociatedResourceArn

[required] The resource to which the attached file is (being) uploaded to. Cases are the only current supported resource.

This value must be a valid ARN.


paws.customer.engagement documentation built on Sept. 12, 2024, 6:34 a.m.