Using Console
Using CLI
aws configure
and then entering your Access Key ID, Secret Access Key, Default region name, and Default output format when prompted.
get-rest-apis
command to list all the APIs in your AWS account. The command is as follows:
get-rest-api
command along with the API’s ID. The command is as follows:
{api-id}
with the ID of the API you want to check. This command will return the details of the specified API.
get-rest-api
command, look for the cacheClusterEnabled
field. If this field is set to true
, then the API Cache is enabled. If it is set to false
or if the field is not present, then the API Cache is not enabled.
Using Python