aws_sdk_lookoutmetrics/client/detect_metric_set_config.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 [`DetectMetricSetConfig`](crate::operation::detect_metric_set_config::builders::DetectMetricSetConfigFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`anomaly_detector_arn(impl Into<String>)`](crate::operation::detect_metric_set_config::builders::DetectMetricSetConfigFluentBuilder::anomaly_detector_arn) / [`set_anomaly_detector_arn(Option<String>)`](crate::operation::detect_metric_set_config::builders::DetectMetricSetConfigFluentBuilder::set_anomaly_detector_arn):<br>required: **true**<br><p>An anomaly detector ARN.</p><br>
7 /// - [`auto_detection_metric_source(AutoDetectionMetricSource)`](crate::operation::detect_metric_set_config::builders::DetectMetricSetConfigFluentBuilder::auto_detection_metric_source) / [`set_auto_detection_metric_source(Option<AutoDetectionMetricSource>)`](crate::operation::detect_metric_set_config::builders::DetectMetricSetConfigFluentBuilder::set_auto_detection_metric_source):<br>required: **true**<br><p>A data source.</p><br>
8 /// - On success, responds with [`DetectMetricSetConfigOutput`](crate::operation::detect_metric_set_config::DetectMetricSetConfigOutput) with field(s):
9 /// - [`detected_metric_set_config(Option<DetectedMetricSetConfig>)`](crate::operation::detect_metric_set_config::DetectMetricSetConfigOutput::detected_metric_set_config): <p>The inferred dataset configuration for the datasource.</p>
10 /// - On failure, responds with [`SdkError<DetectMetricSetConfigError>`](crate::operation::detect_metric_set_config::DetectMetricSetConfigError)
11 pub fn detect_metric_set_config(&self) -> crate::operation::detect_metric_set_config::builders::DetectMetricSetConfigFluentBuilder {
12 crate::operation::detect_metric_set_config::builders::DetectMetricSetConfigFluentBuilder::new(self.handle.clone())
13 }
14}