【发布时间】:2020-03-31 18:12:01
【问题描述】:
有类似的问题,但他们有我尝试过的答案。 我不确定我可能做错了什么,但我们将不胜感激。
方法执行测试的错误; PUT 请求:
Execution log for request test-request
Mon Oct 16 10:13:47 UTC 2017 : Starting execution for request: test-invoke-request
Mon Oct 16 10:13:47 UTC 2017 : HTTP Method: PUT, Resource Path: /pop-data-xmlz/test.xml
Mon Oct 16 10:13:47 UTC 2017 : Method request path: {item=test.xml, folder=pop-data-xmlz}
Mon Oct 16 10:13:47 UTC 2017 : Method request query string: {}
Mon Oct 16 10:13:47 UTC 2017 : Method request headers: {Content-Type=application/xml}
Mon Oct 16 10:13:47 UTC 2017 : Method request body before transformations: <test>
test string
</test>
Mon Oct 16 10:13:47 UTC 2017 : Request validation succeeded for content type application/json
Mon Oct 16 10:13:47 UTC 2017 : Execution failed due to configuration error: API Gateway does not have permission to assume the provided role
Mon Oct 16 10:13:47 UTC 2017 : Method completed with status: 500
我正在关注 API Gateway To S3 教程 (http://docs.aws.amazon.com/apigateway/latest/developerguide/integrating-api-with-aws-services-s3.html) 并尝试执行 PUT 请求。
API Gateway 位于 us-east-1,S3 存储桶位于 us-east-2。
创建的角色:APIGatewayProxyCustom
【问题讨论】:
标签: api amazon-web-services amazon-s3 aws-api-gateway