| 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.GetFeedback
Description
Get feedback for an anomaly group.
Synopsis
- data GetFeedback = GetFeedback' {}
- newGetFeedback :: Text -> AnomalyGroupTimeSeries -> GetFeedback
- getFeedback_maxResults :: Lens' GetFeedback (Maybe Natural)
- getFeedback_nextToken :: Lens' GetFeedback (Maybe Text)
- 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.
Constructors
| GetFeedback' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> AnomalyGroupTimeSeries | |
| -> GetFeedback |
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:maxResults:GetFeedback', getFeedback_maxResults - The maximum number of results to return.
GetFeedback, getFeedback_nextToken - Specify the pagination token that's returned by a previous request to
retrieve the next page of results.
GetFeedback, getFeedback_anomalyDetectorArn - The Amazon Resource Name (ARN) of the anomaly detector.
GetFeedback, getFeedback_anomalyGroupTimeSeriesFeedback - The anomalous metric and group ID.
Request Lenses
getFeedback_maxResults :: Lens' GetFeedback (Maybe Natural) Source #
The maximum number of results to return.
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_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.
Constructors
| GetFeedbackResponse' | |
Fields
| |
Instances
newGetFeedbackResponse Source #
Arguments
| :: Int | |
| -> GetFeedbackResponse |
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:
GetFeedback, getFeedbackResponse_anomalyGroupTimeSeriesFeedback - Feedback for an anomalous metric.
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.