{"tool":"aws","tool_display":"Aws","intent":"run-lambda-function","intent_display":"run lambda function","title":"Aws Command: run lambda function","command_string":"aws lambda invoke --function-name <name> <path/to/response.json>","raw_command_string":"aws lambda invoke --function-name {{name}} {{path/to/response.json}}","description":"Exact CLI syntax to run lambda function using Aws.","usage_scenario":"During testing phases of a Lambda function, when immediate output capture is required.","scenario_context":"Use AWS CLI for efficient management and invocation of your Lambda functions.","simulated_output":"{\n    \"StatusCode\": 200,\n    \"ExecutedVersion\": \"$LATEST\",\n    \"Payload\": \"{\\\"result\\\":\\\"success\\\"}\"\n}","how_to_steps":["Replace {{name}} with your function name and {{path/to/response.json}} with the response file path.","Run the command: aws lambda invoke --function-name myFunction response.json.","Check response.json to confirm function output and status."],"inferred_category":"Cloud Infrastructure","canonical_url":"https://www.syntaxstandard.com/aws/run-lambda-function"}