| 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.ListDetectMitigationActionsExecutions
Description
Lists mitigation actions executions for a Device Defender ML Detect Security Profile.
Requires permission to access the ListDetectMitigationActionsExecutions action.
This operation returns paginated results.
Synopsis
- data ListDetectMitigationActionsExecutions = ListDetectMitigationActionsExecutions' {}
- newListDetectMitigationActionsExecutions :: ListDetectMitigationActionsExecutions
- listDetectMitigationActionsExecutions_endTime :: Lens' ListDetectMitigationActionsExecutions (Maybe UTCTime)
- listDetectMitigationActionsExecutions_maxResults :: Lens' ListDetectMitigationActionsExecutions (Maybe Natural)
- listDetectMitigationActionsExecutions_nextToken :: Lens' ListDetectMitigationActionsExecutions (Maybe Text)
- listDetectMitigationActionsExecutions_startTime :: Lens' ListDetectMitigationActionsExecutions (Maybe UTCTime)
- listDetectMitigationActionsExecutions_taskId :: Lens' ListDetectMitigationActionsExecutions (Maybe Text)
- listDetectMitigationActionsExecutions_thingName :: Lens' ListDetectMitigationActionsExecutions (Maybe Text)
- listDetectMitigationActionsExecutions_violationId :: Lens' ListDetectMitigationActionsExecutions (Maybe Text)
- data ListDetectMitigationActionsExecutionsResponse = ListDetectMitigationActionsExecutionsResponse' {}
- newListDetectMitigationActionsExecutionsResponse :: Int -> ListDetectMitigationActionsExecutionsResponse
- listDetectMitigationActionsExecutionsResponse_actionsExecutions :: Lens' ListDetectMitigationActionsExecutionsResponse (Maybe [DetectMitigationActionExecution])
- listDetectMitigationActionsExecutionsResponse_nextToken :: Lens' ListDetectMitigationActionsExecutionsResponse (Maybe Text)
- listDetectMitigationActionsExecutionsResponse_httpStatus :: Lens' ListDetectMitigationActionsExecutionsResponse Int
Creating a Request
data ListDetectMitigationActionsExecutions Source #
See: newListDetectMitigationActionsExecutions smart constructor.
Constructors
| ListDetectMitigationActionsExecutions' | |
Fields
| |
Instances
newListDetectMitigationActionsExecutions :: ListDetectMitigationActionsExecutions Source #
Create a value of ListDetectMitigationActionsExecutions 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:
ListDetectMitigationActionsExecutions, listDetectMitigationActionsExecutions_endTime - The end of the time period for which ML Detect mitigation actions
executions are returned.
$sel:maxResults:ListDetectMitigationActionsExecutions', listDetectMitigationActionsExecutions_maxResults - The maximum number of results to return at one time. The default is 25.
ListDetectMitigationActionsExecutions, listDetectMitigationActionsExecutions_nextToken - The token for the next set of results.
ListDetectMitigationActionsExecutions, listDetectMitigationActionsExecutions_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.
ListDetectMitigationActionsExecutions, listDetectMitigationActionsExecutions_taskId - The unique identifier of the task.
ListDetectMitigationActionsExecutions, listDetectMitigationActionsExecutions_thingName - The name of the thing whose mitigation actions are listed.
ListDetectMitigationActionsExecutions, listDetectMitigationActionsExecutions_violationId - The unique identifier of the violation.
Request Lenses
listDetectMitigationActionsExecutions_endTime :: Lens' ListDetectMitigationActionsExecutions (Maybe UTCTime) Source #
The end of the time period for which ML Detect mitigation actions executions are returned.
listDetectMitigationActionsExecutions_maxResults :: Lens' ListDetectMitigationActionsExecutions (Maybe Natural) Source #
The maximum number of results to return at one time. The default is 25.
listDetectMitigationActionsExecutions_nextToken :: Lens' ListDetectMitigationActionsExecutions (Maybe Text) Source #
The token for the next set of results.
listDetectMitigationActionsExecutions_startTime :: Lens' ListDetectMitigationActionsExecutions (Maybe 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.
listDetectMitigationActionsExecutions_taskId :: Lens' ListDetectMitigationActionsExecutions (Maybe Text) Source #
The unique identifier of the task.
listDetectMitigationActionsExecutions_thingName :: Lens' ListDetectMitigationActionsExecutions (Maybe Text) Source #
The name of the thing whose mitigation actions are listed.
listDetectMitigationActionsExecutions_violationId :: Lens' ListDetectMitigationActionsExecutions (Maybe Text) Source #
The unique identifier of the violation.
Destructuring the Response
data ListDetectMitigationActionsExecutionsResponse Source #
See: newListDetectMitigationActionsExecutionsResponse smart constructor.
Constructors
| ListDetectMitigationActionsExecutionsResponse' | |
Fields
| |
Instances
newListDetectMitigationActionsExecutionsResponse Source #
Arguments
| :: Int |
|
| -> ListDetectMitigationActionsExecutionsResponse |
Create a value of ListDetectMitigationActionsExecutionsResponse 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:actionsExecutions:ListDetectMitigationActionsExecutionsResponse', listDetectMitigationActionsExecutionsResponse_actionsExecutions - List of actions executions.
ListDetectMitigationActionsExecutions, listDetectMitigationActionsExecutionsResponse_nextToken - A token that can be used to retrieve the next set of results, or null
if there are no additional results.
$sel:httpStatus:ListDetectMitigationActionsExecutionsResponse', listDetectMitigationActionsExecutionsResponse_httpStatus - The response's http status code.
Response Lenses
listDetectMitigationActionsExecutionsResponse_actionsExecutions :: Lens' ListDetectMitigationActionsExecutionsResponse (Maybe [DetectMitigationActionExecution]) Source #
List of actions executions.
listDetectMitigationActionsExecutionsResponse_nextToken :: Lens' ListDetectMitigationActionsExecutionsResponse (Maybe Text) Source #
A token that can be used to retrieve the next set of results, or null
if there are no additional results.
listDetectMitigationActionsExecutionsResponse_httpStatus :: Lens' ListDetectMitigationActionsExecutionsResponse Int Source #
The response's http status code.