aws_sdk_mediaconnect/client/
start_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 [`StartFlow`](crate::operation::start_flow::builders::StartFlowFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`flow_arn(impl Into<String>)`](crate::operation::start_flow::builders::StartFlowFluentBuilder::flow_arn) / [`set_flow_arn(Option<String>)`](crate::operation::start_flow::builders::StartFlowFluentBuilder::set_flow_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the flow that you want to start.</p><br>
7    /// - On success, responds with [`StartFlowOutput`](crate::operation::start_flow::StartFlowOutput) with field(s):
8    ///   - [`flow_arn(Option<String>)`](crate::operation::start_flow::StartFlowOutput::flow_arn): <p>The ARN of the flow that you started.</p>
9    ///   - [`status(Option<Status>)`](crate::operation::start_flow::StartFlowOutput::status): <p>The status of the flow when the <code>StartFlow</code> process begins.</p>
10    /// - On failure, responds with [`SdkError<StartFlowError>`](crate::operation::start_flow::StartFlowError)
11    pub fn start_flow(&self) -> crate::operation::start_flow::builders::StartFlowFluentBuilder {
12        crate::operation::start_flow::builders::StartFlowFluentBuilder::new(self.handle.clone())
13    }
14}