我正在使用AWS SAM来部署我的lambda和api网关。Sample SAM Template for sam-app
# More info about Globals: https://github.com/awslabs/serverless-application-modelGetAtt HelloWorldFunctionRole.Arn 运行samdeploy后,Lambda函数和AP
我注意到,我的SAM部署正在使用我对自定义API网关响应所做的更改来更新API Gateway的配置,但实际上并没有将它们部署到API Gateway阶段以使其生效。在SAM部署之后,如果我进入API网关控制台,选择我的API,打开Actions菜单,选择deployAPI,选择my stage,然后点击deploy the