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 |
Retrieves a list of archive rules created for the specified analyzer.
This operation returns paginated results.
Synopsis
- data ListArchiveRules = ListArchiveRules' {
- maxResults :: Maybe Int
- nextToken :: Maybe Text
- analyzerName :: Text
- newListArchiveRules :: Text -> ListArchiveRules
- listArchiveRules_maxResults :: Lens' ListArchiveRules (Maybe Int)
- listArchiveRules_nextToken :: Lens' ListArchiveRules (Maybe Text)
- 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:maxResults:ListArchiveRules'
, listArchiveRules_maxResults
- The maximum number of results to return in the request.
ListArchiveRules
, listArchiveRules_nextToken
- A token used for pagination of results returned.
$sel:analyzerName:ListArchiveRules'
, listArchiveRules_analyzerName
- The name of the analyzer to retrieve rules from.
Request Lenses
listArchiveRules_maxResults :: Lens' ListArchiveRules (Maybe Int) Source #
The maximum number of results to return in the request.
listArchiveRules_nextToken :: Lens' ListArchiveRules (Maybe Text) Source #
A token used for pagination of results returned.
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:
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.