| 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.Translate.ListTextTranslationJobs
Description
Gets a list of the batch translation jobs that you have submitted.
Synopsis
- data ListTextTranslationJobs = ListTextTranslationJobs' {}
- newListTextTranslationJobs :: ListTextTranslationJobs
- listTextTranslationJobs_filter :: Lens' ListTextTranslationJobs (Maybe TextTranslationJobFilter)
- listTextTranslationJobs_maxResults :: Lens' ListTextTranslationJobs (Maybe Natural)
- listTextTranslationJobs_nextToken :: Lens' ListTextTranslationJobs (Maybe Text)
- data ListTextTranslationJobsResponse = ListTextTranslationJobsResponse' {}
- newListTextTranslationJobsResponse :: Int -> ListTextTranslationJobsResponse
- listTextTranslationJobsResponse_nextToken :: Lens' ListTextTranslationJobsResponse (Maybe Text)
- listTextTranslationJobsResponse_textTranslationJobPropertiesList :: Lens' ListTextTranslationJobsResponse (Maybe [TextTranslationJobProperties])
- listTextTranslationJobsResponse_httpStatus :: Lens' ListTextTranslationJobsResponse Int
Creating a Request
data ListTextTranslationJobs Source #
See: newListTextTranslationJobs smart constructor.
Constructors
| ListTextTranslationJobs' | |
Fields
| |
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: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.
ListTextTranslationJobs, listTextTranslationJobs_nextToken - The token to request the next page of results.
Request Lenses
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.
listTextTranslationJobs_nextToken :: Lens' ListTextTranslationJobs (Maybe Text) Source #
The token to request the next page of results.
Destructuring the Response
data ListTextTranslationJobsResponse Source #
See: newListTextTranslationJobsResponse smart constructor.
Constructors
| ListTextTranslationJobsResponse' | |
Fields
| |
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:
ListTextTranslationJobs, listTextTranslationJobsResponse_nextToken - The token to use to retrieve the next page of results. This value is
null when there are no more results to return.
$sel:textTranslationJobPropertiesList:ListTextTranslationJobsResponse', listTextTranslationJobsResponse_textTranslationJobPropertiesList - A list containing the properties of each job that is returned.
$sel:httpStatus:ListTextTranslationJobsResponse', listTextTranslationJobsResponse_httpStatus - The response's http status code.
Response Lenses
listTextTranslationJobsResponse_nextToken :: Lens' ListTextTranslationJobsResponse (Maybe Text) Source #
The token to use to retrieve the next page of results. This value is
null when there are no more results to return.
listTextTranslationJobsResponse_textTranslationJobPropertiesList :: Lens' ListTextTranslationJobsResponse (Maybe [TextTranslationJobProperties]) Source #
A list containing the properties of each job that is returned.
listTextTranslationJobsResponse_httpStatus :: Lens' ListTextTranslationJobsResponse Int Source #
The response's http status code.