aws_sdk_bedrockagent/client/
update_flow_alias.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 [`UpdateFlowAlias`](crate::operation::update_flow_alias::builders::UpdateFlowAliasFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::update_flow_alias::builders::UpdateFlowAliasFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_flow_alias::builders::UpdateFlowAliasFluentBuilder::set_name):<br>required: **true**<br><p>The name of the alias.</p><br>
7    ///   - [`description(impl Into<String>)`](crate::operation::update_flow_alias::builders::UpdateFlowAliasFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_flow_alias::builders::UpdateFlowAliasFluentBuilder::set_description):<br>required: **false**<br><p>A description for the alias.</p><br>
8    ///   - [`routing_configuration(FlowAliasRoutingConfigurationListItem)`](crate::operation::update_flow_alias::builders::UpdateFlowAliasFluentBuilder::routing_configuration) / [`set_routing_configuration(Option<Vec::<FlowAliasRoutingConfigurationListItem>>)`](crate::operation::update_flow_alias::builders::UpdateFlowAliasFluentBuilder::set_routing_configuration):<br>required: **true**<br><p>Contains information about the version to which to map the alias.</p><br>
9    ///   - [`concurrency_configuration(FlowAliasConcurrencyConfiguration)`](crate::operation::update_flow_alias::builders::UpdateFlowAliasFluentBuilder::concurrency_configuration) / [`set_concurrency_configuration(Option<FlowAliasConcurrencyConfiguration>)`](crate::operation::update_flow_alias::builders::UpdateFlowAliasFluentBuilder::set_concurrency_configuration):<br>required: **false**<br><p>The configuration that specifies how nodes in the flow are executed in parallel.</p><br>
10    ///   - [`flow_identifier(impl Into<String>)`](crate::operation::update_flow_alias::builders::UpdateFlowAliasFluentBuilder::flow_identifier) / [`set_flow_identifier(Option<String>)`](crate::operation::update_flow_alias::builders::UpdateFlowAliasFluentBuilder::set_flow_identifier):<br>required: **true**<br><p>The unique identifier of the flow.</p><br>
11    ///   - [`alias_identifier(impl Into<String>)`](crate::operation::update_flow_alias::builders::UpdateFlowAliasFluentBuilder::alias_identifier) / [`set_alias_identifier(Option<String>)`](crate::operation::update_flow_alias::builders::UpdateFlowAliasFluentBuilder::set_alias_identifier):<br>required: **true**<br><p>The unique identifier of the alias.</p><br>
12    /// - On success, responds with [`UpdateFlowAliasOutput`](crate::operation::update_flow_alias::UpdateFlowAliasOutput) with field(s):
13    ///   - [`name(String)`](crate::operation::update_flow_alias::UpdateFlowAliasOutput::name): <p>The name of the alias.</p>
14    ///   - [`description(Option<String>)`](crate::operation::update_flow_alias::UpdateFlowAliasOutput::description): <p>The description of the flow.</p>
15    ///   - [`routing_configuration(Vec::<FlowAliasRoutingConfigurationListItem>)`](crate::operation::update_flow_alias::UpdateFlowAliasOutput::routing_configuration): <p>Contains information about the version that the alias is mapped to.</p>
16    ///   - [`concurrency_configuration(Option<FlowAliasConcurrencyConfiguration>)`](crate::operation::update_flow_alias::UpdateFlowAliasOutput::concurrency_configuration): <p>The configuration that specifies how nodes in the flow are executed in parallel.</p>
17    ///   - [`flow_id(String)`](crate::operation::update_flow_alias::UpdateFlowAliasOutput::flow_id): <p>The unique identifier of the flow.</p>
18    ///   - [`id(String)`](crate::operation::update_flow_alias::UpdateFlowAliasOutput::id): <p>The unique identifier of the alias.</p>
19    ///   - [`arn(String)`](crate::operation::update_flow_alias::UpdateFlowAliasOutput::arn): <p>The Amazon Resource Name (ARN) of the flow.</p>
20    ///   - [`created_at(DateTime)`](crate::operation::update_flow_alias::UpdateFlowAliasOutput::created_at): <p>The time at which the flow was created.</p>
21    ///   - [`updated_at(DateTime)`](crate::operation::update_flow_alias::UpdateFlowAliasOutput::updated_at): <p>The time at which the alias was last updated.</p>
22    /// - On failure, responds with [`SdkError<UpdateFlowAliasError>`](crate::operation::update_flow_alias::UpdateFlowAliasError)
23    pub fn update_flow_alias(&self) -> crate::operation::update_flow_alias::builders::UpdateFlowAliasFluentBuilder {
24        crate::operation::update_flow_alias::builders::UpdateFlowAliasFluentBuilder::new(self.handle.clone())
25    }
26}