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

Add function invoking ability to ofn cli #18

Open
benjaminhuo opened this issue Dec 22, 2021 · 0 comments
Open

Add function invoking ability to ofn cli #18

benjaminhuo opened this issue Dec 22, 2021 · 0 comments
Assignees
Labels

Comments

@benjaminhuo
Copy link
Member

benjaminhuo commented Dec 22, 2021

In the ofn cli, we can add function invoking ability like lambda:

aws lambda invoke --function-name my-function --payload '{ "key": "value" }' response.json

output

{
    "ExecutedVersion": "$LATEST",
    "StatusCode": 200
}
aws lambda invoke \
  --function-name my-function  \
      --invocation-type Event \
          --cli-binary-format raw-in-base64-out \
              --payload '{ "key": "value" }' response.json
  
@benjaminhuo benjaminhuo changed the title Add invoking function ability to ofn cli Add function invoking ability to ofn cli Dec 22, 2021
@tpiperatgod tpiperatgod added this to the v0.6.0 milestone Feb 14, 2022
@benjaminhuo benjaminhuo added the good first issue Good for newcomers label Jun 13, 2022
@benjaminhuo benjaminhuo removed this from the v0.6.0 milestone Jun 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Backlog
Status: Todo
Development

No branches or pull requests

3 participants