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 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.
DescribeDocumentClassifier' | |
|
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.
DescribeDocumentClassifierResponse' | |
|
Instances
Eq DescribeDocumentClassifierResponse Source # | |
Show DescribeDocumentClassifierResponse Source # | |
Generic DescribeDocumentClassifierResponse Source # | |
NFData DescribeDocumentClassifierResponse Source # | |
Defined in Amazonka.Comprehend.DescribeDocumentClassifier rnf :: DescribeDocumentClassifierResponse -> () # | |
type Rep DescribeDocumentClassifierResponse Source # | |
Defined in Amazonka.Comprehend.DescribeDocumentClassifier type Rep DescribeDocumentClassifierResponse = D1 ('MetaData "DescribeDocumentClassifierResponse" "Amazonka.Comprehend.DescribeDocumentClassifier" "libZSservicesZSamazonka-comprehendZSamazonka-comprehend" 'False) (C1 ('MetaCons "DescribeDocumentClassifierResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "documentClassifierProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe DocumentClassifierProperties)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDescribeDocumentClassifierResponse Source #
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.