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 |
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.
PutFeedback' | |
|
Instances
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:
$sel:anomalyDetectorArn: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.
PutFeedbackResponse' | |
|
Instances
newPutFeedbackResponse Source #
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.