Reputation: 31
I have created an API using the AWS Api Gateway Service, and am ready to use the javascript sdk in a simple webpage.
However, the instructions for using the javascript SDK here show an import for a js file called apigClient. I can only assume this is where the client class is stored for the api. However, when I generate the SDK for MY API, there is no such file (as in, the older file in the unzipped folder is lib. There is no js file in the root directory.)
Am I expected to create this file on my own? If so, I did not see any instructions to do so. Are there? What am I missing here?
Upvotes: 3
Views: 373
Reputation: 306
I had the same problem, and I fixed it by deploying API.
See step4 "Deploy Your API" in this link.
Upvotes: 1