diff --git a/docs/providers/aws/cli-reference/invoke-local.md b/docs/providers/aws/cli-reference/invoke-local.md index 253cae873..e0f2efb95 100644 --- a/docs/providers/aws/cli-reference/invoke-local.md +++ b/docs/providers/aws/cli-reference/invoke-local.md @@ -37,11 +37,11 @@ This example will locally invoke your function. ### Local function invocation with data ```bash -serverless invoke --function functionName --data "hello world" +serverless invoke local --function functionName --data "hello world" ``` ```bash -serverless invoke --function functionName --data '{"a":"bar"}' +serverless invoke local --function functionName --data '{"a":"bar"}' ``` ### Local function invocation with data from standard input