start_reference_import_job
¶
start_reference_import_job(
reference_store_id: ReferenceStoreId,
role_arn: RoleArn,
sources: StartReferenceImportJobSourceList,
*,
config_overrides: Optional[OmicsClientConfig] = 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.