Copyright | (c) 2013-2018 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 |
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.
- listMigrationTasks :: ListMigrationTasks
- data ListMigrationTasks
- lmtResourceName :: Lens' ListMigrationTasks (Maybe Text)
- lmtNextToken :: Lens' ListMigrationTasks (Maybe Text)
- lmtMaxResults :: Lens' ListMigrationTasks (Maybe Natural)
- listMigrationTasksResponse :: Int -> ListMigrationTasksResponse
- data ListMigrationTasksResponse
- lmtrsMigrationTaskSummaryList :: Lens' ListMigrationTasksResponse [MigrationTaskSummary]
- lmtrsNextToken :: Lens' ListMigrationTasksResponse (Maybe Text)
- lmtrsResponseStatus :: Lens' ListMigrationTasksResponse Int
Creating a Request
listMigrationTasks :: ListMigrationTasks Source #
Creates a value of ListMigrationTasks
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lmtResourceName
- Filter migration tasks by discovered resource name.lmtNextToken
- If aNextToken
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 inNextToken
.lmtMaxResults
- Value to specify how many results are returned per page.
data ListMigrationTasks Source #
See: listMigrationTasks
smart constructor.
Request Lenses
lmtResourceName :: Lens' ListMigrationTasks (Maybe Text) Source #
Filter migration tasks by discovered resource name.
lmtNextToken :: 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
.
lmtMaxResults :: Lens' ListMigrationTasks (Maybe Natural) Source #
Value to specify how many results are returned per page.
Destructuring the Response
listMigrationTasksResponse Source #
Creates a value of ListMigrationTasksResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
lmtrsMigrationTaskSummaryList
- Lists the migration task's summary which includes:MigrationTaskName
,ProgressPercent
,ProgressUpdateStream
,Status
, and theUpdateDateTime
for each task.lmtrsNextToken
- 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.lmtrsResponseStatus
- -- | The response status code.
data ListMigrationTasksResponse Source #
See: listMigrationTasksResponse
smart constructor.
Response Lenses
lmtrsMigrationTaskSummaryList :: Lens' ListMigrationTasksResponse [MigrationTaskSummary] Source #
Lists the migration task's summary which includes: MigrationTaskName
, ProgressPercent
, ProgressUpdateStream
, Status
, and the UpdateDateTime
for each task.
lmtrsNextToken :: 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.
lmtrsResponseStatus :: Lens' ListMigrationTasksResponse Int Source #
- - | The response status code.