sam local callback heartbeat - AWS Serverless Application Model
Services or capabilities described in AWS documentation might vary by Region. To see the differences applicable to the AWS European Sovereign Cloud Region, see the AWS European Sovereign Cloud User Guide.

sam local callback heartbeat

Send a heartbeat callback to a durable function execution.

Usage

$ sam local callback heartbeat CALLBACK_ID [OPTIONS]

Required Arguments

CALLBACK_ID

The unique identifier of the callback to send a heartbeat to.

Options

--region TEXT

Set the AWS Region of the service (for example, us-east-1).

--profile TEXT

Select a specific profile from your credential file to get AWS credentials.

--config-env TEXT

Environment name specifying default parameter values in the configuration file. Default: default

--config-file TEXT

Configuration file containing default parameter values. Default: samconfig.toml

--save-params

Save the parameters provided via the command line to the configuration file.

--beta-features / --no-beta-features

Enable/Disable beta features.

--debug

Turn on debug logging to print debug messages generated by AWS SAM CLI and display timestamps.

-h, --help

Shows this message and exits.

Examples

Send heartbeat callback:

$ sam local callback heartbeat my-callback-id