You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
definition (str): The `Amazon States Language <https://states-language.net/spec.html>`_ definition of the workflow.
155
+
definition (State or Chain): The `Amazon States Language <https://states-language.net/spec.html>`_ definition of the workflow.
156
156
role (str): The Amazon Resource Name (ARN) of the IAM role to use for creating, managing, and running the workflow.
157
157
tags (list): Tags to be added when creating a workflow. Tags are key-value pairs that can be associated with Step Functions workflows and activities. (default: [])
158
158
execution_input (ExecutionInput, optional): Placeholder collection that defines the placeholder variables for the workflow execution. \
Updates an existing state machine by modifying its definition and/or role. Executions started immediately after calling this method may use the previous definition and role.
225
225
226
-
definition (str, optional): The `Amazon States Language <https://states-language.net/spec.html>`_ definition to update the workflow with. (default: None)
227
-
role (str, optional): The Amazon Resource Name (ARN) of the IAM role to use for creating, managing, and running the workflow. (default: None)
226
+
Args:
227
+
definition (State or Chain, optional): The `Amazon States Language <https://states-language.net/spec.html>`_ definition to update the workflow with. (default: None)
228
+
role (str, optional): The Amazon Resource Name (ARN) of the IAM role to use for creating, managing, and running the workflow. (default: None)
228
229
229
230
Returns:
230
231
str: The state machine definition and/or role updated. If the update fails, None will be returned.
0 commit comments