-
Notifications
You must be signed in to change notification settings - Fork 29
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
Is LambdaClient available? #86
Comments
I see it here - https://github.com/grafana/k6-jslib-aws/blob/main/build/lambda.js. Maybe it just didn't get published? |
Indeed @aaleksandrov @nickcaballero we have yet to publish a new release containing the lambda asset. It was a mishap on our side that the documentation went through prior. We'll look into publishing a new version as soon as our outstanding PRs are merged 👍🏻 In the meantime, feel free to use the GitHub published file: https://raw.githubusercontent.com/grafana/k6-jslib-aws/main/build/lambda.js, but beware that those build files are not officially supported, and will likely change very soon, and I'd recommend to fallback to the import { LambdaClient } from 'https://raw.githubusercontent.com/grafana/k6-jslib-aws/main/build/lambda.js'
export default function () {
} |
Hi @aaleksandrov 👋🏻 Sorry for the delay; we've just published jslib-aws v0.12.0, which now officially exposes the The documentation is gonna be updated soon once: grafana/k6-docs#1585 is merged, but you can use the client already by importing it like the following: import { AWSConfig, LambdaClient } from 'https://jslib.k6.io/aws/0.12.0/lambda.js'; Closing, but feel free to re-open or open another issue if you need further support 🙇🏻 |
According to the Readme section (https://github.com/grafana/k6-jslib-aws#lambda) Lambda client should be available but Docs link leads to non-existing page https://k6.io/docs/javascript-api/jslib/aws/lambdaclient , also link from example (https://jslib.k6.io/aws/0.11.0/lambda.js) leads to 404
The text was updated successfully, but these errors were encountered: