naystack - v1.5.10
    Preparing search index...

    Function getUploadURL

    • Returns a function that generates a presigned PUT URL for uploading to the given S3 key(s). The presigned URL expires after 5 minutes.

      Parameters

      • client: S3Client

        S3 client instance.

      Returns (keys: string | string[]) => Promise<string>

      (keys: string | string[]) => Promise<string> — the presigned upload URL.