| 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.SageMaker.UpdateMonitoringAlert
Description
Update the parameters of a model monitor alert.
Synopsis
- data UpdateMonitoringAlert = UpdateMonitoringAlert' {}
- newUpdateMonitoringAlert :: Text -> Text -> Natural -> Natural -> UpdateMonitoringAlert
- updateMonitoringAlert_monitoringScheduleName :: Lens' UpdateMonitoringAlert Text
- updateMonitoringAlert_monitoringAlertName :: Lens' UpdateMonitoringAlert Text
- updateMonitoringAlert_datapointsToAlert :: Lens' UpdateMonitoringAlert Natural
- updateMonitoringAlert_evaluationPeriod :: Lens' UpdateMonitoringAlert Natural
- data UpdateMonitoringAlertResponse = UpdateMonitoringAlertResponse' {}
- newUpdateMonitoringAlertResponse :: Int -> Text -> UpdateMonitoringAlertResponse
- updateMonitoringAlertResponse_monitoringAlertName :: Lens' UpdateMonitoringAlertResponse (Maybe Text)
- updateMonitoringAlertResponse_httpStatus :: Lens' UpdateMonitoringAlertResponse Int
- updateMonitoringAlertResponse_monitoringScheduleArn :: Lens' UpdateMonitoringAlertResponse Text
Creating a Request
data UpdateMonitoringAlert Source #
See: newUpdateMonitoringAlert smart constructor.
Constructors
| UpdateMonitoringAlert' | |
Fields
| |
Instances
newUpdateMonitoringAlert Source #
Arguments
| :: Text | |
| -> Text | |
| -> Natural | |
| -> Natural | |
| -> UpdateMonitoringAlert |
Create a value of UpdateMonitoringAlert 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:
UpdateMonitoringAlert, updateMonitoringAlert_monitoringScheduleName - The name of a monitoring schedule.
UpdateMonitoringAlert, updateMonitoringAlert_monitoringAlertName - The name of a monitoring alert.
UpdateMonitoringAlert, updateMonitoringAlert_datapointsToAlert - Within EvaluationPeriod, how many execution failures will raise an
alert.
UpdateMonitoringAlert, updateMonitoringAlert_evaluationPeriod - The number of most recent monitoring executions to consider when
evaluating alert status.
Request Lenses
updateMonitoringAlert_monitoringScheduleName :: Lens' UpdateMonitoringAlert Text Source #
The name of a monitoring schedule.
updateMonitoringAlert_monitoringAlertName :: Lens' UpdateMonitoringAlert Text Source #
The name of a monitoring alert.
updateMonitoringAlert_datapointsToAlert :: Lens' UpdateMonitoringAlert Natural Source #
Within EvaluationPeriod, how many execution failures will raise an
alert.
updateMonitoringAlert_evaluationPeriod :: Lens' UpdateMonitoringAlert Natural Source #
The number of most recent monitoring executions to consider when evaluating alert status.
Destructuring the Response
data UpdateMonitoringAlertResponse Source #
See: newUpdateMonitoringAlertResponse smart constructor.
Constructors
| UpdateMonitoringAlertResponse' | |
Fields
| |
Instances
newUpdateMonitoringAlertResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> UpdateMonitoringAlertResponse |
Create a value of UpdateMonitoringAlertResponse 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:
UpdateMonitoringAlert, updateMonitoringAlertResponse_monitoringAlertName - The name of a monitoring alert.
$sel:httpStatus:UpdateMonitoringAlertResponse', updateMonitoringAlertResponse_httpStatus - The response's http status code.
UpdateMonitoringAlertResponse, updateMonitoringAlertResponse_monitoringScheduleArn - The Amazon Resource Name (ARN) of the monitoring schedule.
Response Lenses
updateMonitoringAlertResponse_monitoringAlertName :: Lens' UpdateMonitoringAlertResponse (Maybe Text) Source #
The name of a monitoring alert.
updateMonitoringAlertResponse_httpStatus :: Lens' UpdateMonitoringAlertResponse Int Source #
The response's http status code.
updateMonitoringAlertResponse_monitoringScheduleArn :: Lens' UpdateMonitoringAlertResponse Text Source #
The Amazon Resource Name (ARN) of the monitoring schedule.