amazonka-migrationhub-1.6.1: Amazon Migration Hub SDK.

Copyright (c) 2013-2018 Brendan Hay Mozilla Public License, v. 2.0. Brendan Hay auto-generated non-portable (GHC extensions) None Haskell2010

Description

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.
Synopsis

# Creating a Request

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 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 - Value to specify how many results are returned per page.

See: listMigrationTasks smart constructor.

Instances

# Request Lenses

Filter migration tasks by discovered resource name.

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 .

Value to specify how many results are returned per page.

# Destructuring the Response

Arguments

 :: Int lmtrsResponseStatus -> ListMigrationTasksResponse

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 the UpdateDateTime 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.

See: listMigrationTasksResponse smart constructor.

Instances
Lists the migration task's summary which includes: MigrationTaskName , ProgressPercent , ProgressUpdateStream , Status , and the UpdateDateTime for each task.