| 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.AMP.DeleteAlertManagerDefinition
Description
Deletes an alert manager definition.
Synopsis
- data DeleteAlertManagerDefinition = DeleteAlertManagerDefinition' {
- clientToken :: Maybe Text
- workspaceId :: Text
- newDeleteAlertManagerDefinition :: Text -> DeleteAlertManagerDefinition
- deleteAlertManagerDefinition_clientToken :: Lens' DeleteAlertManagerDefinition (Maybe Text)
- deleteAlertManagerDefinition_workspaceId :: Lens' DeleteAlertManagerDefinition Text
- data DeleteAlertManagerDefinitionResponse = DeleteAlertManagerDefinitionResponse' {
- newDeleteAlertManagerDefinitionResponse :: DeleteAlertManagerDefinitionResponse
Creating a Request
data DeleteAlertManagerDefinition Source #
Represents the input of a DeleteAlertManagerDefinition operation.
See: newDeleteAlertManagerDefinition smart constructor.
Constructors
| DeleteAlertManagerDefinition' | |
Fields
| |
Instances
newDeleteAlertManagerDefinition Source #
Arguments
| :: Text | |
| -> DeleteAlertManagerDefinition |
Create a value of DeleteAlertManagerDefinition 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:clientToken:DeleteAlertManagerDefinition', deleteAlertManagerDefinition_clientToken - Optional, unique, case-sensitive, user-provided identifier to ensure the
idempotency of the request.
DeleteAlertManagerDefinition, deleteAlertManagerDefinition_workspaceId - The ID of the workspace in which to delete the alert manager definition.
Request Lenses
deleteAlertManagerDefinition_clientToken :: Lens' DeleteAlertManagerDefinition (Maybe Text) Source #
Optional, unique, case-sensitive, user-provided identifier to ensure the idempotency of the request.
deleteAlertManagerDefinition_workspaceId :: Lens' DeleteAlertManagerDefinition Text Source #
The ID of the workspace in which to delete the alert manager definition.
Destructuring the Response
data DeleteAlertManagerDefinitionResponse Source #
See: newDeleteAlertManagerDefinitionResponse smart constructor.
Constructors
| DeleteAlertManagerDefinitionResponse' | |
Instances
newDeleteAlertManagerDefinitionResponse :: DeleteAlertManagerDefinitionResponse Source #
Create a value of DeleteAlertManagerDefinitionResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.