Skip to content

/AWS1/CL_MHS=>STARTIMPORTFILETASK()

About StartImportFileTask

Starts a file import.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/MHSSTRING /AWS1/MHSSTRING

A descriptive name for the request.

IV_S3BUCKET TYPE /AWS1/MHSIMPORTS3BUCKET /AWS1/MHSIMPORTS3BUCKET

The S3 bucket where the import file is located. The bucket name is required to begin with migrationhub-strategy-.

IV_S3KEY TYPE /AWS1/MHSSTRING /AWS1/MHSSTRING

The Amazon S3 key name of the import file.

Optional arguments:

IV_DATASOURCETYPE TYPE /AWS1/MHSDATASOURCETYPE /AWS1/MHSDATASOURCETYPE

Specifies the source that the servers are coming from. By default, Strategy Recommendations assumes that the servers specified in the import file are available in AWS Application Discovery Service.

IT_GROUPID TYPE /AWS1/CL_MHSGROUP=>TT_GROUPIDS TT_GROUPIDS

Groups the resources in the import file together with a unique name. This ID can be as filter in ListApplicationComponents and ListServers.

IV_S3BUCKETFORREPORTDATA TYPE /AWS1/MHSSTRING /AWS1/MHSSTRING

The S3 bucket where Strategy Recommendations uploads import results. The bucket name is required to begin with migrationhub-strategy-.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_MHSSTRTIMPFILETASKRSP /AWS1/CL_MHSSTRTIMPFILETASKRSP