amazonka-migrationhub-1.6.0: 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.ImportMigrationTask

Contents

Description

Registers a new migration task which represents a server, database, etc., being migrated to AWS by a migration tool.

This API is a prerequisite to calling the NotifyMigrationTaskState API as the migration tool must first register the migration task with Migration Hub.

Synopsis

Creating a Request

importMigrationTask Source #

Creates a value of ImportMigrationTask with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • imtDryRun - Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.
  • imtProgressUpdateStream - The name of the ProgressUpdateStream.
  • imtMigrationTaskName - Unique identifier that references the migration task.

data ImportMigrationTask Source #

See: importMigrationTask smart constructor.

Instances

Eq ImportMigrationTask Source # 
Data ImportMigrationTask Source # 

Methods

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

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

toConstr :: ImportMigrationTask -> Constr #

dataTypeOf :: ImportMigrationTask -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ImportMigrationTask Source # 
Show ImportMigrationTask Source # 
Generic ImportMigrationTask Source # 
Hashable ImportMigrationTask Source # 
ToJSON ImportMigrationTask Source # 
NFData ImportMigrationTask Source # 

Methods

rnf :: ImportMigrationTask -> () #

AWSRequest ImportMigrationTask Source # 
ToHeaders ImportMigrationTask Source # 
ToPath ImportMigrationTask Source # 
ToQuery ImportMigrationTask Source # 
type Rep ImportMigrationTask Source # 
type Rep ImportMigrationTask = D1 * (MetaData "ImportMigrationTask" "Network.AWS.MigrationHub.ImportMigrationTask" "amazonka-migrationhub-1.6.0-7kcto3lUXxtCXP9q5ELBxL" False) (C1 * (MetaCons "ImportMigrationTask'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_imtDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) ((:*:) * (S1 * (MetaSel (Just Symbol "_imtProgressUpdateStream") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) (S1 * (MetaSel (Just Symbol "_imtMigrationTaskName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)))))
type Rs ImportMigrationTask Source # 

Request Lenses

imtDryRun :: Lens' ImportMigrationTask (Maybe Bool) Source #

Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.

imtProgressUpdateStream :: Lens' ImportMigrationTask Text Source #

The name of the ProgressUpdateStream.

imtMigrationTaskName :: Lens' ImportMigrationTask Text Source #

Unique identifier that references the migration task.

Destructuring the Response

importMigrationTaskResponse Source #

Creates a value of ImportMigrationTaskResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data ImportMigrationTaskResponse Source #

See: importMigrationTaskResponse smart constructor.

Instances

Eq ImportMigrationTaskResponse Source # 
Data ImportMigrationTaskResponse Source # 

Methods

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

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

toConstr :: ImportMigrationTaskResponse -> Constr #

dataTypeOf :: ImportMigrationTaskResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ImportMigrationTaskResponse Source # 
Show ImportMigrationTaskResponse Source # 
Generic ImportMigrationTaskResponse Source # 
NFData ImportMigrationTaskResponse Source # 
type Rep ImportMigrationTaskResponse Source # 
type Rep ImportMigrationTaskResponse = D1 * (MetaData "ImportMigrationTaskResponse" "Network.AWS.MigrationHub.ImportMigrationTask" "amazonka-migrationhub-1.6.0-7kcto3lUXxtCXP9q5ELBxL" True) (C1 * (MetaCons "ImportMigrationTaskResponse'" PrefixI True) (S1 * (MetaSel (Just Symbol "_imtrsResponseStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * Int)))

Response Lenses