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