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 |
Lists all, or filtered by resource name, migration tasks associated with the user account making this call. This API has the following traits:
- Can show a summary list of the most recent migration tasks.
- Can show a summary list of migration tasks associated with a given discovered resource.
- Lists migration tasks in a paginated interface.
This operation returns paginated results.
Synopsis
- data ListMigrationTasks = ListMigrationTasks' {}
- newListMigrationTasks :: ListMigrationTasks
- listMigrationTasks_maxResults :: Lens' ListMigrationTasks (Maybe Natural)
- listMigrationTasks_nextToken :: Lens' ListMigrationTasks (Maybe Text)
- listMigrationTasks_resourceName :: Lens' ListMigrationTasks (Maybe Text)
- data ListMigrationTasksResponse = ListMigrationTasksResponse' {}
- newListMigrationTasksResponse :: Int -> ListMigrationTasksResponse
- listMigrationTasksResponse_migrationTaskSummaryList :: Lens' ListMigrationTasksResponse (Maybe [MigrationTaskSummary])
- listMigrationTasksResponse_nextToken :: Lens' ListMigrationTasksResponse (Maybe Text)
- listMigrationTasksResponse_httpStatus :: Lens' ListMigrationTasksResponse Int
Creating a Request
data ListMigrationTasks Source #
See: newListMigrationTasks
smart constructor.
ListMigrationTasks' | |
|
Instances
newListMigrationTasks :: ListMigrationTasks Source #
Create a value of ListMigrationTasks
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:ListMigrationTasks'
, listMigrationTasks_maxResults
- Value to specify how many results are returned per page.
ListMigrationTasks
, listMigrationTasks_nextToken
- If a NextToken
was returned by a previous call, there are more results
available. To retrieve the next page of results, make the call again
using the returned token in NextToken
.
$sel:resourceName:ListMigrationTasks'
, listMigrationTasks_resourceName
- Filter migration tasks by discovered resource name.
Request Lenses
listMigrationTasks_maxResults :: Lens' ListMigrationTasks (Maybe Natural) Source #
Value to specify how many results are returned per page.
listMigrationTasks_nextToken :: Lens' ListMigrationTasks (Maybe Text) Source #
If a NextToken
was returned by a previous call, there are more results
available. To retrieve the next page of results, make the call again
using the returned token in NextToken
.
listMigrationTasks_resourceName :: Lens' ListMigrationTasks (Maybe Text) Source #
Filter migration tasks by discovered resource name.
Destructuring the Response
data ListMigrationTasksResponse Source #
See: newListMigrationTasksResponse
smart constructor.
ListMigrationTasksResponse' | |
|
Instances
newListMigrationTasksResponse Source #
Create a value of ListMigrationTasksResponse
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:migrationTaskSummaryList:ListMigrationTasksResponse'
, listMigrationTasksResponse_migrationTaskSummaryList
- Lists the migration task's summary which includes: MigrationTaskName
,
ProgressPercent
, ProgressUpdateStream
, Status
, and the
UpdateDateTime
for each task.
ListMigrationTasks
, listMigrationTasksResponse_nextToken
- If there are more migration tasks than the max result, return the next
token to be passed to the next call as a bookmark of where to start
from.
$sel:httpStatus:ListMigrationTasksResponse'
, listMigrationTasksResponse_httpStatus
- The response's http status code.
Response Lenses
listMigrationTasksResponse_migrationTaskSummaryList :: Lens' ListMigrationTasksResponse (Maybe [MigrationTaskSummary]) Source #
Lists the migration task's summary which includes: MigrationTaskName
,
ProgressPercent
, ProgressUpdateStream
, Status
, and the
UpdateDateTime
for each task.
listMigrationTasksResponse_nextToken :: Lens' ListMigrationTasksResponse (Maybe Text) Source #
If there are more migration tasks than the max result, return the next token to be passed to the next call as a bookmark of where to start from.
listMigrationTasksResponse_httpStatus :: Lens' ListMigrationTasksResponse Int Source #
The response's http status code.