We are using AWS MWAA. We add our DAG.py files to our S3 bucket programatically. They then show up in the UI. However, they are "OFF" and you must click the "ON" button to start them.
EDIT: Also we may sometimes want to turn a DAG that's ON to OFF (programatically)
I am looking to do this programmatically, however I cannot figure out to.
The API does not seem to have it: https://docs.aws.amazon.com/mwaa/latest/userguide/mwaa-actions-resources.html
Boto does not seem to have it: https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/mwaa.html
Is it possible to manipulate a DAGs status from OFF/ON ON/OFF via API?