

本文属于机器翻译版本。若本译文内容与英语原文存在差异，则一律以英文原文为准。

# sam remote execution
<a name="sam-cli-command-reference-sam-remote-execution"></a>

本页提供 AWS Serverless Application Model 命令行界面 (AWS SAMCLI) `sam remote execution` 命令的参考信息。

有关简介 AWS SAMCLI，请参阅 [那是什么 AWS SAMCLI？](what-is-sam-overview.md#what-is-sam-cli)

该`sam remote execution`命令允许您管理和检查在 AWS Lambda 中运行的远程持久函数执行。

**注意**  
这些命令需要访问 AWS 凭证。

## 用法
<a name="sam-cli-command-reference-sam-remote-execution-usage"></a>

```
$ sam remote execution <subcommand> <options>
```

## 选项
<a name="sam-cli-command-reference-sam-remote-execution-options"></a>

`--help, -h`  <a name="sam-cli-command-reference-sam-remote-execution-options-help"></a>
显示此消息并退出。

## 子命令
<a name="sam-cli-command-reference-sam-remote-execution-subcommands"></a>

`get`  <a name="sam-cli-command-reference-sam-remote-execution-subcommands-get"></a>
获取持久执行的详细信息。有关更多信息，请参阅 [sam remote execution get](sam-cli-command-reference-sam-remote-execution-get.md)。

`history`  <a name="sam-cli-command-reference-sam-remote-execution-subcommands-history"></a>
获取持久函数执行的执行历史。有关更多信息，请参阅 [sam remote execution history](sam-cli-command-reference-sam-remote-execution-history.md)。

`stop`  <a name="sam-cli-command-reference-sam-remote-execution-subcommands-stop"></a>
停止执行持久的函数。有关更多信息，请参阅 [sam remote execution stop](sam-cli-command-reference-sam-remote-execution-stop.md)。