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 a list of the batch translation jobs that you have submitted.
Synopsis
- data ListTextTranslationJobs = ListTextTranslationJobs' {}
- newListTextTranslationJobs :: ListTextTranslationJobs
- listTextTranslationJobs_nextToken :: Lens' ListTextTranslationJobs (Maybe Text)
- listTextTranslationJobs_filter :: Lens' ListTextTranslationJobs (Maybe TextTranslationJobFilter)
- listTextTranslationJobs_maxResults :: Lens' ListTextTranslationJobs (Maybe Natural)
- data ListTextTranslationJobsResponse = ListTextTranslationJobsResponse' {}
- newListTextTranslationJobsResponse :: Int -> ListTextTranslationJobsResponse
- listTextTranslationJobsResponse_textTranslationJobPropertiesList :: Lens' ListTextTranslationJobsResponse (Maybe [TextTranslationJobProperties])
- listTextTranslationJobsResponse_nextToken :: Lens' ListTextTranslationJobsResponse (Maybe Text)
- listTextTranslationJobsResponse_httpStatus :: Lens' ListTextTranslationJobsResponse Int
Creating a Request
data ListTextTranslationJobs Source #
See: newListTextTranslationJobs
smart constructor.
ListTextTranslationJobs' | |
|
Instances
newListTextTranslationJobs :: ListTextTranslationJobs Source #
Create a value of ListTextTranslationJobs
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:nextToken:ListTextTranslationJobs'
, listTextTranslationJobs_nextToken
- The token to request the next page of results.
$sel:filter':ListTextTranslationJobs'
, listTextTranslationJobs_filter
- The parameters that specify which batch translation jobs to retrieve.
Filters include job name, job status, and submission time. You can only
set one filter at a time.
$sel:maxResults:ListTextTranslationJobs'
, listTextTranslationJobs_maxResults
- The maximum number of results to return in each page. The default value
is 100.
Request Lenses
listTextTranslationJobs_nextToken :: Lens' ListTextTranslationJobs (Maybe Text) Source #
The token to request the next page of results.
listTextTranslationJobs_filter :: Lens' ListTextTranslationJobs (Maybe TextTranslationJobFilter) Source #
The parameters that specify which batch translation jobs to retrieve. Filters include job name, job status, and submission time. You can only set one filter at a time.
listTextTranslationJobs_maxResults :: Lens' ListTextTranslationJobs (Maybe Natural) Source #
The maximum number of results to return in each page. The default value is 100.
Destructuring the Response
data ListTextTranslationJobsResponse Source #
See: newListTextTranslationJobsResponse
smart constructor.
ListTextTranslationJobsResponse' | |
|
Instances
newListTextTranslationJobsResponse Source #
Create a value of ListTextTranslationJobsResponse
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:textTranslationJobPropertiesList:ListTextTranslationJobsResponse'
, listTextTranslationJobsResponse_textTranslationJobPropertiesList
- A list containing the properties of each job that is returned.
$sel:nextToken:ListTextTranslationJobs'
, listTextTranslationJobsResponse_nextToken
- The token to use to retreive the next page of results. This value is
null
when there are no more results to return.
$sel:httpStatus:ListTextTranslationJobsResponse'
, listTextTranslationJobsResponse_httpStatus
- The response's http status code.
Response Lenses
listTextTranslationJobsResponse_textTranslationJobPropertiesList :: Lens' ListTextTranslationJobsResponse (Maybe [TextTranslationJobProperties]) Source #
A list containing the properties of each job that is returned.
listTextTranslationJobsResponse_nextToken :: Lens' ListTextTranslationJobsResponse (Maybe Text) Source #
The token to use to retreive the next page of results. This value is
null
when there are no more results to return.
listTextTranslationJobsResponse_httpStatus :: Lens' ListTextTranslationJobsResponse Int Source #
The response's http status code.