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
Cancels an annotation import job.
-
#cancel_run(params = {}) ⇒ Struct
Cancels a run using its ID and returns a response with no body if the operation is successful.
-
#cancel_variant_import_job(params = {}) ⇒ Struct
Cancels a variant import job.
-
#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 usingUploadReadSetPart
. -
#create_annotation_store(params = {}) ⇒ Types::CreateAnnotationStoreResponse
Creates an annotation store.
-
#create_annotation_store_version(params = {}) ⇒ Types::CreateAnnotationStoreVersionResponse
Creates a new version of an annotation store.
-
#create_multipart_read_set_upload(params = {}) ⇒ Types::CreateMultipartReadSetUploadResponse
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
Creates a variant store.
-
#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
workflowId
parameter. -
#delete_annotation_store(params = {}) ⇒ Types::DeleteAnnotationStoreResponse
Deletes an annotation store.
-
#delete_annotation_store_versions(params = {}) ⇒ Types::DeleteAnnotationStoreVersionsResponse
Deletes one or multiple versions of an annotation store.
-
#delete_reference(params = {}) ⇒ Struct
Deletes a 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_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
Deletes a variant store.
-
#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
Gets information about an annotation import job.
-
#get_annotation_store(params = {}) ⇒ Types::GetAnnotationStoreResponse
Gets information about an annotation store.
-
#get_annotation_store_version(params = {}) ⇒ Types::GetAnnotationStoreVersionResponse
Retrieves the metadata for an annotation store version.
-
#get_read_set(params = {}) ⇒ Types::GetReadSetResponse
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
Gets information about a variant import job.
-
#get_variant_store(params = {}) ⇒ Types::GetVariantStoreResponse
Gets information about a variant store.
-
#get_workflow(params = {}) ⇒ Types::GetWorkflowResponse
Gets 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
Retrieves a list of annotation import jobs.
-
#list_annotation_store_versions(params = {}) ⇒ Types::ListAnnotationStoreVersionsResponse
Lists the versions of an annotation store.
-
#list_annotation_stores(params = {}) ⇒ Types::ListAnnotationStoresResponse
Retrieves a list of annotation stores.
-
#list_multipart_read_set_uploads(params = {}) ⇒ Types::ListMultipartReadSetUploadsResponse
Lists 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_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
Retrieves a list of variant import jobs.
-
#list_variant_stores(params = {}) ⇒ Types::ListVariantStoresResponse
Retrieves a list of variant stores.
-
#list_workflow_versions(params = {}) ⇒ Types::ListWorkflowVersionsResponse
Lists the workflow versions for the specified workflow.
-
#list_workflows(params = {}) ⇒ Types::ListWorkflowsResponse
Retrieves a list of existing workflows.
-
#put_s3_access_policy(params = {}) ⇒ Types::PutS3AccessPolicyResponse
Adds an access policy to the specified store.
-
#start_annotation_import_job(params = {}) ⇒ Types::StartAnnotationImportResponse
Starts an annotation import job.
-
#start_read_set_activation_job(params = {}) ⇒ Types::StartReadSetActivationJobResponse
Activates an archived read set 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_variant_import_job(params = {}) ⇒ Types::StartVariantImportResponse
Starts a variant import job.
-
#tag_resource(params = {}) ⇒ Struct
Tags a resource.
-
#untag_resource(params = {}) ⇒ Struct
Removes tags from a resource.
-
#update_annotation_store(params = {}) ⇒ Types::UpdateAnnotationStoreResponse
Updates an annotation store.
-
#update_annotation_store_version(params = {}) ⇒ Types::UpdateAnnotationStoreVersionResponse
Updates the description of an annotation store version.
-
#update_run_cache(params = {}) ⇒ Struct
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
Updates a variant store.
-
#update_workflow(params = {}) ⇒ Struct
Updates information about a workflow.
-
#update_workflow_version(params = {}) ⇒ Struct
Updates information about the workflow version.
-
#upload_read_set_part(params = {}) ⇒ Types::UploadReadSetPartResponse
Uploads a specific part of a read set into a sequence store.
Instance Method Summary collapse
-
#initialize(options) ⇒ Client
constructor
A new instance of Client.
-
#wait_until(waiter_name, params = {}, options = {}) {|w.waiter| ... } ⇒ Boolean
Polls an API operation until a resource enters a desired state.
Methods included from ClientStubs
#api_requests, #stub_data, #stub_responses
Methods inherited from Seahorse::Client::Base
add_plugin, api, clear_plugins, define, new, #operation_names, plugins, remove_plugin, set_api, set_plugins
Methods included from Seahorse::Client::HandlerBuilder
#handle, #handle_request, #handle_response
Constructor Details
#initialize(options) ⇒ Client
Returns a new instance of Client.
473 474 475 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 473 def initialize(*args) super end |
Instance Method Details
#abort_multipart_read_set_upload(params = {}) ⇒ Struct
Stops a multipart read set upload into a sequence store and returns a
response with no body if the operation is successful. To confirm that
a multipart read set upload has been stopped, use the
ListMultipartReadSetUploads
API operation to view all active
multipart read set uploads.
504 505 506 507 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 504 def abort_multipart_read_set_upload(params = {}, = {}) req = build_request(:abort_multipart_read_set_upload, params) req.send_request() end |
#accept_share(params = {}) ⇒ Types::AcceptShareResponse
Accept a resource share request.
532 533 534 535 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 532 def accept_share(params = {}, = {}) req = build_request(:accept_share, params) req.send_request() end |
#batch_delete_read_set(params = {}) ⇒ Types::BatchDeleteReadSetResponse
Deletes one or more read sets. If the operation is successful, it
returns a response with no body. If there is an error with deleting
one of the read sets, the operation returns an error list. If the
operation successfully deletes only a subset of files, it will return
an error list for the remaining files that fail to be deleted. There
is a limit of 100 read sets that can be deleted in each
BatchDeleteReadSet
API call.
573 574 575 576 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 573 def batch_delete_read_set(params = {}, = {}) req = build_request(:batch_delete_read_set, params) req.send_request() end |
#cancel_annotation_import_job(params = {}) ⇒ Struct
Cancels an annotation import job.
595 596 597 598 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 595 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.
619 620 621 622 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 619 def cancel_run(params = {}, = {}) req = build_request(:cancel_run, params) req.send_request() end |
#cancel_variant_import_job(params = {}) ⇒ Struct
Cancels a variant import job.
641 642 643 644 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 641 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.
695 696 697 698 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 695 def complete_multipart_read_set_upload(params = {}, = {}) req = build_request(:complete_multipart_read_set_upload, params) req.send_request() end |
#create_annotation_store(params = {}) ⇒ Types::CreateAnnotationStoreResponse
Creates an annotation store.
790 791 792 793 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 790 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.
867 868 869 870 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 867 def create_annotation_store_version(params = {}, = {}) req = build_request(:create_annotation_store_version, params) req.send_request() end |
#create_multipart_read_set_upload(params = {}) ⇒ Types::CreateMultipartReadSetUploadResponse
Initiates a multipart read set upload for uploading partitioned source
files into a sequence store. You can directly import source files from
an EC2 instance and other local compute, or from an S3 bucket. To
separate these source files into parts, use the split
operation.
Each part cannot be larger than 100 MB. If the operation is
successful, it provides an uploadId
which is required by the
UploadReadSetPart
API operation to upload parts into a sequence
store.
To continue uploading a multipart read set into your sequence store,
you must use the UploadReadSetPart
API operation to upload each part
individually following the steps below:
Specify the
uploadId
obtained 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.
984 985 986 987 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 984 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.
1056 1057 1058 1059 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1056 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.
1161 1162 1163 1164 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1161 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.
1229 1230 1231 1232 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1229 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
s3AccessConfig
to configure your sequence store with S3 access logs (recommended).Use
sseConfig
to define your own KMS key for encryption.Use
eTagAlgorithmFamily
to define which algorithm to use for the HealthOmics eTag on objects.Use
fallbackLocation
to define a backup location for storing files that have failed a direct upload.Use
propagatedSetLevelTags
to 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.
1368 1369 1370 1371 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1368 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
1419 1420 1421 1422 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1419 def create_share(params = {}, = {}) req = build_request(:create_share, params) req.send_request() end |
#create_variant_store(params = {}) ⇒ Types::CreateVariantStoreResponse
Creates a variant store.
1478 1479 1480 1481 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1478 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 files: Define your workflow in one or more workflow definition files, written in WDL, Nextflow, or CWL. The workflow definition specifies the inputs and outputs for runs that use the workflow. It also includes specifications for the runs and run tasks for your workflow, including compute and memory requirements. The workflow definition file must be in .zip format.
(Optional) Parameter template: You can create a parameter template file that defines the run parameters, or Amazon Web Services HealthOmics can generate the parameter template for you.
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 if using the Sentieon software in a private workflow.
For more information, see Creating or updating a private workflow in Amazon Web Services HealthOmics in the Amazon Web Services HealthOmics User Guide.
1722 1723 1724 1725 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1722 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.
1971 1972 1973 1974 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 1971 def create_workflow_version(params = {}, = {}) req = build_request(:create_workflow_version, params) req.send_request() end |
#delete_annotation_store(params = {}) ⇒ Types::DeleteAnnotationStoreResponse
Deletes an annotation store.
2003 2004 2005 2006 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2003 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.
2043 2044 2045 2046 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2043 def delete_annotation_store_versions(params = {}, = {}) req = build_request(:delete_annotation_store_versions, 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.
2080 2081 2082 2083 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2080 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.
2113 2114 2115 2116 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2113 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
ListRuns
to confirm the workflow no longer appears in the list.Use
GetRun
to verify the workflow cannot be found.
2147 2148 2149 2150 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2147 def delete_run(params = {}, = {}) req = build_request(:delete_run, 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.
2181 2182 2183 2184 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2181 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
ListRunGroups
to confirm the workflow no longer appears in the list.Use
GetRunGroup
to verify the workflow cannot be found.
2211 2212 2213 2214 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2211 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.
2233 2234 2235 2236 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2233 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.
2268 2269 2270 2271 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2268 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.
2298 2299 2300 2301 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2298 def delete_share(params = {}, = {}) req = build_request(:delete_share, params) req.send_request() end |
#delete_variant_store(params = {}) ⇒ Types::DeleteVariantStoreResponse
Deletes a variant store.
2330 2331 2332 2333 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2330 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
ListWorkflows
to confirm the workflow no longer appears in the list.Use
GetWorkflow
to verify the workflow cannot be found.
2360 2361 2362 2363 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2360 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.
2394 2395 2396 2397 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2394 def delete_workflow_version(params = {}, = {}) req = build_request(:delete_workflow_version, params) req.send_request() end |
#get_annotation_import_job(params = {}) ⇒ Types::GetAnnotationImportResponse
Gets information about an annotation import job.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- annotation_import_job_created
2464 2465 2466 2467 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2464 def get_annotation_import_job(params = {}, = {}) req = build_request(:get_annotation_import_job, params) req.send_request() end |
#get_annotation_store(params = {}) ⇒ Types::GetAnnotationStoreResponse
Gets information about an annotation store.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- annotation_store_created
- annotation_store_deleted
2533 2534 2535 2536 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2533 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
2603 2604 2605 2606 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2603 def get_annotation_store_version(params = {}, = {}) req = build_request(:get_annotation_store_version, 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.
2646 2647 2648 2649 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2646 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
2699 2700 2701 2702 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2699 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
2755 2756 2757 2758 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2755 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
2821 2822 2823 2824 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2821 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.
2903 2904 2905 2906 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2903 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.
2955 2956 2957 2958 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 2955 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
3015 3016 3017 3018 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3015 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.
3079 3080 3081 3082 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3079 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.
3118 3119 3120 3121 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3118 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
3239 3240 3241 3242 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3239 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.
3295 3296 3297 3298 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3295 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.
3340 3341 3342 3343 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3340 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
3410 3411 3412 3413 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3410 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.
3446 3447 3448 3449 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3446 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.
3503 3504 3505 3506 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3503 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.
3540 3541 3542 3543 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3540 def get_share(params = {}, = {}) req = build_request(:get_share, params) req.send_request() end |
#get_variant_import_job(params = {}) ⇒ Types::GetVariantImportResponse
Gets information about a variant import job.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- variant_import_job_created
3597 3598 3599 3600 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3597 def get_variant_import_job(params = {}, = {}) req = build_request(:get_variant_import_job, params) req.send_request() end |
#get_variant_store(params = {}) ⇒ Types::GetVariantStoreResponse
Gets information about a variant store.
The following waiters are defined for this operation (see #wait_until for detailed usage):
- variant_store_created
- variant_store_deleted
3655 3656 3657 3658 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3655 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
3770 3771 3772 3773 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3770 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
3889 3890 3891 3892 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3889 def get_workflow_version(params = {}, = {}) req = build_request(:get_workflow_version, params) req.send_request() end |
#list_annotation_import_jobs(params = {}) ⇒ Types::ListAnnotationImportJobsResponse
Retrieves a list of annotation import jobs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
3948 3949 3950 3951 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 3948 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.
4007 4008 4009 4010 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4007 def list_annotation_store_versions(params = {}, = {}) req = build_request(:list_annotation_store_versions, params) req.send_request() end |
#list_annotation_stores(params = {}) ⇒ Types::ListAnnotationStoresResponse
Retrieves a list of annotation stores.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
4067 4068 4069 4070 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4067 def list_annotation_stores(params = {}, = {}) req = build_request(:list_annotation_stores, params) req.send_request() end |
#list_multipart_read_set_uploads(params = {}) ⇒ Types::ListMultipartReadSetUploadsResponse
Lists 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.
4124 4125 4126 4127 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4124 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.
4181 4182 4183 4184 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4181 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.
4238 4239 4240 4241 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4238 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.
4294 4295 4296 4297 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4294 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.
4359 4360 4361 4362 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4359 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.
4435 4436 4437 4438 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4435 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.
4491 4492 4493 4494 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4491 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.
4551 4552 4553 4554 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4551 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.
4618 4619 4620 4621 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4618 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.
4662 4663 4664 4665 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4662 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.
4712 4713 4714 4715 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4712 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.
4771 4772 4773 4774 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4771 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.
4843 4844 4845 4846 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4843 def list_runs(params = {}, = {}) req = build_request(:list_runs, params) req.send_request() end |
#list_sequence_stores(params = {}) ⇒ Types::ListSequenceStoresResponse
Retrieves a list of sequence stores 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.
4911 4912 4913 4914 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4911 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.
4973 4974 4975 4976 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 4973 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.
5002 5003 5004 5005 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5002 def (params = {}, = {}) req = build_request(:list_tags_for_resource, params) req.send_request() end |
#list_variant_import_jobs(params = {}) ⇒ Types::ListVariantImportJobsResponse
Retrieves a list of variant import jobs.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5060 5061 5062 5063 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5060 def list_variant_import_jobs(params = {}, = {}) req = build_request(:list_variant_import_jobs, params) req.send_request() end |
#list_variant_stores(params = {}) ⇒ Types::ListVariantStoresResponse
Retrieves a list of variant stores.
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
5119 5120 5121 5122 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5119 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.
5186 5187 5188 5189 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5186 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.
5245 5246 5247 5248 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5245 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.
5285 5286 5287 5288 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5285 def put_s3_access_policy(params = {}, = {}) req = build_request(:put_s3_access_policy, params) req.send_request() end |
#start_annotation_import_job(params = {}) ⇒ Types::StartAnnotationImportResponse
Starts an annotation import job.
5361 5362 5363 5364 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5361 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.
5418 5419 5420 5421 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5418 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.
5480 5481 5482 5483 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5480 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.
5549 5550 5551 5552 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5549 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.
5611 5612 5613 5614 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5611 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 theuuid
orrunId
).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 theGetRun
API 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 useDYNAMIC
storage.
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
REMOVE
to automatically remove the oldest runs when you reach the maximum service retention limit for runs. It is recommended that you use theREMOVE
mode to initiate major run requests so that your runs do not fail when you reach the limit.The
retentionMode
is set to theRETAIN
mode 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.
5875 5876 5877 5878 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5875 def start_run(params = {}, = {}) req = build_request(:start_run, params) req.send_request() end |
#start_variant_import_job(params = {}) ⇒ Types::StartVariantImportResponse
Starts a variant import job.
5925 5926 5927 5928 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5925 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.
5953 5954 5955 5956 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5953 def tag_resource(params = {}, = {}) req = build_request(:tag_resource, params) req.send_request() end |
#untag_resource(params = {}) ⇒ Struct
Removes tags from a resource.
5979 5980 5981 5982 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 5979 def untag_resource(params = {}, = {}) req = build_request(:untag_resource, params) req.send_request() end |
#update_annotation_store(params = {}) ⇒ Types::UpdateAnnotationStoreResponse
Updates an annotation store.
6032 6033 6034 6035 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6032 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.
6082 6083 6084 6085 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6082 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.
6128 6129 6130 6131 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6128 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.
6187 6188 6189 6190 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6187 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.
6275 6276 6277 6278 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6275 def update_sequence_store(params = {}, = {}) req = build_request(:update_sequence_store, params) req.send_request() end |
#update_variant_store(params = {}) ⇒ Types::UpdateVariantStoreResponse
Updates a variant store.
6319 6320 6321 6322 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6319 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.
6393 6394 6395 6396 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6393 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.
6456 6457 6458 6459 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6456 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.
6511 6512 6513 6514 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6511 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 |
6643 6644 6645 6646 6647 |
# File 'gems/aws-sdk-omics/lib/aws-sdk-omics/client.rb', line 6643 def wait_until(waiter_name, params = {}, = {}) w = waiter(waiter_name, ) yield(w.waiter) if block_given? # deprecated w.wait(params) end |