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 |
Updates an existing cost anomaly monitor. The changes made are applied going forward, and doesn't change anomalies detected in the past.
Synopsis
- data UpdateAnomalyMonitor = UpdateAnomalyMonitor' {
- monitorName :: Maybe Text
- monitorArn :: Text
- newUpdateAnomalyMonitor :: Text -> UpdateAnomalyMonitor
- updateAnomalyMonitor_monitorName :: Lens' UpdateAnomalyMonitor (Maybe Text)
- updateAnomalyMonitor_monitorArn :: Lens' UpdateAnomalyMonitor Text
- data UpdateAnomalyMonitorResponse = UpdateAnomalyMonitorResponse' {
- httpStatus :: Int
- monitorArn :: Text
- newUpdateAnomalyMonitorResponse :: Int -> Text -> UpdateAnomalyMonitorResponse
- updateAnomalyMonitorResponse_httpStatus :: Lens' UpdateAnomalyMonitorResponse Int
- updateAnomalyMonitorResponse_monitorArn :: Lens' UpdateAnomalyMonitorResponse Text
Creating a Request
data UpdateAnomalyMonitor Source #
See: newUpdateAnomalyMonitor
smart constructor.
UpdateAnomalyMonitor' | |
|
Instances
newUpdateAnomalyMonitor Source #
Create a value of UpdateAnomalyMonitor
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:
UpdateAnomalyMonitor
, updateAnomalyMonitor_monitorName
- The new name for the cost anomaly monitor.
UpdateAnomalyMonitor
, updateAnomalyMonitor_monitorArn
- Cost anomaly monitor Amazon Resource Names (ARNs).
Request Lenses
updateAnomalyMonitor_monitorName :: Lens' UpdateAnomalyMonitor (Maybe Text) Source #
The new name for the cost anomaly monitor.
updateAnomalyMonitor_monitorArn :: Lens' UpdateAnomalyMonitor Text Source #
Cost anomaly monitor Amazon Resource Names (ARNs).
Destructuring the Response
data UpdateAnomalyMonitorResponse Source #
See: newUpdateAnomalyMonitorResponse
smart constructor.
UpdateAnomalyMonitorResponse' | |
|
Instances
newUpdateAnomalyMonitorResponse Source #
:: Int | |
-> Text | |
-> UpdateAnomalyMonitorResponse |
Create a value of UpdateAnomalyMonitorResponse
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:UpdateAnomalyMonitorResponse'
, updateAnomalyMonitorResponse_httpStatus
- The response's http status code.
UpdateAnomalyMonitor
, updateAnomalyMonitorResponse_monitorArn
- A cost anomaly monitor ARN.
Response Lenses
updateAnomalyMonitorResponse_httpStatus :: Lens' UpdateAnomalyMonitorResponse Int Source #
The response's http status code.
updateAnomalyMonitorResponse_monitorArn :: Lens' UpdateAnomalyMonitorResponse Text Source #
A cost anomaly monitor ARN.