| 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.LookoutMetrics.DeleteAlert
Description
Deletes an alert.
Synopsis
Creating a Request
data DeleteAlert Source #
See: newDeleteAlert smart constructor.
Constructors
| DeleteAlert' | |
Instances
Arguments
| :: Text | |
| -> DeleteAlert |
Create a value of DeleteAlert 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:
DeleteAlert, deleteAlert_alertArn - The ARN of the alert to delete.
Request Lenses
deleteAlert_alertArn :: Lens' DeleteAlert Text Source #
The ARN of the alert to delete.
Destructuring the Response
data DeleteAlertResponse Source #
See: newDeleteAlertResponse smart constructor.
Constructors
| DeleteAlertResponse' | |
Fields
| |
Instances
newDeleteAlertResponse Source #
Arguments
| :: Int | |
| -> DeleteAlertResponse |
Create a value of DeleteAlertResponse 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:DeleteAlertResponse', deleteAlertResponse_httpStatus - The response's http status code.
Response Lenses
deleteAlertResponse_httpStatus :: Lens' DeleteAlertResponse Int Source #
The response's http status code.