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 |
Cancels a Device Defender ML Detect mitigation action.
Requires permission to access the CancelDetectMitigationActionsTask action.
Synopsis
- data CancelDetectMitigationActionsTask = CancelDetectMitigationActionsTask' {}
- newCancelDetectMitigationActionsTask :: Text -> CancelDetectMitigationActionsTask
- cancelDetectMitigationActionsTask_taskId :: Lens' CancelDetectMitigationActionsTask Text
- data CancelDetectMitigationActionsTaskResponse = CancelDetectMitigationActionsTaskResponse' {
- httpStatus :: Int
- newCancelDetectMitigationActionsTaskResponse :: Int -> CancelDetectMitigationActionsTaskResponse
- cancelDetectMitigationActionsTaskResponse_httpStatus :: Lens' CancelDetectMitigationActionsTaskResponse Int
Creating a Request
data CancelDetectMitigationActionsTask Source #
See: newCancelDetectMitigationActionsTask
smart constructor.
Instances
newCancelDetectMitigationActionsTask Source #
Create a value of CancelDetectMitigationActionsTask
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:taskId:CancelDetectMitigationActionsTask'
, cancelDetectMitigationActionsTask_taskId
- The unique identifier of the task.
Request Lenses
cancelDetectMitigationActionsTask_taskId :: Lens' CancelDetectMitigationActionsTask Text Source #
The unique identifier of the task.
Destructuring the Response
data CancelDetectMitigationActionsTaskResponse Source #
See: newCancelDetectMitigationActionsTaskResponse
smart constructor.
CancelDetectMitigationActionsTaskResponse' | |
|
Instances
Eq CancelDetectMitigationActionsTaskResponse Source # | |
Read CancelDetectMitigationActionsTaskResponse Source # | |
Show CancelDetectMitigationActionsTaskResponse Source # | |
Generic CancelDetectMitigationActionsTaskResponse Source # | |
Defined in Amazonka.IoT.CancelDetectMitigationActionsTask type Rep CancelDetectMitigationActionsTaskResponse :: Type -> Type # | |
NFData CancelDetectMitigationActionsTaskResponse Source # | |
type Rep CancelDetectMitigationActionsTaskResponse Source # | |
Defined in Amazonka.IoT.CancelDetectMitigationActionsTask type Rep CancelDetectMitigationActionsTaskResponse = D1 ('MetaData "CancelDetectMitigationActionsTaskResponse" "Amazonka.IoT.CancelDetectMitigationActionsTask" "libZSservicesZSamazonka-iotZSamazonka-iot" 'False) (C1 ('MetaCons "CancelDetectMitigationActionsTaskResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCancelDetectMitigationActionsTaskResponse Source #
Create a value of CancelDetectMitigationActionsTaskResponse
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:CancelDetectMitigationActionsTaskResponse'
, cancelDetectMitigationActionsTaskResponse_httpStatus
- The response's http status code.
Response Lenses
cancelDetectMitigationActionsTaskResponse_httpStatus :: Lens' CancelDetectMitigationActionsTaskResponse Int Source #
The response's http status code.