Skip to contents

Invokes the Apache Airflow REST API on the webserver with the specified inputs. To learn more, see Using the Apache Airflow REST API

See https://www.paws-r-sdk.com/docs/mwaa_invoke_rest_api/ for full documentation.

Usage

mwaa_invoke_rest_api(Name, Path, Method, QueryParameters = NULL, Body = NULL)

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 API

Method

[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.