start_reference_import_job
async
¶
start_reference_import_job(
reference_store_id: ReferenceStoreId,
role_arn: RoleArn,
sources: StartReferenceImportJobSourceList,
*,
config_overrides: Optional[AsyncOmicsClientConfig] = None,
client_token: Optional[ClientToken] = None,
) -> StartReferenceImportJobResponse
Imports a reference genome from Amazon S3 into a specified reference store. You can have multiple reference genomes in a reference store. You can only import reference genomes one at a time into each reference store. Monitor the status of your reference import job by using the GetReferenceImportJob API operation.
Parameters:
-
reference_store_id(ReferenceStoreId) –The job's reference store ID.
-
role_arn(RoleArn) –A service role for the job.
-
client_token(Optional[ClientToken], default:None) –To ensure that jobs don't run multiple times, specify a unique token for each job.
-
sources(StartReferenceImportJobSourceList) –The job's source files.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
InternalServerException–An unexpected error occurred. Try the request again.
-
RequestTimeoutException–The request timed out.
-
ResourceNotFoundException–The target resource was not found in the current Region.
-
ServiceQuotaExceededException–The request exceeds a service quota.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an Amazon Web Services service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_omics/_services/async_omics.py
2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 | |