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

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

Creating a Request

data ImportMigrationTask Source #

See: newImportMigrationTask smart constructor.

Constructors

ImportMigrationTask' 

Fields

  • dryRun :: Maybe Bool

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

  • progressUpdateStream :: Text

    The name of the ProgressUpdateStream. >

  • migrationTaskName :: Text

    Unique identifier that references the migration task. /Do not store personal data in this field./

Instances

Instances details
Eq ImportMigrationTask Source # 
Instance details

Defined in Amazonka.MigrationHub.ImportMigrationTask

Read ImportMigrationTask Source # 
Instance details

Defined in Amazonka.MigrationHub.ImportMigrationTask

Show ImportMigrationTask Source # 
Instance details

Defined in Amazonka.MigrationHub.ImportMigrationTask

Generic ImportMigrationTask Source # 
Instance details

Defined in Amazonka.MigrationHub.ImportMigrationTask

Associated Types

type Rep ImportMigrationTask :: Type -> Type #

NFData ImportMigrationTask Source # 
Instance details

Defined in Amazonka.MigrationHub.ImportMigrationTask

Methods

rnf :: ImportMigrationTask -> () #

Hashable ImportMigrationTask Source # 
Instance details

Defined in Amazonka.MigrationHub.ImportMigrationTask

ToJSON ImportMigrationTask Source # 
Instance details

Defined in Amazonka.MigrationHub.ImportMigrationTask

AWSRequest ImportMigrationTask Source # 
Instance details

Defined in Amazonka.MigrationHub.ImportMigrationTask

Associated Types

type AWSResponse ImportMigrationTask #

ToHeaders ImportMigrationTask Source # 
Instance details

Defined in Amazonka.MigrationHub.ImportMigrationTask

ToPath ImportMigrationTask Source # 
Instance details

Defined in Amazonka.MigrationHub.ImportMigrationTask

ToQuery ImportMigrationTask Source # 
Instance details

Defined in Amazonka.MigrationHub.ImportMigrationTask

type Rep ImportMigrationTask Source # 
Instance details

Defined in Amazonka.MigrationHub.ImportMigrationTask

type Rep ImportMigrationTask = D1 ('MetaData "ImportMigrationTask" "Amazonka.MigrationHub.ImportMigrationTask" "libZSservicesZSamazonka-migrationhubZSamazonka-migrationhub" 'False) (C1 ('MetaCons "ImportMigrationTask'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dryRun") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 ('MetaSel ('Just "progressUpdateStream") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "migrationTaskName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ImportMigrationTask Source # 
Instance details

Defined in Amazonka.MigrationHub.ImportMigrationTask

newImportMigrationTask Source #

Create a value of ImportMigrationTask with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dryRun:ImportMigrationTask', importMigrationTask_dryRun - Optional boolean flag to indicate whether any effect should take place. Used to test if the caller has permission to make the call.

$sel:progressUpdateStream:ImportMigrationTask', importMigrationTask_progressUpdateStream - The name of the ProgressUpdateStream. >

$sel:migrationTaskName:ImportMigrationTask', importMigrationTask_migrationTaskName - Unique identifier that references the migration task. /Do not store personal data in this field./

Request Lenses

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

importMigrationTask_migrationTaskName :: Lens' ImportMigrationTask Text Source #

Unique identifier that references the migration task. /Do not store personal data in this field./

Destructuring the Response

data ImportMigrationTaskResponse Source #

See: newImportMigrationTaskResponse smart constructor.

Constructors

ImportMigrationTaskResponse' 

Fields

Instances

Instances details
Eq ImportMigrationTaskResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.ImportMigrationTask

Read ImportMigrationTaskResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.ImportMigrationTask

Show ImportMigrationTaskResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.ImportMigrationTask

Generic ImportMigrationTaskResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.ImportMigrationTask

Associated Types

type Rep ImportMigrationTaskResponse :: Type -> Type #

NFData ImportMigrationTaskResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.ImportMigrationTask

type Rep ImportMigrationTaskResponse Source # 
Instance details

Defined in Amazonka.MigrationHub.ImportMigrationTask

type Rep ImportMigrationTaskResponse = D1 ('MetaData "ImportMigrationTaskResponse" "Amazonka.MigrationHub.ImportMigrationTask" "libZSservicesZSamazonka-migrationhubZSamazonka-migrationhub" 'False) (C1 ('MetaCons "ImportMigrationTaskResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newImportMigrationTaskResponse Source #

Create a value of ImportMigrationTaskResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:ImportMigrationTaskResponse', importMigrationTaskResponse_httpStatus - The response's http status code.

Response Lenses