AWS announces preview of AWS Interconnect - multicloud
AWS announces AWS Interconnect – multicloud (preview), providing simple, resilient, high-speed private connections to other cloud service providers. AWS Interconnect - multicloud is easy to configure and provides high-speed, resilient connectivity with dedicated bandwidth, enabling customers to interconnect AWS networking services such as AWS Transit Gateway, AWS Cloud WAN, and Amazon VPC to other cloud service providers with ease.
我使用阶段变量在 API Gateway 定义了我的 Lambda 集成。为什么我在调用 API 方法时收到“内部服务器错误”和 500 状态代码?
2 分钟阅读
0
我设置 Amazon API Gateway API 以使用阶段变量调用 AWS Lambda 函数。当我调用 API 方法时,我的 API 返回“内部服务器错误”和 500 状态代码。如何解决此错误?
简短描述
如果 Lambda 函数基于资源的策略不包括供 API 调用此函数的权限,API Gateway 将返回内部服务器错误消息。
对于 arn:aws:execute-api:region:account-id:api-id/*/GET/lambdasv1,请输入调用函数的 API Gateway 资源的 ARN。有关 HTTP API 和 REST API 的 ARN 格式,请参阅在 API Gateway 中执行 API 的权限的资源格式。有关 WebSocket API 的 ARN 格式,请参阅使用 IAM 授权。