Open
Description
Environment information
Want a way to upload a file via amplify gen2 using a signed url instead of the fileUpload function.
Describe the feature
Need to be able to write files via a custom library using a pre-signed URL for file upload.
I see this example in the docs, does it support file upload or only file download?
import { getUrl } from 'aws-amplify/storage';
const linkToStorageFile = await getUrl({
path: "album/2024/1.jpg",
// Alternatively, path: ({identityId}) => `album/{identityId}/1.jpg`
});
console.log('signed URL: ', linkToStorageFile.url);
console.log('URL expires at: ', linkToStorageFile.expiresAt);
Use case
Need to upload using a custom httpfs library that does processing.