Module Values.InvokeRestApiRequestSource

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

Sourcetype nonrec t = {
  1. name : EnvironmentName.t;
    (*

    The name of the Amazon MWAA environment. For example, MyMWAAEnvironment.

    *)
  2. path : RestApiPath.t;
    (*

    The Apache Airflow REST API endpoint path to be called. For example, /dags/123456/clearTaskInstances. For more information, see Apache Airflow API

    *)
  3. method_ : RestApiMethod.t;
    (*

    The HTTP method used for making Airflow REST API calls. For example, POST.

    *)
  4. queryParameters : Document.t option;
    (*

    Query parameters to be included in the Apache Airflow REST API call, provided as a JSON object.

    *)
  5. body : RestApiRequestBody.t option;
    (*

    The request body for the Apache Airflow REST API call, provided as a JSON object.

    *)
}
Sourceval context_ : string
Sourceval make : ?queryParameters:??? -> ?body:??? -> name:EnvironmentName.t -> path:RestApiPath.t -> method_:RestApiMethod.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of EnvironmentName.t | `Structure of 'a list ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t