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 |
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:
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
Generic DescribeDocumentClassifierResponse Source # | |
Show DescribeDocumentClassifierResponse Source # | |
NFData DescribeDocumentClassifierResponse Source # | |
Defined in Amazonka.Comprehend.DescribeDocumentClassifier rnf :: DescribeDocumentClassifierResponse -> () # | |
Eq DescribeDocumentClassifierResponse Source # | |
type Rep DescribeDocumentClassifierResponse Source # | |
Defined in Amazonka.Comprehend.DescribeDocumentClassifier type Rep DescribeDocumentClassifierResponse = D1 ('MetaData "DescribeDocumentClassifierResponse" "Amazonka.Comprehend.DescribeDocumentClassifier" "amazonka-comprehend-2.0-Ko6GCjAQF2RARapSdPn69F" '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.