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 transcription jobs with the specified status.
Synopsis
- data ListTranscriptionJobs = ListTranscriptionJobs' {}
- newListTranscriptionJobs :: ListTranscriptionJobs
- listTranscriptionJobs_status :: Lens' ListTranscriptionJobs (Maybe TranscriptionJobStatus)
- listTranscriptionJobs_nextToken :: Lens' ListTranscriptionJobs (Maybe Text)
- listTranscriptionJobs_jobNameContains :: Lens' ListTranscriptionJobs (Maybe Text)
- listTranscriptionJobs_maxResults :: Lens' ListTranscriptionJobs (Maybe Natural)
- data ListTranscriptionJobsResponse = ListTranscriptionJobsResponse' {}
- newListTranscriptionJobsResponse :: Int -> ListTranscriptionJobsResponse
- listTranscriptionJobsResponse_status :: Lens' ListTranscriptionJobsResponse (Maybe TranscriptionJobStatus)
- listTranscriptionJobsResponse_nextToken :: Lens' ListTranscriptionJobsResponse (Maybe Text)
- listTranscriptionJobsResponse_transcriptionJobSummaries :: Lens' ListTranscriptionJobsResponse (Maybe [TranscriptionJobSummary])
- listTranscriptionJobsResponse_httpStatus :: Lens' ListTranscriptionJobsResponse Int
Creating a Request
data ListTranscriptionJobs Source #
See: newListTranscriptionJobs
smart constructor.
ListTranscriptionJobs' | |
|
Instances
newListTranscriptionJobs :: ListTranscriptionJobs Source #
Create a value of ListTranscriptionJobs
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:ListTranscriptionJobs'
, listTranscriptionJobs_status
- When specified, returns only 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 returns all
transcription jobs ordered by creation date.
$sel:nextToken:ListTranscriptionJobs'
, listTranscriptionJobs_nextToken
- If the result of the previous request to ListTranscriptionJobs
is
truncated, include the NextToken
to fetch the next set of jobs.
$sel:jobNameContains:ListTranscriptionJobs'
, listTranscriptionJobs_jobNameContains
- When specified, the jobs returned in the list are limited to jobs whose
name contains the specified string.
$sel:maxResults:ListTranscriptionJobs'
, listTranscriptionJobs_maxResults
- The maximum number of 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
listTranscriptionJobs_status :: Lens' ListTranscriptionJobs (Maybe TranscriptionJobStatus) Source #
When specified, returns only 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 returns all transcription jobs ordered by creation date.
listTranscriptionJobs_nextToken :: Lens' ListTranscriptionJobs (Maybe Text) Source #
If the result of the previous request to ListTranscriptionJobs
is
truncated, include the NextToken
to fetch the next set of jobs.
listTranscriptionJobs_jobNameContains :: Lens' ListTranscriptionJobs (Maybe Text) Source #
When specified, the jobs returned in the list are limited to jobs whose name contains the specified string.
listTranscriptionJobs_maxResults :: Lens' ListTranscriptionJobs (Maybe Natural) Source #
The maximum number of 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 ListTranscriptionJobsResponse Source #
See: newListTranscriptionJobsResponse
smart constructor.
ListTranscriptionJobsResponse' | |
|
Instances
newListTranscriptionJobsResponse Source #
Create a value of ListTranscriptionJobsResponse
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:ListTranscriptionJobs'
, listTranscriptionJobsResponse_status
- The requested status of the jobs returned.
$sel:nextToken:ListTranscriptionJobs'
, listTranscriptionJobsResponse_nextToken
- The ListTranscriptionJobs
operation returns a page of jobs at a time.
The maximum size of the page is set by the MaxResults
parameter. If
there are more jobs in the list than the page size, Amazon Transcribe
returns the NextPage
token. Include the token in the next request to
the ListTranscriptionJobs
operation to return in the next page of
jobs.
$sel:transcriptionJobSummaries:ListTranscriptionJobsResponse'
, listTranscriptionJobsResponse_transcriptionJobSummaries
- A list of objects containing summary information for a transcription
job.
$sel:httpStatus:ListTranscriptionJobsResponse'
, listTranscriptionJobsResponse_httpStatus
- The response's http status code.
Response Lenses
listTranscriptionJobsResponse_status :: Lens' ListTranscriptionJobsResponse (Maybe TranscriptionJobStatus) Source #
The requested status of the jobs returned.
listTranscriptionJobsResponse_nextToken :: Lens' ListTranscriptionJobsResponse (Maybe Text) Source #
The ListTranscriptionJobs
operation returns a page of jobs at a time.
The maximum size of the page is set by the MaxResults
parameter. If
there are more jobs in the list than the page size, Amazon Transcribe
returns the NextPage
token. Include the token in the next request to
the ListTranscriptionJobs
operation to return in the next page of
jobs.
listTranscriptionJobsResponse_transcriptionJobSummaries :: Lens' ListTranscriptionJobsResponse (Maybe [TranscriptionJobSummary]) Source #
A list of objects containing summary information for a transcription job.
listTranscriptionJobsResponse_httpStatus :: Lens' ListTranscriptionJobsResponse Int Source #
The response's http status code.