UpdateAnnotationStore - HealthOmics API Reference

UpdateAnnotationStore

Updates an annotation store.

Request Syntax

POST /annotationStore/name HTTP/1.1 Content-type: application/json { "description": "string" }

URI Request Parameters

The request uses the following URI parameters.

name

A name for the store.

Required: Yes

Request Body

The request accepts the following data in JSON format.

description

A description for the store.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 500.

Required: No

Response Syntax

HTTP/1.1 200 Content-type: application/json { "creationTime": "string", "description": "string", "id": "string", "name": "string", "reference": { ... }, "status": "string", "storeFormat": "string", "storeOptions": { ... }, "updateTime": "string" }

Response Elements

If the action is successful, the service sends back an HTTP 200 response.

The following data is returned in JSON format by the service.

creationTime

When the store was created.

Type: Timestamp

description

The store's description.

Type: String

Length Constraints: Minimum length of 0. Maximum length of 500.

id

The store's ID.

Type: String

Pattern: [a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}

name

The store's name.

Type: String

reference

The store's genome reference.

Type: ReferenceItem object

Note: This object is a Union. Only one member of this object can be specified or returned.

status

The store's status.

Type: String

Valid Values: CREATING | UPDATING | DELETING | ACTIVE | FAILED

storeFormat

The annotation file format of the store.

Type: String

Valid Values: GFF | TSV | VCF

storeOptions

Parsing options for the store.

Type: StoreOptions object

Note: This object is a Union. Only one member of this object can be specified or returned.

updateTime

When the store was updated.

Type: Timestamp

Errors

For information about the errors that are common to all actions, see Common Errors.

AccessDeniedException

You do not have sufficient access to perform this action.

HTTP Status Code: 403

InternalServerException

An unexpected error occurred. Try the request again.

HTTP Status Code: 500

ResourceNotFoundException

The target resource was not found in the current Region.

HTTP Status Code: 404

ThrottlingException

The request was denied due to request throttling.

HTTP Status Code: 429

ValidationException

The input fails to satisfy the constraints specified by an AWS service.

HTTP Status Code: 400

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: