Copyright | (c) 2013-2017 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 |
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.
- 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
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.
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:
imtrsResponseStatus
- -- | The response status code.
data ImportMigrationTaskResponse Source #
See: importMigrationTaskResponse
smart constructor.
Response Lenses
imtrsResponseStatus :: Lens' ImportMigrationTaskResponse Int Source #
- - | The response status code.