Class: Aws::Omics::Client
- Inherits:
-
Seahorse::Client::Base
- Object
- Seahorse::Client::Base
- Aws::Omics::Client
- Includes:
- ClientStubs
- Defined in:
- gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb
Overview
An API client for Omics. To construct a client, you need to configure a :region and :credentials.
client = Aws::Omics::Client.new(
region: region_name,
credentials: credentials,
# ...
)
For details on configuring region and credentials see the developer guide.
See #initialize for a full list of supported configuration options.
Instance Attribute Summary
Attributes inherited from Seahorse::Client::Base
API Operations collapse
-
#abort_multipart_read_set_upload(params = {}) ⇒ Struct
Stops a multipart read set upload into a sequence store and returns a response with no body if the operation is successful.
-
#accept_share(params = {}) ⇒ Types::AcceptShareResponse
Accept a resource share request.
-
#batch_delete_read_set(params = {}) ⇒ Types::BatchDeleteReadSetResponse
Deletes one or more read sets.
-
#cancel_annotation_import_job(params = {}) ⇒ Struct
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers.
-
#cancel_run(params = {}) ⇒ Struct
Cancels a run using its ID and returns a response with no body if the operation is successful.
-
#cancel_run_batch(params = {}) ⇒ Struct
Cancels all runs within a specified batch.
-
#cancel_variant_import_job(params = {}) ⇒ Struct
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers.
-
#complete_multipart_read_set_upload(params = {}) ⇒ Types::CompleteMultipartReadSetUploadResponse
Completes a multipart read set upload into a sequence store after you have initiated the upload process with
CreateMultipartReadSetUploadand uploaded all read set parts usingUploadReadSetPart. -
#create_annotation_store(params = {}) ⇒ Types::CreateAnnotationStoreResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers.
-
#create_annotation_store_version(params = {}) ⇒ Types::CreateAnnotationStoreVersionResponse
Creates a new version of an annotation store.
-
#create_multipart_read_set_upload(params = {}) ⇒ Types::CreateMultipartReadSetUploadResponse
Initiates a multipart read set upload for uploading partitioned source files into a sequence store.
-
#create_reference_store(params = {}) ⇒ Types::CreateReferenceStoreResponse
Creates a reference store and returns metadata in JSON format.
-
#create_run_cache(params = {}) ⇒ Types::CreateRunCacheResponse
Creates a run cache to store and reference task outputs from completed private runs.
-
#create_run_group(params = {}) ⇒ Types::CreateRunGroupResponse
Creates a run group to limit the compute resources for the runs that are added to the group.
-
#create_sequence_store(params = {}) ⇒ Types::CreateSequenceStoreResponse
Creates a sequence store and returns its metadata.
-
#create_share(params = {}) ⇒ Types::CreateShareResponse
Creates a cross-account shared resource.
-
#create_variant_store(params = {}) ⇒ Types::CreateVariantStoreResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers.
-
#create_workflow(params = {}) ⇒ Types::CreateWorkflowResponse
Creates a private workflow.
-
#create_workflow_version(params = {}) ⇒ Types::CreateWorkflowVersionResponse
Creates a new workflow version for the workflow that you specify with the
workflowIdparameter. -
#delete_annotation_store(params = {}) ⇒ Types::DeleteAnnotationStoreResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers.
-
#delete_annotation_store_versions(params = {}) ⇒ Types::DeleteAnnotationStoreVersionsResponse
Deletes one or multiple versions of an annotation store.
-
#delete_batch(params = {}) ⇒ Struct
Deletes a run batch resource and its associated metadata.
-
#delete_reference(params = {}) ⇒ Struct
Deletes a reference genome and returns a response with no body if the operation is successful.
-
#delete_reference_store(params = {}) ⇒ Struct
Deletes a reference store and returns a response with no body if the operation is successful.
-
#delete_run(params = {}) ⇒ Struct
Deletes a run and returns a response with no body if the operation is successful.
-
#delete_run_batch(params = {}) ⇒ Struct
Deletes the individual workflow runs within a batch.
-
#delete_run_cache(params = {}) ⇒ Struct
Deletes a run cache and returns a response with no body if the operation is successful.
-
#delete_run_group(params = {}) ⇒ Struct
Deletes a run group and returns a response with no body if the operation is successful.
-
#delete_s3_access_policy(params = {}) ⇒ Struct
Deletes an access policy for the specified store.
-
#delete_sequence_store(params = {}) ⇒ Struct
Deletes a sequence store and returns a response with no body if the operation is successful.
-
#delete_share(params = {}) ⇒ Types::DeleteShareResponse
Deletes a resource share.
-
#delete_variant_store(params = {}) ⇒ Types::DeleteVariantStoreResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers.
-
#delete_workflow(params = {}) ⇒ Struct
Deletes a workflow by specifying its ID.
-
#delete_workflow_version(params = {}) ⇒ Struct
Deletes a workflow version.
-
#get_annotation_import_job(params = {}) ⇒ Types::GetAnnotationImportResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers.
-
#get_annotation_store(params = {}) ⇒ Types::GetAnnotationStoreResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers.
-
#get_annotation_store_version(params = {}) ⇒ Types::GetAnnotationStoreVersionResponse
Retrieves the metadata for an annotation store version.
-
#get_batch(params = {}) ⇒ Types::GetBatchResponse
Retrieves details and current status for a specific run batch, including submission progress and run execution counts.
-
#get_read_set(params = {}) ⇒ Types::GetReadSetResponse
Retrieves detailed information from parts of a read set and returns the read set in the same format that it was uploaded.
-
#get_read_set_activation_job(params = {}) ⇒ Types::GetReadSetActivationJobResponse
Returns detailed information about the status of a read set activation job in JSON format.
-
#get_read_set_export_job(params = {}) ⇒ Types::GetReadSetExportJobResponse
Retrieves status information about a read set export job and returns the data in JSON format.
-
#get_read_set_import_job(params = {}) ⇒ Types::GetReadSetImportJobResponse
Gets detailed and status information about a read set import job and returns the data in JSON format.
-
#get_read_set_metadata(params = {}) ⇒ Types::GetReadSetMetadataResponse
Retrieves the metadata for a read set from a sequence store in JSON format.
-
#get_reference(params = {}) ⇒ Types::GetReferenceResponse
Downloads parts of data from a reference genome and returns the reference file in the same format that it was uploaded.
-
#get_reference_import_job(params = {}) ⇒ Types::GetReferenceImportJobResponse
Monitors the status of a reference import job.
-
#get_reference_metadata(params = {}) ⇒ Types::GetReferenceMetadataResponse
Retrieves metadata for a reference genome.
-
#get_reference_store(params = {}) ⇒ Types::GetReferenceStoreResponse
Gets information about a reference store.
-
#get_run(params = {}) ⇒ Types::GetRunResponse
Gets detailed information about a specific run using its ID.
-
#get_run_cache(params = {}) ⇒ Types::GetRunCacheResponse
Retrieves detailed information about the specified run cache using its ID.
-
#get_run_group(params = {}) ⇒ Types::GetRunGroupResponse
Gets information about a run group and returns its metadata.
-
#get_run_task(params = {}) ⇒ Types::GetRunTaskResponse
Gets detailed information about a run task using its ID.
-
#get_s3_access_policy(params = {}) ⇒ Types::GetS3AccessPolicyResponse
Retrieves details about an access policy on a given store.
-
#get_sequence_store(params = {}) ⇒ Types::GetSequenceStoreResponse
Retrieves metadata for a sequence store using its ID and returns it in JSON format.
-
#get_share(params = {}) ⇒ Types::GetShareResponse
Retrieves the metadata for the specified resource share.
-
#get_variant_import_job(params = {}) ⇒ Types::GetVariantImportResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers.
-
#get_variant_store(params = {}) ⇒ Types::GetVariantStoreResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers.
-
#get_workflow(params = {}) ⇒ Types::GetWorkflowResponse
Gets all information about a workflow using its ID.
-
#get_workflow_version(params = {}) ⇒ Types::GetWorkflowVersionResponse
Gets information about a workflow version.
-
#list_annotation_import_jobs(params = {}) ⇒ Types::ListAnnotationImportJobsResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers.
-
#list_annotation_store_versions(params = {}) ⇒ Types::ListAnnotationStoreVersionsResponse
Lists the versions of an annotation store.
-
#list_annotation_stores(params = {}) ⇒ Types::ListAnnotationStoresResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers.
-
#list_batch(params = {}) ⇒ Types::ListBatchResponse
Returns a list of run batches in your account, with optional filtering by status, name, or run group.
-
#list_multipart_read_set_uploads(params = {}) ⇒ Types::ListMultipartReadSetUploadsResponse
Lists in-progress multipart read set uploads for a sequence store and returns it in a JSON formatted output.
-
#list_read_set_activation_jobs(params = {}) ⇒ Types::ListReadSetActivationJobsResponse
Retrieves a list of read set activation jobs and returns the metadata in a JSON formatted output.
-
#list_read_set_export_jobs(params = {}) ⇒ Types::ListReadSetExportJobsResponse
Retrieves a list of read set export jobs in a JSON formatted response.
-
#list_read_set_import_jobs(params = {}) ⇒ Types::ListReadSetImportJobsResponse
Retrieves a list of read set import jobs and returns the data in JSON format.
-
#list_read_set_upload_parts(params = {}) ⇒ Types::ListReadSetUploadPartsResponse
Lists all parts in a multipart read set upload for a sequence store and returns the metadata in a JSON formatted output.
-
#list_read_sets(params = {}) ⇒ Types::ListReadSetsResponse
Retrieves a list of read sets from a sequence store ID and returns the metadata in JSON format.
-
#list_reference_import_jobs(params = {}) ⇒ Types::ListReferenceImportJobsResponse
Retrieves the metadata of one or more reference import jobs for a reference store.
-
#list_reference_stores(params = {}) ⇒ Types::ListReferenceStoresResponse
Retrieves a list of reference stores linked to your account and returns their metadata in JSON format.
-
#list_references(params = {}) ⇒ Types::ListReferencesResponse
Retrieves the metadata of one or more reference genomes in a reference store.
-
#list_run_caches(params = {}) ⇒ Types::ListRunCachesResponse
Retrieves a list of your run caches and the metadata for each cache.
-
#list_run_groups(params = {}) ⇒ Types::ListRunGroupsResponse
Retrieves a list of all run groups and returns the metadata for each run group.
-
#list_run_tasks(params = {}) ⇒ Types::ListRunTasksResponse
Returns a list of tasks and status information within their specified run.
-
#list_runs(params = {}) ⇒ Types::ListRunsResponse
Retrieves a list of runs and returns each run's metadata and status.
-
#list_runs_in_batch(params = {}) ⇒ Types::ListRunsInBatchResponse
Returns a paginated list of individual workflow runs within a specific batch.
-
#list_sequence_stores(params = {}) ⇒ Types::ListSequenceStoresResponse
Retrieves a list of sequence stores and returns each sequence store's metadata.
-
#list_shares(params = {}) ⇒ Types::ListSharesResponse
Retrieves the resource shares associated with an account.
-
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Retrieves a list of tags for a resource.
-
#list_variant_import_jobs(params = {}) ⇒ Types::ListVariantImportJobsResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers.
-
#list_variant_stores(params = {}) ⇒ Types::ListVariantStoresResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers.
-
#list_workflow_versions(params = {}) ⇒ Types::ListWorkflowVersionsResponse
Lists the workflow versions for the specified workflow.
-
#list_workflows(params = {}) ⇒ Types::ListWorkflowsResponse
Retrieves a list of existing workflows.
-
#put_s3_access_policy(params = {}) ⇒ Types::PutS3AccessPolicyResponse
Adds an access policy to the specified store.
-
#start_annotation_import_job(params = {}) ⇒ Types::StartAnnotationImportResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers.
-
#start_read_set_activation_job(params = {}) ⇒ Types::StartReadSetActivationJobResponse
Activates an archived read set and returns its metadata in a JSON formatted output.
-
#start_read_set_export_job(params = {}) ⇒ Types::StartReadSetExportJobResponse
Starts a read set export job.
-
#start_read_set_import_job(params = {}) ⇒ Types::StartReadSetImportJobResponse
Imports a read set from the sequence store.
-
#start_reference_import_job(params = {}) ⇒ Types::StartReferenceImportJobResponse
Imports a reference genome from Amazon S3 into a specified reference store.
-
#start_run(params = {}) ⇒ Types::StartRunResponse
Starts a new run and returns details about the run, or duplicates an existing run.
-
#start_run_batch(params = {}) ⇒ Types::StartRunBatchResponse
Starts a batch of workflow runs.
-
#start_variant_import_job(params = {}) ⇒ Types::StartVariantImportResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers.
-
#tag_resource(params = {}) ⇒ Struct
Tags a resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes tags from a resource.
-
#update_annotation_store(params = {}) ⇒ Types::UpdateAnnotationStoreResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers.
-
#update_annotation_store_version(params = {}) ⇒ Types::UpdateAnnotationStoreVersionResponse
Updates the description of an annotation store version.
-
#update_run_cache(params = {}) ⇒ Struct
Updates a run cache using its ID and returns a response with no body if the operation is successful.
-
#update_run_group(params = {}) ⇒ Struct
Updates the settings of a run group and returns a response with no body if the operation is successful.
-
#update_sequence_store(params = {}) ⇒ Types::UpdateSequenceStoreResponse
Update one or more parameters for the sequence store.
-
#update_variant_store(params = {}) ⇒ Types::UpdateVariantStoreResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers.
-
#update_workflow(params = {}) ⇒ Struct
Updates information about a workflow.
-
#update_workflow_version(params = {}) ⇒ Struct
Updates information about the workflow version.
-
#upload_read_set_part(params = {}) ⇒ Types::UploadReadSetPartResponse
Uploads a specific part of a read set into a sequence store.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
-
#wait_until(waiter_name, params = {}, options = {}) {|w.waiter| ... } ⇒ Boolean
Polls an API operation until a resource enters a desired state.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
473 474 475 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 473 def initialize(*args) super end |
Instance Method Details
#abort_multipart_read_set_upload(params = {}) ⇒ Struct
Stops a multipart read set upload into a sequence store and returns a
response with no body if the operation is successful. To confirm that
a multipart read set upload has been stopped, use the
ListMultipartReadSetUploads API operation to view all active
multipart read set uploads.
504 505 506 507 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 504 def abort_multipart_read_set_upload(params = {}, = {}) req = build_request(:abort_multipart_read_set_upload, params) req.send_request() end |
#accept_share(params = {}) ⇒ Types::AcceptShareResponse
Accept a resource share request.
532 533 534 535 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 532 def accept_share(params = {}, = {}) req = build_request(:accept_share, params) req.send_request() end |
#batch_delete_read_set(params = {}) ⇒ Types::BatchDeleteReadSetResponse
Deletes one or more read sets. If the operation is successful, it
returns a response with no body. If there is an error with deleting
one of the read sets, the operation returns an error list. If the
operation successfully deletes only a subset of files, it will return
an error list for the remaining files that fail to be deleted. There
is a limit of 100 read sets that can be deleted in each
BatchDeleteReadSet API call.
573 574 575 576 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 573 def batch_delete_read_set(params = {}, = {}) req = build_request(:batch_delete_read_set, params) req.send_request() end |
#cancel_annotation_import_job(params = {}) ⇒ Struct
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change.
Cancels an annotation import job.
605 606 607 608 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 605 def cancel_annotation_import_job(params = {}, = {}) req = build_request(:cancel_annotation_import_job, params) req.send_request() end |
#cancel_run(params = {}) ⇒ Struct
Cancels a run using its ID and returns a response with no body if the
operation is successful. To confirm that the run has been cancelled,
use the ListRuns API operation to check that it is no longer listed.
629 630 631 632 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 629 def cancel_run(params = {}, = {}) req = build_request(:cancel_run, params) req.send_request() end |
#cancel_run_batch(params = {}) ⇒ Struct
Cancels all runs within a specified batch. This operation prevents
not-yet-submitted runs from starting and submits CancelRun requests
for runs that have already started.
Cancel is only allowed on batches in PENDING, SUBMITTING, or
INPROGRESS state. Cancel operations are non-atomic and may be
partially successful. Use GetBatch to review
successfulCancelSubmissionCount and failedCancelSubmissionCount in
the submissionSummary. Only one cancel or delete operation per batch
is allowed at a time.
660 661 662 663 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 660 def cancel_run_batch(params = {}, = {}) req = build_request(:cancel_run_batch, params) req.send_request() end |
#cancel_variant_import_job(params = {}) ⇒ Struct
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change.
Cancels a variant import job.
692 693 694 695 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 692 def cancel_variant_import_job(params = {}, = {}) req = build_request(:cancel_variant_import_job, params) req.send_request() end |
#complete_multipart_read_set_upload(params = {}) ⇒ Types::CompleteMultipartReadSetUploadResponse
Completes a multipart read set upload into a sequence store after you
have initiated the upload process with CreateMultipartReadSetUpload
and uploaded all read set parts using UploadReadSetPart. You must
specify the parts you uploaded using the parts parameter. If the
operation is successful, it returns the read set ID(s) of the uploaded
read set(s).
For more information, see Direct upload to a sequence store in the Amazon Web Services HealthOmics User Guide.
746 747 748 749 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 746 def complete_multipart_read_set_upload(params = {}, = {}) req = build_request(:complete_multipart_read_set_upload, params) req.send_request() end |
#create_annotation_store(params = {}) ⇒ Types::CreateAnnotationStoreResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change.
Creates an annotation store.
851 852 853 854 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 851 def create_annotation_store(params = {}, = {}) req = build_request(:create_annotation_store, params) req.send_request() end |
#create_annotation_store_version(params = {}) ⇒ Types::CreateAnnotationStoreVersionResponse
Creates a new version of an annotation store.
928 929 930 931 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 928 def create_annotation_store_version(params = {}, = {}) req = build_request(:create_annotation_store_version, params) req.send_request() end |
#create_multipart_read_set_upload(params = {}) ⇒ Types::CreateMultipartReadSetUploadResponse
Initiates a multipart read set upload for uploading partitioned source
files into a sequence store. You can directly import source files from
an EC2 instance and other local compute, or from an S3 bucket. To
separate these source files into parts, use the split operation.
Each part cannot be larger than 100 MB. If the operation is
successful, it provides an uploadId which is required by the
UploadReadSetPart API operation to upload parts into a sequence
store.
To continue uploading a multipart read set into your sequence store,
you must use the UploadReadSetPart API operation to upload each part
individually following the steps below:
Specify the
uploadIdobtained from the previous call toCreateMultipartReadSetUpload.Upload parts for that
uploadId.
When you have finished uploading parts, use the
CompleteMultipartReadSetUpload API to complete the multipart read
set upload and to retrieve the final read set IDs in the response.
To learn more about creating parts and the split operation, see
Direct upload to a sequence store in the Amazon Web Services
HealthOmics User Guide.
1045 1046 1047 1048 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1045 def create_multipart_read_set_upload(params = {}, = {}) req = build_request(:create_multipart_read_set_upload, params) req.send_request() end |
#create_reference_store(params = {}) ⇒ Types::CreateReferenceStoreResponse
Creates a reference store and returns metadata in JSON format.
Reference stores are used to store reference genomes in FASTA format.
A reference store is created when the first reference genome is
imported. To import additional reference genomes from an Amazon S3
bucket, use the StartReferenceImportJob API operation.
For more information, see Creating a HealthOmics reference store in the Amazon Web Services HealthOmics User Guide.
1117 1118 1119 1120 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1117 def create_reference_store(params = {}, = {}) req = build_request(:create_reference_store, params) req.send_request() end |
#create_run_cache(params = {}) ⇒ Types::CreateRunCacheResponse
Creates a run cache to store and reference task outputs from completed private runs. Specify an Amazon S3 location where Amazon Web Services HealthOmics saves the cached data. This data must be immediately accessible and not in an archived state. You can save intermediate task files to a run cache if they are declared as task outputs in the workflow definition file.
For more information, see Call caching and Creating a run cache in the Amazon Web Services HealthOmics User Guide.
1222 1223 1224 1225 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1222 def create_run_cache(params = {}, = {}) req = build_request(:create_run_cache, params) req.send_request() end |
#create_run_group(params = {}) ⇒ Types::CreateRunGroupResponse
Creates a run group to limit the compute resources for the runs that are added to the group. Returns an ARN, ID, and tags for the run group.
1290 1291 1292 1293 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1290 def create_run_group(params = {}, = {}) req = build_request(:create_run_group, params) req.send_request() end |
#create_sequence_store(params = {}) ⇒ Types::CreateSequenceStoreResponse
Creates a sequence store and returns its metadata. Sequence stores are used to store sequence data files called read sets that are saved in FASTQ, BAM, uBAM, or CRAM formats. For aligned formats (BAM and CRAM), a sequence store can only use one reference genome. For unaligned formats (FASTQ and uBAM), a reference genome is not required. You can create multiple sequence stores per region per account.
The following are optional parameters you can specify for your sequence store:
Use
s3AccessConfigto configure your sequence store with S3 access logs (recommended).Use
sseConfigto define your own KMS key for encryption.Use
eTagAlgorithmFamilyto define which algorithm to use for the HealthOmics eTag on objects.Use
fallbackLocationto define a backup location for storing files that have failed a direct upload.Use
propagatedSetLevelTagsto configure tags that propagate to all objects in your store.
For more information, see Creating a HealthOmics sequence store in the Amazon Web Services HealthOmics User Guide.
1429 1430 1431 1432 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1429 def create_sequence_store(params = {}, = {}) req = build_request(:create_sequence_store, params) req.send_request() end |
#create_share(params = {}) ⇒ Types::CreateShareResponse
Creates a cross-account shared resource. The resource owner makes an offer to share the resource with the principal subscriber (an AWS user with a different account than the resource owner).
The following resources support cross-account sharing:
HealthOmics variant stores
HealthOmics annotation stores
Private workflows
1480 1481 1482 1483 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1480 def create_share(params = {}, = {}) req = build_request(:create_share, params) req.send_request() end |
#create_variant_store(params = {}) ⇒ Types::CreateVariantStoreResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change.
Creates a variant store.
1549 1550 1551 1552 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1549 def create_variant_store(params = {}, = {}) req = build_request(:create_variant_store, params) req.send_request() end |
#create_workflow(params = {}) ⇒ Types::CreateWorkflowResponse
Creates a private workflow. Before you create a private workflow, you must create and configure these required resources:
Workflow definition file: A workflow definition file written in WDL, Nextflow, or CWL. The workflow definition specifies the inputs and outputs for runs that use the workflow. It also includes specifications for the runs and run tasks for your workflow, including compute and memory requirements. The workflow definition file must be in
.zipformat. For more information, see Workflow definition files in Amazon Web Services HealthOmics.- You can use Amazon Q CLI to build and validate your workflow definition files in WDL, Nextflow, and CWL. For more information, see Example prompts for Amazon Q CLI and the Amazon Web Services HealthOmics Agentic generative AI tutorial on GitHub.
^
(Optional) Parameter template file: A parameter template file written in JSON. Create the file to define the run parameters, or Amazon Web Services HealthOmics generates the parameter template for you. For more information, see Parameter template files for HealthOmics workflows.
ECR container images: Create container images for the workflow in a private ECR repository, or synchronize images from a supported upstream registry with your Amazon ECR private repository.
(Optional) Sentieon licenses: Request a Sentieon license to use the Sentieon software in private workflows.
For more information, see Creating or updating a private workflow in Amazon Web Services HealthOmics in the Amazon Web Services HealthOmics User Guide.
1815 1816 1817 1818 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1815 def create_workflow(params = {}, = {}) req = build_request(:create_workflow, params) req.send_request() end |
#create_workflow_version(params = {}) ⇒ Types::CreateWorkflowVersionResponse
Creates a new workflow version for the workflow that you specify with
the workflowId parameter.
When you create a new version of a workflow, you need to specify the configuration for the new version. It doesn't inherit any configuration values from the workflow.
Provide a version name that is unique for this workflow. You cannot change the name after HealthOmics creates the version.
For more information, see Workflow versioning in Amazon Web Services HealthOmics in the Amazon Web Services HealthOmics User Guide.
2064 2065 2066 2067 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2064 def create_workflow_version(params = {}, = {}) req = build_request(:create_workflow_version, params) req.send_request() end |
#delete_annotation_store(params = {}) ⇒ Types::DeleteAnnotationStoreResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change.
Deletes an annotation store.
2106 2107 2108 2109 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2106 def delete_annotation_store(params = {}, = {}) req = build_request(:delete_annotation_store, params) req.send_request() end |
#delete_annotation_store_versions(params = {}) ⇒ Types::DeleteAnnotationStoreVersionsResponse
Deletes one or multiple versions of an annotation store.
2146 2147 2148 2149 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2146 def delete_annotation_store_versions(params = {}, = {}) req = build_request(:delete_annotation_store_versions, params) req.send_request() end |
#delete_batch(params = {}) ⇒ Struct
Deletes a run batch resource and its associated metadata. This
operation does not delete the individual workflow runs. To delete the
runs, call DeleteRunBatch before calling DeleteBatch.
DeleteBatch requires the batch to be in a terminal state:
PROCESSED, FAILED, CANCELLED, or RUNS_DELETED. After
DeleteBatch completes, the batch metadata is no longer accessible.
You cannot call GetBatch, ListRunsInBatch, DeleteRunBatch, or
CancelRunBatch on a deleted batch.
2176 2177 2178 2179 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2176 def delete_batch(params = {}, = {}) req = build_request(:delete_batch, params) req.send_request() end |
#delete_reference(params = {}) ⇒ Struct
Deletes a reference genome and returns a response with no body if the
operation is successful. The read set associated with the reference
genome must first be deleted before deleting the reference genome.
After the reference genome is deleted, you can delete the reference
store using the DeleteReferenceStore API operation.
For more information, see Deleting HealthOmics reference and sequence stores in the Amazon Web Services HealthOmics User Guide.
2213 2214 2215 2216 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2213 def delete_reference(params = {}, = {}) req = build_request(:delete_reference, params) req.send_request() end |
#delete_reference_store(params = {}) ⇒ Struct
Deletes a reference store and returns a response with no body if the
operation is successful. You can only delete a reference store when it
does not contain any reference genomes. To empty a reference store,
use DeleteReference.
For more information about your workflow status, see Deleting HealthOmics reference and sequence stores in the Amazon Web Services HealthOmics User Guide.
2246 2247 2248 2249 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2246 def delete_reference_store(params = {}, = {}) req = build_request(:delete_reference_store, params) req.send_request() end |
#delete_run(params = {}) ⇒ Struct
Deletes a run and returns a response with no body if the operation is
successful. You can only delete a run that has reached a COMPLETED,
FAILED, or CANCELLED stage. A completed run has delivered an
output, or was cancelled and resulted in no output. When you delete a
run, only the metadata associated with the run is deleted. The run
outputs remain in Amazon S3 and logs remain in CloudWatch.
To verify that the workflow is deleted:
Use
ListRunsto confirm the workflow no longer appears in the list.Use
GetRunto verify the workflow cannot be found.
2280 2281 2282 2283 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2280 def delete_run(params = {}, = {}) req = build_request(:delete_run, params) req.send_request() end |
#delete_run_batch(params = {}) ⇒ Struct
Deletes the individual workflow runs within a batch. This operation is
separate from DeleteBatch, which removes the batch metadata.
Delete is only allowed on batches in PROCESSED or CANCELLED state.
Delete operations are non-atomic and may be partially successful. Use
GetBatch to review successfulDeleteSubmissionCount and
failedDeleteSubmissionCount in the submissionSummary. Only one
cancel or delete operation per batch is allowed at a time.
2309 2310 2311 2312 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2309 def delete_run_batch(params = {}, = {}) req = build_request(:delete_run_batch, params) req.send_request() end |
#delete_run_cache(params = {}) ⇒ Struct
Deletes a run cache and returns a response with no body if the
operation is successful. This action removes the cache metadata stored
in the service account, but does not delete the data in Amazon S3. You
can access the cache data in Amazon S3, for inspection or to
troubleshoot issues. You can remove old cache data using standard S3
Delete operations.
For more information, see Deleting a run cache in the Amazon Web Services HealthOmics User Guide.
2343 2344 2345 2346 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2343 def delete_run_cache(params = {}, = {}) req = build_request(:delete_run_cache, params) req.send_request() end |
#delete_run_group(params = {}) ⇒ Struct
Deletes a run group and returns a response with no body if the operation is successful.
To verify that the run group is deleted:
Use
ListRunGroupsto confirm the workflow no longer appears in the list.Use
GetRunGroupto verify the workflow cannot be found.
2373 2374 2375 2376 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2373 def delete_run_group(params = {}, = {}) req = build_request(:delete_run_group, params) req.send_request() end |
#delete_s3_access_policy(params = {}) ⇒ Struct
Deletes an access policy for the specified store.
2395 2396 2397 2398 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2395 def delete_s3_access_policy(params = {}, = {}) req = build_request(:delete_s3_access_policy, params) req.send_request() end |
#delete_sequence_store(params = {}) ⇒ Struct
Deletes a sequence store and returns a response with no body if the operation is successful. You can only delete a sequence store when it does not contain any read sets.
Use the BatchDeleteReadSet API operation to ensure that all read
sets in the sequence store are deleted. When a sequence store is
deleted, all tags associated with the store are also deleted.
For more information, see Deleting HealthOmics reference and sequence stores in the Amazon Web Services HealthOmics User Guide.
2430 2431 2432 2433 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2430 def delete_sequence_store(params = {}, = {}) req = build_request(:delete_sequence_store, params) req.send_request() end |
#delete_share(params = {}) ⇒ Types::DeleteShareResponse
Deletes a resource share. If you are the resource owner, the subscriber will no longer have access to the shared resource. If you are the subscriber, this operation deletes your access to the share.
2460 2461 2462 2463 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2460 def delete_share(params = {}, = {}) req = build_request(:delete_share, params) req.send_request() end |
#delete_variant_store(params = {}) ⇒ Types::DeleteVariantStoreResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change.
Deletes a variant store.
2502 2503 2504 2505 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2502 def delete_variant_store(params = {}, = {}) req = build_request(:delete_variant_store, params) req.send_request() end |
#delete_workflow(params = {}) ⇒ Struct
Deletes a workflow by specifying its ID. This operation returns a response with no body if the deletion is successful.
To verify that the workflow is deleted:
Use
ListWorkflowsto confirm the workflow no longer appears in the list.Use
GetWorkflowto verify the workflow cannot be found.
2532 2533 2534 2535 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2532 def delete_workflow(params = {}, = {}) req = build_request(:delete_workflow, params) req.send_request() end |
#delete_workflow_version(params = {}) ⇒ Struct
Deletes a workflow version. Deleting a workflow version doesn't affect any ongoing runs that are using the workflow version.
For more information, see Workflow versioning in Amazon Web Services HealthOmics in the Amazon Web Services HealthOmics User Guide.
2566 2567 2568 2569 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2566 def delete_workflow_version(params = {}, = {}) req = build_request(:delete_workflow_version, params) req.send_request() end |
#get_annotation_import_job(params = {}) ⇒ Types::GetAnnotationImportResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change.
Gets information about an annotation import job.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- annotation_import_job_created
2646 2647 2648 2649 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2646 def get_annotation_import_job(params = {}, = {}) req = build_request(:get_annotation_import_job, params) req.send_request() end |
#get_annotation_store(params = {}) ⇒ Types::GetAnnotationStoreResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change.
Gets information about an annotation store.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- annotation_store_created
- annotation_store_deleted
2725 2726 2727 2728 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2725 def get_annotation_store(params = {}, = {}) req = build_request(:get_annotation_store, params) req.send_request() end |
#get_annotation_store_version(params = {}) ⇒ Types::GetAnnotationStoreVersionResponse
Retrieves the metadata for an annotation store version.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- annotation_store_version_created
- annotation_store_version_deleted
2795 2796 2797 2798 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2795 def get_annotation_store_version(params = {}, = {}) req = build_request(:get_annotation_store_version, params) req.send_request() end |
#get_batch(params = {}) ⇒ Types::GetBatchResponse
Retrieves details and current status for a specific run batch, including submission progress and run execution counts.
2883 2884 2885 2886 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2883 def get_batch(params = {}, = {}) req = build_request(:get_batch, params) req.send_request() end |
#get_read_set(params = {}) ⇒ Types::GetReadSetResponse
Retrieves detailed information from parts of a read set and returns the read set in the same format that it was uploaded. You must have read sets uploaded to your sequence store in order to run this operation.
2926 2927 2928 2929 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2926 def get_read_set(params = {}, = {}, &block) req = build_request(:get_read_set, params) req.send_request(, &block) end |
#get_read_set_activation_job(params = {}) ⇒ Types::GetReadSetActivationJobResponse
Returns detailed information about the status of a read set activation job in JSON format.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- read_set_activation_job_completed
2979 2980 2981 2982 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2979 def get_read_set_activation_job(params = {}, = {}) req = build_request(:get_read_set_activation_job, params) req.send_request() end |
#get_read_set_export_job(params = {}) ⇒ Types::GetReadSetExportJobResponse
Retrieves status information about a read set export job and returns the data in JSON format. Use this operation to actively monitor the progress of an export job.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- read_set_export_job_completed
3035 3036 3037 3038 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3035 def get_read_set_export_job(params = {}, = {}) req = build_request(:get_read_set_export_job, params) req.send_request() end |
#get_read_set_import_job(params = {}) ⇒ Types::GetReadSetImportJobResponse
Gets detailed and status information about a read set import job and returns the data in JSON format.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- read_set_import_job_completed
3101 3102 3103 3104 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3101 def get_read_set_import_job(params = {}, = {}) req = build_request(:get_read_set_import_job, params) req.send_request() end |
#get_read_set_metadata(params = {}) ⇒ Types::GetReadSetMetadataResponse
Retrieves the metadata for a read set from a sequence store in JSON
format. This operation does not return tags. To retrieve the list of
tags for a read set, use the ListTagsForResource API operation.
3183 3184 3185 3186 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3183 def (params = {}, = {}) req = build_request(:get_read_set_metadata, params) req.send_request() end |
#get_reference(params = {}) ⇒ Types::GetReferenceResponse
Downloads parts of data from a reference genome and returns the reference file in the same format that it was uploaded.
For more information, see Creating a HealthOmics reference store in the Amazon Web Services HealthOmics User Guide.
3235 3236 3237 3238 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3235 def get_reference(params = {}, = {}, &block) req = build_request(:get_reference, params) req.send_request(, &block) end |
#get_reference_import_job(params = {}) ⇒ Types::GetReferenceImportJobResponse
Monitors the status of a reference import job. This operation can be
called after calling the StartReferenceImportJob operation.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- reference_import_job_completed
3295 3296 3297 3298 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3295 def get_reference_import_job(params = {}, = {}) req = build_request(:get_reference_import_job, params) req.send_request() end |
#get_reference_metadata(params = {}) ⇒ Types::GetReferenceMetadataResponse
Retrieves metadata for a reference genome. This operation returns the
number of parts, part size, and MD5 of an entire file. This operation
does not return tags. To retrieve the list of tags for a read set, use
the ListTagsForResource API operation.
3359 3360 3361 3362 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3359 def (params = {}, = {}) req = build_request(:get_reference_metadata, params) req.send_request() end |
#get_reference_store(params = {}) ⇒ Types::GetReferenceStoreResponse
Gets information about a reference store.
3398 3399 3400 3401 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3398 def get_reference_store(params = {}, = {}) req = build_request(:get_reference_store, params) req.send_request() end |
#get_run(params = {}) ⇒ Types::GetRunResponse
Gets detailed information about a specific run using its ID.
Amazon Web Services HealthOmics stores a configurable number of runs,
as determined by service limits, that are available to the console and
API. If GetRun does not return the requested run, you can find all
run logs in the CloudWatch logs. For more information about viewing
the run logs, see CloudWatch logs in the Amazon Web Services
HealthOmics User Guide.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- run_completed
- run_running
3521 3522 3523 3524 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3521 def get_run(params = {}, = {}) req = build_request(:get_run, params) req.send_request() end |
#get_run_cache(params = {}) ⇒ Types::GetRunCacheResponse
Retrieves detailed information about the specified run cache using its ID.
For more information, see Call caching for Amazon Web Services HealthOmics runs in the Amazon Web Services HealthOmics User Guide.
3577 3578 3579 3580 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3577 def get_run_cache(params = {}, = {}) req = build_request(:get_run_cache, params) req.send_request() end |
#get_run_group(params = {}) ⇒ Types::GetRunGroupResponse
Gets information about a run group and returns its metadata.
3622 3623 3624 3625 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3622 def get_run_group(params = {}, = {}) req = build_request(:get_run_group, params) req.send_request() end |
#get_run_task(params = {}) ⇒ Types::GetRunTaskResponse
Gets detailed information about a run task using its ID.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- task_completed
- task_running
3692 3693 3694 3695 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3692 def get_run_task(params = {}, = {}) req = build_request(:get_run_task, params) req.send_request() end |
#get_s3_access_policy(params = {}) ⇒ Types::GetS3AccessPolicyResponse
Retrieves details about an access policy on a given store.
3728 3729 3730 3731 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3728 def get_s3_access_policy(params = {}, = {}) req = build_request(:get_s3_access_policy, params) req.send_request() end |
#get_sequence_store(params = {}) ⇒ Types::GetSequenceStoreResponse
Retrieves metadata for a sequence store using its ID and returns it in JSON format.
3785 3786 3787 3788 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3785 def get_sequence_store(params = {}, = {}) req = build_request(:get_sequence_store, params) req.send_request() end |
#get_share(params = {}) ⇒ Types::GetShareResponse
Retrieves the metadata for the specified resource share.
3822 3823 3824 3825 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3822 def get_share(params = {}, = {}) req = build_request(:get_share, params) req.send_request() end |
#get_variant_import_job(params = {}) ⇒ Types::GetVariantImportResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change.
Gets information about a variant import job.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- variant_import_job_created
3889 3890 3891 3892 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3889 def get_variant_import_job(params = {}, = {}) req = build_request(:get_variant_import_job, params) req.send_request() end |
#get_variant_store(params = {}) ⇒ Types::GetVariantStoreResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change.
Gets information about a variant store.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- variant_store_created
- variant_store_deleted
3957 3958 3959 3960 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3957 def get_variant_store(params = {}, = {}) req = build_request(:get_variant_store, params) req.send_request() end |
#get_workflow(params = {}) ⇒ Types::GetWorkflowResponse
Gets all information about a workflow using its ID.
If a workflow is shared with you, you cannot export the workflow.
For more information about your workflow status, see Verify the workflow status in the Amazon Web Services HealthOmics User Guide.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- workflow_active
4072 4073 4074 4075 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4072 def get_workflow(params = {}, = {}) req = build_request(:get_workflow, params) req.send_request() end |
#get_workflow_version(params = {}) ⇒ Types::GetWorkflowVersionResponse
Gets information about a workflow version. For more information, see Workflow versioning in Amazon Web Services HealthOmics in the Amazon Web Services HealthOmics User Guide.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- workflow_version_active
4191 4192 4193 4194 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4191 def get_workflow_version(params = {}, = {}) req = build_request(:get_workflow_version, params) req.send_request() end |
#list_annotation_import_jobs(params = {}) ⇒ Types::ListAnnotationImportJobsResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change.
Retrieves a list of annotation import jobs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4260 4261 4262 4263 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4260 def list_annotation_import_jobs(params = {}, = {}) req = build_request(:list_annotation_import_jobs, params) req.send_request() end |
#list_annotation_store_versions(params = {}) ⇒ Types::ListAnnotationStoreVersionsResponse
Lists the versions of an annotation store.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4319 4320 4321 4322 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4319 def list_annotation_store_versions(params = {}, = {}) req = build_request(:list_annotation_store_versions, params) req.send_request() end |
#list_annotation_stores(params = {}) ⇒ Types::ListAnnotationStoresResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change.
Retrieves a list of annotation stores.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4389 4390 4391 4392 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4389 def list_annotation_stores(params = {}, = {}) req = build_request(:list_annotation_stores, params) req.send_request() end |
#list_batch(params = {}) ⇒ Types::ListBatchResponse
Returns a list of run batches in your account, with optional filtering by status, name, or run group. Results are paginated. Only one filter per call is supported.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4446 4447 4448 4449 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4446 def list_batch(params = {}, = {}) req = build_request(:list_batch, params) req.send_request() end |
#list_multipart_read_set_uploads(params = {}) ⇒ Types::ListMultipartReadSetUploadsResponse
Lists in-progress multipart read set uploads for a sequence store and
returns it in a JSON formatted output. Multipart read set uploads are
initiated by the CreateMultipartReadSetUploads API operation. This
operation returns a response with no body when the upload is complete.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4503 4504 4505 4506 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4503 def list_multipart_read_set_uploads(params = {}, = {}) req = build_request(:list_multipart_read_set_uploads, params) req.send_request() end |
#list_read_set_activation_jobs(params = {}) ⇒ Types::ListReadSetActivationJobsResponse
Retrieves a list of read set activation jobs and returns the metadata
in a JSON formatted output. To extract metadata from a read set
activation job, use the GetReadSetActivationJob API operation.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4560 4561 4562 4563 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4560 def list_read_set_activation_jobs(params = {}, = {}) req = build_request(:list_read_set_activation_jobs, params) req.send_request() end |
#list_read_set_export_jobs(params = {}) ⇒ Types::ListReadSetExportJobsResponse
Retrieves a list of read set export jobs in a JSON formatted response.
This API operation is used to check the status of a read set export
job initiated by the StartReadSetExportJob API operation.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4617 4618 4619 4620 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4617 def list_read_set_export_jobs(params = {}, = {}) req = build_request(:list_read_set_export_jobs, params) req.send_request() end |
#list_read_set_import_jobs(params = {}) ⇒ Types::ListReadSetImportJobsResponse
Retrieves a list of read set import jobs and returns the data in JSON format.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4673 4674 4675 4676 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4673 def list_read_set_import_jobs(params = {}, = {}) req = build_request(:list_read_set_import_jobs, params) req.send_request() end |
#list_read_set_upload_parts(params = {}) ⇒ Types::ListReadSetUploadPartsResponse
Lists all parts in a multipart read set upload for a sequence store and returns the metadata in a JSON formatted output.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4738 4739 4740 4741 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4738 def list_read_set_upload_parts(params = {}, = {}) req = build_request(:list_read_set_upload_parts, params) req.send_request() end |
#list_read_sets(params = {}) ⇒ Types::ListReadSetsResponse
Retrieves a list of read sets from a sequence store ID and returns the metadata in JSON format.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4814 4815 4816 4817 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4814 def list_read_sets(params = {}, = {}) req = build_request(:list_read_sets, params) req.send_request() end |
#list_reference_import_jobs(params = {}) ⇒ Types::ListReferenceImportJobsResponse
Retrieves the metadata of one or more reference import jobs for a reference store.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4870 4871 4872 4873 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4870 def list_reference_import_jobs(params = {}, = {}) req = build_request(:list_reference_import_jobs, params) req.send_request() end |
#list_reference_stores(params = {}) ⇒ Types::ListReferenceStoresResponse
Retrieves a list of reference stores linked to your account and returns their metadata in JSON format.
For more information, see Creating a reference store in the Amazon Web Services HealthOmics User Guide.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4930 4931 4932 4933 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4930 def list_reference_stores(params = {}, = {}) req = build_request(:list_reference_stores, params) req.send_request() end |
#list_references(params = {}) ⇒ Types::ListReferencesResponse
Retrieves the metadata of one or more reference genomes in a reference store.
For more information, see Creating a reference store in the Amazon Web Services HealthOmics User Guide.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4997 4998 4999 5000 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4997 def list_references(params = {}, = {}) req = build_request(:list_references, params) req.send_request() end |
#list_run_caches(params = {}) ⇒ Types::ListRunCachesResponse
Retrieves a list of your run caches and the metadata for each cache.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5041 5042 5043 5044 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5041 def list_run_caches(params = {}, = {}) req = build_request(:list_run_caches, params) req.send_request() end |
#list_run_groups(params = {}) ⇒ Types::ListRunGroupsResponse
Retrieves a list of all run groups and returns the metadata for each run group.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5091 5092 5093 5094 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5091 def list_run_groups(params = {}, = {}) req = build_request(:list_run_groups, params) req.send_request() end |
#list_run_tasks(params = {}) ⇒ Types::ListRunTasksResponse
Returns a list of tasks and status information within their specified run. Use this operation to monitor runs and to identify which specific tasks have failed.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5150 5151 5152 5153 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5150 def list_run_tasks(params = {}, = {}) req = build_request(:list_run_tasks, params) req.send_request() end |
#list_runs(params = {}) ⇒ Types::ListRunsResponse
Retrieves a list of runs and returns each run's metadata and status.
Amazon Web Services HealthOmics stores a configurable number of runs,
as determined by service limits, that are available to the console and
API. If the ListRuns response doesn't include specific runs that
you expected, you can find all run logs in the CloudWatch logs. For
more information about viewing the run logs, see CloudWatch logs
in the Amazon Web Services HealthOmics User Guide.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5227 5228 5229 5230 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5227 def list_runs(params = {}, = {}) req = build_request(:list_runs, params) req.send_request() end |
#list_runs_in_batch(params = {}) ⇒ Types::ListRunsInBatchResponse
Returns a paginated list of individual workflow runs within a specific
batch. Use this operation to map each runSettingId to its
HealthOmics-generated runId, and to check the submission status of
each run. Only one filter per call is supported.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5289 5290 5291 5292 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5289 def list_runs_in_batch(params = {}, = {}) req = build_request(:list_runs_in_batch, params) req.send_request() end |
#list_sequence_stores(params = {}) ⇒ Types::ListSequenceStoresResponse
Retrieves a list of sequence stores and returns each sequence store's metadata.
For more information, see Creating a HealthOmics sequence store in the Amazon Web Services HealthOmics User Guide.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5357 5358 5359 5360 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5357 def list_sequence_stores(params = {}, = {}) req = build_request(:list_sequence_stores, params) req.send_request() end |
#list_shares(params = {}) ⇒ Types::ListSharesResponse
Retrieves the resource shares associated with an account. Use the filter parameter to retrieve a specific subset of the shares.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5419 5420 5421 5422 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5419 def list_shares(params = {}, = {}) req = build_request(:list_shares, params) req.send_request() end |
#list_tags_for_resource(params = {}) ⇒ Types::ListTagsForResourceResponse
Retrieves a list of tags for a resource.
5448 5449 5450 5451 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5448 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_variant_import_jobs(params = {}) ⇒ Types::ListVariantImportJobsResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change.
Retrieves a list of variant import jobs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5516 5517 5518 5519 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5516 def list_variant_import_jobs(params = {}, = {}) req = build_request(:list_variant_import_jobs, params) req.send_request() end |
#list_variant_stores(params = {}) ⇒ Types::ListVariantStoresResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change.
Retrieves a list of variant stores.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5585 5586 5587 5588 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5585 def list_variant_stores(params = {}, = {}) req = build_request(:list_variant_stores, params) req.send_request() end |
#list_workflow_versions(params = {}) ⇒ Types::ListWorkflowVersionsResponse
Lists the workflow versions for the specified workflow. For more information, see Workflow versioning in Amazon Web Services HealthOmics in the Amazon Web Services HealthOmics User Guide.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5652 5653 5654 5655 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5652 def list_workflow_versions(params = {}, = {}) req = build_request(:list_workflow_versions, params) req.send_request() end |
#list_workflows(params = {}) ⇒ Types::ListWorkflowsResponse
Retrieves a list of existing workflows. You can filter for specific
workflows by their name and type. Using the type parameter, specify
PRIVATE to retrieve a list of private workflows or specify
READY2RUN for a list of all Ready2Run workflows. If you do not
specify the type of workflow, this operation returns a list of
existing workflows.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5711 5712 5713 5714 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5711 def list_workflows(params = {}, = {}) req = build_request(:list_workflows, params) req.send_request() end |
#put_s3_access_policy(params = {}) ⇒ Types::PutS3AccessPolicyResponse
Adds an access policy to the specified store.
5751 5752 5753 5754 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5751 def put_s3_access_policy(params = {}, = {}) req = build_request(:put_s3_access_policy, params) req.send_request() end |
#start_annotation_import_job(params = {}) ⇒ Types::StartAnnotationImportResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change.
Starts an annotation import job.
5837 5838 5839 5840 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5837 def start_annotation_import_job(params = {}, = {}) req = build_request(:start_annotation_import_job, params) req.send_request() end |
#start_read_set_activation_job(params = {}) ⇒ Types::StartReadSetActivationJobResponse
Activates an archived read set and returns its metadata in a JSON
formatted output. AWS HealthOmics automatically archives unused read
sets after 30 days. To monitor the status of your read set activation
job, use the GetReadSetActivationJob operation.
To learn more, see Activating read sets in the Amazon Web Services HealthOmics User Guide.
5894 5895 5896 5897 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5894 def start_read_set_activation_job(params = {}, = {}) req = build_request(:start_read_set_activation_job, params) req.send_request() end |
#start_read_set_export_job(params = {}) ⇒ Types::StartReadSetExportJobResponse
Starts a read set export job. When the export job is finished, the
read set is exported to an Amazon S3 bucket which can be retrieved
using the GetReadSetExportJob API operation.
To monitor the status of the export job, use the
ListReadSetExportJobs API operation.
5956 5957 5958 5959 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5956 def start_read_set_export_job(params = {}, = {}) req = build_request(:start_read_set_export_job, params) req.send_request() end |
#start_read_set_import_job(params = {}) ⇒ Types::StartReadSetImportJobResponse
Imports a read set from the sequence store. Read set import jobs
support a maximum of 100 read sets of different types. Monitor the
progress of your read set import job by calling the
GetReadSetImportJob API operation.
6025 6026 6027 6028 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6025 def start_read_set_import_job(params = {}, = {}) req = build_request(:start_read_set_import_job, params) req.send_request() end |
#start_reference_import_job(params = {}) ⇒ Types::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.
6087 6088 6089 6090 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6087 def start_reference_import_job(params = {}, = {}) req = build_request(:start_reference_import_job, params) req.send_request() end |
#start_run(params = {}) ⇒ Types::StartRunResponse
Starts a new run and returns details about the run, or duplicates an
existing run. A run is a single invocation of a workflow. If you
provide request IDs, Amazon Web Services HealthOmics identifies
duplicate requests and starts the run only once. Monitor the progress
of the run by calling the GetRun API operation.
To start a new run, the following inputs are required:
A service role ARN (
roleArn).The run's workflow ID (
workflowId, not theuuidorrunId).An Amazon S3 location (
outputUri) where the run outputs will be saved.All required workflow parameters (
parameter), which can include optional parameters from the parameter template. The run cannot include any parameters that are not defined in the parameter template. To see all possible parameters, use theGetRunAPI operation.For runs with a
STATIC(default) storage type, specify the required storage capacity (in gibibytes). A storage capacity value is not required for runs that useDYNAMICstorage.
StartRun can also duplicate an existing run using the run's default
values. You can modify these default values and/or add other optional
inputs. To duplicate a run, the following inputs are required:
A service role ARN (
roleArn).The ID of the run to duplicate (
runId).An Amazon S3 location where the run outputs will be saved (
outputUri).
To learn more about the optional parameters for StartRun, see
Starting a run in the Amazon Web Services HealthOmics User
Guide.
Use the retentionMode input to control how long the metadata for
each run is stored in CloudWatch. There are two retention modes:
Specify
REMOVEto automatically remove the oldest runs when you reach the maximum service retention limit for runs. It is recommended that you use theREMOVEmode to initiate major run requests so that your runs do not fail when you reach the limit.The
retentionModeis set to theRETAINmode by default, which allows you to manually remove runs after reaching the maximum service retention limit. Under this setting, you cannot create additional runs until you remove the excess runs.
To learn more about the retention modes, see Run retention mode in the Amazon Web Services HealthOmics User Guide.
You can use Amazon Q CLI to analyze run logs and make performance optimization recommendations. To get started, see the Amazon Web Services HealthOmics MCP server on GitHub.
6356 6357 6358 6359 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6356 def start_run(params = {}, = {}) req = build_request(:start_run, params) req.send_request() end |
#start_run_batch(params = {}) ⇒ Types::StartRunBatchResponse
Starts a batch of workflow runs. You can group up to 100,000 runs into
a single batch that share a common configuration defined in
defaultRunSetting. Per-run overrides can be provided either inline
via inlineSettings (up to 100 runs) or via a JSON file stored in
Amazon S3 via s3UriSettings (up to 100,000 runs).
StartRunBatch validates common fields synchronously and returns
immediately with a batch ID and status PENDING. Runs are submitted
gradually and asynchronously at a rate governed by your StartRun
throughput quota.
6466 6467 6468 6469 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6466 def start_run_batch(params = {}, = {}) req = build_request(:start_run_batch, params) req.send_request() end |
#start_variant_import_job(params = {}) ⇒ Types::StartVariantImportResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change.
Starts a variant import job.
6526 6527 6528 6529 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6526 def start_variant_import_job(params = {}, = {}) req = build_request(:start_variant_import_job, params) req.send_request() end |
#tag_resource(params = {}) ⇒ Struct
Tags a resource.
6554 6555 6556 6557 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6554 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from a resource.
6580 6581 6582 6583 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6580 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_annotation_store(params = {}) ⇒ Types::UpdateAnnotationStoreResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change.
Updates an annotation store.
6643 6644 6645 6646 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6643 def update_annotation_store(params = {}, = {}) req = build_request(:update_annotation_store, params) req.send_request() end |
#update_annotation_store_version(params = {}) ⇒ Types::UpdateAnnotationStoreVersionResponse
Updates the description of an annotation store version.
6693 6694 6695 6696 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6693 def update_annotation_store_version(params = {}, = {}) req = build_request(:update_annotation_store_version, params) req.send_request() end |
#update_run_cache(params = {}) ⇒ Struct
Updates a run cache using its ID and returns a response with no body
if the operation is successful. You can update the run cache
description, name, or the default run cache behavior with
CACHE_ON_FAILURE or CACHE_ALWAYS. To confirm that your run cache
settings have been properly updated, use the GetRunCache API
operation.
For more information, see How call caching works in the Amazon Web Services HealthOmics User Guide.
6739 6740 6741 6742 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6739 def update_run_cache(params = {}, = {}) req = build_request(:update_run_cache, params) req.send_request() end |
#update_run_group(params = {}) ⇒ Struct
Updates the settings of a run group and returns a response with no body if the operation is successful.
You can update the following settings with UpdateRunGroup:
Maximum number of CPUs
Run time (measured in minutes)
Number of GPUs
Number of concurrent runs
Group name
To confirm that the settings have been successfully updated, use the
ListRunGroups or GetRunGroup API operations to verify that the
desired changes have been made.
6798 6799 6800 6801 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6798 def update_run_group(params = {}, = {}) req = build_request(:update_run_group, params) req.send_request() end |
#update_sequence_store(params = {}) ⇒ Types::UpdateSequenceStoreResponse
Update one or more parameters for the sequence store.
6886 6887 6888 6889 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6886 def update_sequence_store(params = {}, = {}) req = build_request(:update_sequence_store, params) req.send_request() end |
#update_variant_store(params = {}) ⇒ Types::UpdateVariantStoreResponse
Amazon Web Services HealthOmics variant stores and annotation stores are no longer open to new customers. Existing customers can continue to use the service as normal. For more information, see Amazon Web Services HealthOmics variant store and annotation store availability change.
Updates a variant store.
6940 6941 6942 6943 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6940 def update_variant_store(params = {}, = {}) req = build_request(:update_variant_store, params) req.send_request() end |
#update_workflow(params = {}) ⇒ Struct
Updates information about a workflow.
You can update the following workflow information:
Name
Description
Default storage type
Default storage capacity (with workflow ID)
This operation returns a response with no body if the operation is
successful. You can check the workflow updates by calling the
GetWorkflow API operation.
For more information, see Update a private workflow in the Amazon Web Services HealthOmics User Guide.
7014 7015 7016 7017 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 7014 def update_workflow(params = {}, = {}) req = build_request(:update_workflow, params) req.send_request() end |
#update_workflow_version(params = {}) ⇒ Struct
Updates information about the workflow version. For more information, see Workflow versioning in Amazon Web Services HealthOmics in the Amazon Web Services HealthOmics User Guide.
7077 7078 7079 7080 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 7077 def update_workflow_version(params = {}, = {}) req = build_request(:update_workflow_version, params) req.send_request() end |
#upload_read_set_part(params = {}) ⇒ Types::UploadReadSetPartResponse
Uploads a specific part of a read set into a sequence store. When you a upload a read set part with a part number that already exists, the new part replaces the existing one. This operation returns a JSON formatted response containing a string identifier that is used to confirm that parts are being added to the intended upload.
For more information, see Direct upload to a sequence store in the Amazon Web Services HealthOmics User Guide.
7132 7133 7134 7135 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 7132 def upload_read_set_part(params = {}, = {}) req = build_request(:upload_read_set_part, params) req.send_request() end |
#wait_until(waiter_name, params = {}, options = {}) {|w.waiter| ... } ⇒ Boolean
Polls an API operation until a resource enters a desired state.
Basic Usage
A waiter will call an API operation until:
- It is successful
- It enters a terminal state
- It makes the maximum number of attempts
In between attempts, the waiter will sleep.
# polls in a loop, sleeping between attempts
client.wait_until(waiter_name, params)
Configuration
You can configure the maximum number of polling attempts, and the delay (in seconds) between each polling attempt. You can pass configuration as the final arguments hash.
# poll for ~25 seconds
client.wait_until(waiter_name, params, {
max_attempts: 5,
delay: 5,
})
Callbacks
You can be notified before each polling attempt and before each
delay. If you throw :success or :failure from these callbacks,
it will terminate the waiter.
started_at = Time.now
client.wait_until(waiter_name, params, {
# disable max attempts
max_attempts: nil,
# poll for 1 hour, instead of a number of attempts
before_wait: -> (attempts, response) do
throw :failure if Time.now - started_at > 3600
end
})
Handling Errors
When a waiter is unsuccessful, it will raise an error. All of the failure errors extend from Waiters::Errors::WaiterFailed.
begin
client.wait_until(...)
rescue Aws::Waiters::Errors::WaiterFailed
# resource did not enter the desired state in time
end
Valid Waiters
The following table lists the valid waiter names, the operations they call,
and the default :delay and :max_attempts values.
| waiter_name | params | :delay | :max_attempts |
|---|---|---|---|
| annotation_import_job_created | #get_annotation_import_job | 30 | 20 |
| annotation_store_created | #get_annotation_store | 30 | 20 |
| annotation_store_deleted | #get_annotation_store | 30 | 20 |
| annotation_store_version_created | #get_annotation_store_version | 30 | 20 |
| annotation_store_version_deleted | #get_annotation_store_version | 30 | 20 |
| read_set_activation_job_completed | #get_read_set_activation_job | 30 | 20 |
| read_set_export_job_completed | #get_read_set_export_job | 30 | 20 |
| read_set_import_job_completed | #get_read_set_import_job | 30 | 20 |
| reference_import_job_completed | #get_reference_import_job | 30 | 20 |
| run_completed | #get_run | 30 | 20 |
| run_running | #get_run | 30 | 20 |
| task_completed | #get_run_task | 30 | 20 |
| task_running | #get_run_task | 30 | 20 |
| variant_import_job_created | #get_variant_import_job | 30 | 20 |
| variant_store_created | #get_variant_store | 30 | 20 |
| variant_store_deleted | #get_variant_store | 30 | 20 |
| workflow_active | #get_workflow | 3 | 10 |
| workflow_version_active | #get_workflow_version | 3 | 10 |
7264 7265 7266 7267 7268 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 7264 def wait_until(waiter_name, params = {}, = {}) w = waiter(waiter_name, ) yield(w.waiter) if block_given? # deprecated w.wait(params) end |