Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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.
This operation returns paginated results.
Synopsis
- data DescribeAnomalyDetectors = DescribeAnomalyDetectors' {}
- newDescribeAnomalyDetectors :: DescribeAnomalyDetectors
- describeAnomalyDetectors_anomalyDetectorTypes :: Lens' DescribeAnomalyDetectors (Maybe [AnomalyDetectorType])
- describeAnomalyDetectors_dimensions :: Lens' DescribeAnomalyDetectors (Maybe [Dimension])
- describeAnomalyDetectors_maxResults :: Lens' DescribeAnomalyDetectors (Maybe Natural)
- describeAnomalyDetectors_metricName :: Lens' DescribeAnomalyDetectors (Maybe Text)
- describeAnomalyDetectors_namespace :: Lens' DescribeAnomalyDetectors (Maybe Text)
- describeAnomalyDetectors_nextToken :: Lens' DescribeAnomalyDetectors (Maybe Text)
- data DescribeAnomalyDetectorsResponse = DescribeAnomalyDetectorsResponse' {}
- newDescribeAnomalyDetectorsResponse :: Int -> DescribeAnomalyDetectorsResponse
- describeAnomalyDetectorsResponse_anomalyDetectors :: Lens' DescribeAnomalyDetectorsResponse (Maybe [AnomalyDetector])
- describeAnomalyDetectorsResponse_nextToken :: Lens' DescribeAnomalyDetectorsResponse (Maybe Text)
- describeAnomalyDetectorsResponse_httpStatus :: Lens' DescribeAnomalyDetectorsResponse Int
Creating a Request
data DescribeAnomalyDetectors Source #
See: newDescribeAnomalyDetectors
smart constructor.
DescribeAnomalyDetectors' | |
|
Instances
newDescribeAnomalyDetectors :: DescribeAnomalyDetectors Source #
Create a value of DescribeAnomalyDetectors
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:anomalyDetectorTypes:DescribeAnomalyDetectors'
, describeAnomalyDetectors_anomalyDetectorTypes
- The anomaly detector types to request when using
DescribeAnomalyDetectorsInput
. If empty, defaults to SINGLE_METRIC
.
DescribeAnomalyDetectors
, describeAnomalyDetectors_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.
$sel:maxResults:DescribeAnomalyDetectors'
, describeAnomalyDetectors_maxResults
- 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.
DescribeAnomalyDetectors
, describeAnomalyDetectors_metricName
- 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.
DescribeAnomalyDetectors
, describeAnomalyDetectors_namespace
- Limits the results to only the anomaly detection models that are
associated with the specified namespace.
DescribeAnomalyDetectors
, describeAnomalyDetectors_nextToken
- Use the token returned by the previous operation to request the next
page of results.
Request Lenses
describeAnomalyDetectors_anomalyDetectorTypes :: Lens' DescribeAnomalyDetectors (Maybe [AnomalyDetectorType]) Source #
The anomaly detector types to request when using
DescribeAnomalyDetectorsInput
. If empty, defaults to SINGLE_METRIC
.
describeAnomalyDetectors_dimensions :: Lens' DescribeAnomalyDetectors (Maybe [Dimension]) Source #
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.
describeAnomalyDetectors_maxResults :: Lens' DescribeAnomalyDetectors (Maybe Natural) Source #
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.
describeAnomalyDetectors_metricName :: Lens' DescribeAnomalyDetectors (Maybe Text) Source #
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.
describeAnomalyDetectors_namespace :: Lens' DescribeAnomalyDetectors (Maybe Text) Source #
Limits the results to only the anomaly detection models that are associated with the specified namespace.
describeAnomalyDetectors_nextToken :: Lens' DescribeAnomalyDetectors (Maybe Text) Source #
Use the token returned by the previous operation to request the next page of results.
Destructuring the Response
data DescribeAnomalyDetectorsResponse Source #
See: newDescribeAnomalyDetectorsResponse
smart constructor.
DescribeAnomalyDetectorsResponse' | |
|
Instances
newDescribeAnomalyDetectorsResponse Source #
Create a value of DescribeAnomalyDetectorsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:anomalyDetectors:DescribeAnomalyDetectorsResponse'
, describeAnomalyDetectorsResponse_anomalyDetectors
- The list of anomaly detection models returned by the operation.
DescribeAnomalyDetectors
, describeAnomalyDetectorsResponse_nextToken
- A token that you can use in a subsequent operation to retrieve the next
set of results.
$sel:httpStatus:DescribeAnomalyDetectorsResponse'
, describeAnomalyDetectorsResponse_httpStatus
- The response's http status code.
Response Lenses
describeAnomalyDetectorsResponse_anomalyDetectors :: Lens' DescribeAnomalyDetectorsResponse (Maybe [AnomalyDetector]) Source #
The list of anomaly detection models returned by the operation.
describeAnomalyDetectorsResponse_nextToken :: Lens' DescribeAnomalyDetectorsResponse (Maybe Text) Source #
A token that you can use in a subsequent operation to retrieve the next set of results.
describeAnomalyDetectorsResponse_httpStatus :: Lens' DescribeAnomalyDetectorsResponse Int Source #
The response's http status code.