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 |
Gets information about a Device Defender ML Detect mitigation action.
Requires permission to access the DescribeDetectMitigationActionsTask action.
Synopsis
- data DescribeDetectMitigationActionsTask = DescribeDetectMitigationActionsTask' {}
- newDescribeDetectMitigationActionsTask :: Text -> DescribeDetectMitigationActionsTask
- describeDetectMitigationActionsTask_taskId :: Lens' DescribeDetectMitigationActionsTask Text
- data DescribeDetectMitigationActionsTaskResponse = DescribeDetectMitigationActionsTaskResponse' {}
- newDescribeDetectMitigationActionsTaskResponse :: Int -> DescribeDetectMitigationActionsTaskResponse
- describeDetectMitigationActionsTaskResponse_taskSummary :: Lens' DescribeDetectMitigationActionsTaskResponse (Maybe DetectMitigationActionsTaskSummary)
- describeDetectMitigationActionsTaskResponse_httpStatus :: Lens' DescribeDetectMitigationActionsTaskResponse Int
Creating a Request
data DescribeDetectMitigationActionsTask Source #
See: newDescribeDetectMitigationActionsTask
smart constructor.
Instances
newDescribeDetectMitigationActionsTask Source #
Create a value of DescribeDetectMitigationActionsTask
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:
DescribeDetectMitigationActionsTask
, describeDetectMitigationActionsTask_taskId
- The unique identifier of the task.
Request Lenses
describeDetectMitigationActionsTask_taskId :: Lens' DescribeDetectMitigationActionsTask Text Source #
The unique identifier of the task.
Destructuring the Response
data DescribeDetectMitigationActionsTaskResponse Source #
See: newDescribeDetectMitigationActionsTaskResponse
smart constructor.
DescribeDetectMitigationActionsTaskResponse' | |
|
Instances
newDescribeDetectMitigationActionsTaskResponse Source #
:: Int |
|
-> DescribeDetectMitigationActionsTaskResponse |
Create a value of DescribeDetectMitigationActionsTaskResponse
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:taskSummary:DescribeDetectMitigationActionsTaskResponse'
, describeDetectMitigationActionsTaskResponse_taskSummary
- The description of a task.
$sel:httpStatus:DescribeDetectMitigationActionsTaskResponse'
, describeDetectMitigationActionsTaskResponse_httpStatus
- The response's http status code.
Response Lenses
describeDetectMitigationActionsTaskResponse_taskSummary :: Lens' DescribeDetectMitigationActionsTaskResponse (Maybe DetectMitigationActionsTaskSummary) Source #
The description of a task.
describeDetectMitigationActionsTaskResponse_httpStatus :: Lens' DescribeDetectMitigationActionsTaskResponse Int Source #
The response's http status code.