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 [`PrepareFlow`](crate::operation::prepare_flow::builders::PrepareFlowFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`flow_identifier(impl Into<String>)`](crate::operation::prepare_flow::builders::PrepareFlowFluentBuilder::flow_identifier) / [`set_flow_identifier(Option<String>)`](crate::operation::prepare_flow::builders::PrepareFlowFluentBuilder::set_flow_identifier):<br>required: **true**<br><p>The unique identifier of the flow.</p><br>
    /// - On success, responds with [`PrepareFlowOutput`](crate::operation::prepare_flow::PrepareFlowOutput) with field(s):
    ///   - [`id(String)`](crate::operation::prepare_flow::PrepareFlowOutput::id): <p>The unique identifier of the flow.</p>
    ///   - [`status(FlowStatus)`](crate::operation::prepare_flow::PrepareFlowOutput::status): <p>The status of the flow. When you submit this request, the status will be <code>NotPrepared</code>. If preparation succeeds, the status becomes <code>Prepared</code>. If it fails, the status becomes <code>FAILED</code>.</p>
    /// - On failure, responds with [`SdkError<PrepareFlowError>`](crate::operation::prepare_flow::PrepareFlowError)
    pub fn prepare_flow(&self) -> crate::operation::prepare_flow::builders::PrepareFlowFluentBuilder {
        crate::operation::prepare_flow::builders::PrepareFlowFluentBuilder::new(self.handle.clone())
    }
}