Invoke Rest Api
mwaa_invoke_rest_api | R Documentation |
Invokes the Apache Airflow REST API on the webserver with the specified inputs¶
Description¶
Invokes the Apache Airflow REST API on the webserver with the specified inputs. To learn more, see Using the Apache Airflow REST API
Usage¶
Arguments¶
Name
[required] The name of the Amazon MWAA environment. For example,
MyMWAAEnvironment
.Path
[required] The Apache Airflow REST API endpoint path to be called. For example,
â /dags/123456/clearTaskInstancesâ
. For more information, see Apache Airflow APIMethod
[required] The HTTP method used for making Airflow REST API calls. For example,
POST
.QueryParameters
Query parameters to be included in the Apache Airflow REST API call, provided as a JSON object.
Body
The request body for the Apache Airflow REST API call, provided as a JSON object.
Value¶
A list with the following syntax: