sam remote callback succeed - 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 remote callback succeed

Send a callback success to a remote durable function execution.

Note

This command requires access to Amazon credentials.

Usage

$ sam remote callback succeed CALLBACK_ID [OPTIONS]

Required Arguments

CALLBACK_ID

The unique identifier of the callback to send a success response to.

Options

-r, --result TEXT

Success result payload as string.

--region TEXT

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

--profile TEXT

Select a specific profile from your credential file to get Amazon 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 Amazon SAM CLI and display timestamps.

-h, --help

Shows this message and exits.

Examples

Send success callback with no result:

$ sam remote callback succeed my-callback-id

Send success callback with result:

$ sam remote callback succeed my-callback-id --result 'Task completed successfully'