Struct aws_sdk_cloudwatch::client::fluent_builders::DeleteAnomalyDetector [−][src]
pub struct DeleteAnomalyDetector<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DeleteAnomalyDetector
.
Deletes the specified anomaly detection model from your account.
Implementations
impl<C, M, R> DeleteAnomalyDetector<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeleteAnomalyDetector<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeleteAnomalyDetectorOutput, SdkError<DeleteAnomalyDetectorError>> where
R::Policy: SmithyRetryPolicy<DeleteAnomalyDetectorInputOperationOutputAlias, DeleteAnomalyDetectorOutput, DeleteAnomalyDetectorError, DeleteAnomalyDetectorInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeleteAnomalyDetectorOutput, SdkError<DeleteAnomalyDetectorError>> where
R::Policy: SmithyRetryPolicy<DeleteAnomalyDetectorInputOperationOutputAlias, DeleteAnomalyDetectorOutput, DeleteAnomalyDetectorError, DeleteAnomalyDetectorInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The namespace associated with the anomaly detection model to delete.
The namespace associated with the anomaly detection model to delete.
The metric name associated with the anomaly detection model to delete.
The metric name associated with the anomaly detection model to delete.
Appends an item to Dimensions
.
To override the contents of this collection use set_dimensions
.
The metric dimensions associated with the anomaly detection model to delete.
The metric dimensions associated with the anomaly detection model to delete.
The statistic associated with the anomaly detection model to delete.
The statistic associated with the anomaly detection model to delete.
A single metric anomaly detector to be deleted.
When using SingleMetricAnomalyDetector
, you cannot include the following parameters in the same operation:
-
Dimensions
, -
MetricName
-
Namespace
-
Stat
-
the
MetricMathAnomalyDetector
parameters ofDeleteAnomalyDetectorInput
Instead, specify the single metric anomaly detector attributes as part of the SingleMetricAnomalyDetector
property.
pub fn set_single_metric_anomaly_detector(
self,
input: Option<SingleMetricAnomalyDetector>
) -> Self
pub fn set_single_metric_anomaly_detector(
self,
input: Option<SingleMetricAnomalyDetector>
) -> Self
A single metric anomaly detector to be deleted.
When using SingleMetricAnomalyDetector
, you cannot include the following parameters in the same operation:
-
Dimensions
, -
MetricName
-
Namespace
-
Stat
-
the
MetricMathAnomalyDetector
parameters ofDeleteAnomalyDetectorInput
Instead, specify the single metric anomaly detector attributes as part of the SingleMetricAnomalyDetector
property.
The metric math anomaly detector to be deleted.
When using MetricMathAnomalyDetector
, you cannot include following parameters in the same operation:
-
Dimensions
, -
MetricName
-
Namespace
-
Stat
-
the
SingleMetricAnomalyDetector
parameters ofDeleteAnomalyDetectorInput
Instead, specify the metric math anomaly detector attributes as part of the MetricMathAnomalyDetector
property.
pub fn set_metric_math_anomaly_detector(
self,
input: Option<MetricMathAnomalyDetector>
) -> Self
pub fn set_metric_math_anomaly_detector(
self,
input: Option<MetricMathAnomalyDetector>
) -> Self
The metric math anomaly detector to be deleted.
When using MetricMathAnomalyDetector
, you cannot include following parameters in the same operation:
-
Dimensions
, -
MetricName
-
Namespace
-
Stat
-
the
SingleMetricAnomalyDetector
parameters ofDeleteAnomalyDetectorInput
Instead, specify the metric math anomaly detector attributes as part of the MetricMathAnomalyDetector
property.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DeleteAnomalyDetector<C, M, R>
impl<C, M, R> Send for DeleteAnomalyDetector<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DeleteAnomalyDetector<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DeleteAnomalyDetector<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DeleteAnomalyDetector<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more