create_data_set_import_task
async
¶
create_data_set_import_task(
application_id: Identifier,
import_config: DataSetImportConfig,
*,
config_overrides: Optional[Asyncm2ClientConfig] = None,
client_token: Optional[ClientToken] = None,
) -> CreateDataSetImportTaskResponse
Starts a data set import task for a specific application.
Parameters:
-
application_id(Identifier) –The unique identifier of the application for which you want to import data sets.
-
import_config(DataSetImportConfig) –The data set import task configuration.
-
client_token(Optional[ClientToken], default:None) –Unique, case-sensitive identifier you provide to ensure the idempotency of the request to create a data set import. The service generates the clientToken when the API call is triggered. The token expires after one hour, so if you retry the API within this timeframe with the same clientToken, you will get the same response. The service also handles deleting the clientToken after it expires.
Raises:
-
AccessDeniedException–The account or role doesn't have the right permissions to make the request.
-
ConflictException–The parameters provided in the request conflict with existing resources.
-
InternalServerException–An unexpected error occurred during the processing of the request.
-
ResourceNotFoundException–The specified resource was not found.
-
ServiceQuotaExceededException–One or more quotas for Amazon Web Services Mainframe Modernization exceeds the limit.
-
ThrottlingException–The number of requests made exceeds the limit.
-
ValidationException–One or more parameters provided in the request is not valid.
-
UnknownServiceError–The service returned an error code this client does not model.