<a id="cli-aws-omics-wait"></a>

# wait

## Description

Wait until a particular condition is satisfied. Each subcommand polls an API until the listed requirement is met.

## Available Commands

* [annotation-import-job-created](annotation-import-job-created.md)
* [annotation-store-created](annotation-store-created.md)
* [annotation-store-deleted](annotation-store-deleted.md)
* [annotation-store-version-created](annotation-store-version-created.md)
* [annotation-store-version-deleted](annotation-store-version-deleted.md)
* [read-set-activation-job-completed](read-set-activation-job-completed.md)
* [read-set-export-job-completed](read-set-export-job-completed.md)
* [read-set-import-job-completed](read-set-import-job-completed.md)
* [reference-import-job-completed](reference-import-job-completed.md)
* [run-completed](run-completed.md)
* [run-running](run-running.md)
* [task-completed](task-completed.md)
* [task-running](task-running.md)
* [variant-import-job-created](variant-import-job-created.md)
* [variant-store-created](variant-store-created.md)
* [variant-store-deleted](variant-store-deleted.md)
* [workflow-active](workflow-active.md)
* [workflow-version-active](workflow-version-active.md)

## Examples

#### NOTE
To use the following examples, you must have the AWS CLI installed and configured. See the [Getting started guide](https://docs.aws.amazon.com/cli/latest/userguide/cli-chap-getting-started.html) in the *AWS CLI User Guide* for more information.

Unless otherwise stated, all examples have unix-like quotation rules. These examples will need to be adapted to your terminal’s quoting rules. See [Using quotation marks with strings](https://docs.aws.amazon.com/cli/latest/userguide/cli-usage-parameters-quoting-strings.html) in the *AWS CLI User Guide* .

**To wait for an annotation store to be ready**

The following `wait` example waits for an annotation store’s status to be `ACTIVE`.

```bash
aws omics wait annotation-store-created \
    --name my_ann_store
```

This command produces no output.

For more information, see [Omics Analytics](https://docs.aws.amazon.com/omics/latest/dev/omics-analytics.html) in the *Amazon Omics Developer Guide*.
