| 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.Comprehend.ListDocumentClassifiers
Description
Gets a list of the document classifiers that you have created.
This operation returns paginated results.
Synopsis
- data ListDocumentClassifiers = ListDocumentClassifiers' {}
- newListDocumentClassifiers :: ListDocumentClassifiers
- listDocumentClassifiers_filter :: Lens' ListDocumentClassifiers (Maybe DocumentClassifierFilter)
- listDocumentClassifiers_maxResults :: Lens' ListDocumentClassifiers (Maybe Natural)
- listDocumentClassifiers_nextToken :: Lens' ListDocumentClassifiers (Maybe Text)
- data ListDocumentClassifiersResponse = ListDocumentClassifiersResponse' {}
- newListDocumentClassifiersResponse :: Int -> ListDocumentClassifiersResponse
- listDocumentClassifiersResponse_documentClassifierPropertiesList :: Lens' ListDocumentClassifiersResponse (Maybe [DocumentClassifierProperties])
- listDocumentClassifiersResponse_nextToken :: Lens' ListDocumentClassifiersResponse (Maybe Text)
- listDocumentClassifiersResponse_httpStatus :: Lens' ListDocumentClassifiersResponse Int
Creating a Request
data ListDocumentClassifiers Source #
See: newListDocumentClassifiers smart constructor.
Constructors
| ListDocumentClassifiers' | |
Fields
| |
Instances
newListDocumentClassifiers :: ListDocumentClassifiers Source #
Create a value of ListDocumentClassifiers 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:filter':ListDocumentClassifiers', listDocumentClassifiers_filter - Filters the jobs that are returned. You can filter jobs on their name,
status, or the date and time that they were submitted. You can only set
one filter at a time.
$sel:maxResults:ListDocumentClassifiers', listDocumentClassifiers_maxResults - The maximum number of results to return in each page. The default is
100.
ListDocumentClassifiers, listDocumentClassifiers_nextToken - Identifies the next page of results to return.
Request Lenses
listDocumentClassifiers_filter :: Lens' ListDocumentClassifiers (Maybe DocumentClassifierFilter) Source #
Filters the jobs that are returned. You can filter jobs on their name, status, or the date and time that they were submitted. You can only set one filter at a time.
listDocumentClassifiers_maxResults :: Lens' ListDocumentClassifiers (Maybe Natural) Source #
The maximum number of results to return in each page. The default is 100.
listDocumentClassifiers_nextToken :: Lens' ListDocumentClassifiers (Maybe Text) Source #
Identifies the next page of results to return.
Destructuring the Response
data ListDocumentClassifiersResponse Source #
See: newListDocumentClassifiersResponse smart constructor.
Constructors
| ListDocumentClassifiersResponse' | |
Fields
| |
Instances
newListDocumentClassifiersResponse Source #
Create a value of ListDocumentClassifiersResponse 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:documentClassifierPropertiesList:ListDocumentClassifiersResponse', listDocumentClassifiersResponse_documentClassifierPropertiesList - A list containing the properties of each job returned.
ListDocumentClassifiers, listDocumentClassifiersResponse_nextToken - Identifies the next page of results to return.
$sel:httpStatus:ListDocumentClassifiersResponse', listDocumentClassifiersResponse_httpStatus - The response's http status code.
Response Lenses
listDocumentClassifiersResponse_documentClassifierPropertiesList :: Lens' ListDocumentClassifiersResponse (Maybe [DocumentClassifierProperties]) Source #
A list containing the properties of each job returned.
listDocumentClassifiersResponse_nextToken :: Lens' ListDocumentClassifiersResponse (Maybe Text) Source #
Identifies the next page of results to return.
listDocumentClassifiersResponse_httpStatus :: Lens' ListDocumentClassifiersResponse Int Source #
The response's http status code.