| 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.ListDetectMitigationActionsTasks
Description
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_maxResults :: Lens' ListDetectMitigationActionsTasks (Maybe Natural)
- listDetectMitigationActionsTasks_nextToken :: Lens' ListDetectMitigationActionsTasks (Maybe Text)
- listDetectMitigationActionsTasks_startTime :: Lens' ListDetectMitigationActionsTasks UTCTime
- listDetectMitigationActionsTasks_endTime :: Lens' ListDetectMitigationActionsTasks UTCTime
- data ListDetectMitigationActionsTasksResponse = ListDetectMitigationActionsTasksResponse' {}
- newListDetectMitigationActionsTasksResponse :: Int -> ListDetectMitigationActionsTasksResponse
- listDetectMitigationActionsTasksResponse_nextToken :: Lens' ListDetectMitigationActionsTasksResponse (Maybe Text)
- listDetectMitigationActionsTasksResponse_tasks :: Lens' ListDetectMitigationActionsTasksResponse (Maybe [DetectMitigationActionsTaskSummary])
- listDetectMitigationActionsTasksResponse_httpStatus :: Lens' ListDetectMitigationActionsTasksResponse Int
Creating a Request
data ListDetectMitigationActionsTasks Source #
See: newListDetectMitigationActionsTasks smart constructor.
Constructors
| ListDetectMitigationActionsTasks' | |
Fields
| |
Instances
newListDetectMitigationActionsTasks Source #
Arguments
| :: UTCTime | |
| -> UTCTime | |
| -> ListDetectMitigationActionsTasks |
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:maxResults:ListDetectMitigationActionsTasks', listDetectMitigationActionsTasks_maxResults - The maximum number of results to return at one time. The default is 25.
ListDetectMitigationActionsTasks, listDetectMitigationActionsTasks_nextToken - The token for the next set of results.
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.
ListDetectMitigationActionsTasks, listDetectMitigationActionsTasks_endTime - The end of the time period for which ML Detect mitigation actions tasks
are returned.
Request Lenses
listDetectMitigationActionsTasks_maxResults :: Lens' ListDetectMitigationActionsTasks (Maybe Natural) Source #
The maximum number of results to return at one time. The default is 25.
listDetectMitigationActionsTasks_nextToken :: Lens' ListDetectMitigationActionsTasks (Maybe Text) Source #
The token for the next set of results.
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.
Constructors
| ListDetectMitigationActionsTasksResponse' | |
Fields
| |
Instances
newListDetectMitigationActionsTasksResponse Source #
Arguments
| :: Int | |
| -> ListDetectMitigationActionsTasksResponse |
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:
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:tasks:ListDetectMitigationActionsTasksResponse', listDetectMitigationActionsTasksResponse_tasks - The collection of ML Detect mitigation tasks that matched the filter
criteria.
$sel:httpStatus:ListDetectMitigationActionsTasksResponse', listDetectMitigationActionsTasksResponse_httpStatus - The response's http status code.
Response Lenses
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_tasks :: Lens' ListDetectMitigationActionsTasksResponse (Maybe [DetectMitigationActionsTaskSummary]) Source #
The collection of ML Detect mitigation tasks that matched the filter criteria.
listDetectMitigationActionsTasksResponse_httpStatus :: Lens' ListDetectMitigationActionsTasksResponse Int Source #
The response's http status code.