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 upload.
-
#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
Cancels an annotation import job.
-
#cancel_run(params = {}) ⇒ Struct
Cancels a run.
-
#cancel_variant_import_job(params = {}) ⇒ Struct
Cancels a variant import job.
-
#complete_multipart_read_set_upload(params = {}) ⇒ Types::CompleteMultipartReadSetUploadResponse
Concludes a multipart upload once you have uploaded all the components.
-
#create_annotation_store(params = {}) ⇒ Types::CreateAnnotationStoreResponse
Creates an annotation store.
-
#create_annotation_store_version(params = {}) ⇒ Types::CreateAnnotationStoreVersionResponse
Creates a new version of an annotation store.
-
#create_multipart_read_set_upload(params = {}) ⇒ Types::CreateMultipartReadSetUploadResponse
Begins a multipart read set upload.
-
#create_reference_store(params = {}) ⇒ Types::CreateReferenceStoreResponse
Creates a reference store.
-
#create_run_cache(params = {}) ⇒ Types::CreateRunCacheResponse
You can create a run cache to save the task outputs from completed tasks in a run for a private workflow.
-
#create_run_group(params = {}) ⇒ Types::CreateRunGroupResponse
You can optionally create a run group to limit the compute resources for the runs that you add to the group.
-
#create_sequence_store(params = {}) ⇒ Types::CreateSequenceStoreResponse
Creates a sequence store.
-
#create_share(params = {}) ⇒ Types::CreateShareResponse
Creates a cross-account shared resource.
-
#create_variant_store(params = {}) ⇒ Types::CreateVariantStoreResponse
Creates a variant store.
-
#create_workflow(params = {}) ⇒ Types::CreateWorkflowResponse
Creates a private workflow.Private workflows depend on a variety of resources that you create and configure before creating the workflow:.
-
#create_workflow_version(params = {}) ⇒ Types::CreateWorkflowVersionResponse
Creates a new workflow version for the workflow that you specify with the
workflowId
parameter. -
#delete_annotation_store(params = {}) ⇒ Types::DeleteAnnotationStoreResponse
Deletes an annotation store.
-
#delete_annotation_store_versions(params = {}) ⇒ Types::DeleteAnnotationStoreVersionsResponse
Deletes one or multiple versions of an annotation store.
-
#delete_reference(params = {}) ⇒ Struct
Deletes a genome reference.
-
#delete_reference_store(params = {}) ⇒ Struct
Deletes a genome reference store.
-
#delete_run(params = {}) ⇒ Struct
Deletes a workflow run.
-
#delete_run_cache(params = {}) ⇒ Struct
Delete a run cache.
-
#delete_run_group(params = {}) ⇒ Struct
Deletes a workflow run group.
-
#delete_s3_access_policy(params = {}) ⇒ Struct
Deletes an access policy for the specified store.
-
#delete_sequence_store(params = {}) ⇒ Struct
Deletes a sequence store.
-
#delete_share(params = {}) ⇒ Types::DeleteShareResponse
Deletes a resource share.
-
#delete_variant_store(params = {}) ⇒ Types::DeleteVariantStoreResponse
Deletes a variant store.
-
#delete_workflow(params = {}) ⇒ Struct
Deletes a workflow.
-
#delete_workflow_version(params = {}) ⇒ Struct
Deletes a workflow version.
-
#get_annotation_import_job(params = {}) ⇒ Types::GetAnnotationImportResponse
Gets information about an annotation import job.
-
#get_annotation_store(params = {}) ⇒ Types::GetAnnotationStoreResponse
Gets information about an annotation store.
-
#get_annotation_store_version(params = {}) ⇒ Types::GetAnnotationStoreVersionResponse
Retrieves the metadata for an annotation store version.
-
#get_read_set(params = {}) ⇒ Types::GetReadSetResponse
Gets a file from a read set.
-
#get_read_set_activation_job(params = {}) ⇒ Types::GetReadSetActivationJobResponse
Gets information about a read set activation job.
-
#get_read_set_export_job(params = {}) ⇒ Types::GetReadSetExportJobResponse
Gets information about a read set export job.
-
#get_read_set_import_job(params = {}) ⇒ Types::GetReadSetImportJobResponse
Gets information about a read set import job.
-
#get_read_set_metadata(params = {}) ⇒ Types::GetReadSetMetadataResponse
Gets details about a read set.
-
#get_reference(params = {}) ⇒ Types::GetReferenceResponse
Gets a reference file.
-
#get_reference_import_job(params = {}) ⇒ Types::GetReferenceImportJobResponse
Gets information about a reference import job.
-
#get_reference_metadata(params = {}) ⇒ Types::GetReferenceMetadataResponse
Gets information about a genome reference's metadata.
-
#get_reference_store(params = {}) ⇒ Types::GetReferenceStoreResponse
Gets information about a reference store.
-
#get_run(params = {}) ⇒ Types::GetRunResponse
Gets information about a workflow run.
-
#get_run_cache(params = {}) ⇒ Types::GetRunCacheResponse
Retrieve the details for the specified run cache.
-
#get_run_group(params = {}) ⇒ Types::GetRunGroupResponse
Gets information about a workflow run group.
-
#get_run_task(params = {}) ⇒ Types::GetRunTaskResponse
Gets information about a workflow run task.
-
#get_s3_access_policy(params = {}) ⇒ Types::GetS3AccessPolicyResponse
Retrieves details about an access policy on a given store.
-
#get_sequence_store(params = {}) ⇒ Types::GetSequenceStoreResponse
Gets information about a sequence store.
-
#get_share(params = {}) ⇒ Types::GetShareResponse
Retrieves the metadata for the specified resource share.
-
#get_variant_import_job(params = {}) ⇒ Types::GetVariantImportResponse
Gets information about a variant import job.
-
#get_variant_store(params = {}) ⇒ Types::GetVariantStoreResponse
Gets information about a variant store.
-
#get_workflow(params = {}) ⇒ Types::GetWorkflowResponse
Gets information about a workflow.
-
#get_workflow_version(params = {}) ⇒ Types::GetWorkflowVersionResponse
Gets information about a workflow version.
-
#list_annotation_import_jobs(params = {}) ⇒ Types::ListAnnotationImportJobsResponse
Retrieves a list of annotation import jobs.
-
#list_annotation_store_versions(params = {}) ⇒ Types::ListAnnotationStoreVersionsResponse
Lists the versions of an annotation store.
-
#list_annotation_stores(params = {}) ⇒ Types::ListAnnotationStoresResponse
Retrieves a list of annotation stores.
-
#list_multipart_read_set_uploads(params = {}) ⇒ Types::ListMultipartReadSetUploadsResponse
Lists multipart read set uploads and for in progress uploads.
-
#list_read_set_activation_jobs(params = {}) ⇒ Types::ListReadSetActivationJobsResponse
Retrieves a list of read set activation jobs.
-
#list_read_set_export_jobs(params = {}) ⇒ Types::ListReadSetExportJobsResponse
Retrieves a list of read set export jobs.
-
#list_read_set_import_jobs(params = {}) ⇒ Types::ListReadSetImportJobsResponse
Retrieves a list of read set import jobs.
-
#list_read_set_upload_parts(params = {}) ⇒ Types::ListReadSetUploadPartsResponse
This operation will list all parts in a requested multipart upload for a sequence store.
-
#list_read_sets(params = {}) ⇒ Types::ListReadSetsResponse
Retrieves a list of read sets.
-
#list_reference_import_jobs(params = {}) ⇒ Types::ListReferenceImportJobsResponse
Retrieves a list of reference import jobs.
-
#list_reference_stores(params = {}) ⇒ Types::ListReferenceStoresResponse
Retrieves a list of reference stores.
-
#list_references(params = {}) ⇒ Types::ListReferencesResponse
Retrieves a list of references.
-
#list_run_caches(params = {}) ⇒ Types::ListRunCachesResponse
Retrieves a list of your run caches.
-
#list_run_groups(params = {}) ⇒ Types::ListRunGroupsResponse
Retrieves a list of run groups.
-
#list_run_tasks(params = {}) ⇒ Types::ListRunTasksResponse
Retrieves a list of tasks for a run.
-
#list_runs(params = {}) ⇒ Types::ListRunsResponse
Retrieves a list of runs.
-
#list_sequence_stores(params = {}) ⇒ Types::ListSequenceStoresResponse
Retrieves a list of sequence stores.
-
#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
Retrieves a list of variant import jobs.
-
#list_variant_stores(params = {}) ⇒ Types::ListVariantStoresResponse
Retrieves a list of variant stores.
-
#list_workflow_versions(params = {}) ⇒ Types::ListWorkflowVersionsResponse
Lists the workflow versions for the specified workflow.
-
#list_workflows(params = {}) ⇒ Types::ListWorkflowsResponse
Retrieves a list of workflows.
-
#put_s3_access_policy(params = {}) ⇒ Types::PutS3AccessPolicyResponse
Adds an access policy to the specified store.
-
#start_annotation_import_job(params = {}) ⇒ Types::StartAnnotationImportResponse
Starts an annotation import job.
-
#start_read_set_activation_job(params = {}) ⇒ Types::StartReadSetActivationJobResponse
Activates an archived read set.
-
#start_read_set_export_job(params = {}) ⇒ Types::StartReadSetExportJobResponse
Exports a read set to Amazon S3.
-
#start_read_set_import_job(params = {}) ⇒ Types::StartReadSetImportJobResponse
Starts a read set import job.
-
#start_reference_import_job(params = {}) ⇒ Types::StartReferenceImportJobResponse
Starts a reference import job.
-
#start_run(params = {}) ⇒ Types::StartRunResponse
Starts a new run or duplicates an existing run.
-
#start_variant_import_job(params = {}) ⇒ Types::StartVariantImportResponse
Starts a variant import job.
-
#tag_resource(params = {}) ⇒ Struct
Tags a resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes tags from a resource.
-
#update_annotation_store(params = {}) ⇒ Types::UpdateAnnotationStoreResponse
Updates an annotation store.
-
#update_annotation_store_version(params = {}) ⇒ Types::UpdateAnnotationStoreVersionResponse
Updates the description of an annotation store version.
-
#update_run_cache(params = {}) ⇒ Struct
Update a run cache.
-
#update_run_group(params = {}) ⇒ Struct
Updates a run group.
-
#update_sequence_store(params = {}) ⇒ Types::UpdateSequenceStoreResponse
Update one or more parameters for the sequence store.
-
#update_variant_store(params = {}) ⇒ Types::UpdateVariantStoreResponse
Updates a variant store.
-
#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
This operation uploads a specific part of a read set.
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.
476 477 478 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 476 def initialize(*args) super end |
Instance Method Details
#abort_multipart_read_set_upload(params = {}) ⇒ Struct
Stops a multipart upload.
503 504 505 506 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 503 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.
531 532 533 534 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 531 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.
566 567 568 569 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 566 def batch_delete_read_set(params = {}, = {}) req = build_request(:batch_delete_read_set, params) req.send_request() end |
#cancel_annotation_import_job(params = {}) ⇒ Struct
Cancels an annotation import job.
588 589 590 591 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 588 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.
610 611 612 613 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 610 def cancel_run(params = {}, = {}) req = build_request(:cancel_run, params) req.send_request() end |
#cancel_variant_import_job(params = {}) ⇒ Struct
Cancels a variant import job.
632 633 634 635 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 632 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
Concludes a multipart upload once you have uploaded all the components.
675 676 677 678 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 675 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
Creates an annotation store.
770 771 772 773 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 770 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.
847 848 849 850 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 847 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
Begins a multipart read set upload.
936 937 938 939 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 936 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.
997 998 999 1000 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 997 def create_reference_store(params = {}, = {}) req = build_request(:create_reference_store, params) req.send_request() end |
#create_run_cache(params = {}) ⇒ Types::CreateRunCacheResponse
You can create a run cache to save the task outputs from completed tasks in a run for a private workflow. Subsequent runs use the task outputs from the cache, rather than computing the task outputs again. You specify an Amazon S3 location where Amazon Web Services HealthOmics saves the cached data. This data must be immediately accessible (not in an archived state).
For more information, see Creating a run cache in the Amazon Web Services HealthOmics User Guide.
1101 1102 1103 1104 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1101 def create_run_cache(params = {}, = {}) req = build_request(:create_run_cache, params) req.send_request() end |
#create_run_group(params = {}) ⇒ Types::CreateRunGroupResponse
You can optionally create a run group to limit the compute resources for the runs that you add to the group.
1168 1169 1170 1171 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1168 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.
1267 1268 1269 1270 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1267 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
1318 1319 1320 1321 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1318 def create_share(params = {}, = {}) req = build_request(:create_share, params) req.send_request() end |
#create_variant_store(params = {}) ⇒ Types::CreateVariantStoreResponse
Creates a variant store.
1377 1378 1379 1380 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1377 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.Private workflows depend on a variety of resources that you create and configure before creating the workflow:
Input data: Input data for the workflow, stored in an S3 bucket or a Amazon Web Services HealthOmics sequence store.
Workflow definition files: Define your workflow in one or more workflow definition files, 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.
Parameter template files: Define run parameters using a parameter template file (written in JSON).
ECR container images: Create one or more container images for the workflow. Store the images in a private ECR repository.
(Optional) Sentieon licenses: Request a Sentieon license if you plan to use Sentieon software in a private workflow.
For more information, see Creating or updating a private workflow in Amazon Web Services HealthOmics in the Amazon Web Services HealthOmics User Guide.
1507 1508 1509 1510 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1507 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.
1653 1654 1655 1656 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1653 def create_workflow_version(params = {}, = {}) req = build_request(:create_workflow_version, params) req.send_request() end |
#delete_annotation_store(params = {}) ⇒ Types::DeleteAnnotationStoreResponse
Deletes an annotation store.
1685 1686 1687 1688 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1685 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.
1725 1726 1727 1728 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1725 def delete_annotation_store_versions(params = {}, = {}) req = build_request(:delete_annotation_store_versions, params) req.send_request() end |
#delete_reference(params = {}) ⇒ Struct
Deletes a genome reference.
1751 1752 1753 1754 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1751 def delete_reference(params = {}, = {}) req = build_request(:delete_reference, params) req.send_request() end |
#delete_reference_store(params = {}) ⇒ Struct
Deletes a genome reference store.
1773 1774 1775 1776 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1773 def delete_reference_store(params = {}, = {}) req = build_request(:delete_reference_store, params) req.send_request() end |
#delete_run(params = {}) ⇒ Struct
Deletes a workflow run.
1795 1796 1797 1798 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1795 def delete_run(params = {}, = {}) req = build_request(:delete_run, params) req.send_request() end |
#delete_run_cache(params = {}) ⇒ Struct
Delete a run cache. This action removes the cache metadata stored in
the service account, but doesn't 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.
1828 1829 1830 1831 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1828 def delete_run_cache(params = {}, = {}) req = build_request(:delete_run_cache, params) req.send_request() end |
#delete_run_group(params = {}) ⇒ Struct
Deletes a workflow run group.
1850 1851 1852 1853 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1850 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.
1872 1873 1874 1875 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1872 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.
1894 1895 1896 1897 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1894 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.
1924 1925 1926 1927 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1924 def delete_share(params = {}, = {}) req = build_request(:delete_share, params) req.send_request() end |
#delete_variant_store(params = {}) ⇒ Types::DeleteVariantStoreResponse
Deletes a variant store.
1956 1957 1958 1959 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1956 def delete_variant_store(params = {}, = {}) req = build_request(:delete_variant_store, params) req.send_request() end |
#delete_workflow(params = {}) ⇒ Struct
Deletes a workflow.
1978 1979 1980 1981 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1978 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.
2012 2013 2014 2015 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2012 def delete_workflow_version(params = {}, = {}) req = build_request(:delete_workflow_version, params) req.send_request() end |
#get_annotation_import_job(params = {}) ⇒ Types::GetAnnotationImportResponse
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
2082 2083 2084 2085 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2082 def get_annotation_import_job(params = {}, = {}) req = build_request(:get_annotation_import_job, params) req.send_request() end |
#get_annotation_store(params = {}) ⇒ Types::GetAnnotationStoreResponse
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
2151 2152 2153 2154 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2151 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
2221 2222 2223 2224 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2221 def get_annotation_store_version(params = {}, = {}) req = build_request(:get_annotation_store_version, params) req.send_request() end |
#get_read_set(params = {}) ⇒ Types::GetReadSetResponse
Gets a file from a read set.
2261 2262 2263 2264 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2261 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
Gets information about a read set activation job.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- read_set_activation_job_completed
2313 2314 2315 2316 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2313 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
Gets information about a read set export job.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- read_set_export_job_completed
2367 2368 2369 2370 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2367 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 information about a read set import job.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- read_set_import_job_completed
2432 2433 2434 2435 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2432 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
Gets details about a read set.
2512 2513 2514 2515 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2512 def (params = {}, = {}) req = build_request(:get_read_set_metadata, params) req.send_request() end |
#get_reference(params = {}) ⇒ Types::GetReferenceResponse
Gets a reference file.
2556 2557 2558 2559 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2556 def get_reference(params = {}, = {}, &block) req = build_request(:get_reference, params) req.send_request(, &block) end |
#get_reference_import_job(params = {}) ⇒ Types::GetReferenceImportJobResponse
Gets information about a reference import job.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- reference_import_job_completed
2615 2616 2617 2618 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2615 def get_reference_import_job(params = {}, = {}) req = build_request(:get_reference_import_job, params) req.send_request() end |
#get_reference_metadata(params = {}) ⇒ Types::GetReferenceMetadataResponse
Gets information about a genome reference's metadata.
2676 2677 2678 2679 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2676 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.
2715 2716 2717 2718 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2715 def get_reference_store(params = {}, = {}) req = build_request(:get_reference_store, params) req.send_request() end |
#get_run(params = {}) ⇒ Types::GetRunResponse
Gets information about a workflow run.
If a workflow is shared with you, you cannot export information about the run.
Amazon Web Services HealthOmics stores a fixed number of runs that are available to the console and API. If GetRun doesn't return the requested run, you can find run logs for all runs in the CloudWatch logs. For more information about viewing the run logs, see CloudWatch logs in the 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
2838 2839 2840 2841 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2838 def get_run(params = {}, = {}) req = build_request(:get_run, params) req.send_request() end |
#get_run_cache(params = {}) ⇒ Types::GetRunCacheResponse
Retrieve the details for the specified run cache.
For more information, see Call caching for Amazon Web Services HealthOmics runs in the Amazon Web Services HealthOmics User Guide.
2893 2894 2895 2896 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2893 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 workflow run group.
2938 2939 2940 2941 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2938 def get_run_group(params = {}, = {}) req = build_request(:get_run_group, params) req.send_request() end |
#get_run_task(params = {}) ⇒ Types::GetRunTaskResponse
Gets information about a workflow run task.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- task_completed
- task_running
3004 3005 3006 3007 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3004 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.
3040 3041 3042 3043 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3040 def get_s3_access_policy(params = {}, = {}) req = build_request(:get_s3_access_policy, params) req.send_request() end |
#get_sequence_store(params = {}) ⇒ Types::GetSequenceStoreResponse
Gets information about a sequence store.
3096 3097 3098 3099 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3096 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.
3133 3134 3135 3136 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3133 def get_share(params = {}, = {}) req = build_request(:get_share, params) req.send_request() end |
#get_variant_import_job(params = {}) ⇒ Types::GetVariantImportResponse
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
3190 3191 3192 3193 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3190 def get_variant_import_job(params = {}, = {}) req = build_request(:get_variant_import_job, params) req.send_request() end |
#get_variant_store(params = {}) ⇒ Types::GetVariantStoreResponse
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
3248 3249 3250 3251 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3248 def get_variant_store(params = {}, = {}) req = build_request(:get_variant_store, params) req.send_request() end |
#get_workflow(params = {}) ⇒ Types::GetWorkflowResponse
Gets information about a workflow.
If a workflow is shared with you, you cannot export the workflow.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- workflow_active
3335 3336 3337 3338 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3335 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
3432 3433 3434 3435 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3432 def get_workflow_version(params = {}, = {}) req = build_request(:get_workflow_version, params) req.send_request() end |
#list_annotation_import_jobs(params = {}) ⇒ Types::ListAnnotationImportJobsResponse
Retrieves a list of annotation import jobs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3491 3492 3493 3494 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3491 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.
3550 3551 3552 3553 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3550 def list_annotation_store_versions(params = {}, = {}) req = build_request(:list_annotation_store_versions, params) req.send_request() end |
#list_annotation_stores(params = {}) ⇒ Types::ListAnnotationStoresResponse
Retrieves a list of annotation stores.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3610 3611 3612 3613 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3610 def list_annotation_stores(params = {}, = {}) req = build_request(:list_annotation_stores, params) req.send_request() end |
#list_multipart_read_set_uploads(params = {}) ⇒ Types::ListMultipartReadSetUploadsResponse
Lists multipart read set uploads and for in progress uploads. Once the upload is completed, a read set is created and the upload will no longer be returned in the response.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3666 3667 3668 3669 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3666 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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3721 3722 3723 3724 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3721 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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3776 3777 3778 3779 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3776 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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3831 3832 3833 3834 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3831 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
This operation will list all parts in a requested multipart upload for a sequence store.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3896 3897 3898 3899 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3896 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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3971 3972 3973 3974 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3971 def list_read_sets(params = {}, = {}) req = build_request(:list_read_sets, params) req.send_request() end |
#list_reference_import_jobs(params = {}) ⇒ Types::ListReferenceImportJobsResponse
Retrieves a list of reference import jobs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4026 4027 4028 4029 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4026 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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4078 4079 4080 4081 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4078 def list_reference_stores(params = {}, = {}) req = build_request(:list_reference_stores, params) req.send_request() end |
#list_references(params = {}) ⇒ Types::ListReferencesResponse
Retrieves a list of references.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4137 4138 4139 4140 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4137 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.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4181 4182 4183 4184 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4181 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 run groups.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4230 4231 4232 4233 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4230 def list_run_groups(params = {}, = {}) req = build_request(:list_run_groups, params) req.send_request() end |
#list_run_tasks(params = {}) ⇒ Types::ListRunTasksResponse
Retrieves a list of tasks for a run.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4287 4288 4289 4290 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4287 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.
Amazon Web Services HealthOmics stores a fixed number of runs that are available to the console and API. If the ListRuns response doesn't include specific runs that you expected, you can find run logs for all runs 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.
4359 4360 4361 4362 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4359 def list_runs(params = {}, = {}) req = build_request(:list_runs, params) req.send_request() end |
#list_sequence_stores(params = {}) ⇒ Types::ListSequenceStoresResponse
Retrieves a list of sequence stores.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4419 4420 4421 4422 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4419 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.
4481 4482 4483 4484 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4481 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.
4510 4511 4512 4513 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4510 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_variant_import_jobs(params = {}) ⇒ Types::ListVariantImportJobsResponse
Retrieves a list of variant import jobs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4568 4569 4570 4571 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4568 def list_variant_import_jobs(params = {}, = {}) req = build_request(:list_variant_import_jobs, params) req.send_request() end |
#list_variant_stores(params = {}) ⇒ Types::ListVariantStoresResponse
Retrieves a list of variant stores.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4627 4628 4629 4630 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4627 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.
4692 4693 4694 4695 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4692 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 workflows.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4746 4747 4748 4749 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4746 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.
4786 4787 4788 4789 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4786 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
Starts an annotation import job.
4862 4863 4864 4865 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4862 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. To reduce storage charges, Amazon Omics archives unused read sets after 30 days.
4910 4911 4912 4913 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4910 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
Exports a read set to Amazon S3.
4967 4968 4969 4970 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4967 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
Starts a read set import job.
5033 5034 5035 5036 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5033 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
Starts a reference import job.
5091 5092 5093 5094 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5091 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 or duplicates an existing run.
For a new run, specify a unique requestId
, the workflowId
, and a
role ARN. If you're using static run storage (the default), specify
the required storageCapacity
.
You duplicate a run by specifing a unique requestId
, the runID
of
the run to duplicate, and a role ARN.
For more information about the optional parameters in the StartRun request, see Starting a run in the Amazon Web Services HealthOmics User Guide.
5265 5266 5267 5268 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5265 def start_run(params = {}, = {}) req = build_request(:start_run, params) req.send_request() end |
#start_variant_import_job(params = {}) ⇒ Types::StartVariantImportResponse
Starts a variant import job.
5315 5316 5317 5318 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5315 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.
5343 5344 5345 5346 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5343 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from a resource.
5369 5370 5371 5372 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5369 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_annotation_store(params = {}) ⇒ Types::UpdateAnnotationStoreResponse
Updates an annotation store.
5422 5423 5424 5425 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5422 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.
5472 5473 5474 5475 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5472 def update_annotation_store_version(params = {}, = {}) req = build_request(:update_annotation_store_version, params) req.send_request() end |
#update_run_cache(params = {}) ⇒ Struct
Update a run cache.
5506 5507 5508 5509 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5506 def update_run_cache(params = {}, = {}) req = build_request(:update_run_cache, params) req.send_request() end |
#update_run_group(params = {}) ⇒ Struct
Updates a run group.
5548 5549 5550 5551 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5548 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.
5636 5637 5638 5639 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5636 def update_sequence_store(params = {}, = {}) req = build_request(:update_sequence_store, params) req.send_request() end |
#update_variant_store(params = {}) ⇒ Types::UpdateVariantStoreResponse
Updates a variant store.
5680 5681 5682 5683 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5680 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. For more information, see Update a private workflow in the Amazon Web Services HealthOmics User Guide.
5734 5735 5736 5737 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5734 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.
5788 5789 5790 5791 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5788 def update_workflow_version(params = {}, = {}) req = build_request(:update_workflow_version, params) req.send_request() end |
#upload_read_set_part(params = {}) ⇒ Types::UploadReadSetPartResponse
This operation uploads a specific part of a read set. If you upload a new part using a previously used part number, the previously uploaded part will be overwritten.
5834 5835 5836 5837 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5834 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 |
5966 5967 5968 5969 5970 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5966 def wait_until(waiter_name, params = {}, = {}) w = waiter(waiter_name, ) yield(w.waiter) if block_given? # deprecated w.wait(params) end |