| 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.ListMitigationActions
Description
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_actionType :: Lens' ListMitigationActions (Maybe MitigationActionType)
- listMitigationActions_maxResults :: Lens' ListMitigationActions (Maybe Natural)
- listMitigationActions_nextToken :: Lens' ListMitigationActions (Maybe Text)
- 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.
Constructors
| ListMitigationActions' | |
Fields
| |
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:
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.
ListMitigationActions, listMitigationActions_nextToken - The token for the next set of results.
Request Lenses
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.
listMitigationActions_nextToken :: Lens' ListMitigationActions (Maybe Text) Source #
The token for the next set of results.
Destructuring the Response
data ListMitigationActionsResponse Source #
See: newListMitigationActionsResponse smart constructor.
Constructors
| ListMitigationActionsResponse' | |
Fields
| |
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.
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.