From ceda9132a477a02d4bd8aad6a0dc0ff1ac264435 Mon Sep 17 00:00:00 2001 From: Dustin Noyes Date: Thu, 17 Jan 2019 15:37:09 -0800 Subject: [PATCH 1/2] fixes(#2559) --- packages/amazon-cognito-identity-js/README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/amazon-cognito-identity-js/README.md b/packages/amazon-cognito-identity-js/README.md index 7da5e3b7872..ddb7b14a2a1 100644 --- a/packages/amazon-cognito-identity-js/README.md +++ b/packages/amazon-cognito-identity-js/README.md @@ -273,6 +273,9 @@ The usage examples below use the unqualified names for types in the Amazon Cogni ```javascript + + import * as AWS from "aws-sdk"; + var authenticationData = { Username : 'username', Password : 'password', From 8e02ff41f7fe70b4627a961ad594c690bbb6f708 Mon Sep 17 00:00:00 2001 From: Dustin Noyes Date: Thu, 17 Jan 2019 16:12:11 -0800 Subject: [PATCH 2/2] added /global to import statement --- packages/amazon-cognito-identity-js/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/amazon-cognito-identity-js/README.md b/packages/amazon-cognito-identity-js/README.md index ddb7b14a2a1..c674e69b10a 100644 --- a/packages/amazon-cognito-identity-js/README.md +++ b/packages/amazon-cognito-identity-js/README.md @@ -274,7 +274,7 @@ The usage examples below use the unqualified names for types in the Amazon Cogni ```javascript - import * as AWS from "aws-sdk"; + import * as AWS from 'aws-sdk/global'; var authenticationData = { Username : 'username',