Is there any way to assign custom metadata while uploading object using Storage ?
See original GitHub issueI am uploading a video file to S3 using Storage , is there any way to send custom metadata along with the request . This is my current code:
Storage.put(uuidv4() + ".mp4", {
level: 'public',
contentType: 'audio/mp4',
x-amz-meta-xyz:''
})
I am getting error when using “x-amz-meta-key” which is standard way to define custom metadata.
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (2 by maintainers)
Top Results From Across the Web
Working with object metadata - Amazon Simple Storage Service
Name Description Can user modify the value?
Date Current date and time. No
Content‑Disposition Object presentational information. Yes
Content‑Length Object size in bytes. No
Read more >Object metadata | Cloud Storage - Google Cloud
Go to examples. This page discusses the commonly-used metadata fields that are stored along with objects in Cloud Storage.
Read more >Setting Custom metadata to an object in Google Cloud Storage
This is very inconvenient when copying from bucket to bucket as it will add an extra custom metadata instead of replacing the appropriate...
Read more >Use file metadata with Cloud Storage on Web - Firebase
You can update file metadata at any time after the file upload completes by using the updateMetadata() method. Refer to the full list...
Read more >Custom Metadata Types Limitations - Salesforce Help
Required Editions · You can add a custom metadata type that has a picklist field with inactive values to a managed package, but...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Gotcha , this needs to be mentioned in the Amplify docs.Thanks @elorzafe
@athJ this is a feature request since currently there is no way to do that. We will discuss it in our team meeting. Thanks!