aws_sdk_amp/client/list_anomaly_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 [`ListAnomalyDetectors`](crate::operation::list_anomaly_detectors::builders::ListAnomalyDetectorsFluentBuilder) operation.
4 /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_anomaly_detectors::builders::ListAnomalyDetectorsFluentBuilder::into_paginator).
5 ///
6 /// - The fluent builder is configurable:
7 /// - [`workspace_id(impl Into<String>)`](crate::operation::list_anomaly_detectors::builders::ListAnomalyDetectorsFluentBuilder::workspace_id) / [`set_workspace_id(Option<String>)`](crate::operation::list_anomaly_detectors::builders::ListAnomalyDetectorsFluentBuilder::set_workspace_id):<br>required: **true**<br><p>The identifier of the workspace containing the anomaly detectors to list.</p><br>
8 /// - [`alias(impl Into<String>)`](crate::operation::list_anomaly_detectors::builders::ListAnomalyDetectorsFluentBuilder::alias) / [`set_alias(Option<String>)`](crate::operation::list_anomaly_detectors::builders::ListAnomalyDetectorsFluentBuilder::set_alias):<br>required: **false**<br><p>Filters the results to anomaly detectors with the specified alias.</p><br>
9 /// - [`max_results(i32)`](crate::operation::list_anomaly_detectors::builders::ListAnomalyDetectorsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_anomaly_detectors::builders::ListAnomalyDetectorsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to return in a single call. Valid range is 1 to 1000.</p><br>
10 /// - [`next_token(impl Into<String>)`](crate::operation::list_anomaly_detectors::builders::ListAnomalyDetectorsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_anomaly_detectors::builders::ListAnomalyDetectorsFluentBuilder::set_next_token):<br>required: **false**<br><p>The pagination token to continue retrieving results.</p><br>
11 /// - On success, responds with [`ListAnomalyDetectorsOutput`](crate::operation::list_anomaly_detectors::ListAnomalyDetectorsOutput) with field(s):
12 /// - [`anomaly_detectors(Vec::<AnomalyDetectorSummary>)`](crate::operation::list_anomaly_detectors::ListAnomalyDetectorsOutput::anomaly_detectors): <p>The list of anomaly detectors in the workspace.</p>
13 /// - [`next_token(Option<String>)`](crate::operation::list_anomaly_detectors::ListAnomalyDetectorsOutput::next_token): <p>The pagination token to retrieve the next set of results.</p>
14 /// - On failure, responds with [`SdkError<ListAnomalyDetectorsError>`](crate::operation::list_anomaly_detectors::ListAnomalyDetectorsError)
15 pub fn list_anomaly_detectors(&self) -> crate::operation::list_anomaly_detectors::builders::ListAnomalyDetectorsFluentBuilder {
16 crate::operation::list_anomaly_detectors::builders::ListAnomalyDetectorsFluentBuilder::new(self.handle.clone())
17 }
18}