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)


951
952
953
954
955
956
957
958
959
# File 'lib/aws-sdk-mwaa/types.rb', line 951

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)


951
952
953
954
955
956
957
958
959
# File 'lib/aws-sdk-mwaa/types.rb', line 951

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)


951
952
953
954
955
956
957
958
959
# File 'lib/aws-sdk-mwaa/types.rb', line 951

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)


951
952
953
954
955
956
957
958
959
# File 'lib/aws-sdk-mwaa/types.rb', line 951

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)


951
952
953
954
955
956
957
958
959
# File 'lib/aws-sdk-mwaa/types.rb', line 951

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