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 |
Retrieves a list of archive rules created for the specified analyzer.
This operation returns paginated results.
Synopsis
- data ListArchiveRules = ListArchiveRules' {
- nextToken :: Maybe Text
- maxResults :: Maybe Int
- analyzerName :: Text
- newListArchiveRules :: Text -> ListArchiveRules
- listArchiveRules_nextToken :: Lens' ListArchiveRules (Maybe Text)
- listArchiveRules_maxResults :: Lens' ListArchiveRules (Maybe Int)
- listArchiveRules_analyzerName :: Lens' ListArchiveRules Text
- data ListArchiveRulesResponse = ListArchiveRulesResponse' {}
- newListArchiveRulesResponse :: Int -> ListArchiveRulesResponse
- listArchiveRulesResponse_nextToken :: Lens' ListArchiveRulesResponse (Maybe Text)
- listArchiveRulesResponse_httpStatus :: Lens' ListArchiveRulesResponse Int
- listArchiveRulesResponse_archiveRules :: Lens' ListArchiveRulesResponse [ArchiveRuleSummary]
Creating a Request
data ListArchiveRules Source #
Retrieves a list of archive rules created for the specified analyzer.
See: newListArchiveRules
smart constructor.
ListArchiveRules' | |
|
Instances
Create a value of ListArchiveRules
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:ListArchiveRules'
, listArchiveRules_nextToken
- A token used for pagination of results returned.
$sel:maxResults:ListArchiveRules'
, listArchiveRules_maxResults
- The maximum number of results to return in the request.
$sel:analyzerName:ListArchiveRules'
, listArchiveRules_analyzerName
- The name of the analyzer to retrieve rules from.
Request Lenses
listArchiveRules_nextToken :: Lens' ListArchiveRules (Maybe Text) Source #
A token used for pagination of results returned.
listArchiveRules_maxResults :: Lens' ListArchiveRules (Maybe Int) Source #
The maximum number of results to return in the request.
listArchiveRules_analyzerName :: Lens' ListArchiveRules Text Source #
The name of the analyzer to retrieve rules from.
Destructuring the Response
data ListArchiveRulesResponse Source #
The response to the request.
See: newListArchiveRulesResponse
smart constructor.
ListArchiveRulesResponse' | |
|
Instances
newListArchiveRulesResponse Source #
Create a value of ListArchiveRulesResponse
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:ListArchiveRules'
, listArchiveRulesResponse_nextToken
- A token used for pagination of results returned.
$sel:httpStatus:ListArchiveRulesResponse'
, listArchiveRulesResponse_httpStatus
- The response's http status code.
$sel:archiveRules:ListArchiveRulesResponse'
, listArchiveRulesResponse_archiveRules
- A list of archive rules created for the specified analyzer.
Response Lenses
listArchiveRulesResponse_nextToken :: Lens' ListArchiveRulesResponse (Maybe Text) Source #
A token used for pagination of results returned.
listArchiveRulesResponse_httpStatus :: Lens' ListArchiveRulesResponse Int Source #
The response's http status code.
listArchiveRulesResponse_archiveRules :: Lens' ListArchiveRulesResponse [ArchiveRuleSummary] Source #
A list of archive rules created for the specified analyzer.