aws.lambda
aws.lambda copied to clipboard
AWS Lambda Client Package
I'm setting up tests to use *mocks*, so we don't actually hit the API. This feels important for this package, since a lot of the calls can cost actual money...
`utils::zip` is fragile (might not point to the right place). Since zip is (potentially) very important during `create_function` (etc), investigate using [r-lib/zip](https://github.com/r-lib/zip#readme) instead to avoid pitfalls.
`invoke_function` has an argument LogType. When it's set to "Tail", the response includes a "X-Amz-Log-Result" element with that requested log. This will require a change in the structure of how...
The api accepts ClientContext, to pass to the context object of the function. We don't accept that parameter, likely because it has to be base64-encoded and may otherwise be... weird....
The [UpdateAlias](https://docs.aws.amazon.com/lambda/latest/dg/API_UpdateAlias.html) endpoint accept arguments that we don't deal with: - [ ] RevisionId (only update if the alias's revision ID matches this; an additional safety that name + alias...
I get an error trying to run `funclist Error in lambdaHTTP(verb = "GET", action = act, query = query, ...) : Forbidden (HTTP 403). I downloaded and isntalled the **Amazon...
Please specify whether your issue is about: - [x] a possible bug - [ ] a question about package functionality - [ ] a suggested code or documentation change, improvement...
https://docs.aws.amazon.com/AmazonCloudWatch/latest/events/RunLambdaSchedule.html
These are OK . ```R > list_functions() list() > hello requireNamespace("aws.iam") > id role id [1] "429492368957" > role [1] "arn:aws:iam::429492368957:role/lambda_basic_execution" ``` Until ... ```R > **func