aws_sdk_frauddetector/client/describe_detector.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 [`DescribeDetector`](crate::operation::describe_detector::builders::DescribeDetectorFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`detector_id(impl Into<String>)`](crate::operation::describe_detector::builders::DescribeDetectorFluentBuilder::detector_id) / [`set_detector_id(Option<String>)`](crate::operation::describe_detector::builders::DescribeDetectorFluentBuilder::set_detector_id):<br>required: **true**<br><p>The detector ID.</p><br>
7 /// - [`next_token(impl Into<String>)`](crate::operation::describe_detector::builders::DescribeDetectorFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::describe_detector::builders::DescribeDetectorFluentBuilder::set_next_token):<br>required: **false**<br><p>The next token from the previous response.</p><br>
8 /// - [`max_results(i32)`](crate::operation::describe_detector::builders::DescribeDetectorFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::describe_detector::builders::DescribeDetectorFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return for the request.</p><br>
9 /// - On success, responds with [`DescribeDetectorOutput`](crate::operation::describe_detector::DescribeDetectorOutput) with field(s):
10 /// - [`detector_id(Option<String>)`](crate::operation::describe_detector::DescribeDetectorOutput::detector_id): <p>The detector ID.</p>
11 /// - [`detector_version_summaries(Option<Vec::<DetectorVersionSummary>>)`](crate::operation::describe_detector::DescribeDetectorOutput::detector_version_summaries): <p>The status and description for each detector version.</p>
12 /// - [`next_token(Option<String>)`](crate::operation::describe_detector::DescribeDetectorOutput::next_token): <p>The next token to be used for subsequent requests.</p>
13 /// - [`arn(Option<String>)`](crate::operation::describe_detector::DescribeDetectorOutput::arn): <p>The detector ARN.</p>
14 /// - On failure, responds with [`SdkError<DescribeDetectorError>`](crate::operation::describe_detector::DescribeDetectorError)
15 pub fn describe_detector(&self) -> crate::operation::describe_detector::builders::DescribeDetectorFluentBuilder {
16 crate::operation::describe_detector::builders::DescribeDetectorFluentBuilder::new(self.handle.clone())
17 }
18}