aws_sdk_frauddetector/client/get_detectors.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 [`GetDetectors`](crate::operation::get_detectors::builders::GetDetectorsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::get_detectors::builders::GetDetectorsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`detector_id(impl Into<String>)`](crate::operation::get_detectors::builders::GetDetectorsFluentBuilder::detector_id) / [`set_detector_id(Option<String>)`](crate::operation::get_detectors::builders::GetDetectorsFluentBuilder::set_detector_id):<br>required: **false**<br><p>The detector ID.</p><br>
8 /// - [`next_token(impl Into<String>)`](crate::operation::get_detectors::builders::GetDetectorsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::get_detectors::builders::GetDetectorsFluentBuilder::set_next_token):<br>required: **false**<br><p>The next token for the subsequent request.</p><br>
9 /// - [`max_results(i32)`](crate::operation::get_detectors::builders::GetDetectorsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::get_detectors::builders::GetDetectorsFluentBuilder::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 [`GetDetectorsOutput`](crate::operation::get_detectors::GetDetectorsOutput) with field(s):
11 /// - [`detectors(Option<Vec::<Detector>>)`](crate::operation::get_detectors::GetDetectorsOutput::detectors): <p>The detectors.</p>
12 /// - [`next_token(Option<String>)`](crate::operation::get_detectors::GetDetectorsOutput::next_token): <p>The next page token.</p>
13 /// - On failure, responds with [`SdkError<GetDetectorsError>`](crate::operation::get_detectors::GetDetectorsError)
14 pub fn get_detectors(&self) -> crate::operation::get_detectors::builders::GetDetectorsFluentBuilder {
15 crate::operation::get_detectors::builders::GetDetectorsFluentBuilder::new(self.handle.clone())
16 }
17}