sam local execution - Amazon Serverless Application Model
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

sam local execution

This page provides reference information for the Amazon Serverless Application Model Command Line Interface (Amazon SAM CLI) sam local execution command.

For an introduction to the Amazon SAM CLI, see What is the Amazon SAM CLI?

The sam local execution command allows you to manage and inspect local durable function executions during development and testing.

Note

These commands may not require access to Amazon credentials.

Usage

$ sam local execution <subcommand> <options>

Options

--help, -h

Show this message and exit.

Subcommands

get

Get details of a durable function execution. For more information, see sam local execution get.

history

Get execution history of a durable function execution. For more information, see sam local execution history.

stop

Stop a durable function execution. For more information, see sam local execution stop.