| 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.DataSync.ListTaskExecutions
Description
Returns a list of executed tasks.
This operation returns paginated results.
Synopsis
- data ListTaskExecutions = ListTaskExecutions' {}
- newListTaskExecutions :: ListTaskExecutions
- listTaskExecutions_maxResults :: Lens' ListTaskExecutions (Maybe Natural)
- listTaskExecutions_nextToken :: Lens' ListTaskExecutions (Maybe Text)
- listTaskExecutions_taskArn :: Lens' ListTaskExecutions (Maybe Text)
- data ListTaskExecutionsResponse = ListTaskExecutionsResponse' {}
- newListTaskExecutionsResponse :: Int -> ListTaskExecutionsResponse
- listTaskExecutionsResponse_nextToken :: Lens' ListTaskExecutionsResponse (Maybe Text)
- listTaskExecutionsResponse_taskExecutions :: Lens' ListTaskExecutionsResponse (Maybe [TaskExecutionListEntry])
- listTaskExecutionsResponse_httpStatus :: Lens' ListTaskExecutionsResponse Int
Creating a Request
data ListTaskExecutions Source #
ListTaskExecutions
See: newListTaskExecutions smart constructor.
Constructors
| ListTaskExecutions' | |
Instances
newListTaskExecutions :: ListTaskExecutions Source #
Create a value of ListTaskExecutions 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:maxResults:ListTaskExecutions', listTaskExecutions_maxResults - The maximum number of executed tasks to list.
ListTaskExecutions, listTaskExecutions_nextToken - An opaque string that indicates the position at which to begin the next
list of the executed tasks.
ListTaskExecutions, listTaskExecutions_taskArn - The Amazon Resource Name (ARN) of the task whose tasks you want to list.
Request Lenses
listTaskExecutions_maxResults :: Lens' ListTaskExecutions (Maybe Natural) Source #
The maximum number of executed tasks to list.
listTaskExecutions_nextToken :: Lens' ListTaskExecutions (Maybe Text) Source #
An opaque string that indicates the position at which to begin the next list of the executed tasks.
listTaskExecutions_taskArn :: Lens' ListTaskExecutions (Maybe Text) Source #
The Amazon Resource Name (ARN) of the task whose tasks you want to list.
Destructuring the Response
data ListTaskExecutionsResponse Source #
ListTaskExecutionsResponse
See: newListTaskExecutionsResponse smart constructor.
Constructors
| ListTaskExecutionsResponse' | |
Fields
| |
Instances
newListTaskExecutionsResponse Source #
Create a value of ListTaskExecutionsResponse 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:
ListTaskExecutions, listTaskExecutionsResponse_nextToken - An opaque string that indicates the position at which to begin returning
the next list of executed tasks.
$sel:taskExecutions:ListTaskExecutionsResponse', listTaskExecutionsResponse_taskExecutions - A list of executed tasks.
$sel:httpStatus:ListTaskExecutionsResponse', listTaskExecutionsResponse_httpStatus - The response's http status code.
Response Lenses
listTaskExecutionsResponse_nextToken :: Lens' ListTaskExecutionsResponse (Maybe Text) Source #
An opaque string that indicates the position at which to begin returning the next list of executed tasks.
listTaskExecutionsResponse_taskExecutions :: Lens' ListTaskExecutionsResponse (Maybe [TaskExecutionListEntry]) Source #
A list of executed tasks.
listTaskExecutionsResponse_httpStatus :: Lens' ListTaskExecutionsResponse Int Source #
The response's http status code.