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 |
Get feedback for an anomaly group.
Synopsis
- data GetFeedback = GetFeedback' {}
- newGetFeedback :: Text -> AnomalyGroupTimeSeries -> GetFeedback
- getFeedback_nextToken :: Lens' GetFeedback (Maybe Text)
- getFeedback_maxResults :: Lens' GetFeedback (Maybe Natural)
- getFeedback_anomalyDetectorArn :: Lens' GetFeedback Text
- getFeedback_anomalyGroupTimeSeriesFeedback :: Lens' GetFeedback AnomalyGroupTimeSeries
- data GetFeedbackResponse = GetFeedbackResponse' {}
- newGetFeedbackResponse :: Int -> GetFeedbackResponse
- getFeedbackResponse_anomalyGroupTimeSeriesFeedback :: Lens' GetFeedbackResponse (Maybe [TimeSeriesFeedback])
- getFeedbackResponse_nextToken :: Lens' GetFeedbackResponse (Maybe Text)
- getFeedbackResponse_httpStatus :: Lens' GetFeedbackResponse Int
Creating a Request
data GetFeedback Source #
See: newGetFeedback
smart constructor.
GetFeedback' | |
|
Instances
Create a value of GetFeedback
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:GetFeedback'
, getFeedback_nextToken
- Specify the pagination token that's returned by a previous request to
retrieve the next page of results.
$sel:maxResults:GetFeedback'
, getFeedback_maxResults
- The maximum number of results to return.
$sel:anomalyDetectorArn:GetFeedback'
, getFeedback_anomalyDetectorArn
- The Amazon Resource Name (ARN) of the anomaly detector.
$sel:anomalyGroupTimeSeriesFeedback:GetFeedback'
, getFeedback_anomalyGroupTimeSeriesFeedback
- The anomalous metric and group ID.
Request Lenses
getFeedback_nextToken :: Lens' GetFeedback (Maybe Text) Source #
Specify the pagination token that's returned by a previous request to retrieve the next page of results.
getFeedback_maxResults :: Lens' GetFeedback (Maybe Natural) Source #
The maximum number of results to return.
getFeedback_anomalyDetectorArn :: Lens' GetFeedback Text Source #
The Amazon Resource Name (ARN) of the anomaly detector.
getFeedback_anomalyGroupTimeSeriesFeedback :: Lens' GetFeedback AnomalyGroupTimeSeries Source #
The anomalous metric and group ID.
Destructuring the Response
data GetFeedbackResponse Source #
See: newGetFeedbackResponse
smart constructor.
GetFeedbackResponse' | |
|
Instances
newGetFeedbackResponse Source #
Create a value of GetFeedbackResponse
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:anomalyGroupTimeSeriesFeedback:GetFeedback'
, getFeedbackResponse_anomalyGroupTimeSeriesFeedback
- Feedback for an anomalous metric.
$sel:nextToken:GetFeedback'
, getFeedbackResponse_nextToken
- The pagination token that's included if more results are available.
$sel:httpStatus:GetFeedbackResponse'
, getFeedbackResponse_httpStatus
- The response's http status code.
Response Lenses
getFeedbackResponse_anomalyGroupTimeSeriesFeedback :: Lens' GetFeedbackResponse (Maybe [TimeSeriesFeedback]) Source #
Feedback for an anomalous metric.
getFeedbackResponse_nextToken :: Lens' GetFeedbackResponse (Maybe Text) Source #
The pagination token that's included if more results are available.
getFeedbackResponse_httpStatus :: Lens' GetFeedbackResponse Int Source #
The response's http status code.