This video walks you through the process of connecting a JS client application to an API Gateway endpoint that is referencing a Lambda function (that scans DynamoDB)
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.