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 [`StartFlow`](crate::operation::start_flow::builders::StartFlowFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>The ARN of the flow that you want to start.<br>
    /// - On success, responds with [`StartFlowOutput`](crate::operation::start_flow::StartFlowOutput) with field(s):
    ///   - [`flow_arn(Option<String>)`](crate::operation::start_flow::StartFlowOutput::flow_arn): The ARN of the flow that you started.
    ///   - [`status(Option<Status>)`](crate::operation::start_flow::StartFlowOutput::status): The status of the flow when the StartFlow process begins.
    /// - On failure, responds with [`SdkError<StartFlowError>`](crate::operation::start_flow::StartFlowError)
    pub fn start_flow(&self) -> crate::operation::start_flow::builders::StartFlowFluentBuilder {
        crate::operation::start_flow::builders::StartFlowFluentBuilder::new(self.handle.clone())
    }
}