Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support of PutObjectTaggingCommand for existing objects #13227

Open
1 of 2 tasks
simon1389 opened this issue Apr 9, 2024 · 5 comments
Open
1 of 2 tasks

Support of PutObjectTaggingCommand for existing objects #13227

simon1389 opened this issue Apr 9, 2024 · 5 comments
Labels
feature-request Request a new feature Storage Related to Storage components/category

Comments

@simon1389
Copy link

Is this related to a new or existing framework?

Angular

Is this related to a new or existing API?

Storage

Is this related to another service?

S3

Describe the feature you'd like to request

Amplify.Storage should have a function to explicitely set the Tags of an s3 object as you can do via the PutObjectTagCommand.
Currently you can set Tags only on object upload but not for existing objects.

Describe the solution you'd like

Amplify.Storage should provide a function which takes the key of the object and a string describing the Tags to be set.

Describe alternatives you've considered

Alternative is to upload the object again and pass the tags with it, nevertheless this makes not much sense as you dont alter the object but only its tags

Additional context

No response

Is this something that you'd be interested in working on?

  • 👋 I may be able to implement this feature request
  • ⚠️ This feature might incur a breaking change
@simon1389 simon1389 added the pending-triage Issue is pending triage label Apr 9, 2024
@jimblanc jimblanc added the feature-request Request a new feature label Apr 9, 2024
@cwomack cwomack added Storage Related to Storage components/category and removed pending-triage Issue is pending triage labels Apr 9, 2024
@cwomack cwomack changed the title Support of PutObjectTaggingCommand Support of PutObjectTaggingCommand for existing objects Apr 9, 2024
@cwomack
Copy link
Contributor

cwomack commented Apr 9, 2024

Hello, @simon1389 and thanks for opening this feature request. We'll review it internally and follow up with any additional questions we have, but sounds pretty straightforward for support here to tag existing objects in S3.

@simon1389
Copy link
Author

Hello, @simon1389 and thanks for opening this feature request. We'll review it internally and follow up with any additional questions we have, but sounds pretty straightforward for support here to tag existing objects in S3.

Thanks for the Quick answer. Yes i also think is pretty straight. Wondered it was not already there 😉

@simon1389
Copy link
Author

Maybe as addition... i am using v5 of amplify-js. For my Personal usecase would be great if the functionality could be added to v5 aswell

@simon1389
Copy link
Author

Do you need Support on that? Should i work on a PR for that?

@cwomack
Copy link
Contributor

cwomack commented Apr 10, 2024

@simon1389, you're more than welcome to submit a PR for this (for either v5 or v6)! If you make one, feel free to link it to this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request a new feature Storage Related to Storage components/category
Projects
None yet
Development

No branches or pull requests

3 participants