Provides a pre-signed Amazon S3 URL in response for uploading your content
Source:R/connect_operations.R
connect_start_attached_file_upload.RdProvides a pre-signed Amazon S3 URL in response for uploading your content.
See https://www.paws-r-sdk.com/docs/connect_start_attached_file_upload/ for full documentation.
Usage
connect_start_attached_file_upload(
ClientToken = NULL,
InstanceId,
FileName,
FileSizeInBytes,
UrlExpiryInSeconds = NULL,
FileUseCaseType,
AssociatedResourceArn,
CreatedBy = NULL,
Tags = NULL
)Arguments
- ClientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
- InstanceId
[required] The unique identifier of the Connect Customer instance.
- FileName
[required] A case-sensitive name of the attached file being uploaded.
- FileSizeInBytes
[required] The size of the attached file in bytes.
- UrlExpiryInSeconds
Optional override for the expiry of the pre-signed S3 URL in seconds. The default value is 300.
- FileUseCaseType
[required] The use case for the file.
Only
ATTACHMENTSare supported.- AssociatedResourceArn
[required] The resource to which the attached file is (being) uploaded to. The supported resources are Cases and Email.
This value must be a valid ARN.
- CreatedBy
Represents the identity that created the file.
The tags used to organize, track, or control access for this resource. For example,
{ "Tags": {"key1":"value1", "key2":"value2"} }.