The command aws apigateway get-rest-apis returns only REST API's. As you can see in the following screenshot I have 3 API's. But the command returns only one API (the REST protocol API).
How to get all 3 API's?

aws apigateway get-rest-apis
{
"items": [
{
"id": "xxxxxxxx",
"name": "zabbixPy-API",
"description": "Created by AWS Lambda",
"createdDate": "2021-10-31T10:16:23+00:00",
"apiKeySource": "HEADER",
"endpointConfiguration": {
"types": [
"REGIONAL"
]
},
"disableExecuteApiEndpoint": false
}
]
}
For HTTP api you have to use apigatewayv2:
aws apigatewayv2 get-apis
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With