Code Sample for testing AWS JS SDK
- Fork this repo, and clone your fork
 - Create a local branch in your workspace
 - Add the code for testing AWS JS SDK v2/v3
 - Push code to remote branch on your fork, and share the code for reproducing
 
- Checkout master branch: 
git checkout master - Run 
yarnto install dependencies 
- Update REGION in 
src/config.js - Run 
node src/node.jsto run both v2 and v3 clients in Node.js - Note that responses returned by clients will be printed in console
 
- Go through the following steps if you don't have resources created
- Create a Amazon Cognito Identity pool for testing
- Note down REGION and IDENTITY_POOL_ID
 
 - Add a Policy to the test Unauthenticated IAM Role
- The policy should be specific to the operations you want to test
 
 - Update the REGION and IDENTITY_POOL_ID in 
src/config.js 
 - Create a Amazon Cognito Identity pool for testing
 - Run 
yarn watchto create the browser bundle and watch for changes - Open 
index.htmlin your browser, and note the responses printed on the page - The command will watch for changes in files, and update bundle. Reload the webpage to view the changes applied.
 
This library is licensed under the MIT-0 License. See the LICENSE file.