v1

latestOpenAPI 3.0.0Apache 2.0 License2026-07-14159484.0 KB

Updates an existing workflow with new configuration settings. This operation allows you to modify the workflow definition, role, and other settings. When you update a workflow, Amazon Managed Workflows for Apache Airflow Serverless automatically creates a new version with the updated configuration and disables scheduling on all previous versions to ensure only one version is actively scheduled at a time. The update operation maintains workflow history while providing a clean transition to the new configuration.

post/#X-Amz-Target=AmazonMWAAServerless.UpdateWorkflow

Headers

X-Amz-Target'AmazonMWAAServerless.UpdateWorkflow' required

Request body

WorkflowArnstring required

The Amazon Resource Name (ARN) of the workflow you want to update.

RoleArnstring required

The Amazon Resource Name (ARN) of the IAM role that Amazon Managed Workflows for Apache Airflow Serverless assumes when it executes the updated workflow.

Descriptionstring

An updated description for the workflow.

EngineVersioninteger

The version of the Amazon Managed Workflows for Apache Airflow Serverless engine that you want to use for the updated workflow.

TriggerModestring

The trigger mode for the workflow execution.

Response

Success

WorkflowArnstring required

The Amazon Resource Name (ARN) of the updated workflow.

ModifiedAtstring date-time

The timestamp when the workflow was last modified, in ISO 8601 date-time format.

WorkflowVersionstring

The version identifier of the updated workflow.

WarningsString[]

Warning messages generated during workflow update.