选择您的 Cookie 首选项

我们使用必要 Cookie 和类似工具提供我们的网站和服务。我们使用性能 Cookie 收集匿名统计数据,以便我们可以了解客户如何使用我们的网站并进行改进。必要 Cookie 无法停用,但您可以单击“自定义”或“拒绝”来拒绝性能 Cookie。

如果您同意,AWS 和经批准的第三方还将使用 Cookie 提供有用的网站功能、记住您的首选项并显示相关内容,包括相关广告。要接受或拒绝所有非必要 Cookie,请单击“接受”或“拒绝”。要做出更详细的选择,请单击“自定义”。

Creating new versions of HealthOmics annotation stores

聚焦模式
Creating new versions of HealthOmics annotation stores - AWS HealthOmics
此页面尚未翻译为您的语言。 请求翻译

You can create new versions of annotation stores to collect different versions of your annotation databases. This helps you organize your annotation data, which is updated regularly.

To create a new version of an existing annotation store, use the create-annotation-store-version API as shown in the following example.

aws omics create-annotation-store-version \ --name my_annotation_store \ --version-name my_version

You will get the following response with the annotation store version ID, confirming that a new version of your annotation has been created.

{ "creationTime": "2023-07-21T17:15:49.251040+00:00", "id": "3b93cdef69d2", "name": "my_annotation_store", "reference": { "referenceArn": "arn:aws:omics:us-west-2:555555555555:referenceStore/6505293348/reference/5987565360" }, "status": "CREATING", "versionName": "my_version" }

To update the description of an annotation store version, you can use update-annotation-store-version to add updates to an annotation store version.

aws omics update-annotation-store-version \ --name my_annotation_store \ --version-name my_version \ --description "New Description"

You will receive the following response, confirming that the annotation store version has been updated.

{ "storeId": "4934045d1c6d", "id": "2a3f4a44aa7b", "description":"New Description", "status": "ACTIVE", "name": "my_annotation_store", "versionName": "my_version", "creation Time": "2023-07-21T17:20:59.380043+00:00", "updateTime": "2023-07-21T17:26:17.892034+00:00" }

To view the details of an annotation store version, use get-annotation-store-version.

aws omics get-annotation-store-version --name my_annotation_store --version-name my_version

You will receive a response with the version name, status, and other details.

{ "storeId": "4934045d1c6d", "id": "2a3f4a44aa7b", "status": "ACTIVE", "versionArn": "arn:aws:omics:us-west-2:555555555555:annotationStore/my_annotation_store/version/my_version", "name": "my_annotation_store", "versionName": "my_version", "creationTime": "2023-07-21T17:15:49.251040+00:00", "updateTime": "2023-07-21T17:15:56.434223+00:00", "statusMessage": "", "versionSizeBytes": 0 }

To view all versions of an annotation store, you can use list-annotation-store-versions, as shown in the following example.

aws omics list-annotation-store-versions --name my_annotation_store

You will receive a response with the following information

{ "annotationStoreVersions": [ { "storeId": "4934045d1c6d", "id": "2a3f4a44aa7b", "status": "CREATING", "versionArn": "arn:aws:omics:us-west-2:555555555555:annotationStore/my_annotation_store/version/my_version_2", "name": "my_annotation_store", "versionName": "my_version_2", "creation Time": "2023-07-21T17:20:59.380043+00:00", "versionSizeBytes": 0 }, { "storeId": "4934045d1c6d", "id": "4934045d1c6d", "status": "ACTIVE", "versionArn": "arn:aws:omics:us-west-2:555555555555:annotationStore/my_annotation_store/version/my_version_1", "name": "my_annotation_store", "versionName": "my_version_1", "creationTime": "2023-07-21T17:15:49.251040+00:00", "updateTime": "2023-07-21T17:15:56.434223+00:00", "statusMessage": "", "versionSizeBytes": 0 } }

If you no longer need an annotation store version, you can use delete-annotation-store-versions to delete an annotation store version, as shown in the following example.

aws omics delete-annotation-store-versions --name my_annotation_store --versions my_version

If the store version is deleted without errors, you will receive the following response.

{ "errors": [] }

If there are errors, you will receive a response with the details of the errors, as shown.

{ "errors": [ { "versionName": "my_version", "message": "Version with versionName: my_version was not found." } ] }

If you try to delete an annotation store version that has an active import job, you will receive a response with an error, as shown.

{ "errors": [ { "versionName": "my_version", "message": "version has an inflight import running" } ] }

In this case, you can force deletion of the annotation store version, as shown in the following example.

aws omics delete-annotation-store-versions --name my_annotation_store --versions my_version --force
隐私网站条款Cookie 首选项
© 2025, Amazon Web Services, Inc. 或其附属公司。保留所有权利。