Struct aws_sdk_swf::input::TerminateWorkflowExecutionInput [−][src]
#[non_exhaustive]pub struct TerminateWorkflowExecutionInput {
pub domain: Option<String>,
pub workflow_id: Option<String>,
pub run_id: Option<String>,
pub reason: Option<String>,
pub details: Option<String>,
pub child_policy: Option<ChildPolicy>,
}
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.domain: Option<String>
The domain of the workflow execution to terminate.
workflow_id: Option<String>
The workflowId of the workflow execution to terminate.
run_id: Option<String>
The runId of the workflow execution to terminate.
reason: Option<String>
A descriptive reason for terminating the workflow execution.
details: Option<String>
Details for terminating the workflow execution.
child_policy: Option<ChildPolicy>
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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<TerminateWorkflowExecution, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<TerminateWorkflowExecution, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<TerminateWorkflowExecution
>
Creates a new builder-style object to manufacture TerminateWorkflowExecutionInput
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for TerminateWorkflowExecutionInput
impl Sync for TerminateWorkflowExecutionInput
impl Unpin for TerminateWorkflowExecutionInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more