aws_sdk_cloudwatchlogs/client/list_log_anomaly_detectors.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`ListLogAnomalyDetectors`](crate::operation::list_log_anomaly_detectors::builders::ListLogAnomalyDetectorsFluentBuilder) operation.
/// This operation supports pagination; See [`into_paginator()`](crate::operation::list_log_anomaly_detectors::builders::ListLogAnomalyDetectorsFluentBuilder::into_paginator).
///
/// - The fluent builder is configurable:
/// - [`filter_log_group_arn(impl Into<String>)`](crate::operation::list_log_anomaly_detectors::builders::ListLogAnomalyDetectorsFluentBuilder::filter_log_group_arn) / [`set_filter_log_group_arn(Option<String>)`](crate::operation::list_log_anomaly_detectors::builders::ListLogAnomalyDetectorsFluentBuilder::set_filter_log_group_arn):<br>required: **false**<br><p>Use this to optionally filter the results to only include anomaly detectors that are associated with the specified log group.</p><br>
/// - [`limit(i32)`](crate::operation::list_log_anomaly_detectors::builders::ListLogAnomalyDetectorsFluentBuilder::limit) / [`set_limit(Option<i32>)`](crate::operation::list_log_anomaly_detectors::builders::ListLogAnomalyDetectorsFluentBuilder::set_limit):<br>required: **false**<br><p>The maximum number of items to return. If you don't specify a value, the default maximum value of 50 items is used.</p><br>
/// - [`next_token(impl Into<String>)`](crate::operation::list_log_anomaly_detectors::builders::ListLogAnomalyDetectorsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_log_anomaly_detectors::builders::ListLogAnomalyDetectorsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of items to return. The token expires after 24 hours.</p><br>
/// - On success, responds with [`ListLogAnomalyDetectorsOutput`](crate::operation::list_log_anomaly_detectors::ListLogAnomalyDetectorsOutput) with field(s):
/// - [`anomaly_detectors(Option<Vec::<AnomalyDetector>>)`](crate::operation::list_log_anomaly_detectors::ListLogAnomalyDetectorsOutput::anomaly_detectors): <p>An array of structures, where each structure in the array contains information about one anomaly detector.</p>
/// - [`next_token(Option<String>)`](crate::operation::list_log_anomaly_detectors::ListLogAnomalyDetectorsOutput::next_token): <p>The token for the next set of items to return. The token expires after 24 hours.</p>
/// - On failure, responds with [`SdkError<ListLogAnomalyDetectorsError>`](crate::operation::list_log_anomaly_detectors::ListLogAnomalyDetectorsError)
pub fn list_log_anomaly_detectors(&self) -> crate::operation::list_log_anomaly_detectors::builders::ListLogAnomalyDetectorsFluentBuilder {
crate::operation::list_log_anomaly_detectors::builders::ListLogAnomalyDetectorsFluentBuilder::new(self.handle.clone())
}
}