| 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.PutFeedback
Description
Add feedback for an anomalous metric.
Synopsis
- data PutFeedback = PutFeedback' {}
- newPutFeedback :: Text -> AnomalyGroupTimeSeriesFeedback -> PutFeedback
- putFeedback_anomalyDetectorArn :: Lens' PutFeedback Text
- putFeedback_anomalyGroupTimeSeriesFeedback :: Lens' PutFeedback AnomalyGroupTimeSeriesFeedback
- data PutFeedbackResponse = PutFeedbackResponse' {
- httpStatus :: Int
- newPutFeedbackResponse :: Int -> PutFeedbackResponse
- putFeedbackResponse_httpStatus :: Lens' PutFeedbackResponse Int
Creating a Request
data PutFeedback Source #
See: newPutFeedback smart constructor.
Constructors
| PutFeedback' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> AnomalyGroupTimeSeriesFeedback | |
| -> PutFeedback |
Create a value of PutFeedback 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:
PutFeedback, putFeedback_anomalyDetectorArn - The Amazon Resource Name (ARN) of the anomaly detector.
$sel:anomalyGroupTimeSeriesFeedback:PutFeedback', putFeedback_anomalyGroupTimeSeriesFeedback - Feedback for an anomalous metric.
Request Lenses
putFeedback_anomalyDetectorArn :: Lens' PutFeedback Text Source #
The Amazon Resource Name (ARN) of the anomaly detector.
putFeedback_anomalyGroupTimeSeriesFeedback :: Lens' PutFeedback AnomalyGroupTimeSeriesFeedback Source #
Feedback for an anomalous metric.
Destructuring the Response
data PutFeedbackResponse Source #
See: newPutFeedbackResponse smart constructor.
Constructors
| PutFeedbackResponse' | |
Fields
| |
Instances
newPutFeedbackResponse Source #
Arguments
| :: Int | |
| -> PutFeedbackResponse |
Create a value of PutFeedbackResponse 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:httpStatus:PutFeedbackResponse', putFeedbackResponse_httpStatus - The response's http status code.
Response Lenses
putFeedbackResponse_httpStatus :: Lens' PutFeedbackResponse Int Source #
The response's http status code.