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 |
Updates an existing cost anomaly monitor. The changes made are applied going forward, and doesn'tt 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:
$sel:monitorName:UpdateAnomalyMonitor'
, updateAnomalyMonitor_monitorName
- The new name for the cost anomaly monitor.
$sel:monitorArn: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.
$sel:monitorArn: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.