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 |
Amazonka.Comprehend.DescribeDocumentClassifier
Description
Gets the properties associated with a document classifier.
Synopsis
- data DescribeDocumentClassifier = DescribeDocumentClassifier' {}
- newDescribeDocumentClassifier :: Text -> DescribeDocumentClassifier
- describeDocumentClassifier_documentClassifierArn :: Lens' DescribeDocumentClassifier Text
- data DescribeDocumentClassifierResponse = DescribeDocumentClassifierResponse' {}
- newDescribeDocumentClassifierResponse :: Int -> DescribeDocumentClassifierResponse
- describeDocumentClassifierResponse_documentClassifierProperties :: Lens' DescribeDocumentClassifierResponse (Maybe DocumentClassifierProperties)
- describeDocumentClassifierResponse_httpStatus :: Lens' DescribeDocumentClassifierResponse Int
Creating a Request
data DescribeDocumentClassifier Source #
See: newDescribeDocumentClassifier
smart constructor.
Constructors
DescribeDocumentClassifier' | |
Fields
|
Instances
newDescribeDocumentClassifier Source #
Create a value of DescribeDocumentClassifier
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:documentClassifierArn:DescribeDocumentClassifier'
, describeDocumentClassifier_documentClassifierArn
- The Amazon Resource Name (ARN) that identifies the document classifier.
The operation returns this identifier in its response.
Request Lenses
describeDocumentClassifier_documentClassifierArn :: Lens' DescribeDocumentClassifier Text Source #
The Amazon Resource Name (ARN) that identifies the document classifier. The operation returns this identifier in its response.
Destructuring the Response
data DescribeDocumentClassifierResponse Source #
See: newDescribeDocumentClassifierResponse
smart constructor.
Constructors
DescribeDocumentClassifierResponse' | |
Fields
|
Instances
newDescribeDocumentClassifierResponse Source #
Arguments
:: Int | |
-> DescribeDocumentClassifierResponse |
Create a value of DescribeDocumentClassifierResponse
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:documentClassifierProperties:DescribeDocumentClassifierResponse'
, describeDocumentClassifierResponse_documentClassifierProperties
- An object that contains the properties associated with a document
classifier.
$sel:httpStatus:DescribeDocumentClassifierResponse'
, describeDocumentClassifierResponse_httpStatus
- The response's http status code.
Response Lenses
describeDocumentClassifierResponse_documentClassifierProperties :: Lens' DescribeDocumentClassifierResponse (Maybe DocumentClassifierProperties) Source #
An object that contains the properties associated with a document classifier.
describeDocumentClassifierResponse_httpStatus :: Lens' DescribeDocumentClassifierResponse Int Source #
The response's http status code.