pub struct DescribeAnomalyDetectors<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to DescribeAnomalyDetectors
.
Lists the anomaly detection models that you have created in your account. For single metric anomaly detectors, you can list all of the models in your account or filter the results to only the models that are related to a certain namespace, metric name, or metric dimension. For metric math anomaly detectors, you can list them by adding METRIC_MATH
to the AnomalyDetectorTypes
array. This will return all metric math anomaly detectors in your account.
Implementations
impl<C, M, R> DescribeAnomalyDetectors<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DescribeAnomalyDetectors<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DescribeAnomalyDetectorsOutput, SdkError<DescribeAnomalyDetectorsError>> where
R::Policy: SmithyRetryPolicy<DescribeAnomalyDetectorsInputOperationOutputAlias, DescribeAnomalyDetectorsOutput, DescribeAnomalyDetectorsError, DescribeAnomalyDetectorsInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DescribeAnomalyDetectorsOutput, SdkError<DescribeAnomalyDetectorsError>> where
R::Policy: SmithyRetryPolicy<DescribeAnomalyDetectorsInputOperationOutputAlias, DescribeAnomalyDetectorsOutput, DescribeAnomalyDetectorsError, DescribeAnomalyDetectorsInputOperationRetryAlias>,
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.
Use the token returned by the previous operation to request the next page of results.
Use the token returned by the previous operation to request the next page of results.
The maximum number of results to return in one operation. The maximum value that you can specify is 100.
To retrieve the remaining results, make another call with the returned NextToken
value.
The maximum number of results to return in one operation. The maximum value that you can specify is 100.
To retrieve the remaining results, make another call with the returned NextToken
value.
Limits the results to only the anomaly detection models that are associated with the specified namespace.
Limits the results to only the anomaly detection models that are associated with the specified namespace.
Limits the results to only the anomaly detection models that are associated with the specified metric name. If there are multiple metrics with this name in different namespaces that have anomaly detection models, they're all returned.
Limits the results to only the anomaly detection models that are associated with the specified metric name. If there are multiple metrics with this name in different namespaces that have anomaly detection models, they're all returned.
Appends an item to Dimensions
.
To override the contents of this collection use set_dimensions
.
Limits the results to only the anomaly detection models that are associated with the specified metric dimensions. If there are multiple metrics that have these dimensions and have anomaly detection models associated, they're all returned.
Limits the results to only the anomaly detection models that are associated with the specified metric dimensions. If there are multiple metrics that have these dimensions and have anomaly detection models associated, they're all returned.
Appends an item to AnomalyDetectorTypes
.
To override the contents of this collection use set_anomaly_detector_types
.
The anomaly detector types to request when using DescribeAnomalyDetectorsInput
. If empty, defaults to SINGLE_METRIC
.
The anomaly detector types to request when using DescribeAnomalyDetectorsInput
. If empty, defaults to SINGLE_METRIC
.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for DescribeAnomalyDetectors<C, M, R>
impl<C, M, R> Send for DescribeAnomalyDetectors<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DescribeAnomalyDetectors<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DescribeAnomalyDetectors<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for DescribeAnomalyDetectors<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