aws_sdk_frauddetector/client/
batch_get_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 [`BatchGetVariable`](crate::operation::batch_get_variable::builders::BatchGetVariableFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`names(impl Into<String>)`](crate::operation::batch_get_variable::builders::BatchGetVariableFluentBuilder::names) / [`set_names(Option<Vec::<String>>)`](crate::operation::batch_get_variable::builders::BatchGetVariableFluentBuilder::set_names):<br>required: **true**<br><p>The list of variable names to get.</p><br>
7    /// - On success, responds with [`BatchGetVariableOutput`](crate::operation::batch_get_variable::BatchGetVariableOutput) with field(s):
8    ///   - [`variables(Option<Vec::<Variable>>)`](crate::operation::batch_get_variable::BatchGetVariableOutput::variables): <p>The returned variables.</p>
9    ///   - [`errors(Option<Vec::<BatchGetVariableError>>)`](crate::operation::batch_get_variable::BatchGetVariableOutput::errors): <p>The errors from the request.</p>
10    /// - On failure, responds with [`SdkError<BatchGetVariableError>`](crate::operation::batch_get_variable::BatchGetVariableError)
11    pub fn batch_get_variable(&self) -> crate::operation::batch_get_variable::builders::BatchGetVariableFluentBuilder {
12        crate::operation::batch_get_variable::builders::BatchGetVariableFluentBuilder::new(self.handle.clone())
13    }
14}