list_emr_applications
Retrieve active EMR Serverless applications to monitor job status and access logs for troubleshooting pipeline failures in Airflow environments.
Instructions
List all EMR Serverless applications.
Note: DAGs create temporary EMR apps that are deleted after each run. If an app is not found here, it was already cleaned up — but job run details and S3 logs are still available via get_job_run_details and read_spark_driver_log using the application_id from the Airflow task log.
Args: states: Optional comma-separated state filter (e.g. 'STARTED,CREATED'). env: Target environment — 'dev', 'uat', 'test', or 'prod'. IMPORTANT: Do NOT guess or default. Ask the user which environment if not specified.
Returns a formatted list of applications with IDs, types and states.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| states | No | ||
| env | No |