Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Lists the anomaly detection models that you have created in your account. You can list all models in your account or filter the results to only the models that are related to a certain namespace, metric name, or metric dimension.
Synopsis
- data DescribeAnomalyDetectors = DescribeAnomalyDetectors' {
- metricName :: Maybe Text
- namespace :: Maybe Text
- nextToken :: Maybe Text
- dimensions :: Maybe [Dimension]
- maxResults :: Maybe Natural
- newDescribeAnomalyDetectors :: DescribeAnomalyDetectors
- describeAnomalyDetectors_metricName :: Lens' DescribeAnomalyDetectors (Maybe Text)
- describeAnomalyDetectors_namespace :: Lens' DescribeAnomalyDetectors (Maybe Text)
- describeAnomalyDetectors_nextToken :: Lens' DescribeAnomalyDetectors (Maybe Text)
- describeAnomalyDetectors_dimensions :: Lens' DescribeAnomalyDetectors (Maybe [Dimension])
- describeAnomalyDetectors_maxResults :: Lens' DescribeAnomalyDetectors (Maybe Natural)
- 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:metricName: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.
$sel:namespace:DescribeAnomalyDetectors'
, describeAnomalyDetectors_namespace
- Limits the results to only the anomaly detection models that are
associated with the specified namespace.
$sel:nextToken:DescribeAnomalyDetectors'
, describeAnomalyDetectors_nextToken
- Use the token returned by the previous operation to request the next
page of results.
$sel:dimensions: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.
Request Lenses
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.
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.
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.
$sel:nextToken: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.