我已经使用boto3导入命令从现有的api创建了一个api网关。在
apiClient = boto3.client('apigateway', awsregion)
api_response=apiClient.import_rest_api
(
failOnWarnings=True,
body=open('apifileswagger.json', 'rb').read()
)
但我不能修改集成请求。我试着遵循Boto3命令。在
^{pr2}$但我犯了这样的错误
Unexpected error: An error occurred () when calling the PutIntegration operation:
我需要使用Boto3命令更改lambda函数区域和名称。有可能吗。在
如果可能的话,这个命令的实际问题是什么?在
与对API定义的大多数API网关更新一样,为了更新集成请求,您必须执行一个修补程序,并使用预期格式传递带有修补程序文档的主体。见documentation here
相关问题 更多 >
编程相关推荐