| 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 |
Amazonka.CostExplorer.CreateAnomalyMonitor
Description
Creates a new cost anomaly detection monitor with the requested type and monitor specification.
Synopsis
- data CreateAnomalyMonitor = CreateAnomalyMonitor' {}
- newCreateAnomalyMonitor :: AnomalyMonitor -> CreateAnomalyMonitor
- createAnomalyMonitor_anomalyMonitor :: Lens' CreateAnomalyMonitor AnomalyMonitor
- data CreateAnomalyMonitorResponse = CreateAnomalyMonitorResponse' {
- httpStatus :: Int
- monitorArn :: Text
- newCreateAnomalyMonitorResponse :: Int -> Text -> CreateAnomalyMonitorResponse
- createAnomalyMonitorResponse_httpStatus :: Lens' CreateAnomalyMonitorResponse Int
- createAnomalyMonitorResponse_monitorArn :: Lens' CreateAnomalyMonitorResponse Text
Creating a Request
data CreateAnomalyMonitor Source #
See: newCreateAnomalyMonitor smart constructor.
Constructors
| CreateAnomalyMonitor' | |
Fields
| |
Instances
newCreateAnomalyMonitor Source #
Create a value of CreateAnomalyMonitor 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:anomalyMonitor:CreateAnomalyMonitor', createAnomalyMonitor_anomalyMonitor - The cost anomaly detection monitor object that you want to create.
Request Lenses
createAnomalyMonitor_anomalyMonitor :: Lens' CreateAnomalyMonitor AnomalyMonitor Source #
The cost anomaly detection monitor object that you want to create.
Destructuring the Response
data CreateAnomalyMonitorResponse Source #
See: newCreateAnomalyMonitorResponse smart constructor.
Constructors
| CreateAnomalyMonitorResponse' | |
Fields
| |
Instances
newCreateAnomalyMonitorResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> CreateAnomalyMonitorResponse |
Create a value of CreateAnomalyMonitorResponse 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:CreateAnomalyMonitorResponse', createAnomalyMonitorResponse_httpStatus - The response's http status code.
$sel:monitorArn:CreateAnomalyMonitorResponse', createAnomalyMonitorResponse_monitorArn - The unique identifier of your newly created cost anomaly detection
monitor.
Response Lenses
createAnomalyMonitorResponse_httpStatus :: Lens' CreateAnomalyMonitorResponse Int Source #
The response's http status code.
createAnomalyMonitorResponse_monitorArn :: Lens' CreateAnomalyMonitorResponse Text Source #
The unique identifier of your newly created cost anomaly detection monitor.