Use a JavaScript SDK Generated by API Gateway for a REST API