Class InvokeRestApiRequest

    • Method Detail

      • name

        public final String name()

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

        Returns:
        The name of the Amazon MWAA environment. For example, MyMWAAEnvironment.
      • path

        public final String path()

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

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

        public final RestApiMethod method()

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

        If the service returns an enum value that is not available in the current SDK version, method will return RestApiMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from methodAsString().

        Returns:
        The HTTP method used for making Airflow REST API calls. For example, POST.
        See Also:
        RestApiMethod
      • methodAsString

        public final String methodAsString()

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

        If the service returns an enum value that is not available in the current SDK version, method will return RestApiMethod.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from methodAsString().

        Returns:
        The HTTP method used for making Airflow REST API calls. For example, POST.
        See Also:
        RestApiMethod
      • queryParameters

        public final Document queryParameters()

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

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

        public final Document body()

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

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

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object