aws_sdk_glue/client/
stop_workflow_run.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 [`StopWorkflowRun`](crate::operation::stop_workflow_run::builders::StopWorkflowRunFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::stop_workflow_run::builders::StopWorkflowRunFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::stop_workflow_run::builders::StopWorkflowRunFluentBuilder::set_name):<br>required: **true**<br><p>The name of the workflow to stop.</p><br>
7    ///   - [`run_id(impl Into<String>)`](crate::operation::stop_workflow_run::builders::StopWorkflowRunFluentBuilder::run_id) / [`set_run_id(Option<String>)`](crate::operation::stop_workflow_run::builders::StopWorkflowRunFluentBuilder::set_run_id):<br>required: **true**<br><p>The ID of the workflow run to stop.</p><br>
8    /// - On success, responds with [`StopWorkflowRunOutput`](crate::operation::stop_workflow_run::StopWorkflowRunOutput)
9    /// - On failure, responds with [`SdkError<StopWorkflowRunError>`](crate::operation::stop_workflow_run::StopWorkflowRunError)
10    pub fn stop_workflow_run(&self) -> crate::operation::stop_workflow_run::builders::StopWorkflowRunFluentBuilder {
11        crate::operation::stop_workflow_run::builders::StopWorkflowRunFluentBuilder::new(self.handle.clone())
12    }
13}