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_configuration(params = {}) ⇒ Types::CreateConfigurationResponse
Create a new configuration.
-
#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_configuration(params = {}) ⇒ Struct
Delete an existing configuration.
-
#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_configuration(params = {}) ⇒ Types::GetConfigurationResponse
Retrieve configuration details for specified name.
-
#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_configurations(params = {}) ⇒ Types::ListConfigurationsResponse
List all configurations for the account.
-
#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.
478 479 480 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 478 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.
509 510 511 512 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 509 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.
537 538 539 540 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 537 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.
578 579 580 581 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 578 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.
610 611 612 613 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 610 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.
634 635 636 637 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 634 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.
665 666 667 668 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 665 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.
697 698 699 700 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 697 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.
751 752 753 754 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 751 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.
856 857 858 859 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 856 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.
933 934 935 936 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 933 def create_annotation_store_version(params = {}, = {}) req = build_request(:create_annotation_store_version, params) req.send_request() end |
#create_configuration(params = {}) ⇒ Types::CreateConfigurationResponse
Create a new configuration.
1010 1011 1012 1013 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1010 def create_configuration(params = {}, = {}) req = build_request(:create_configuration, 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.
1127 1128 1129 1130 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1127 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.
1199 1200 1201 1202 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1199 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.
1304 1305 1306 1307 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1304 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.
1372 1373 1374 1375 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1372 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.
1511 1512 1513 1514 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1511 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 Amazon Web Services user with a different account than the resource owner).
The following resources support cross-account sharing:
HealthOmics variant stores
HealthOmics annotation stores
Private workflows
1562 1563 1564 1565 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1562 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.
1631 1632 1633 1634 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1631 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.
1898 1899 1900 1901 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1898 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.
2148 2149 2150 2151 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2148 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.
2190 2191 2192 2193 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2190 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.
2230 2231 2232 2233 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2230 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, RUNS_DELETE_FAILED, 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.
2260 2261 2262 2263 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2260 def delete_batch(params = {}, = {}) req = build_request(:delete_batch, params) req.send_request() end |
#delete_configuration(params = {}) ⇒ Struct
Delete an existing configuration.
2282 2283 2284 2285 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2282 def delete_configuration(params = {}, = {}) req = build_request(:delete_configuration, 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.
2319 2320 2321 2322 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2319 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.
2352 2353 2354 2355 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2352 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.
2386 2387 2388 2389 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2386 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.
2415 2416 2417 2418 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2415 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.
2449 2450 2451 2452 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2449 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.
2479 2480 2481 2482 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2479 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.
2501 2502 2503 2504 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2501 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.
2536 2537 2538 2539 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2536 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.
2566 2567 2568 2569 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2566 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.
2608 2609 2610 2611 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2608 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.
2638 2639 2640 2641 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2638 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.
2672 2673 2674 2675 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2672 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
2752 2753 2754 2755 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2752 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
2831 2832 2833 2834 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2831 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
2901 2902 2903 2904 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2901 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.
2993 2994 2995 2996 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2993 def get_batch(params = {}, = {}) req = build_request(:get_batch, params) req.send_request() end |
#get_configuration(params = {}) ⇒ Types::GetConfigurationResponse
Retrieve configuration details for specified name.
3041 3042 3043 3044 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3041 def get_configuration(params = {}, = {}) req = build_request(:get_configuration, 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.
3084 3085 3086 3087 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3084 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
3137 3138 3139 3140 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3137 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
3193 3194 3195 3196 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3193 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
3259 3260 3261 3262 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3259 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.
3341 3342 3343 3344 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3341 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.
3393 3394 3395 3396 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3393 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
3453 3454 3455 3456 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3453 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.
3517 3518 3519 3520 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3517 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.
3556 3557 3558 3559 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3556 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
3697 3698 3699 3700 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3697 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.
3753 3754 3755 3756 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3753 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.
3798 3799 3800 3801 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3798 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
3870 3871 3872 3873 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3870 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.
3906 3907 3908 3909 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3906 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.
3963 3964 3965 3966 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3963 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.
4000 4001 4002 4003 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4000 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
4067 4068 4069 4070 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4067 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
4135 4136 4137 4138 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4135 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
4259 4260 4261 4262 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4259 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
4387 4388 4389 4390 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4387 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.
4456 4457 4458 4459 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4456 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.
4515 4516 4517 4518 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4515 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.
4585 4586 4587 4588 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4585 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.
4642 4643 4644 4645 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4642 def list_batch(params = {}, = {}) req = build_request(:list_batch, params) req.send_request() end |
#list_configurations(params = {}) ⇒ Types::ListConfigurationsResponse
List all configurations for the account.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4683 4684 4685 4686 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4683 def list_configurations(params = {}, = {}) req = build_request(:list_configurations, 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.
4740 4741 4742 4743 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4740 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.
4797 4798 4799 4800 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4797 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.
4854 4855 4856 4857 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4854 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.
4910 4911 4912 4913 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4910 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.
4975 4976 4977 4978 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4975 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.
5051 5052 5053 5054 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5051 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.
5107 5108 5109 5110 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5107 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.
5167 5168 5169 5170 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5167 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.
5234 5235 5236 5237 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5234 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.
5278 5279 5280 5281 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5278 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.
5328 5329 5330 5331 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5328 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.
5388 5389 5390 5391 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5388 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.
5466 5467 5468 5469 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5466 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.
5528 5529 5530 5531 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5528 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.
5596 5597 5598 5599 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5596 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.
5658 5659 5660 5661 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5658 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.
5687 5688 5689 5690 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5687 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.
5755 5756 5757 5758 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5755 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.
5824 5825 5826 5827 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5824 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.
5891 5892 5893 5894 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5891 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.
5950 5951 5952 5953 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5950 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.
5990 5991 5992 5993 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5990 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.
6076 6077 6078 6079 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6076 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. Amazon Web Services 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.
6133 6134 6135 6136 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6133 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.
6195 6196 6197 6198 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6195 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.
6264 6265 6266 6267 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6264 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.
6326 6327 6328 6329 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6326 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.
6634 6635 6636 6637 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6634 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 CREATING. The batch
transitions to PENDING once initial setup completes. Runs are then
submitted gradually and asynchronously at a rate governed by your
StartRun throughput quota.
6753 6754 6755 6756 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6753 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.
6813 6814 6815 6816 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6813 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.
6841 6842 6843 6844 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6841 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from a resource.
6867 6868 6869 6870 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6867 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.
6930 6931 6932 6933 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6930 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.
6980 6981 6982 6983 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6980 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.
7026 7027 7028 7029 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 7026 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.
7085 7086 7087 7088 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 7085 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.
7173 7174 7175 7176 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 7173 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.
7227 7228 7229 7230 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 7227 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.
7301 7302 7303 7304 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 7301 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.
7364 7365 7366 7367 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 7364 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.
7419 7420 7421 7422 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 7419 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 |
7551 7552 7553 7554 7555 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 7551 def wait_until(waiter_name, params = {}, = {}) w = waiter(waiter_name, ) yield(w.waiter) if block_given? # deprecated w.wait(params) end |