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 all mitigation actions that match the specified filter criteria.
Requires permission to access the ListMitigationActions action.
This operation returns paginated results.
Synopsis
- data ListMitigationActions = ListMitigationActions' {}
- newListMitigationActions :: ListMitigationActions
- listMitigationActions_nextToken :: Lens' ListMitigationActions (Maybe Text)
- listMitigationActions_actionType :: Lens' ListMitigationActions (Maybe MitigationActionType)
- listMitigationActions_maxResults :: Lens' ListMitigationActions (Maybe Natural)
- data ListMitigationActionsResponse = ListMitigationActionsResponse' {}
- newListMitigationActionsResponse :: Int -> ListMitigationActionsResponse
- listMitigationActionsResponse_actionIdentifiers :: Lens' ListMitigationActionsResponse (Maybe [MitigationActionIdentifier])
- listMitigationActionsResponse_nextToken :: Lens' ListMitigationActionsResponse (Maybe Text)
- listMitigationActionsResponse_httpStatus :: Lens' ListMitigationActionsResponse Int
Creating a Request
data ListMitigationActions Source #
See: newListMitigationActions
smart constructor.
ListMitigationActions' | |
|
Instances
newListMitigationActions :: ListMitigationActions Source #
Create a value of ListMitigationActions
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:ListMitigationActions'
, listMitigationActions_nextToken
- The token for the next set of results.
$sel:actionType:ListMitigationActions'
, listMitigationActions_actionType
- Specify a value to limit the result to mitigation actions with a
specific action type.
$sel:maxResults:ListMitigationActions'
, listMitigationActions_maxResults
- The maximum number of results to return at one time. The default is 25.
Request Lenses
listMitigationActions_nextToken :: Lens' ListMitigationActions (Maybe Text) Source #
The token for the next set of results.
listMitigationActions_actionType :: Lens' ListMitigationActions (Maybe MitigationActionType) Source #
Specify a value to limit the result to mitigation actions with a specific action type.
listMitigationActions_maxResults :: Lens' ListMitigationActions (Maybe Natural) Source #
The maximum number of results to return at one time. The default is 25.
Destructuring the Response
data ListMitigationActionsResponse Source #
See: newListMitigationActionsResponse
smart constructor.
ListMitigationActionsResponse' | |
|
Instances
newListMitigationActionsResponse Source #
Create a value of ListMitigationActionsResponse
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:actionIdentifiers:ListMitigationActionsResponse'
, listMitigationActionsResponse_actionIdentifiers
- A set of actions that matched the specified filter criteria.
$sel:nextToken:ListMitigationActions'
, listMitigationActionsResponse_nextToken
- The token for the next set of results.
$sel:httpStatus:ListMitigationActionsResponse'
, listMitigationActionsResponse_httpStatus
- The response's http status code.
Response Lenses
listMitigationActionsResponse_actionIdentifiers :: Lens' ListMitigationActionsResponse (Maybe [MitigationActionIdentifier]) Source #
A set of actions that matched the specified filter criteria.
listMitigationActionsResponse_nextToken :: Lens' ListMitigationActionsResponse (Maybe Text) Source #
The token for the next set of results.
listMitigationActionsResponse_httpStatus :: Lens' ListMitigationActionsResponse Int Source #
The response's http status code.