【发布时间】:2018-09-21 15:30:44
【问题描述】:
我想运行这个命令:https://docs.aws.amazon.com/cli/latest/reference/apigateway/test-invoke-method.html
它需要这两个字段,找不到任何文档,它们是:
aws apigateway test-invoke-method --rest-api-id 1234123412 --resource-id avl5sg8fw8 --http-method GET --path-with-query-string '/'
我的 API 网关端点如下所示:
https://abc123.execute-api.us-east-1.amazonaws.com/MyStage/
我只看到那里的唯一标识符 - 但这个命令似乎需要两个 ID。在 API Gateway 控制台的什么位置可以找到它们?
【问题讨论】:
标签: amazon-web-services aws-lambda aws-api-gateway aws-cli