Skip to content

Commit 4bf7b07

Browse files
authored
README.md: invoke lambda function with raw-in-base64-out (#385)
1 parent 5c15750 commit 4bf7b07

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,9 @@ $ aws lambda create-function --function-name rustTest \
128128
You can now test the function using the AWS CLI or the AWS Lambda console
129129

130130
```bash
131-
$ aws lambda invoke --function-name rustTest \
131+
$ aws lambda invoke
132+
--cli-binary-format raw-in-base64-out \
133+
--function-name rustTest \
132134
--payload '{"command": "Say Hi!"}' \
133135
output.json
134136
$ cat output.json # Prints: {"msg": "Command Say Hi! executed."}

0 commit comments

Comments
 (0)