How do I list all running EMR clusters using Boto?


How do I list all my running clusters in my aws account using boto? Using the the command line I can get them using :

However I wanna do the same using boto3. However the following code does not return any clusters:



Here is the paginator solution.

The result is

Leave a Reply