aws_sdk_bedrockagent/client/
prepare_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 [`PrepareFlow`](crate::operation::prepare_flow::builders::PrepareFlowFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    /// - On success, responds with [`PrepareFlowOutput`](crate::operation::prepare_flow::PrepareFlowOutput) with field(s):
8    ///   - [`id(String)`](crate::operation::prepare_flow::PrepareFlowOutput::id): <p>The unique identifier of the flow.</p>
9    ///   - [`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>
10    /// - On failure, responds with [`SdkError<PrepareFlowError>`](crate::operation::prepare_flow::PrepareFlowError)
11    pub fn prepare_flow(&self) -> crate::operation::prepare_flow::builders::PrepareFlowFluentBuilder {
12        crate::operation::prepare_flow::builders::PrepareFlowFluentBuilder::new(self.handle.clone())
13    }
14}