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 |
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.
DeleteAlertManagerDefinition' | |
|
Instances
newDeleteAlertManagerDefinition Source #
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.
$sel:workspaceId: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.
Instances
newDeleteAlertManagerDefinitionResponse :: DeleteAlertManagerDefinitionResponse Source #
Create a value of DeleteAlertManagerDefinitionResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.