get_dag_source
Retrieve DAG source code from Amazon MWAA environments to inspect, debug, or analyze Airflow workflow definitions.
Instructions
Get the source code of a DAG.
Args: environment_name: Name of the MWAA environment dag_id: The DAG ID
Returns: Dictionary containing the DAG source code
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environment_name | Yes | ||
| dag_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||