Generate the JavaScript SDK of a REST API in API Gateway
The following procedure shows how to generate the JaveScript SDK of an API in API Gateway.
To generate the JavaScript SDK of an API in API Gateway
Sign in to the API Gateway console at https://console.aws.amazon.com/apigateway
. Choose a REST API.
-
Choose Stages.
-
In the Stages pane, select the name of the stage.
-
Open the Stage actions menu, and then choose Generate SDK.
-
For Platform, choose the JavaScript platform.
-
Choose Generate SDK, and then follow the on-screen directions to download the SDK generated by API Gateway.
Follow the instructions in Use a JavaScript SDK generated by API Gateway for a REST API to use the generated SDK.
Every time you update an API, you must redeploy the API and regenerate the SDK to have the updates included.