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 |
Returns a list of SpeechSynthesisTask objects ordered by their creation date. This operation can filter the tasks by their status, for example, allowing users to list only tasks that are completed.
This operation returns paginated results.
Synopsis
- data ListSpeechSynthesisTasks = ListSpeechSynthesisTasks' {}
- newListSpeechSynthesisTasks :: ListSpeechSynthesisTasks
- listSpeechSynthesisTasks_status :: Lens' ListSpeechSynthesisTasks (Maybe TaskStatus)
- listSpeechSynthesisTasks_nextToken :: Lens' ListSpeechSynthesisTasks (Maybe Text)
- listSpeechSynthesisTasks_maxResults :: Lens' ListSpeechSynthesisTasks (Maybe Natural)
- data ListSpeechSynthesisTasksResponse = ListSpeechSynthesisTasksResponse' {
- nextToken :: Maybe Text
- synthesisTasks :: Maybe [SynthesisTask]
- httpStatus :: Int
- newListSpeechSynthesisTasksResponse :: Int -> ListSpeechSynthesisTasksResponse
- listSpeechSynthesisTasksResponse_nextToken :: Lens' ListSpeechSynthesisTasksResponse (Maybe Text)
- listSpeechSynthesisTasksResponse_synthesisTasks :: Lens' ListSpeechSynthesisTasksResponse (Maybe [SynthesisTask])
- listSpeechSynthesisTasksResponse_httpStatus :: Lens' ListSpeechSynthesisTasksResponse Int
Creating a Request
data ListSpeechSynthesisTasks Source #
See: newListSpeechSynthesisTasks
smart constructor.
ListSpeechSynthesisTasks' | |
|
Instances
newListSpeechSynthesisTasks :: ListSpeechSynthesisTasks Source #
Create a value of ListSpeechSynthesisTasks
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:ListSpeechSynthesisTasks'
, listSpeechSynthesisTasks_status
- Status of the speech synthesis tasks returned in a List operation
$sel:nextToken:ListSpeechSynthesisTasks'
, listSpeechSynthesisTasks_nextToken
- The pagination token to use in the next request to continue the listing
of speech synthesis tasks.
$sel:maxResults:ListSpeechSynthesisTasks'
, listSpeechSynthesisTasks_maxResults
- Maximum number of speech synthesis tasks returned in a List operation.
Request Lenses
listSpeechSynthesisTasks_status :: Lens' ListSpeechSynthesisTasks (Maybe TaskStatus) Source #
Status of the speech synthesis tasks returned in a List operation
listSpeechSynthesisTasks_nextToken :: Lens' ListSpeechSynthesisTasks (Maybe Text) Source #
The pagination token to use in the next request to continue the listing of speech synthesis tasks.
listSpeechSynthesisTasks_maxResults :: Lens' ListSpeechSynthesisTasks (Maybe Natural) Source #
Maximum number of speech synthesis tasks returned in a List operation.
Destructuring the Response
data ListSpeechSynthesisTasksResponse Source #
See: newListSpeechSynthesisTasksResponse
smart constructor.
ListSpeechSynthesisTasksResponse' | |
|
Instances
newListSpeechSynthesisTasksResponse Source #
Create a value of ListSpeechSynthesisTasksResponse
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:ListSpeechSynthesisTasks'
, listSpeechSynthesisTasksResponse_nextToken
- An opaque pagination token returned from the previous List operation in
this request. If present, this indicates where to continue the listing.
$sel:synthesisTasks:ListSpeechSynthesisTasksResponse'
, listSpeechSynthesisTasksResponse_synthesisTasks
- List of SynthesisTask objects that provides information from the
specified task in the list request, including output format, creation
time, task status, and so on.
$sel:httpStatus:ListSpeechSynthesisTasksResponse'
, listSpeechSynthesisTasksResponse_httpStatus
- The response's http status code.
Response Lenses
listSpeechSynthesisTasksResponse_nextToken :: Lens' ListSpeechSynthesisTasksResponse (Maybe Text) Source #
An opaque pagination token returned from the previous List operation in this request. If present, this indicates where to continue the listing.
listSpeechSynthesisTasksResponse_synthesisTasks :: Lens' ListSpeechSynthesisTasksResponse (Maybe [SynthesisTask]) Source #
List of SynthesisTask objects that provides information from the specified task in the list request, including output format, creation time, task status, and so on.
listSpeechSynthesisTasksResponse_httpStatus :: Lens' ListSpeechSynthesisTasksResponse Int Source #
The response's http status code.