| 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 |
Network.AWS.MigrationHub.ImportMigrationTask
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
- importMigrationTask :: Text -> Text -> ImportMigrationTask
- data ImportMigrationTask
- imtDryRun :: Lens' ImportMigrationTask (Maybe Bool)
- imtProgressUpdateStream :: Lens' ImportMigrationTask Text
- imtMigrationTaskName :: Lens' ImportMigrationTask Text
- importMigrationTaskResponse :: Int -> ImportMigrationTaskResponse
- data ImportMigrationTaskResponse
- imtrsResponseStatus :: Lens' ImportMigrationTaskResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> ImportMigrationTask |
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
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 #
Arguments
| :: Int | |
| -> ImportMigrationTaskResponse |
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:
imtrsResponseStatus- -- | The response status code.
data ImportMigrationTaskResponse Source #
See: importMigrationTaskResponse smart constructor.
Instances
Response Lenses
imtrsResponseStatus :: Lens' ImportMigrationTaskResponse Int Source #
- - | The response status code.