aws_sdk_frauddetector/client/
batch_create_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 [`BatchCreateVariable`](crate::operation::batch_create_variable::builders::BatchCreateVariableFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`variable_entries(VariableEntry)`](crate::operation::batch_create_variable::builders::BatchCreateVariableFluentBuilder::variable_entries) / [`set_variable_entries(Option<Vec::<VariableEntry>>)`](crate::operation::batch_create_variable::builders::BatchCreateVariableFluentBuilder::set_variable_entries):<br>required: **true**<br><p>The list of variables for the batch create variable request.</p><br>
7    ///   - [`tags(Tag)`](crate::operation::batch_create_variable::builders::BatchCreateVariableFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::batch_create_variable::builders::BatchCreateVariableFluentBuilder::set_tags):<br>required: **false**<br><p>A collection of key and value pairs.</p><br>
8    /// - On success, responds with [`BatchCreateVariableOutput`](crate::operation::batch_create_variable::BatchCreateVariableOutput) with field(s):
9    ///   - [`errors(Option<Vec::<BatchCreateVariableError>>)`](crate::operation::batch_create_variable::BatchCreateVariableOutput::errors): <p>Provides the errors for the <code>BatchCreateVariable</code> request.</p>
10    /// - On failure, responds with [`SdkError<BatchCreateVariableError>`](crate::operation::batch_create_variable::BatchCreateVariableError)
11    pub fn batch_create_variable(&self) -> crate::operation::batch_create_variable::builders::BatchCreateVariableFluentBuilder {
12        crate::operation::batch_create_variable::builders::BatchCreateVariableFluentBuilder::new(self.handle.clone())
13    }
14}