Giter Club home page Giter Club logo

Comments (2)

oleiade avatar oleiade commented on August 16, 2024

Hi @jayush12

My understanding, based on the AWS API documentation, is that S3 supports the tagging of objects only once they're uploaded via the PutObjectTagging.

The library does not support the PutObjectTagging operation at the moment. Although judging from the documentation, it should be relatively simple to implement (if not slightly annoying as the expected request body is... 🥁 XML).

We generally implement features on a per-request basis; thus, now that this issue is open, this feature will remain on our radar, and we shall get to implement it in the future. However, feel free to implement it and open a PR to speed up the process. That would be much appreciated.

From what I can see in the documentation, you would need to replicate our [S3Client.putObject](https://github.com/grafana/k6-jslib-aws/blob/main/src/internal/s3.ts#L181) method and tailor the request to what S3 expects. During the development process, you can use the npm run webpack command to update the build files in the build folder. Those build files will contain the newer symbols, including your changes, and you should be able to import them from a local k6 script 👍🏻

Let me know if you intend to implement it, or if you'd rather wait, and if I can help you any further in any way 🙇🏻

from k6-jslib-aws.

jayush12 avatar jayush12 commented on August 16, 2024

Hi @oleiade ,

I am developing an in-house library to do the same, though we have some specific use cases at our end. Once it is done may be then I can implement it here too.

from k6-jslib-aws.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.