Comments (2)
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.
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)
- AWS SignatureV4 got broken after 0.9.0 version - even example in documentation produces an error HOT 2
- Small typo on documentation AWS Signature v4 documentation HOT 2
- S3Client.getObject does not work for binary data HOT 7
- AWS Authentication - Missing Authentication Token HOT 5
- SQSClient.sendMessage method doesn't support sending message attributes HOT 2
- Fix endpoint argument in `signature.sign` examples HOT 4
- Create bucket? HOT 5
- support for path-style requests on s3.createMultipartUpload HOT 1
- Explosion of summary when uploading many objects with different names HOT 6
- add ability to poll SQS HOT 1
- Use AWS codegen
- Ensure CI runs on each PR
- Signature does not match when S3 object has special symbols in path HOT 3
- ssm error: Object has no member 'json' HOT 1
- Sending event with eventbridge client returns undefined when both successful or failure
- Support AWS_SESSION_TOKEN in ssm.js HOT 3
- Is LambdaClient available? HOT 3
- RFE: ability to add custom cert or disable cert validation in S3 endpoint HOT 2
- How do we use Instance Profile as a credential source? HOT 2
- Issue with AWS API Gateway signed requests in k6 tests HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from k6-jslib-aws.