Using Console
Using CLI
Using Python
list_graphql_apis
method to get a list of all AppSync APIs, and then check the logConfig
field of each API to see if logging is enabled. Here’s a sample script:
list_graphql_apis
method returns a maximum of 25 APIs at a time. If you have more than 25 APIs, you’ll need to handle pagination by using the nextToken
field in the response: