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 |
Gets a list of audit mitigation action tasks that match the specified filters.
Requires permission to access the ListAuditMitigationActionsTasks action.
This operation returns paginated results.
Synopsis
- data ListAuditMitigationActionsTasks = ListAuditMitigationActionsTasks' {}
- newListAuditMitigationActionsTasks :: UTCTime -> UTCTime -> ListAuditMitigationActionsTasks
- listAuditMitigationActionsTasks_auditTaskId :: Lens' ListAuditMitigationActionsTasks (Maybe Text)
- listAuditMitigationActionsTasks_nextToken :: Lens' ListAuditMitigationActionsTasks (Maybe Text)
- listAuditMitigationActionsTasks_findingId :: Lens' ListAuditMitigationActionsTasks (Maybe Text)
- listAuditMitigationActionsTasks_maxResults :: Lens' ListAuditMitigationActionsTasks (Maybe Natural)
- listAuditMitigationActionsTasks_taskStatus :: Lens' ListAuditMitigationActionsTasks (Maybe AuditMitigationActionsTaskStatus)
- listAuditMitigationActionsTasks_startTime :: Lens' ListAuditMitigationActionsTasks UTCTime
- listAuditMitigationActionsTasks_endTime :: Lens' ListAuditMitigationActionsTasks UTCTime
- data ListAuditMitigationActionsTasksResponse = ListAuditMitigationActionsTasksResponse' {}
- newListAuditMitigationActionsTasksResponse :: Int -> ListAuditMitigationActionsTasksResponse
- listAuditMitigationActionsTasksResponse_tasks :: Lens' ListAuditMitigationActionsTasksResponse (Maybe [AuditMitigationActionsTaskMetadata])
- listAuditMitigationActionsTasksResponse_nextToken :: Lens' ListAuditMitigationActionsTasksResponse (Maybe Text)
- listAuditMitigationActionsTasksResponse_httpStatus :: Lens' ListAuditMitigationActionsTasksResponse Int
Creating a Request
data ListAuditMitigationActionsTasks Source #
See: newListAuditMitigationActionsTasks
smart constructor.
ListAuditMitigationActionsTasks' | |
|
Instances
newListAuditMitigationActionsTasks Source #
Create a value of ListAuditMitigationActionsTasks
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:auditTaskId:ListAuditMitigationActionsTasks'
, listAuditMitigationActionsTasks_auditTaskId
- Specify this filter to limit results to tasks that were applied to
results for a specific audit.
$sel:nextToken:ListAuditMitigationActionsTasks'
, listAuditMitigationActionsTasks_nextToken
- The token for the next set of results.
$sel:findingId:ListAuditMitigationActionsTasks'
, listAuditMitigationActionsTasks_findingId
- Specify this filter to limit results to tasks that were applied to a
specific audit finding.
$sel:maxResults:ListAuditMitigationActionsTasks'
, listAuditMitigationActionsTasks_maxResults
- The maximum number of results to return at one time. The default is 25.
$sel:taskStatus:ListAuditMitigationActionsTasks'
, listAuditMitigationActionsTasks_taskStatus
- Specify this filter to limit results to tasks that are in a specific
state.
$sel:startTime:ListAuditMitigationActionsTasks'
, listAuditMitigationActionsTasks_startTime
- Specify this filter to limit results to tasks that began on or after a
specific date and time.
$sel:endTime:ListAuditMitigationActionsTasks'
, listAuditMitigationActionsTasks_endTime
- Specify this filter to limit results to tasks that were completed or
canceled on or before a specific date and time.
Request Lenses
listAuditMitigationActionsTasks_auditTaskId :: Lens' ListAuditMitigationActionsTasks (Maybe Text) Source #
Specify this filter to limit results to tasks that were applied to results for a specific audit.
listAuditMitigationActionsTasks_nextToken :: Lens' ListAuditMitigationActionsTasks (Maybe Text) Source #
The token for the next set of results.
listAuditMitigationActionsTasks_findingId :: Lens' ListAuditMitigationActionsTasks (Maybe Text) Source #
Specify this filter to limit results to tasks that were applied to a specific audit finding.
listAuditMitigationActionsTasks_maxResults :: Lens' ListAuditMitigationActionsTasks (Maybe Natural) Source #
The maximum number of results to return at one time. The default is 25.
listAuditMitigationActionsTasks_taskStatus :: Lens' ListAuditMitigationActionsTasks (Maybe AuditMitigationActionsTaskStatus) Source #
Specify this filter to limit results to tasks that are in a specific state.
listAuditMitigationActionsTasks_startTime :: Lens' ListAuditMitigationActionsTasks UTCTime Source #
Specify this filter to limit results to tasks that began on or after a specific date and time.
listAuditMitigationActionsTasks_endTime :: Lens' ListAuditMitigationActionsTasks UTCTime Source #
Specify this filter to limit results to tasks that were completed or canceled on or before a specific date and time.
Destructuring the Response
data ListAuditMitigationActionsTasksResponse Source #
See: newListAuditMitigationActionsTasksResponse
smart constructor.
ListAuditMitigationActionsTasksResponse' | |
|
Instances
newListAuditMitigationActionsTasksResponse Source #
Create a value of ListAuditMitigationActionsTasksResponse
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:ListAuditMitigationActionsTasksResponse'
, listAuditMitigationActionsTasksResponse_tasks
- The collection of audit mitigation tasks that matched the filter
criteria.
$sel:nextToken:ListAuditMitigationActionsTasks'
, listAuditMitigationActionsTasksResponse_nextToken
- The token for the next set of results.
$sel:httpStatus:ListAuditMitigationActionsTasksResponse'
, listAuditMitigationActionsTasksResponse_httpStatus
- The response's http status code.
Response Lenses
listAuditMitigationActionsTasksResponse_tasks :: Lens' ListAuditMitigationActionsTasksResponse (Maybe [AuditMitigationActionsTaskMetadata]) Source #
The collection of audit mitigation tasks that matched the filter criteria.
listAuditMitigationActionsTasksResponse_nextToken :: Lens' ListAuditMitigationActionsTasksResponse (Maybe Text) Source #
The token for the next set of results.
listAuditMitigationActionsTasksResponse_httpStatus :: Lens' ListAuditMitigationActionsTasksResponse Int Source #
The response's http status code.