// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`UpdateFlow`](crate::operation::update_flow::builders::UpdateFlowFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(impl Into<String>)`](crate::operation::update_flow::builders::UpdateFlowFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_flow::builders::UpdateFlowFluentBuilder::set_name):<br>required: **true**<br><p>A name for the flow.</p><br>
/// - [`description(impl Into<String>)`](crate::operation::update_flow::builders::UpdateFlowFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_flow::builders::UpdateFlowFluentBuilder::set_description):<br>required: **false**<br><p>A description for the flow.</p><br>
/// - [`execution_role_arn(impl Into<String>)`](crate::operation::update_flow::builders::UpdateFlowFluentBuilder::execution_role_arn) / [`set_execution_role_arn(Option<String>)`](crate::operation::update_flow::builders::UpdateFlowFluentBuilder::set_execution_role_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the service role with permissions to create and manage a flow. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html">Create a service role for flows in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p><br>
/// - [`customer_encryption_key_arn(impl Into<String>)`](crate::operation::update_flow::builders::UpdateFlowFluentBuilder::customer_encryption_key_arn) / [`set_customer_encryption_key_arn(Option<String>)`](crate::operation::update_flow::builders::UpdateFlowFluentBuilder::set_customer_encryption_key_arn):<br>required: **false**<br><p>The Amazon Resource Name (ARN) of the KMS key to encrypt the flow.</p><br>
/// - [`definition(FlowDefinition)`](crate::operation::update_flow::builders::UpdateFlowFluentBuilder::definition) / [`set_definition(Option<FlowDefinition>)`](crate::operation::update_flow::builders::UpdateFlowFluentBuilder::set_definition):<br>required: **false**<br><p>A definition of the nodes and the connections between the nodes in the flow.</p><br>
/// - [`flow_identifier(impl Into<String>)`](crate::operation::update_flow::builders::UpdateFlowFluentBuilder::flow_identifier) / [`set_flow_identifier(Option<String>)`](crate::operation::update_flow::builders::UpdateFlowFluentBuilder::set_flow_identifier):<br>required: **true**<br><p>The unique identifier of the flow.</p><br>
/// - On success, responds with [`UpdateFlowOutput`](crate::operation::update_flow::UpdateFlowOutput) with field(s):
/// - [`name(String)`](crate::operation::update_flow::UpdateFlowOutput::name): <p>The name of the flow.</p>
/// - [`description(Option<String>)`](crate::operation::update_flow::UpdateFlowOutput::description): <p>The description of the flow.</p>
/// - [`execution_role_arn(String)`](crate::operation::update_flow::UpdateFlowOutput::execution_role_arn): <p>The Amazon Resource Name (ARN) of the service role with permissions to create a flow. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/flows-permissions.html">Create a service role for flows in Amazon Bedrock</a> in the Amazon Bedrock User Guide.</p>
/// - [`customer_encryption_key_arn(Option<String>)`](crate::operation::update_flow::UpdateFlowOutput::customer_encryption_key_arn): <p>The Amazon Resource Name (ARN) of the KMS key that the flow was encrypted with.</p>
/// - [`id(String)`](crate::operation::update_flow::UpdateFlowOutput::id): <p>The unique identifier of the flow.</p>
/// - [`arn(String)`](crate::operation::update_flow::UpdateFlowOutput::arn): <p>The Amazon Resource Name (ARN) of the flow.</p>
/// - [`status(FlowStatus)`](crate::operation::update_flow::UpdateFlowOutput::status): <p>The status of the flow. When you submit this request, the status will be <code>NotPrepared</code>. If updating fails, the status becomes <code>Failed</code>.</p>
/// - [`created_at(DateTime)`](crate::operation::update_flow::UpdateFlowOutput::created_at): <p>The time at which the flow was created.</p>
/// - [`updated_at(DateTime)`](crate::operation::update_flow::UpdateFlowOutput::updated_at): <p>The time at which the flow was last updated.</p>
/// - [`version(String)`](crate::operation::update_flow::UpdateFlowOutput::version): <p>The version of the flow. When you update a flow, the version updated is the <code>DRAFT</code> version.</p>
/// - [`definition(Option<FlowDefinition>)`](crate::operation::update_flow::UpdateFlowOutput::definition): <p>A definition of the nodes and the connections between nodes in the flow.</p>
/// - On failure, responds with [`SdkError<UpdateFlowError>`](crate::operation::update_flow::UpdateFlowError)
pub fn update_flow(&self) -> crate::operation::update_flow::builders::UpdateFlowFluentBuilder {
crate::operation::update_flow::builders::UpdateFlowFluentBuilder::new(self.handle.clone())
}
}