| 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.IoT.DeleteMitigationAction
Description
Deletes a defined mitigation action from your Amazon Web Services accounts.
Requires permission to access the DeleteMitigationAction action.
Synopsis
- data DeleteMitigationAction = DeleteMitigationAction' {
- actionName :: Text
- newDeleteMitigationAction :: Text -> DeleteMitigationAction
- deleteMitigationAction_actionName :: Lens' DeleteMitigationAction Text
- data DeleteMitigationActionResponse = DeleteMitigationActionResponse' {
- httpStatus :: Int
- newDeleteMitigationActionResponse :: Int -> DeleteMitigationActionResponse
- deleteMitigationActionResponse_httpStatus :: Lens' DeleteMitigationActionResponse Int
Creating a Request
data DeleteMitigationAction Source #
See: newDeleteMitigationAction smart constructor.
Constructors
| DeleteMitigationAction' | |
Fields
| |
Instances
newDeleteMitigationAction Source #
Arguments
| :: Text | |
| -> DeleteMitigationAction |
Create a value of DeleteMitigationAction 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:
DeleteMitigationAction, deleteMitigationAction_actionName - The name of the mitigation action that you want to delete.
Request Lenses
deleteMitigationAction_actionName :: Lens' DeleteMitigationAction Text Source #
The name of the mitigation action that you want to delete.
Destructuring the Response
data DeleteMitigationActionResponse Source #
See: newDeleteMitigationActionResponse smart constructor.
Constructors
| DeleteMitigationActionResponse' | |
Fields
| |
Instances
newDeleteMitigationActionResponse Source #
Create a value of DeleteMitigationActionResponse 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:DeleteMitigationActionResponse', deleteMitigationActionResponse_httpStatus - The response's http status code.
Response Lenses
deleteMitigationActionResponse_httpStatus :: Lens' DeleteMitigationActionResponse Int Source #
The response's http status code.