aws_sdk_swf/client/request_cancel_workflow_execution.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`RequestCancelWorkflowExecution`](crate::operation::request_cancel_workflow_execution::builders::RequestCancelWorkflowExecutionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`domain(impl Into<String>)`](crate::operation::request_cancel_workflow_execution::builders::RequestCancelWorkflowExecutionFluentBuilder::domain) / [`set_domain(Option<String>)`](crate::operation::request_cancel_workflow_execution::builders::RequestCancelWorkflowExecutionFluentBuilder::set_domain):<br>required: **true**<br><p>The name of the domain containing the workflow execution to cancel.</p><br>
7 /// - [`workflow_id(impl Into<String>)`](crate::operation::request_cancel_workflow_execution::builders::RequestCancelWorkflowExecutionFluentBuilder::workflow_id) / [`set_workflow_id(Option<String>)`](crate::operation::request_cancel_workflow_execution::builders::RequestCancelWorkflowExecutionFluentBuilder::set_workflow_id):<br>required: **true**<br><p>The workflowId of the workflow execution to cancel.</p><br>
8 /// - [`run_id(impl Into<String>)`](crate::operation::request_cancel_workflow_execution::builders::RequestCancelWorkflowExecutionFluentBuilder::run_id) / [`set_run_id(Option<String>)`](crate::operation::request_cancel_workflow_execution::builders::RequestCancelWorkflowExecutionFluentBuilder::set_run_id):<br>required: **false**<br><p>The runId of the workflow execution to cancel.</p><br>
9 /// - On success, responds with [`RequestCancelWorkflowExecutionOutput`](crate::operation::request_cancel_workflow_execution::RequestCancelWorkflowExecutionOutput)
10 /// - On failure, responds with [`SdkError<RequestCancelWorkflowExecutionError>`](crate::operation::request_cancel_workflow_execution::RequestCancelWorkflowExecutionError)
11 pub fn request_cancel_workflow_execution(
12 &self,
13 ) -> crate::operation::request_cancel_workflow_execution::builders::RequestCancelWorkflowExecutionFluentBuilder {
14 crate::operation::request_cancel_workflow_execution::builders::RequestCancelWorkflowExecutionFluentBuilder::new(self.handle.clone())
15 }
16}