aws_sdk_mediaconnect/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_arn(impl Into<String>)`](crate::operation::stop_flow::builders::StopFlowFluentBuilder::flow_arn) / [`set_flow_arn(Option<String>)`](crate::operation::stop_flow::builders::StopFlowFluentBuilder::set_flow_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the flow that you want to stop.</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 ARN of the flow that you stopped.</p>
9 /// - [`status(Option<Status>)`](crate::operation::stop_flow::StopFlowOutput::status): <p>The status of the flow when the <code>StopFlow</code> process begins.</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}