| 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 |
Amazonka.LookoutMetrics.ListAnomalyGroupTimeSeries
Description
Gets a list of anomalous metrics for a measure in an anomaly group.
Synopsis
- data ListAnomalyGroupTimeSeries = ListAnomalyGroupTimeSeries' {}
- newListAnomalyGroupTimeSeries :: Text -> Text -> Text -> ListAnomalyGroupTimeSeries
- listAnomalyGroupTimeSeries_maxResults :: Lens' ListAnomalyGroupTimeSeries (Maybe Natural)
- listAnomalyGroupTimeSeries_nextToken :: Lens' ListAnomalyGroupTimeSeries (Maybe Text)
- listAnomalyGroupTimeSeries_anomalyDetectorArn :: Lens' ListAnomalyGroupTimeSeries Text
- listAnomalyGroupTimeSeries_anomalyGroupId :: Lens' ListAnomalyGroupTimeSeries Text
- listAnomalyGroupTimeSeries_metricName :: Lens' ListAnomalyGroupTimeSeries Text
- data ListAnomalyGroupTimeSeriesResponse = ListAnomalyGroupTimeSeriesResponse' {
- anomalyGroupId :: Maybe Text
- metricName :: Maybe Text
- nextToken :: Maybe Text
- timeSeriesList :: Maybe [TimeSeries]
- timestampList :: Maybe [Text]
- httpStatus :: Int
- newListAnomalyGroupTimeSeriesResponse :: Int -> ListAnomalyGroupTimeSeriesResponse
- listAnomalyGroupTimeSeriesResponse_anomalyGroupId :: Lens' ListAnomalyGroupTimeSeriesResponse (Maybe Text)
- listAnomalyGroupTimeSeriesResponse_metricName :: Lens' ListAnomalyGroupTimeSeriesResponse (Maybe Text)
- listAnomalyGroupTimeSeriesResponse_nextToken :: Lens' ListAnomalyGroupTimeSeriesResponse (Maybe Text)
- listAnomalyGroupTimeSeriesResponse_timeSeriesList :: Lens' ListAnomalyGroupTimeSeriesResponse (Maybe [TimeSeries])
- listAnomalyGroupTimeSeriesResponse_timestampList :: Lens' ListAnomalyGroupTimeSeriesResponse (Maybe [Text])
- listAnomalyGroupTimeSeriesResponse_httpStatus :: Lens' ListAnomalyGroupTimeSeriesResponse Int
Creating a Request
data ListAnomalyGroupTimeSeries Source #
See: newListAnomalyGroupTimeSeries smart constructor.
Constructors
| ListAnomalyGroupTimeSeries' | |
Fields
| |
Instances
newListAnomalyGroupTimeSeries Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> ListAnomalyGroupTimeSeries |
Create a value of ListAnomalyGroupTimeSeries 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:maxResults:ListAnomalyGroupTimeSeries', listAnomalyGroupTimeSeries_maxResults - The maximum number of results to return.
ListAnomalyGroupTimeSeries, listAnomalyGroupTimeSeries_nextToken - Specify the pagination token that's returned by a previous request to
retrieve the next page of results.
ListAnomalyGroupTimeSeries, listAnomalyGroupTimeSeries_anomalyDetectorArn - The Amazon Resource Name (ARN) of the anomaly detector.
ListAnomalyGroupTimeSeries, listAnomalyGroupTimeSeries_anomalyGroupId - The ID of the anomaly group.
ListAnomalyGroupTimeSeries, listAnomalyGroupTimeSeries_metricName - The name of the measure field.
Request Lenses
listAnomalyGroupTimeSeries_maxResults :: Lens' ListAnomalyGroupTimeSeries (Maybe Natural) Source #
The maximum number of results to return.
listAnomalyGroupTimeSeries_nextToken :: Lens' ListAnomalyGroupTimeSeries (Maybe Text) Source #
Specify the pagination token that's returned by a previous request to retrieve the next page of results.
listAnomalyGroupTimeSeries_anomalyDetectorArn :: Lens' ListAnomalyGroupTimeSeries Text Source #
The Amazon Resource Name (ARN) of the anomaly detector.
listAnomalyGroupTimeSeries_anomalyGroupId :: Lens' ListAnomalyGroupTimeSeries Text Source #
The ID of the anomaly group.
listAnomalyGroupTimeSeries_metricName :: Lens' ListAnomalyGroupTimeSeries Text Source #
The name of the measure field.
Destructuring the Response
data ListAnomalyGroupTimeSeriesResponse Source #
See: newListAnomalyGroupTimeSeriesResponse smart constructor.
Constructors
| ListAnomalyGroupTimeSeriesResponse' | |
Fields
| |
Instances
newListAnomalyGroupTimeSeriesResponse Source #
Arguments
| :: Int | |
| -> ListAnomalyGroupTimeSeriesResponse |
Create a value of ListAnomalyGroupTimeSeriesResponse 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:
ListAnomalyGroupTimeSeries, listAnomalyGroupTimeSeriesResponse_anomalyGroupId - The ID of the anomaly group.
ListAnomalyGroupTimeSeries, listAnomalyGroupTimeSeriesResponse_metricName - The name of the measure field.
ListAnomalyGroupTimeSeries, listAnomalyGroupTimeSeriesResponse_nextToken - The pagination token that's included if more results are available.
$sel:timeSeriesList:ListAnomalyGroupTimeSeriesResponse', listAnomalyGroupTimeSeriesResponse_timeSeriesList - A list of anomalous metrics.
$sel:timestampList:ListAnomalyGroupTimeSeriesResponse', listAnomalyGroupTimeSeriesResponse_timestampList - Timestamps for the anomalous metrics.
$sel:httpStatus:ListAnomalyGroupTimeSeriesResponse', listAnomalyGroupTimeSeriesResponse_httpStatus - The response's http status code.
Response Lenses
listAnomalyGroupTimeSeriesResponse_anomalyGroupId :: Lens' ListAnomalyGroupTimeSeriesResponse (Maybe Text) Source #
The ID of the anomaly group.
listAnomalyGroupTimeSeriesResponse_metricName :: Lens' ListAnomalyGroupTimeSeriesResponse (Maybe Text) Source #
The name of the measure field.
listAnomalyGroupTimeSeriesResponse_nextToken :: Lens' ListAnomalyGroupTimeSeriesResponse (Maybe Text) Source #
The pagination token that's included if more results are available.
listAnomalyGroupTimeSeriesResponse_timeSeriesList :: Lens' ListAnomalyGroupTimeSeriesResponse (Maybe [TimeSeries]) Source #
A list of anomalous metrics.
listAnomalyGroupTimeSeriesResponse_timestampList :: Lens' ListAnomalyGroupTimeSeriesResponse (Maybe [Text]) Source #
Timestamps for the anomalous metrics.
listAnomalyGroupTimeSeriesResponse_httpStatus :: Lens' ListAnomalyGroupTimeSeriesResponse Int Source #
The response's http status code.