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