AWS Cognito adminCreateUser from Lambda
问题 I'm trying to create a user in a AWS User Pool from an AWS Lambda I tried with this script took from what seems to be the official JavascriptSDK for the AWS but can't get it working. http://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/CognitoIdentityServiceProvider.html#adminCreateUser-property I keep getting this error: TypeError: cognitoidentityserviceprovider.adminCreateUser is not a function 'use strict' const AWS= require('aws-sdk'); exports.handler = (event, context, callback) => {