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 |
Lists medical transcription jobs with a specified status or substring that matches their names.
Synopsis
- data ListMedicalTranscriptionJobs = ListMedicalTranscriptionJobs' {}
- newListMedicalTranscriptionJobs :: ListMedicalTranscriptionJobs
- listMedicalTranscriptionJobs_status :: Lens' ListMedicalTranscriptionJobs (Maybe TranscriptionJobStatus)
- listMedicalTranscriptionJobs_nextToken :: Lens' ListMedicalTranscriptionJobs (Maybe Text)
- listMedicalTranscriptionJobs_jobNameContains :: Lens' ListMedicalTranscriptionJobs (Maybe Text)
- listMedicalTranscriptionJobs_maxResults :: Lens' ListMedicalTranscriptionJobs (Maybe Natural)
- data ListMedicalTranscriptionJobsResponse = ListMedicalTranscriptionJobsResponse' {}
- newListMedicalTranscriptionJobsResponse :: Int -> ListMedicalTranscriptionJobsResponse
- listMedicalTranscriptionJobsResponse_status :: Lens' ListMedicalTranscriptionJobsResponse (Maybe TranscriptionJobStatus)
- listMedicalTranscriptionJobsResponse_nextToken :: Lens' ListMedicalTranscriptionJobsResponse (Maybe Text)
- listMedicalTranscriptionJobsResponse_medicalTranscriptionJobSummaries :: Lens' ListMedicalTranscriptionJobsResponse (Maybe [MedicalTranscriptionJobSummary])
- listMedicalTranscriptionJobsResponse_httpStatus :: Lens' ListMedicalTranscriptionJobsResponse Int
Creating a Request
data ListMedicalTranscriptionJobs Source #
See: newListMedicalTranscriptionJobs
smart constructor.
ListMedicalTranscriptionJobs' | |
|
Instances
newListMedicalTranscriptionJobs :: ListMedicalTranscriptionJobs Source #
Create a value of ListMedicalTranscriptionJobs
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:status:ListMedicalTranscriptionJobs'
, listMedicalTranscriptionJobs_status
- When specified, returns only medical transcription jobs with the
specified status. Jobs are ordered by creation date, with the newest
jobs returned first. If you don't specify a status, Amazon Transcribe
Medical returns all transcription jobs ordered by creation date.
$sel:nextToken:ListMedicalTranscriptionJobs'
, listMedicalTranscriptionJobs_nextToken
- If you a receive a truncated result in the previous request of
ListMedicalTranscriptionJobs
, include NextToken
to fetch the next
set of jobs.
$sel:jobNameContains:ListMedicalTranscriptionJobs'
, listMedicalTranscriptionJobs_jobNameContains
- When specified, the jobs returned in the list are limited to jobs whose
name contains the specified string.
$sel:maxResults:ListMedicalTranscriptionJobs'
, listMedicalTranscriptionJobs_maxResults
- The maximum number of medical transcription jobs to return in each page
of results. If there are fewer results than the value you specify, only
the actual results are returned. If you do not specify a value, the
default of 5 is used.
Request Lenses
listMedicalTranscriptionJobs_status :: Lens' ListMedicalTranscriptionJobs (Maybe TranscriptionJobStatus) Source #
When specified, returns only medical transcription jobs with the specified status. Jobs are ordered by creation date, with the newest jobs returned first. If you don't specify a status, Amazon Transcribe Medical returns all transcription jobs ordered by creation date.
listMedicalTranscriptionJobs_nextToken :: Lens' ListMedicalTranscriptionJobs (Maybe Text) Source #
If you a receive a truncated result in the previous request of
ListMedicalTranscriptionJobs
, include NextToken
to fetch the next
set of jobs.
listMedicalTranscriptionJobs_jobNameContains :: Lens' ListMedicalTranscriptionJobs (Maybe Text) Source #
When specified, the jobs returned in the list are limited to jobs whose name contains the specified string.
listMedicalTranscriptionJobs_maxResults :: Lens' ListMedicalTranscriptionJobs (Maybe Natural) Source #
The maximum number of medical transcription jobs to return in each page of results. If there are fewer results than the value you specify, only the actual results are returned. If you do not specify a value, the default of 5 is used.
Destructuring the Response
data ListMedicalTranscriptionJobsResponse Source #
See: newListMedicalTranscriptionJobsResponse
smart constructor.
ListMedicalTranscriptionJobsResponse' | |
|
Instances
newListMedicalTranscriptionJobsResponse Source #
Create a value of ListMedicalTranscriptionJobsResponse
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:status:ListMedicalTranscriptionJobs'
, listMedicalTranscriptionJobsResponse_status
- The requested status of the medical transcription jobs returned.
$sel:nextToken:ListMedicalTranscriptionJobs'
, listMedicalTranscriptionJobsResponse_nextToken
- The ListMedicalTranscriptionJobs
operation returns a page of jobs at a
time. The maximum size of the page is set by the MaxResults
parameter.
If the number of jobs exceeds what can fit on a page, Amazon Transcribe
Medical returns the NextPage
token. Include the token in the next
request to the ListMedicalTranscriptionJobs
operation to return in the
next page of jobs.
$sel:medicalTranscriptionJobSummaries:ListMedicalTranscriptionJobsResponse'
, listMedicalTranscriptionJobsResponse_medicalTranscriptionJobSummaries
- A list of objects containing summary information for a transcription
job.
$sel:httpStatus:ListMedicalTranscriptionJobsResponse'
, listMedicalTranscriptionJobsResponse_httpStatus
- The response's http status code.
Response Lenses
listMedicalTranscriptionJobsResponse_status :: Lens' ListMedicalTranscriptionJobsResponse (Maybe TranscriptionJobStatus) Source #
The requested status of the medical transcription jobs returned.
listMedicalTranscriptionJobsResponse_nextToken :: Lens' ListMedicalTranscriptionJobsResponse (Maybe Text) Source #
The ListMedicalTranscriptionJobs
operation returns a page of jobs at a
time. The maximum size of the page is set by the MaxResults
parameter.
If the number of jobs exceeds what can fit on a page, Amazon Transcribe
Medical returns the NextPage
token. Include the token in the next
request to the ListMedicalTranscriptionJobs
operation to return in the
next page of jobs.
listMedicalTranscriptionJobsResponse_medicalTranscriptionJobSummaries :: Lens' ListMedicalTranscriptionJobsResponse (Maybe [MedicalTranscriptionJobSummary]) Source #
A list of objects containing summary information for a transcription job.
listMedicalTranscriptionJobsResponse_httpStatus :: Lens' ListMedicalTranscriptionJobsResponse Int Source #
The response's http status code.