gpt4 book ai didi

amazon-web-services - Lambda 的 aws-sdk 不是最新的吗?

转载 作者:行者123 更新时间:2023-12-03 07:26:01 26 4
gpt4 key购买 nike

我使用由 CloudFormation 中的自定义资源触发的 node4.3 Lambda 函数 json 需要最新的 aws-sdk 才能调用

var cognitoidentityserviceprovider = new AWS.CognitoIdentityServiceProvider();

但看起来 aws-sdk 不是最新的,因为它出错了,我可以在日志中看到 AWS.CognitoIdentityServiceProvider 未定义。

我做错了什么或者有解决方法吗?

最佳答案

根据此处的文档:http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/index.html尚不支持 CognitoIdentityServiceProvider

enter image description here

Note: Although all services are supported in the browser version of the SDK, not all of the services are available in the default hosted build (using the script tag provided above). A list of services in the hosted build are provided in the "Working With Services" section of the browser SDK guide, including instructions on how to build a custom version of the SDK with extra services.

关于amazon-web-services - Lambda 的 aws-sdk 不是最新的吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36783169/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com