Skip to content

Add function invoking ability to ofn cli #18

Description

@benjaminhuo

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
  

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Type

No type

Projects

  • Status
    Backlog

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions