View a markdown version of this page

使用 Amazon API Gateway - AWS Toolkit for VS Code

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

使用 Amazon API Gateway

您可以使用 AWS Toolkit for Visual Studio Code 在连接的 AWS 账户中浏览和运行远程 API Gateway 资源。

注意

此特征不支持调试。

要浏览和运行远程 API Gateway 资源,请执行以下操作
  1. 在 AWS Explorer 中,选择 API Gateway 以展开菜单。此时页面上会列出远程 API Gateway 资源。

  2. 找到您想要调用的 API Gateway 资源,打开其上下文菜单(右键单击),然后选择在 AWS 上调用。

  3. 在参数表单中,指定调用参数。

  4. 要运行远程 API Gateway 资源,请选择调用。结果将显示在 VS Code 输出视图中。