aws_sdk_frauddetector/client/update_variable.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 [`UpdateVariable`](crate::operation::update_variable::builders::UpdateVariableFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`name(impl Into<String>)`](crate::operation::update_variable::builders::UpdateVariableFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_variable::builders::UpdateVariableFluentBuilder::set_name):<br>required: **true**<br><p>The name of the variable.</p><br>
7 /// - [`default_value(impl Into<String>)`](crate::operation::update_variable::builders::UpdateVariableFluentBuilder::default_value) / [`set_default_value(Option<String>)`](crate::operation::update_variable::builders::UpdateVariableFluentBuilder::set_default_value):<br>required: **false**<br><p>The new default value of the variable.</p><br>
8 /// - [`description(impl Into<String>)`](crate::operation::update_variable::builders::UpdateVariableFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_variable::builders::UpdateVariableFluentBuilder::set_description):<br>required: **false**<br><p>The new description.</p><br>
9 /// - [`variable_type(impl Into<String>)`](crate::operation::update_variable::builders::UpdateVariableFluentBuilder::variable_type) / [`set_variable_type(Option<String>)`](crate::operation::update_variable::builders::UpdateVariableFluentBuilder::set_variable_type):<br>required: **false**<br><p>The variable type. For more information see <a href="https://docs.aws.amazon.com/frauddetector/latest/ug/create-a-variable.html#variable-types">Variable types</a>.</p><br>
10 /// - On success, responds with [`UpdateVariableOutput`](crate::operation::update_variable::UpdateVariableOutput)
11 /// - On failure, responds with [`SdkError<UpdateVariableError>`](crate::operation::update_variable::UpdateVariableError)
12 pub fn update_variable(&self) -> crate::operation::update_variable::builders::UpdateVariableFluentBuilder {
13 crate::operation::update_variable::builders::UpdateVariableFluentBuilder::new(self.handle.clone())
14 }
15}