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 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.
DeleteMitigationAction' | |
|
Instances
newDeleteMitigationAction Source #
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:
$sel:actionName: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.
DeleteMitigationActionResponse' | |
|
Instances
Eq DeleteMitigationActionResponse Source # | |
Read DeleteMitigationActionResponse Source # | |
Show DeleteMitigationActionResponse Source # | |
Defined in Amazonka.IoT.DeleteMitigationAction | |
Generic DeleteMitigationActionResponse Source # | |
NFData DeleteMitigationActionResponse Source # | |
Defined in Amazonka.IoT.DeleteMitigationAction rnf :: DeleteMitigationActionResponse -> () # | |
type Rep DeleteMitigationActionResponse Source # | |
Defined in Amazonka.IoT.DeleteMitigationAction type Rep DeleteMitigationActionResponse = D1 ('MetaData "DeleteMitigationActionResponse" "Amazonka.IoT.DeleteMitigationAction" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "DeleteMitigationActionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.