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 summaries of the document classifiers that you have created
Synopsis
- data ListDocumentClassifierSummaries = ListDocumentClassifierSummaries' {}
- newListDocumentClassifierSummaries :: ListDocumentClassifierSummaries
- listDocumentClassifierSummaries_nextToken :: Lens' ListDocumentClassifierSummaries (Maybe Text)
- listDocumentClassifierSummaries_maxResults :: Lens' ListDocumentClassifierSummaries (Maybe Natural)
- data ListDocumentClassifierSummariesResponse = ListDocumentClassifierSummariesResponse' {}
- newListDocumentClassifierSummariesResponse :: Int -> ListDocumentClassifierSummariesResponse
- listDocumentClassifierSummariesResponse_nextToken :: Lens' ListDocumentClassifierSummariesResponse (Maybe Text)
- listDocumentClassifierSummariesResponse_documentClassifierSummariesList :: Lens' ListDocumentClassifierSummariesResponse (Maybe [DocumentClassifierSummary])
- listDocumentClassifierSummariesResponse_httpStatus :: Lens' ListDocumentClassifierSummariesResponse Int
Creating a Request
data ListDocumentClassifierSummaries Source #
See: newListDocumentClassifierSummaries
smart constructor.
Instances
newListDocumentClassifierSummaries :: ListDocumentClassifierSummaries Source #
Create a value of ListDocumentClassifierSummaries
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:ListDocumentClassifierSummaries'
, listDocumentClassifierSummaries_nextToken
- Identifies the next page of results to return.
$sel:maxResults:ListDocumentClassifierSummaries'
, listDocumentClassifierSummaries_maxResults
- The maximum number of results to return on each page. The default is
100.
Request Lenses
listDocumentClassifierSummaries_nextToken :: Lens' ListDocumentClassifierSummaries (Maybe Text) Source #
Identifies the next page of results to return.
listDocumentClassifierSummaries_maxResults :: Lens' ListDocumentClassifierSummaries (Maybe Natural) Source #
The maximum number of results to return on each page. The default is 100.
Destructuring the Response
data ListDocumentClassifierSummariesResponse Source #
See: newListDocumentClassifierSummariesResponse
smart constructor.
ListDocumentClassifierSummariesResponse' | |
|
Instances
newListDocumentClassifierSummariesResponse Source #
Create a value of ListDocumentClassifierSummariesResponse
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:ListDocumentClassifierSummaries'
, listDocumentClassifierSummariesResponse_nextToken
- Identifies the next page of results to return.
$sel:documentClassifierSummariesList:ListDocumentClassifierSummariesResponse'
, listDocumentClassifierSummariesResponse_documentClassifierSummariesList
- The list of summaries of document classifiers.
$sel:httpStatus:ListDocumentClassifierSummariesResponse'
, listDocumentClassifierSummariesResponse_httpStatus
- The response's http status code.
Response Lenses
listDocumentClassifierSummariesResponse_nextToken :: Lens' ListDocumentClassifierSummariesResponse (Maybe Text) Source #
Identifies the next page of results to return.
listDocumentClassifierSummariesResponse_documentClassifierSummariesList :: Lens' ListDocumentClassifierSummariesResponse (Maybe [DocumentClassifierSummary]) Source #
The list of summaries of document classifiers.
listDocumentClassifierSummariesResponse_httpStatus :: Lens' ListDocumentClassifierSummariesResponse Int Source #
The response's http status code.