aws_sdk_frauddetector/client/get_variables.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 [`GetVariables`](crate::operation::get_variables::builders::GetVariablesFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_variables::builders::GetVariablesFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`name(impl Into<String>)`](crate::operation::get_variables::builders::GetVariablesFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_variables::builders::GetVariablesFluentBuilder::set_name):<br>required: **false**<br><p>The name of the variable.</p><br>
8 /// - [`next_token(impl Into<String>)`](crate::operation::get_variables::builders::GetVariablesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_variables::builders::GetVariablesFluentBuilder::set_next_token):<br>required: **false**<br><p>The next page token of the get variable request.</p><br>
9 /// - [`max_results(i32)`](crate::operation::get_variables::builders::GetVariablesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_variables::builders::GetVariablesFluentBuilder::set_max_results):<br>required: **false**<br><p>The max size per page determined for the get variable request.</p><br>
10 /// - On success, responds with [`GetVariablesOutput`](crate::operation::get_variables::GetVariablesOutput) with field(s):
11 /// - [`variables(Option<Vec::<Variable>>)`](crate::operation::get_variables::GetVariablesOutput::variables): <p>The names of the variables returned.</p>
12 /// - [`next_token(Option<String>)`](crate::operation::get_variables::GetVariablesOutput::next_token): <p>The next page token to be used in subsequent requests.</p>
13 /// - On failure, responds with [`SdkError<GetVariablesError>`](crate::operation::get_variables::GetVariablesError)
14 pub fn get_variables(&self) -> crate::operation::get_variables::builders::GetVariablesFluentBuilder {
15 crate::operation::get_variables::builders::GetVariablesFluentBuilder::new(self.handle.clone())
16 }
17}