Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 0585ea7

Browse filesBrowse files
authored
Correct function-name argument in invocation call
On lines 391 and 398, the function-name argument was passed as `requests-function`, but the name of the created function is `my-sourcecode-function`. This might be confusing to new comers so I changed those arguments to `my-sourcecode-function` to be in line with the rest of the document.
1 parent 45c3e01 commit 0585ea7
Copy full SHA for 0585ea7

File tree

Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-3
lines changed

‎doc_source/python-package-create.md

Copy file name to clipboardExpand all lines: doc_source/python-package-create.md
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -388,14 +388,14 @@ Invoke the Lambda function [synchronously](invocation-sync.md) using the event i
388388
#### [ macOS/Linux ]
389389

390390
```
391-
aws lambda invoke --function-name requests-function --payload '{"key1": "value1", "key2": "value2", "key3": "value3"}' output.txt
391+
aws lambda invoke --function-name my-sourcecode-function --payload '{"key1": "value1", "key2": "value2", "key3": "value3"}' output.txt
392392
```
393393

394394
------
395395
#### [ Windows ]
396396

397397
```
398-
aws lambda invoke --function-name requests-function --cli-binary-format raw-in-base64-out --payload '{"key1": "value1", "key2": "value2", "key3": "value3"}' output.txt
398+
aws lambda invoke --function-name my-sourcecode-function --cli-binary-format raw-in-base64-out --payload '{"key1": "value1", "key2": "value2", "key3": "value3"}' output.txt
399399
```
400400

401401
------
@@ -449,4 +449,4 @@ You can now delete the resources that you created for this tutorial, unless you
449449

450450
```
451451
aws iam delete-role --role-name lambda-ex
452-
```
452+
```

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.