This page provides reference information for the AWS Serverless Application Model Command Line Interface (AWS SAM CLI) sam local invoke subcommand. For an introduction to the AWS SAM CLI, see What is the AWS SAM CLI?. For documentation on using the AWS SAM CLI sam local invoke subcommand, see Introduction to testing with sam local invoke. The sam local invoke subcommand initiates a one-time invoca