The documentation for setting the payload are as follows:
The JSON that you want to provide to your Lambda function as input.
You can enter the JSON directly. For example, --payload '{ "key": "value" }'. You can also specify a file path. For example, --payload file://payload.json.
The second part of this looks like it's coming from CLI docs which aren't valid here.
Describe the issue
The documentation for setting the payload are as follows:
The second part of this looks like it's coming from CLI docs which aren't valid here.
Links