Lambda 的 aws-sdk 不是最新的?
aws-sdk for Lambda not up to date?
我在 CloudFormation
json
中使用由 custom resource
触发的 node4.3
Lambda Function
需要最新的 aws-sdk
才能打电话
var cognitoidentityserviceprovider = new AWS.CognitoIdentityServiceProvider();
但看起来 aws-sdk
不是最新的,因为它出错了,我可以在日志中看到 AWS.CognitoIdentityServiceProvider
未定义。
我做错了什么或者有解决方法吗?
根据此处的文档:http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/index.html
CognitoIdentityServiceProvider
尚不支持
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.
我在 CloudFormation
json
中使用由 custom resource
触发的 node4.3
Lambda Function
需要最新的 aws-sdk
才能打电话
var cognitoidentityserviceprovider = new AWS.CognitoIdentityServiceProvider();
但看起来 aws-sdk
不是最新的,因为它出错了,我可以在日志中看到 AWS.CognitoIdentityServiceProvider
未定义。
我做错了什么或者有解决方法吗?
根据此处的文档:http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/index.html
CognitoIdentityServiceProvider
尚不支持
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.