pub struct TerminateWorkflowExecutionInput {
pub child_policy: Option<String>,
pub details: Option<String>,
pub domain: String,
pub reason: Option<String>,
pub run_id: Option<String>,
pub workflow_id: String,
}
Fields§
§child_policy: Option<String>
If set, specifies the policy to use for the child workflow executions of the workflow execution being terminated. This policy overrides the child policy specified for the workflow execution at registration time or when starting the execution.
The supported child policies are:
-
TERMINATE
– The child executions are terminated. -
REQUEST_CANCEL
– A request to cancel is attempted for each child execution by recording aWorkflowExecutionCancelRequested
event in its history. It is up to the decider to take appropriate actions when it receives an execution history with this event. -
ABANDON
– No action is taken. The child executions continue to run.
A child policy for this workflow execution must be specified either as a default for the workflow type or through this parameter. If neither this parameter is set nor a default child policy was specified at registration time then a fault is returned.
details: Option<String>
Details for terminating the workflow execution.
domain: String
The domain of the workflow execution to terminate.
reason: Option<String>
A descriptive reason for terminating the workflow execution.
run_id: Option<String>
The runId of the workflow execution to terminate.
workflow_id: String
The workflowId of the workflow execution to terminate.
Trait Implementations§
Source§impl Clone for TerminateWorkflowExecutionInput
impl Clone for TerminateWorkflowExecutionInput
Source§fn clone(&self) -> TerminateWorkflowExecutionInput
fn clone(&self) -> TerminateWorkflowExecutionInput
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Default for TerminateWorkflowExecutionInput
impl Default for TerminateWorkflowExecutionInput
Source§fn default() -> TerminateWorkflowExecutionInput
fn default() -> TerminateWorkflowExecutionInput
Source§impl PartialEq for TerminateWorkflowExecutionInput
impl PartialEq for TerminateWorkflowExecutionInput
Source§fn eq(&self, other: &TerminateWorkflowExecutionInput) -> bool
fn eq(&self, other: &TerminateWorkflowExecutionInput) -> bool
self
and other
values to be equal, and is used by ==
.