aws_sdk_frauddetector/client/get_outcomes.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 [`GetOutcomes`](crate::operation::get_outcomes::builders::GetOutcomesFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_outcomes::builders::GetOutcomesFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`name(impl Into<String>)`](crate::operation::get_outcomes::builders::GetOutcomesFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_outcomes::builders::GetOutcomesFluentBuilder::set_name):<br>required: **false**<br><p>The name of the outcome or outcomes to get.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::get_outcomes::builders::GetOutcomesFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_outcomes::builders::GetOutcomesFluentBuilder::set_next_token):<br>required: **false**<br><p>The next page token for the request.</p><br>
9    ///   - [`max_results(i32)`](crate::operation::get_outcomes::builders::GetOutcomesFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_outcomes::builders::GetOutcomesFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of objects to return for the request.</p><br>
10    /// - On success, responds with [`GetOutcomesOutput`](crate::operation::get_outcomes::GetOutcomesOutput) with field(s):
11    ///   - [`outcomes(Option<Vec::<Outcome>>)`](crate::operation::get_outcomes::GetOutcomesOutput::outcomes): <p>The outcomes.</p>
12    ///   - [`next_token(Option<String>)`](crate::operation::get_outcomes::GetOutcomesOutput::next_token): <p>The next page token for subsequent requests.</p>
13    /// - On failure, responds with [`SdkError<GetOutcomesError>`](crate::operation::get_outcomes::GetOutcomesError)
14    pub fn get_outcomes(&self) -> crate::operation::get_outcomes::builders::GetOutcomesFluentBuilder {
15        crate::operation::get_outcomes::builders::GetOutcomesFluentBuilder::new(self.handle.clone())
16    }
17}