aws_sdk_appflow/client/
stop_flow.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 [`StopFlow`](crate::operation::stop_flow::builders::StopFlowFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`flow_name(impl Into<String>)`](crate::operation::stop_flow::builders::StopFlowFluentBuilder::flow_name) / [`set_flow_name(Option<String>)`](crate::operation::stop_flow::builders::StopFlowFluentBuilder::set_flow_name):<br>required: **true**<br><p>The specified name of the flow. Spaces are not allowed. Use underscores (_) or hyphens (-) only.</p><br>
7    /// - On success, responds with [`StopFlowOutput`](crate::operation::stop_flow::StopFlowOutput) with field(s):
8    ///   - [`flow_arn(Option<String>)`](crate::operation::stop_flow::StopFlowOutput::flow_arn): <p>The flow's Amazon Resource Name (ARN).</p>
9    ///   - [`flow_status(Option<FlowStatus>)`](crate::operation::stop_flow::StopFlowOutput::flow_status): <p>Indicates the current status of the flow.</p>
10    /// - On failure, responds with [`SdkError<StopFlowError>`](crate::operation::stop_flow::StopFlowError)
11    pub fn stop_flow(&self) -> crate::operation::stop_flow::builders::StopFlowFluentBuilder {
12        crate::operation::stop_flow::builders::StopFlowFluentBuilder::new(self.handle.clone())
13    }
14}