Class: Aws::MWAA::Types::InvokeRestApiRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-mwaa/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:body]

Instance Attribute Summary collapse

Instance Attribute Details

#bodyHash, ...

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

Returns:

  • (Hash, Array, String, Numeric, Boolean)


961
962
963
964
965
966
967
968
969
# File 'lib/aws-sdk-mwaa/types.rb', line 961

class InvokeRestApiRequest < Struct.new(
  :name,
  :path,
  :method,
  :query_parameters,
  :body)
  SENSITIVE = [:body]
  include Aws::Structure
end

#methodString

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

Returns:

  • (String)


961
962
963
964
965
966
967
968
969
# File 'lib/aws-sdk-mwaa/types.rb', line 961

class InvokeRestApiRequest < Struct.new(
  :name,
  :path,
  :method,
  :query_parameters,
  :body)
  SENSITIVE = [:body]
  include Aws::Structure
end

#nameString

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

Returns:

  • (String)


961
962
963
964
965
966
967
968
969
# File 'lib/aws-sdk-mwaa/types.rb', line 961

class InvokeRestApiRequest < Struct.new(
  :name,
  :path,
  :method,
  :query_parameters,
  :body)
  SENSITIVE = [:body]
  include Aws::Structure
end

#pathString

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

[1]: airflow.apache.org/docs/apache-airflow/stable/stable-rest-api-ref.html

Returns:

  • (String)


961
962
963
964
965
966
967
968
969
# File 'lib/aws-sdk-mwaa/types.rb', line 961

class InvokeRestApiRequest < Struct.new(
  :name,
  :path,
  :method,
  :query_parameters,
  :body)
  SENSITIVE = [:body]
  include Aws::Structure
end

#query_parametersHash, ...

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

Returns:

  • (Hash, Array, String, Numeric, Boolean)


961
962
963
964
965
966
967
968
969
# File 'lib/aws-sdk-mwaa/types.rb', line 961

class InvokeRestApiRequest < Struct.new(
  :name,
  :path,
  :method,
  :query_parameters,
  :body)
  SENSITIVE = [:body]
  include Aws::Structure
end