amazonka-migrationhub-1.6.1: Amazon Migration Hub SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.MigrationHub.ListMigrationTasks

Contents

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

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

data ListMigrationTasks Source #

See: listMigrationTasks smart constructor.

Instances
Eq ListMigrationTasks Source # 
Instance details

Defined in Network.AWS.MigrationHub.ListMigrationTasks

Data ListMigrationTasks Source # 
Instance details

Defined in Network.AWS.MigrationHub.ListMigrationTasks

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListMigrationTasks -> c ListMigrationTasks #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListMigrationTasks #

toConstr :: ListMigrationTasks -> Constr #

dataTypeOf :: ListMigrationTasks -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListMigrationTasks) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListMigrationTasks) #

gmapT :: (forall b. Data b => b -> b) -> ListMigrationTasks -> ListMigrationTasks #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListMigrationTasks -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListMigrationTasks -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListMigrationTasks -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListMigrationTasks -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListMigrationTasks -> m ListMigrationTasks #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListMigrationTasks -> m ListMigrationTasks #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListMigrationTasks -> m ListMigrationTasks #

Read ListMigrationTasks Source # 
Instance details

Defined in Network.AWS.MigrationHub.ListMigrationTasks

Show ListMigrationTasks Source # 
Instance details

Defined in Network.AWS.MigrationHub.ListMigrationTasks

Generic ListMigrationTasks Source # 
Instance details

Defined in Network.AWS.MigrationHub.ListMigrationTasks

Associated Types

type Rep ListMigrationTasks :: Type -> Type #

Hashable ListMigrationTasks Source # 
Instance details

Defined in Network.AWS.MigrationHub.ListMigrationTasks

ToJSON ListMigrationTasks Source # 
Instance details

Defined in Network.AWS.MigrationHub.ListMigrationTasks

AWSRequest ListMigrationTasks Source # 
Instance details

Defined in Network.AWS.MigrationHub.ListMigrationTasks

Associated Types

type Rs ListMigrationTasks :: Type #

ToHeaders ListMigrationTasks Source # 
Instance details

Defined in Network.AWS.MigrationHub.ListMigrationTasks

ToPath ListMigrationTasks Source # 
Instance details

Defined in Network.AWS.MigrationHub.ListMigrationTasks

ToQuery ListMigrationTasks Source # 
Instance details

Defined in Network.AWS.MigrationHub.ListMigrationTasks

NFData ListMigrationTasks Source # 
Instance details

Defined in Network.AWS.MigrationHub.ListMigrationTasks

Methods

rnf :: ListMigrationTasks -> () #

type Rep ListMigrationTasks Source # 
Instance details

Defined in Network.AWS.MigrationHub.ListMigrationTasks

type Rep ListMigrationTasks = D1 (MetaData "ListMigrationTasks" "Network.AWS.MigrationHub.ListMigrationTasks" "amazonka-migrationhub-1.6.1-8CAtlWlKcvW3trCK3Vdi8l" False) (C1 (MetaCons "ListMigrationTasks'" PrefixI True) (S1 (MetaSel (Just "_lmtResourceName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lmtNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lmtMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))
type Rs ListMigrationTasks Source # 
Instance details

Defined in Network.AWS.MigrationHub.ListMigrationTasks

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

data ListMigrationTasksResponse Source #

See: listMigrationTasksResponse smart constructor.

Instances
Eq ListMigrationTasksResponse Source # 
Instance details

Defined in Network.AWS.MigrationHub.ListMigrationTasks

Data ListMigrationTasksResponse Source # 
Instance details

Defined in Network.AWS.MigrationHub.ListMigrationTasks

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListMigrationTasksResponse -> c ListMigrationTasksResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListMigrationTasksResponse #

toConstr :: ListMigrationTasksResponse -> Constr #

dataTypeOf :: ListMigrationTasksResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListMigrationTasksResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListMigrationTasksResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListMigrationTasksResponse -> ListMigrationTasksResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListMigrationTasksResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListMigrationTasksResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListMigrationTasksResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListMigrationTasksResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListMigrationTasksResponse -> m ListMigrationTasksResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListMigrationTasksResponse -> m ListMigrationTasksResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListMigrationTasksResponse -> m ListMigrationTasksResponse #

Read ListMigrationTasksResponse Source # 
Instance details

Defined in Network.AWS.MigrationHub.ListMigrationTasks

Show ListMigrationTasksResponse Source # 
Instance details

Defined in Network.AWS.MigrationHub.ListMigrationTasks

Generic ListMigrationTasksResponse Source # 
Instance details

Defined in Network.AWS.MigrationHub.ListMigrationTasks

Associated Types

type Rep ListMigrationTasksResponse :: Type -> Type #

NFData ListMigrationTasksResponse Source # 
Instance details

Defined in Network.AWS.MigrationHub.ListMigrationTasks

type Rep ListMigrationTasksResponse Source # 
Instance details

Defined in Network.AWS.MigrationHub.ListMigrationTasks

type Rep ListMigrationTasksResponse = D1 (MetaData "ListMigrationTasksResponse" "Network.AWS.MigrationHub.ListMigrationTasks" "amazonka-migrationhub-1.6.1-8CAtlWlKcvW3trCK3Vdi8l" False) (C1 (MetaCons "ListMigrationTasksResponse'" PrefixI True) (S1 (MetaSel (Just "_lmtrsMigrationTaskSummaryList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [MigrationTaskSummary])) :*: (S1 (MetaSel (Just "_lmtrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lmtrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

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.