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 |
List of Device Defender ML Detect mitigation actions tasks.
Requires permission to access the ListDetectMitigationActionsTasks action.
This operation returns paginated results.
Synopsis
- data ListDetectMitigationActionsTasks = ListDetectMitigationActionsTasks' {}
- newListDetectMitigationActionsTasks :: UTCTime -> UTCTime -> ListDetectMitigationActionsTasks
- listDetectMitigationActionsTasks_nextToken :: Lens' ListDetectMitigationActionsTasks (Maybe Text)
- listDetectMitigationActionsTasks_maxResults :: Lens' ListDetectMitigationActionsTasks (Maybe Natural)
- listDetectMitigationActionsTasks_startTime :: Lens' ListDetectMitigationActionsTasks UTCTime
- listDetectMitigationActionsTasks_endTime :: Lens' ListDetectMitigationActionsTasks UTCTime
- data ListDetectMitigationActionsTasksResponse = ListDetectMitigationActionsTasksResponse' {}
- newListDetectMitigationActionsTasksResponse :: Int -> ListDetectMitigationActionsTasksResponse
- listDetectMitigationActionsTasksResponse_tasks :: Lens' ListDetectMitigationActionsTasksResponse (Maybe [DetectMitigationActionsTaskSummary])
- listDetectMitigationActionsTasksResponse_nextToken :: Lens' ListDetectMitigationActionsTasksResponse (Maybe Text)
- listDetectMitigationActionsTasksResponse_httpStatus :: Lens' ListDetectMitigationActionsTasksResponse Int
Creating a Request
data ListDetectMitigationActionsTasks Source #
See: newListDetectMitigationActionsTasks
smart constructor.
ListDetectMitigationActionsTasks' | |
|
Instances
newListDetectMitigationActionsTasks Source #
Create a value of ListDetectMitigationActionsTasks
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:nextToken:ListDetectMitigationActionsTasks'
, listDetectMitigationActionsTasks_nextToken
- The token for the next set of results.
$sel:maxResults:ListDetectMitigationActionsTasks'
, listDetectMitigationActionsTasks_maxResults
- The maximum number of results to return at one time. The default is 25.
$sel:startTime:ListDetectMitigationActionsTasks'
, listDetectMitigationActionsTasks_startTime
- A filter to limit results to those found after the specified time. You
must specify either the startTime and endTime or the taskId, but not
both.
$sel:endTime:ListDetectMitigationActionsTasks'
, listDetectMitigationActionsTasks_endTime
- The end of the time period for which ML Detect mitigation actions tasks
are returned.
Request Lenses
listDetectMitigationActionsTasks_nextToken :: Lens' ListDetectMitigationActionsTasks (Maybe Text) Source #
The token for the next set of results.
listDetectMitigationActionsTasks_maxResults :: Lens' ListDetectMitigationActionsTasks (Maybe Natural) Source #
The maximum number of results to return at one time. The default is 25.
listDetectMitigationActionsTasks_startTime :: Lens' ListDetectMitigationActionsTasks UTCTime Source #
A filter to limit results to those found after the specified time. You must specify either the startTime and endTime or the taskId, but not both.
listDetectMitigationActionsTasks_endTime :: Lens' ListDetectMitigationActionsTasks UTCTime Source #
The end of the time period for which ML Detect mitigation actions tasks are returned.
Destructuring the Response
data ListDetectMitigationActionsTasksResponse Source #
See: newListDetectMitigationActionsTasksResponse
smart constructor.
ListDetectMitigationActionsTasksResponse' | |
|
Instances
newListDetectMitigationActionsTasksResponse Source #
Create a value of ListDetectMitigationActionsTasksResponse
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:tasks:ListDetectMitigationActionsTasksResponse'
, listDetectMitigationActionsTasksResponse_tasks
- The collection of ML Detect mitigation tasks that matched the filter
criteria.
$sel:nextToken:ListDetectMitigationActionsTasks'
, listDetectMitigationActionsTasksResponse_nextToken
- A token that can be used to retrieve the next set of results, or null
if there are no additional results.
$sel:httpStatus:ListDetectMitigationActionsTasksResponse'
, listDetectMitigationActionsTasksResponse_httpStatus
- The response's http status code.
Response Lenses
listDetectMitigationActionsTasksResponse_tasks :: Lens' ListDetectMitigationActionsTasksResponse (Maybe [DetectMitigationActionsTaskSummary]) Source #
The collection of ML Detect mitigation tasks that matched the filter criteria.
listDetectMitigationActionsTasksResponse_nextToken :: Lens' ListDetectMitigationActionsTasksResponse (Maybe Text) Source #
A token that can be used to retrieve the next set of results, or null
if there are no additional results.
listDetectMitigationActionsTasksResponse_httpStatus :: Lens' ListDetectMitigationActionsTasksResponse Int Source #
The response's http status code.