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 classification job. Use this operation to get the status of a classification job.
Synopsis
- data DescribeDocumentClassificationJob = DescribeDocumentClassificationJob' {}
- newDescribeDocumentClassificationJob :: Text -> DescribeDocumentClassificationJob
- describeDocumentClassificationJob_jobId :: Lens' DescribeDocumentClassificationJob Text
- data DescribeDocumentClassificationJobResponse = DescribeDocumentClassificationJobResponse' {}
- newDescribeDocumentClassificationJobResponse :: Int -> DescribeDocumentClassificationJobResponse
- describeDocumentClassificationJobResponse_documentClassificationJobProperties :: Lens' DescribeDocumentClassificationJobResponse (Maybe DocumentClassificationJobProperties)
- describeDocumentClassificationJobResponse_httpStatus :: Lens' DescribeDocumentClassificationJobResponse Int
Creating a Request
data DescribeDocumentClassificationJob Source #
See: newDescribeDocumentClassificationJob
smart constructor.
Instances
newDescribeDocumentClassificationJob Source #
Create a value of DescribeDocumentClassificationJob
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:jobId:DescribeDocumentClassificationJob'
, describeDocumentClassificationJob_jobId
- The identifier that Amazon Comprehend generated for the job. The
operation returns this identifier in its response.
Request Lenses
describeDocumentClassificationJob_jobId :: Lens' DescribeDocumentClassificationJob Text Source #
The identifier that Amazon Comprehend generated for the job. The operation returns this identifier in its response.
Destructuring the Response
data DescribeDocumentClassificationJobResponse Source #
See: newDescribeDocumentClassificationJobResponse
smart constructor.
DescribeDocumentClassificationJobResponse' | |
|
Instances
newDescribeDocumentClassificationJobResponse Source #
Create a value of DescribeDocumentClassificationJobResponse
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:documentClassificationJobProperties:DescribeDocumentClassificationJobResponse'
, describeDocumentClassificationJobResponse_documentClassificationJobProperties
- An object that describes the properties associated with the document
classification job.
$sel:httpStatus:DescribeDocumentClassificationJobResponse'
, describeDocumentClassificationJobResponse_httpStatus
- The response's http status code.
Response Lenses
describeDocumentClassificationJobResponse_documentClassificationJobProperties :: Lens' DescribeDocumentClassificationJobResponse (Maybe DocumentClassificationJobProperties) Source #
An object that describes the properties associated with the document classification job.
describeDocumentClassificationJobResponse_httpStatus :: Lens' DescribeDocumentClassificationJobResponse Int Source #
The response's http status code.