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 the status of audit mitigation action tasks that were executed.
Requires permission to access the ListAuditMitigationActionsExecutions action.
This operation returns paginated results.
Synopsis
- data ListAuditMitigationActionsExecutions = ListAuditMitigationActionsExecutions' {}
- newListAuditMitigationActionsExecutions :: Text -> Text -> ListAuditMitigationActionsExecutions
- listAuditMitigationActionsExecutions_nextToken :: Lens' ListAuditMitigationActionsExecutions (Maybe Text)
- listAuditMitigationActionsExecutions_actionStatus :: Lens' ListAuditMitigationActionsExecutions (Maybe AuditMitigationActionsExecutionStatus)
- listAuditMitigationActionsExecutions_maxResults :: Lens' ListAuditMitigationActionsExecutions (Maybe Natural)
- listAuditMitigationActionsExecutions_taskId :: Lens' ListAuditMitigationActionsExecutions Text
- listAuditMitigationActionsExecutions_findingId :: Lens' ListAuditMitigationActionsExecutions Text
- data ListAuditMitigationActionsExecutionsResponse = ListAuditMitigationActionsExecutionsResponse' {}
- newListAuditMitigationActionsExecutionsResponse :: Int -> ListAuditMitigationActionsExecutionsResponse
- listAuditMitigationActionsExecutionsResponse_actionsExecutions :: Lens' ListAuditMitigationActionsExecutionsResponse (Maybe [AuditMitigationActionExecutionMetadata])
- listAuditMitigationActionsExecutionsResponse_nextToken :: Lens' ListAuditMitigationActionsExecutionsResponse (Maybe Text)
- listAuditMitigationActionsExecutionsResponse_httpStatus :: Lens' ListAuditMitigationActionsExecutionsResponse Int
Creating a Request
data ListAuditMitigationActionsExecutions Source #
See: newListAuditMitigationActionsExecutions
smart constructor.
ListAuditMitigationActionsExecutions' | |
|
Instances
newListAuditMitigationActionsExecutions Source #
Create a value of ListAuditMitigationActionsExecutions
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:ListAuditMitigationActionsExecutions'
, listAuditMitigationActionsExecutions_nextToken
- The token for the next set of results.
$sel:actionStatus:ListAuditMitigationActionsExecutions'
, listAuditMitigationActionsExecutions_actionStatus
- Specify this filter to limit results to those with a specific status.
$sel:maxResults:ListAuditMitigationActionsExecutions'
, listAuditMitigationActionsExecutions_maxResults
- The maximum number of results to return at one time. The default is 25.
$sel:taskId:ListAuditMitigationActionsExecutions'
, listAuditMitigationActionsExecutions_taskId
- Specify this filter to limit results to actions for a specific audit
mitigation actions task.
$sel:findingId:ListAuditMitigationActionsExecutions'
, listAuditMitigationActionsExecutions_findingId
- Specify this filter to limit results to those that were applied to a
specific audit finding.
Request Lenses
listAuditMitigationActionsExecutions_nextToken :: Lens' ListAuditMitigationActionsExecutions (Maybe Text) Source #
The token for the next set of results.
listAuditMitigationActionsExecutions_actionStatus :: Lens' ListAuditMitigationActionsExecutions (Maybe AuditMitigationActionsExecutionStatus) Source #
Specify this filter to limit results to those with a specific status.
listAuditMitigationActionsExecutions_maxResults :: Lens' ListAuditMitigationActionsExecutions (Maybe Natural) Source #
The maximum number of results to return at one time. The default is 25.
listAuditMitigationActionsExecutions_taskId :: Lens' ListAuditMitigationActionsExecutions Text Source #
Specify this filter to limit results to actions for a specific audit mitigation actions task.
listAuditMitigationActionsExecutions_findingId :: Lens' ListAuditMitigationActionsExecutions Text Source #
Specify this filter to limit results to those that were applied to a specific audit finding.
Destructuring the Response
data ListAuditMitigationActionsExecutionsResponse Source #
See: newListAuditMitigationActionsExecutionsResponse
smart constructor.
ListAuditMitigationActionsExecutionsResponse' | |
|
Instances
newListAuditMitigationActionsExecutionsResponse Source #
:: Int |
|
-> ListAuditMitigationActionsExecutionsResponse |
Create a value of ListAuditMitigationActionsExecutionsResponse
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:ListAuditMitigationActionsExecutionsResponse'
, listAuditMitigationActionsExecutionsResponse_actionsExecutions
- A set of task execution results based on the input parameters. Details
include the mitigation action applied, start time, and task status.
$sel:nextToken:ListAuditMitigationActionsExecutions'
, listAuditMitigationActionsExecutionsResponse_nextToken
- The token for the next set of results.
$sel:httpStatus:ListAuditMitigationActionsExecutionsResponse'
, listAuditMitigationActionsExecutionsResponse_httpStatus
- The response's http status code.
Response Lenses
listAuditMitigationActionsExecutionsResponse_actionsExecutions :: Lens' ListAuditMitigationActionsExecutionsResponse (Maybe [AuditMitigationActionExecutionMetadata]) Source #
A set of task execution results based on the input parameters. Details include the mitigation action applied, start time, and task status.
listAuditMitigationActionsExecutionsResponse_nextToken :: Lens' ListAuditMitigationActionsExecutionsResponse (Maybe Text) Source #
The token for the next set of results.
listAuditMitigationActionsExecutionsResponse_httpStatus :: Lens' ListAuditMitigationActionsExecutionsResponse Int Source #
The response's http status code.