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.
471 472 473 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 471 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.
502 503 504 505 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 502 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.
530 531 532 533 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 530 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.
571 572 573 574 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 571 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.
603 604 605 606 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 603 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.
627 628 629 630 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 627 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.
658 659 660 661 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 658 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.
690 691 692 693 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 690 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.
744 745 746 747 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 744 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.
849 850 851 852 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 849 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.
926 927 928 929 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 926 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.
1001 1002 1003 1004 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1001 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.
1118 1119 1120 1121 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1118 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.
1190 1191 1192 1193 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1190 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.
1295 1296 1297 1298 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1295 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.
1363 1364 1365 1366 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1363 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.
1502 1503 1504 1505 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1502 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
1553 1554 1555 1556 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1553 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.
1622 1623 1624 1625 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1622 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.
1888 1889 1890 1891 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1888 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.
2137 2138 2139 2140 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2137 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.
2179 2180 2181 2182 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2179 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.
2219 2220 2221 2222 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2219 def delete_annotation_store_versions(params = {}, = {}) req = build_request(:delete_annotation_store_versions, params) req.send_request() end |
#delete_batch(params = {}) ⇒ Struct
Deletes a run batch resource and its associated metadata. This
operation does not delete the individual workflow runs. To delete the
runs, call DeleteRunBatch before calling DeleteBatch.
DeleteBatch requires the batch to be in a terminal state:
PROCESSED, FAILED, CANCELLED, or RUNS_DELETED. After
DeleteBatch completes, the batch metadata is no longer accessible.
You cannot call GetBatch, ListRunsInBatch, DeleteRunBatch, or
CancelRunBatch on a deleted batch.
2249 2250 2251 2252 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2249 def delete_batch(params = {}, = {}) req = build_request(:delete_batch, params) req.send_request() end |
#delete_configuration(params = {}) ⇒ Struct
Delete an existing configuration.
2271 2272 2273 2274 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2271 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.
2308 2309 2310 2311 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2308 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.
2341 2342 2343 2344 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2341 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.
2375 2376 2377 2378 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2375 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.
2404 2405 2406 2407 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2404 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.
2438 2439 2440 2441 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2438 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.
2468 2469 2470 2471 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2468 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.
2490 2491 2492 2493 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2490 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.
2525 2526 2527 2528 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2525 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.
2555 2556 2557 2558 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2555 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.
2597 2598 2599 2600 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2597 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.
2627 2628 2629 2630 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2627 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.
2661 2662 2663 2664 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2661 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
2741 2742 2743 2744 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2741 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
2820 2821 2822 2823 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2820 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
2890 2891 2892 2893 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2890 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.
2980 2981 2982 2983 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2980 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.
3027 3028 3029 3030 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3027 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.
3070 3071 3072 3073 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3070 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
3123 3124 3125 3126 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3123 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
3179 3180 3181 3182 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3179 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
3245 3246 3247 3248 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3245 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.
3327 3328 3329 3330 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3327 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.
3379 3380 3381 3382 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3379 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
3439 3440 3441 3442 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3439 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.
3503 3504 3505 3506 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3503 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.
3542 3543 3544 3545 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3542 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
3677 3678 3679 3680 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3677 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.
3733 3734 3735 3736 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3733 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.
3778 3779 3780 3781 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3778 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
3848 3849 3850 3851 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3848 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.
3884 3885 3886 3887 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3884 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.
3941 3942 3943 3944 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3941 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.
3978 3979 3980 3981 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3978 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
4045 4046 4047 4048 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4045 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
4113 4114 4115 4116 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4113 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
4228 4229 4230 4231 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4228 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
4347 4348 4349 4350 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4347 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.
4416 4417 4418 4419 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4416 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.
4475 4476 4477 4478 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4475 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.
4545 4546 4547 4548 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4545 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.
4602 4603 4604 4605 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4602 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.
4643 4644 4645 4646 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4643 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.
4700 4701 4702 4703 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4700 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.
4757 4758 4759 4760 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4757 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.
4814 4815 4816 4817 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4814 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.
4870 4871 4872 4873 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4870 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.
4935 4936 4937 4938 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4935 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.
5011 5012 5013 5014 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5011 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.
5067 5068 5069 5070 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5067 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.
5127 5128 5129 5130 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5127 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.
5194 5195 5196 5197 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5194 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.
5238 5239 5240 5241 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5238 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.
5288 5289 5290 5291 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5288 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.
5347 5348 5349 5350 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5347 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.
5424 5425 5426 5427 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5424 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.
5486 5487 5488 5489 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5486 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.
5554 5555 5556 5557 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5554 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.
5616 5617 5618 5619 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5616 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.
5645 5646 5647 5648 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5645 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.
5713 5714 5715 5716 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5713 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.
5782 5783 5784 5785 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5782 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.
5849 5850 5851 5852 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5849 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.
5908 5909 5910 5911 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5908 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.
5948 5949 5950 5951 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5948 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.
6034 6035 6036 6037 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6034 def start_annotation_import_job(params = {}, = {}) req = build_request(:start_annotation_import_job, params) req.send_request() end |
#start_read_set_activation_job(params = {}) ⇒ Types::StartReadSetActivationJobResponse
Activates an archived read set and returns its metadata in a JSON
formatted output. AWS HealthOmics automatically archives unused read
sets after 30 days. To monitor the status of your read set activation
job, use the GetReadSetActivationJob operation.
To learn more, see Activating read sets in the Amazon Web Services HealthOmics User Guide.
6091 6092 6093 6094 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6091 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.
6153 6154 6155 6156 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6153 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.
6222 6223 6224 6225 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6222 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.
6284 6285 6286 6287 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6284 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.
6568 6569 6570 6571 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6568 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.
6681 6682 6683 6684 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6681 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.
6741 6742 6743 6744 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6741 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.
6769 6770 6771 6772 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6769 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from a resource.
6795 6796 6797 6798 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6795 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.
6858 6859 6860 6861 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6858 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.
6908 6909 6910 6911 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6908 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.
6954 6955 6956 6957 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6954 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.
7013 7014 7015 7016 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 7013 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.
7101 7102 7103 7104 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 7101 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.
7155 7156 7157 7158 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 7155 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.
7229 7230 7231 7232 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 7229 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.
7292 7293 7294 7295 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 7292 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.
7347 7348 7349 7350 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 7347 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 |
7479 7480 7481 7482 7483 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 7479 def wait_until(waiter_name, params = {}, = {}) w = waiter(waiter_name, ) yield(w.waiter) if block_given? # deprecated w.wait(params) end |