How to get API ID from AWS API Gateway

I created an API in Amazon API Gateway using a web browser. Now How can I get the API ID I just created?

+4
source share
2 answers

If you prefer not to exit the terminal window, you can grab the RestApi ID from the URL in the browser:

https://console.aws.amazon.com/apigateway/home?region={region}#/apis/{api-id}/...
+7
source

It can be found using the following command

aws apigateway get-rest-apis

No need to say you need to configure aws cli

+7
source

Source: https://habr.com/ru/post/1621415/


All Articles