support_get_attachment_upload_links: Returns one or more presigned upload URLs for uploading a...

View source: R/support_operations.R

support_get_attachment_upload_linksR Documentation

Description

Returns one or more presigned upload URLs for uploading a large file attachment to a support case by using a multipart upload workflow. The maximum file size that you can upload with this workflow is 150 MB, and parts can be up to 100 MB each. Initiate a new upload by providing fileName and fileSizeBytes; the response returns a unique uploadId, the part size, the total number of parts, and a list of presigned upload URLs for the requested range of parts. A maximum of 10 upload URLs are returned per call. To retrieve more upload URLs for an upload that's already in progress, call get_attachment_upload_links again with the existing uploadId and a new uploadRange.

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

Usage

support_get_attachment_upload_links(
  fileName,
  fileSizeBytes = NULL,
  uploadId = NULL,
  uploadRange = NULL,
  dryRun = NULL
)

Arguments

fileName

[required] The name of the file to upload, including the file extension. This value is required when you initiate a new upload.

fileSizeBytes

The total size of the file in bytes. The service uses this value to calculate the total number of parts and the size of each part. Required when you initiate a new upload (when uploadId isn't provided). Valid range: 1 to 157,286,400 bytes (approximately 150 MB).

uploadId

The unique identifier of an in-progress multipart upload, returned by a previous call to get_attachment_upload_links. Specify uploadId to retrieve additional presigned upload URLs for an upload that has already been initiated. Required when fileSizeBytes isn't provided. Length: 1 to 2,048 characters.

uploadRange

The range of part indexes for which to return presigned upload URLs. Use this parameter to page through the upload URLs for a large file across multiple calls. If you omit this parameter, the service determines the range to return.

dryRun

Specifies whether to validate the request without actually generating upload URLs. When set to true, the request is validated but no URLs are returned, and the operation returns a DryRunOperationException. When omitted or set to false, the request runs normally.


paws.management documentation built on Oct. 8, 2026, 1:25 a.m.