| 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.DescribeDominantLanguageDetectionJob
Description
Gets the properties associated with a dominant language detection job. Use this operation to get the status of a detection job.
Synopsis
- data DescribeDominantLanguageDetectionJob = DescribeDominantLanguageDetectionJob' {}
- newDescribeDominantLanguageDetectionJob :: Text -> DescribeDominantLanguageDetectionJob
- describeDominantLanguageDetectionJob_jobId :: Lens' DescribeDominantLanguageDetectionJob Text
- data DescribeDominantLanguageDetectionJobResponse = DescribeDominantLanguageDetectionJobResponse' {}
- newDescribeDominantLanguageDetectionJobResponse :: Int -> DescribeDominantLanguageDetectionJobResponse
- describeDominantLanguageDetectionJobResponse_dominantLanguageDetectionJobProperties :: Lens' DescribeDominantLanguageDetectionJobResponse (Maybe DominantLanguageDetectionJobProperties)
- describeDominantLanguageDetectionJobResponse_httpStatus :: Lens' DescribeDominantLanguageDetectionJobResponse Int
Creating a Request
data DescribeDominantLanguageDetectionJob Source #
See: newDescribeDominantLanguageDetectionJob smart constructor.
Constructors
| DescribeDominantLanguageDetectionJob' | |
Instances
newDescribeDominantLanguageDetectionJob Source #
Create a value of DescribeDominantLanguageDetectionJob 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:
DescribeDominantLanguageDetectionJob, describeDominantLanguageDetectionJob_jobId - The identifier that Amazon Comprehend generated for the job. The
operation returns this identifier in its response.
Request Lenses
describeDominantLanguageDetectionJob_jobId :: Lens' DescribeDominantLanguageDetectionJob Text Source #
The identifier that Amazon Comprehend generated for the job. The operation returns this identifier in its response.
Destructuring the Response
data DescribeDominantLanguageDetectionJobResponse Source #
See: newDescribeDominantLanguageDetectionJobResponse smart constructor.
Constructors
| DescribeDominantLanguageDetectionJobResponse' | |
Fields
| |
Instances
newDescribeDominantLanguageDetectionJobResponse Source #
Arguments
| :: Int |
|
| -> DescribeDominantLanguageDetectionJobResponse |
Create a value of DescribeDominantLanguageDetectionJobResponse 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:dominantLanguageDetectionJobProperties:DescribeDominantLanguageDetectionJobResponse', describeDominantLanguageDetectionJobResponse_dominantLanguageDetectionJobProperties - An object that contains the properties associated with a dominant
language detection job.
$sel:httpStatus:DescribeDominantLanguageDetectionJobResponse', describeDominantLanguageDetectionJobResponse_httpStatus - The response's http status code.
Response Lenses
describeDominantLanguageDetectionJobResponse_dominantLanguageDetectionJobProperties :: Lens' DescribeDominantLanguageDetectionJobResponse (Maybe DominantLanguageDetectionJobProperties) Source #
An object that contains the properties associated with a dominant language detection job.
describeDominantLanguageDetectionJobResponse_httpStatus :: Lens' DescribeDominantLanguageDetectionJobResponse Int Source #
The response's http status code.