You are viewing the documentation for an older major version of the AWS SDK for JavaScript.
The modular AWS SDK for JavaScript (v3), the latest major version of AWS SDK for JavaScript, is now stable and recommended for general use. For more information, see the Migration Guide and API Reference.

Class: AWS.Omics

Inherits:
AWS.Service show all
Identifier:
omics
API Version:
2022-11-28
Defined in:
(unknown)

Overview

Constructs a service interface object. Each API operation is exposed as a function on service.

Service Description

This is the Amazon Omics API Reference. For an introduction to the service, see What is Amazon Omics? in the Amazon Omics Developer Guide.

Sending a Request Using Omics

var omics = new AWS.Omics();
omics.batchDeleteReadSet(params, function (err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Locking the API Version

In order to ensure that the Omics object uses this specific API, you can construct the object by passing the apiVersion option to the constructor:

var omics = new AWS.Omics({apiVersion: '2022-11-28'});

You can also set the API version globally in AWS.config.apiVersions using the omics service identifier:

AWS.config.apiVersions = {
  omics: '2022-11-28',
  // other service API versions
};

var omics = new AWS.Omics();

Version:

  • 2022-11-28

Waiter Resource States

This service supports a list of resource states that can be polled using the waitFor() method. The resource states are:

annotationImportJobCreated, annotationStoreCreated, annotationStoreDeleted, readSetActivationJobCompleted, readSetExportJobCompleted, readSetImportJobCompleted, referenceImportJobCompleted, runCompleted, runRunning, taskCompleted, taskRunning, variantImportJobCreated, variantStoreCreated, variantStoreDeleted, workflowActive

Constructor Summary collapse

Property Summary collapse

Properties inherited from AWS.Service

apiVersions

Method Summary collapse

Methods inherited from AWS.Service

makeRequest, makeUnauthenticatedRequest, setupRequestListeners, defineService

Constructor Details

new AWS.Omics(options = {}) ⇒ Object

Constructs a service object. This object has one method for each API operation.

Examples:

Constructing a Omics object

var omics = new AWS.Omics({apiVersion: '2022-11-28'});

Options Hash (options):

  • params (map)

    An optional map of parameters to bind to every request sent by this service object. For more information on bound parameters, see "Working with Services" in the Getting Started Guide.

  • endpoint (String|AWS.Endpoint)

    The endpoint URI to send requests to. The default endpoint is built from the configured region. The endpoint should be a string like 'https://{service}.{region}.amazonaws.com' or an Endpoint object.

  • accessKeyId (String)

    your AWS access key ID.

  • secretAccessKey (String)

    your AWS secret access key.

  • sessionToken (AWS.Credentials)

    the optional AWS session token to sign requests with.

  • credentials (AWS.Credentials)

    the AWS credentials to sign requests with. You can either specify this object, or specify the accessKeyId and secretAccessKey options directly.

  • credentialProvider (AWS.CredentialProviderChain)

    the provider chain used to resolve credentials if no static credentials property is set.

  • region (String)

    the region to send service requests to. See AWS.Omics.region for more information.

  • maxRetries (Integer)

    the maximum amount of retries to attempt with a request. See AWS.Omics.maxRetries for more information.

  • maxRedirects (Integer)

    the maximum amount of redirects to follow with a request. See AWS.Omics.maxRedirects for more information.

  • sslEnabled (Boolean)

    whether to enable SSL for requests.

  • paramValidation (Boolean|map)

    whether input parameters should be validated against the operation description before sending the request. Defaults to true. Pass a map to enable any of the following specific validation features:

    • min [Boolean] — Validates that a value meets the min constraint. This is enabled by default when paramValidation is set to true.
    • max [Boolean] — Validates that a value meets the max constraint.
    • pattern [Boolean] — Validates that a string value matches a regular expression.
    • enum [Boolean] — Validates that a string value matches one of the allowable enum values.
  • computeChecksums (Boolean)

    whether to compute checksums for payload bodies when the service accepts it (currently supported in S3 only)

  • convertResponseTypes (Boolean)

    whether types are converted when parsing response data. Currently only supported for JSON based services. Turning this off may improve performance on large response payloads. Defaults to true.

  • correctClockSkew (Boolean)

    whether to apply a clock skew correction and retry requests that fail because of an skewed client clock. Defaults to false.

  • s3ForcePathStyle (Boolean)

    whether to force path style URLs for S3 objects.

  • s3BucketEndpoint (Boolean)

    whether the provided endpoint addresses an individual bucket (false if it addresses the root API endpoint). Note that setting this configuration option requires an endpoint to be provided explicitly to the service constructor.

  • s3DisableBodySigning (Boolean)

    whether S3 body signing should be disabled when using signature version v4. Body signing can only be disabled when using https. Defaults to true.

  • s3UsEast1RegionalEndpoint ('legacy'|'regional')

    when region is set to 'us-east-1', whether to send s3 request to global endpoints or 'us-east-1' regional endpoints. This config is only applicable to S3 client. Defaults to legacy

  • s3UseArnRegion (Boolean)

    whether to override the request region with the region inferred from requested resource's ARN. Only available for S3 buckets Defaults to true

  • retryDelayOptions (map)

    A set of options to configure the retry delay on retryable errors. Currently supported options are:

    • base [Integer] — The base number of milliseconds to use in the exponential backoff for operation retries. Defaults to 100 ms for all services except DynamoDB, where it defaults to 50ms.
    • customBackoff [function] — A custom function that accepts a retry count and error and returns the amount of time to delay in milliseconds. If the result is a non-zero negative value, no further retry attempts will be made. The base option will be ignored if this option is supplied. The function is only called for retryable errors.
  • httpOptions (map)

    A set of options to pass to the low-level HTTP request. Currently supported options are:

    • proxy [String] — the URL to proxy requests through
    • agent [http.Agent, https.Agent] — the Agent object to perform HTTP requests with. Used for connection pooling. Defaults to the global agent (http.globalAgent) for non-SSL connections. Note that for SSL connections, a special Agent object is used in order to enable peer certificate verification. This feature is only available in the Node.js environment.
    • connectTimeout [Integer] — Sets the socket to timeout after failing to establish a connection with the server after connectTimeout milliseconds. This timeout has no effect once a socket connection has been established.
    • timeout [Integer] — Sets the socket to timeout after timeout milliseconds of inactivity on the socket. Defaults to two minutes (120000).
    • xhrAsync [Boolean] — Whether the SDK will send asynchronous HTTP requests. Used in the browser environment only. Set to false to send requests synchronously. Defaults to true (async on).
    • xhrWithCredentials [Boolean] — Sets the "withCredentials" property of an XMLHttpRequest object. Used in the browser environment only. Defaults to false.
  • apiVersion (String, Date)

    a String in YYYY-MM-DD format (or a date) that represents the latest possible API version that can be used in all services (unless overridden by apiVersions). Specify 'latest' to use the latest possible version.

  • apiVersions (map<String, String|Date>)

    a map of service identifiers (the lowercase service class name) with the API version to use when instantiating a service. Specify 'latest' for each individual that can use the latest available version.

  • logger (#write, #log)

    an object that responds to .write() (like a stream) or .log() (like the console object) in order to log information about requests

  • systemClockOffset (Number)

    an offset value in milliseconds to apply to all signing times. Use this to compensate for clock skew when your system may be out of sync with the service time. Note that this configuration option can only be applied to the global AWS.config object and cannot be overridden in service-specific configuration. Defaults to 0 milliseconds.

  • signatureVersion (String)

    the signature version to sign requests with (overriding the API configuration). Possible values are: 'v2', 'v3', 'v4'.

  • signatureCache (Boolean)

    whether the signature to sign requests with (overriding the API configuration) is cached. Only applies to the signature version 'v4'. Defaults to true.

  • dynamoDbCrc32 (Boolean)

    whether to validate the CRC32 checksum of HTTP response bodies returned by DynamoDB. Default: true.

  • useAccelerateEndpoint (Boolean)

    Whether to use the S3 Transfer Acceleration endpoint with the S3 service. Default: false.

  • clientSideMonitoring (Boolean)

    whether to collect and publish this client's performance metrics of all its API requests.

  • endpointDiscoveryEnabled (Boolean|undefined)

    whether to call operations with endpoints given by service dynamically. Setting this

  • endpointCacheSize (Number)

    the size of the global cache storing endpoints from endpoint discovery operations. Once endpoint cache is created, updating this setting cannot change existing cache size. Defaults to 1000

  • hostPrefixEnabled (Boolean)

    whether to marshal request parameters to the prefix of hostname. Defaults to true.

  • stsRegionalEndpoints ('legacy'|'regional')

    whether to send sts request to global endpoints or regional endpoints. Defaults to 'legacy'.

  • useFipsEndpoint (Boolean)

    Enables FIPS compatible endpoints. Defaults to false.

  • useDualstackEndpoint (Boolean)

    Enables IPv6 dualstack endpoint. Defaults to false.

Property Details

endpointAWS.Endpoint (readwrite)

Returns an Endpoint object representing the endpoint URL for service requests.

Returns:

  • (AWS.Endpoint)

    an Endpoint object representing the endpoint URL for service requests.

Method Details

batchDeleteReadSet(params = {}, callback) ⇒ AWS.Request

Deletes one or more read sets.

Service Reference:

Examples:

Calling the batchDeleteReadSet operation

var params = {
  ids: [ /* required */
    'STRING_VALUE',
    /* more items */
  ],
  sequenceStoreId: 'STRING_VALUE' /* required */
};
omics.batchDeleteReadSet(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • ids — (Array<String>)

      The read sets' IDs.

    • sequenceStoreId — (String)

      The read sets' sequence store ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • errors — (Array<map>)

        Errors returned by individual delete operations.

        • coderequired — (String)

          The error's code.

        • idrequired — (String)

          The error's ID.

        • messagerequired — (String)

          The error's message.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

cancelAnnotationImportJob(params = {}, callback) ⇒ AWS.Request

Cancels an annotation import job.

Service Reference:

Examples:

Calling the cancelAnnotationImportJob operation

var params = {
  jobId: 'STRING_VALUE' /* required */
};
omics.cancelAnnotationImportJob(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • jobId — (String)

      The job's ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

cancelRun(params = {}, callback) ⇒ AWS.Request

Cancels a run.

Service Reference:

Examples:

Calling the cancelRun operation

var params = {
  id: 'STRING_VALUE' /* required */
};
omics.cancelRun(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • id — (String)

      The run's ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

cancelVariantImportJob(params = {}, callback) ⇒ AWS.Request

Cancels a variant import job.

Service Reference:

Examples:

Calling the cancelVariantImportJob operation

var params = {
  jobId: 'STRING_VALUE' /* required */
};
omics.cancelVariantImportJob(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • jobId — (String)

      The job's ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createAnnotationStore(params = {}, callback) ⇒ AWS.Request

Creates an annotation store.

Service Reference:

Examples:

Calling the createAnnotationStore operation

var params = {
  storeFormat: GFF | TSV | VCF, /* required */
  description: 'STRING_VALUE',
  name: 'STRING_VALUE',
  reference: {
    referenceArn: 'STRING_VALUE'
  },
  sseConfig: {
    type: KMS, /* required */
    keyArn: 'STRING_VALUE'
  },
  storeOptions: {
    tsvStoreOptions: {
      annotationType: GENERIC | CHR_POS | CHR_POS_REF_ALT | CHR_START_END_ONE_BASE | CHR_START_END_REF_ALT_ONE_BASE | CHR_START_END_ZERO_BASE | CHR_START_END_REF_ALT_ZERO_BASE,
      formatToHeader: {
        '<FormatToHeaderKey>': 'STRING_VALUE',
        /* '<FormatToHeaderKey>': ... */
      },
      schema: [
        {
          '<SchemaItemKeyString>': LONG | INT | STRING | FLOAT | DOUBLE | BOOLEAN,
          /* '<SchemaItemKeyString>': ... */
        },
        /* more items */
      ]
    }
  },
  tags: {
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  }
};
omics.createAnnotationStore(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • description — (String)

      A description for the store.

    • name — (String)

      A name for the store.

    • reference — (map)

      The genome reference for the store's annotations.

      • referenceArn — (String)

        The reference's ARN.

    • sseConfig — (map)

      Server-side encryption (SSE) settings for the store.

      • keyArn — (String)

        An encryption key ARN.

      • typerequired — (String)

        The encryption type.

        Possible values include:
        • "KMS"
    • storeFormat — (String)

      The annotation file format of the store.

      Possible values include:
      • "GFF"
      • "TSV"
      • "VCF"
    • storeOptions — (map)

      File parsing options for the annotation store.

      • tsvStoreOptions — (map)

        File settings for a TSV store.

        • annotationType — (String)

          The store's annotation type.

          Possible values include:
          • "GENERIC"
          • "CHR_POS"
          • "CHR_POS_REF_ALT"
          • "CHR_START_END_ONE_BASE"
          • "CHR_START_END_REF_ALT_ONE_BASE"
          • "CHR_START_END_ZERO_BASE"
          • "CHR_START_END_REF_ALT_ZERO_BASE"
        • formatToHeader — (map<String>)

          The store's header key to column name mapping.

        • schema — (Array<map<String>>)

          The store's schema.

    • tags — (map<String>)

      Tags for the store.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • creationTime — (Date)

        When the store was created.

      • id — (String)

        The store's ID.

      • name — (String)

        The store's name.

      • reference — (map)

        The store's genome reference. Required for all stores except TSV format with generic annotations.

        • referenceArn — (String)

          The reference's ARN.

      • status — (String)

        The store's status.

        Possible values include:
        • "CREATING"
        • "UPDATING"
        • "DELETING"
        • "ACTIVE"
        • "FAILED"
      • storeFormat — (String)

        The annotation file format of the store.

        Possible values include:
        • "GFF"
        • "TSV"
        • "VCF"
      • storeOptions — (map)

        The store's file parsing options.

        • tsvStoreOptions — (map)

          File settings for a TSV store.

          • annotationType — (String)

            The store's annotation type.

            Possible values include:
            • "GENERIC"
            • "CHR_POS"
            • "CHR_POS_REF_ALT"
            • "CHR_START_END_ONE_BASE"
            • "CHR_START_END_REF_ALT_ONE_BASE"
            • "CHR_START_END_ZERO_BASE"
            • "CHR_START_END_REF_ALT_ZERO_BASE"
          • formatToHeader — (map<String>)

            The store's header key to column name mapping.

          • schema — (Array<map<String>>)

            The store's schema.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createReferenceStore(params = {}, callback) ⇒ AWS.Request

Creates a reference store.

Service Reference:

Examples:

Calling the createReferenceStore operation

var params = {
  name: 'STRING_VALUE', /* required */
  clientToken: 'STRING_VALUE',
  description: 'STRING_VALUE',
  sseConfig: {
    type: KMS, /* required */
    keyArn: 'STRING_VALUE'
  },
  tags: {
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  }
};
omics.createReferenceStore(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • clientToken — (String)

      To ensure that requests don't run multiple times, specify a unique token for each request.

    • description — (String)

      A description for the store.

    • name — (String)

      A name for the store.

    • sseConfig — (map)

      Server-side encryption (SSE) settings for the store.

      • keyArn — (String)

        An encryption key ARN.

      • typerequired — (String)

        The encryption type.

        Possible values include:
        • "KMS"
    • tags — (map<String>)

      Tags for the store.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • arn — (String)

        The store's ARN.

      • creationTime — (Date)

        When the store was created.

      • description — (String)

        The store's description.

      • id — (String)

        The store's ID.

      • name — (String)

        The store's name.

      • sseConfig — (map)

        The store's SSE settings.

        • keyArn — (String)

          An encryption key ARN.

        • typerequired — (String)

          The encryption type.

          Possible values include:
          • "KMS"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createRunGroup(params = {}, callback) ⇒ AWS.Request

Creates a run group.

Service Reference:

Examples:

Calling the createRunGroup operation

var params = {
  requestId: 'STRING_VALUE', /* required */
  maxCpus: 'NUMBER_VALUE',
  maxDuration: 'NUMBER_VALUE',
  maxRuns: 'NUMBER_VALUE',
  name: 'STRING_VALUE',
  tags: {
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  }
};
omics.createRunGroup(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • maxCpus — (Integer)

      The maximum number of CPUs to use in the group.

    • maxDuration — (Integer)

      A maximum run time for the group in minutes.

    • maxRuns — (Integer)

      The maximum number of concurrent runs for the group.

    • name — (String)

      A name for the group.

    • requestId — (String)

      To ensure that requests don't run multiple times, specify a unique ID for each request.

      If a token is not provided, the SDK will use a version 4 UUID.
    • tags — (map<String>)

      Tags for the group.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • arn — (String)

        The group's ARN.

      • id — (String)

        The group's ID.

      • tags — (map<String>)

        Tags for the run group.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createSequenceStore(params = {}, callback) ⇒ AWS.Request

Creates a sequence store.

Service Reference:

Examples:

Calling the createSequenceStore operation

var params = {
  name: 'STRING_VALUE', /* required */
  clientToken: 'STRING_VALUE',
  description: 'STRING_VALUE',
  sseConfig: {
    type: KMS, /* required */
    keyArn: 'STRING_VALUE'
  },
  tags: {
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  }
};
omics.createSequenceStore(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • clientToken — (String)

      To ensure that requests don't run multiple times, specify a unique token for each request.

    • description — (String)

      A description for the store.

    • name — (String)

      A name for the store.

    • sseConfig — (map)

      Server-side encryption (SSE) settings for the store.

      • keyArn — (String)

        An encryption key ARN.

      • typerequired — (String)

        The encryption type.

        Possible values include:
        • "KMS"
    • tags — (map<String>)

      Tags for the store.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • arn — (String)

        The store's ARN.

      • creationTime — (Date)

        When the store was created.

      • description — (String)

        The store's description.

      • id — (String)

        The store's ID.

      • name — (String)

        The store's name.

      • sseConfig — (map)

        The store's SSE settings.

        • keyArn — (String)

          An encryption key ARN.

        • typerequired — (String)

          The encryption type.

          Possible values include:
          • "KMS"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createVariantStore(params = {}, callback) ⇒ AWS.Request

Creates a variant store.

Service Reference:

Examples:

Calling the createVariantStore operation

var params = {
  reference: { /* required */
    referenceArn: 'STRING_VALUE'
  },
  description: 'STRING_VALUE',
  name: 'STRING_VALUE',
  sseConfig: {
    type: KMS, /* required */
    keyArn: 'STRING_VALUE'
  },
  tags: {
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  }
};
omics.createVariantStore(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • description — (String)

      A description for the store.

    • name — (String)

      A name for the store.

    • reference — (map)

      The genome reference for the store's variants.

      • referenceArn — (String)

        The reference's ARN.

    • sseConfig — (map)

      Server-side encryption (SSE) settings for the store.

      • keyArn — (String)

        An encryption key ARN.

      • typerequired — (String)

        The encryption type.

        Possible values include:
        • "KMS"
    • tags — (map<String>)

      Tags for the store.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • creationTime — (Date)

        When the store was created.

      • id — (String)

        The store's ID.

      • name — (String)

        The store's name.

      • reference — (map)

        The store's genome reference.

        • referenceArn — (String)

          The reference's ARN.

      • status — (String)

        The store's status.

        Possible values include:
        • "CREATING"
        • "UPDATING"
        • "DELETING"
        • "ACTIVE"
        • "FAILED"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

createWorkflow(params = {}, callback) ⇒ AWS.Request

Creates a workflow.

Service Reference:

Examples:

Calling the createWorkflow operation

var params = {
  requestId: 'STRING_VALUE', /* required */
  definitionUri: 'STRING_VALUE',
  definitionZip: Buffer.from('...') || 'STRING_VALUE' /* Strings will be Base-64 encoded on your behalf */,
  description: 'STRING_VALUE',
  engine: WDL | NEXTFLOW,
  main: 'STRING_VALUE',
  name: 'STRING_VALUE',
  parameterTemplate: {
    '<WorkflowParameterName>': {
      description: 'STRING_VALUE',
      optional: true || false
    },
    /* '<WorkflowParameterName>': ... */
  },
  storageCapacity: 'NUMBER_VALUE',
  tags: {
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  }
};
omics.createWorkflow(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • definitionUri — (String)

      The URI of a definition for the workflow.

    • definitionZip — (Buffer, Typed Array, Blob, String)

      A ZIP archive for the workflow.

    • description — (String)

      A description for the workflow.

    • engine — (String)

      An engine for the workflow.

      Possible values include:
      • "WDL"
      • "NEXTFLOW"
    • main — (String)

      The path of the main definition file for the workflow.

    • name — (String)

      A name for the workflow.

    • parameterTemplate — (map<map>)

      A parameter template for the workflow.

      • description — (String)

        The parameter's description.

      • optional — (Boolean)

        Whether the parameter is optional.

    • requestId — (String)

      To ensure that requests don't run multiple times, specify a unique ID for each request.

      If a token is not provided, the SDK will use a version 4 UUID.
    • storageCapacity — (Integer)

      A storage capacity for the workflow in gigabytes.

    • tags — (map<String>)

      Tags for the workflow.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • arn — (String)

        The workflow's ARN.

      • id — (String)

        The workflow's ID.

      • status — (String)

        The workflow's status.

        Possible values include:
        • "CREATING"
        • "ACTIVE"
        • "UPDATING"
        • "DELETED"
        • "FAILED"
        • "INACTIVE"
      • tags — (map<String>)

        The workflow's tags.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteAnnotationStore(params = {}, callback) ⇒ AWS.Request

Deletes an annotation store.

Service Reference:

Examples:

Calling the deleteAnnotationStore operation

var params = {
  name: 'STRING_VALUE', /* required */
  force: true || false
};
omics.deleteAnnotationStore(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • force — (Boolean)

      Whether to force deletion.

    • name — (String)

      The store's name.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • status — (String)

        The store's status.

        Possible values include:
        • "CREATING"
        • "UPDATING"
        • "DELETING"
        • "ACTIVE"
        • "FAILED"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteReference(params = {}, callback) ⇒ AWS.Request

Deletes a genome reference.

Service Reference:

Examples:

Calling the deleteReference operation

var params = {
  id: 'STRING_VALUE', /* required */
  referenceStoreId: 'STRING_VALUE' /* required */
};
omics.deleteReference(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • id — (String)

      The reference's ID.

    • referenceStoreId — (String)

      The reference's store ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteReferenceStore(params = {}, callback) ⇒ AWS.Request

Deletes a genome reference store.

Service Reference:

Examples:

Calling the deleteReferenceStore operation

var params = {
  id: 'STRING_VALUE' /* required */
};
omics.deleteReferenceStore(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • id — (String)

      The store's ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteRun(params = {}, callback) ⇒ AWS.Request

Deletes a workflow run.

Service Reference:

Examples:

Calling the deleteRun operation

var params = {
  id: 'STRING_VALUE' /* required */
};
omics.deleteRun(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • id — (String)

      The run's ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteRunGroup(params = {}, callback) ⇒ AWS.Request

Deletes a workflow run group.

Service Reference:

Examples:

Calling the deleteRunGroup operation

var params = {
  id: 'STRING_VALUE' /* required */
};
omics.deleteRunGroup(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • id — (String)

      The run group's ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteSequenceStore(params = {}, callback) ⇒ AWS.Request

Deletes a sequence store.

Service Reference:

Examples:

Calling the deleteSequenceStore operation

var params = {
  id: 'STRING_VALUE' /* required */
};
omics.deleteSequenceStore(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • id — (String)

      The sequence store's ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteVariantStore(params = {}, callback) ⇒ AWS.Request

Deletes a variant store.

Service Reference:

Examples:

Calling the deleteVariantStore operation

var params = {
  name: 'STRING_VALUE', /* required */
  force: true || false
};
omics.deleteVariantStore(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • force — (Boolean)

      Whether to force deletion.

    • name — (String)

      The store's name.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • status — (String)

        The store's status.

        Possible values include:
        • "CREATING"
        • "UPDATING"
        • "DELETING"
        • "ACTIVE"
        • "FAILED"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

deleteWorkflow(params = {}, callback) ⇒ AWS.Request

Deletes a workflow.

Service Reference:

Examples:

Calling the deleteWorkflow operation

var params = {
  id: 'STRING_VALUE' /* required */
};
omics.deleteWorkflow(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • id — (String)

      The workflow's ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getAnnotationImportJob(params = {}, callback) ⇒ AWS.Request

Gets information about an annotation import job.

Service Reference:

Examples:

Calling the getAnnotationImportJob operation

var params = {
  jobId: 'STRING_VALUE' /* required */
};
omics.getAnnotationImportJob(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • jobId — (String)

      The job's ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • completionTime — (Date)

        When the job completed.

      • creationTime — (Date)

        When the job was created.

      • destinationName — (String)

        The job's destination annotation store.

      • formatOptions — (map)

        Formatting options for a file.

        • tsvOptions — (map)

          Options for a TSV file.

          • readOptions — (map)

            The file's read options.

            • comment — (String)

              The file's comment character.

            • encoding — (String)

              The file's encoding.

            • escape — (String)

              A character for escaping quotes in the file.

            • escapeQuotes — (Boolean)

              Whether quotes need to be escaped in the file.

            • header — (Boolean)

              Whether the file has a header row.

            • lineSep — (String)

              A line separator for the file.

            • quote — (String)

              The file's quote character.

            • quoteAll — (Boolean)

              Whether all values need to be quoted, or just those that contain quotes.

            • sep — (String)

              The file's field separator.

        • vcfOptions — (map)

          Options for a VCF file.

          • ignoreFilterField — (Boolean)

            The file's ignore filter field setting.

          • ignoreQualField — (Boolean)

            The file's ignore qual field setting.

      • id — (String)

        The job's ID.

      • items — (Array<map>)

        The job's imported items.

        • jobStatusrequired — (String)

          The item's job status.

          Possible values include:
          • "SUBMITTED"
          • "IN_PROGRESS"
          • "CANCELLED"
          • "COMPLETED"
          • "FAILED"
          • "COMPLETED_WITH_FAILURES"
        • sourcerequired — (String)

          The source file's location in Amazon S3.

      • roleArn — (String)

        The job's service role ARN.

      • runLeftNormalization — (Boolean)

        The job's left normalization setting.

      • status — (String)

        The job's status.

        Possible values include:
        • "SUBMITTED"
        • "IN_PROGRESS"
        • "CANCELLED"
        • "COMPLETED"
        • "FAILED"
        • "COMPLETED_WITH_FAILURES"
      • statusMessage — (String)

        The job's status message.

      • updateTime — (Date)

        When the job was updated.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

Waiter Resource States:

getAnnotationStore(params = {}, callback) ⇒ AWS.Request

Gets information about an annotation store.

Service Reference:

Examples:

Calling the getAnnotationStore operation

var params = {
  name: 'STRING_VALUE' /* required */
};
omics.getAnnotationStore(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • name — (String)

      The store's name.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • creationTime — (Date)

        When the store was created.

      • description — (String)

        The store's description.

      • id — (String)

        The store's ID.

      • name — (String)

        The store's name.

      • reference — (map)

        The store's genome reference.

        • referenceArn — (String)

          The reference's ARN.

      • sseConfig — (map)

        The store's server-side encryption (SSE) settings.

        • keyArn — (String)

          An encryption key ARN.

        • typerequired — (String)

          The encryption type.

          Possible values include:
          • "KMS"
      • status — (String)

        The store's status.

        Possible values include:
        • "CREATING"
        • "UPDATING"
        • "DELETING"
        • "ACTIVE"
        • "FAILED"
      • statusMessage — (String)

        A status message.

      • storeArn — (String)

        The store's ARN.

      • storeFormat — (String)

        The store's annotation file format.

        Possible values include:
        • "GFF"
        • "TSV"
        • "VCF"
      • storeOptions — (map)

        The store's parsing options.

        • tsvStoreOptions — (map)

          File settings for a TSV store.

          • annotationType — (String)

            The store's annotation type.

            Possible values include:
            • "GENERIC"
            • "CHR_POS"
            • "CHR_POS_REF_ALT"
            • "CHR_START_END_ONE_BASE"
            • "CHR_START_END_REF_ALT_ONE_BASE"
            • "CHR_START_END_ZERO_BASE"
            • "CHR_START_END_REF_ALT_ZERO_BASE"
          • formatToHeader — (map<String>)

            The store's header key to column name mapping.

          • schema — (Array<map<String>>)

            The store's schema.

      • storeSizeBytes — (Integer)

        The store's size in bytes.

      • tags — (map<String>)

        The store's tags.

      • updateTime — (Date)

        When the store was updated.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

Waiter Resource States:

getReadSet(params = {}, callback) ⇒ AWS.Request

Gets a file from a read set.

Service Reference:

Examples:

Calling the getReadSet operation

var params = {
  id: 'STRING_VALUE', /* required */
  partNumber: 'NUMBER_VALUE', /* required */
  sequenceStoreId: 'STRING_VALUE', /* required */
  file: SOURCE1 | SOURCE2 | INDEX
};
omics.getReadSet(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • file — (String)

      The file to retrieve.

      Possible values include:
      • "SOURCE1"
      • "SOURCE2"
      • "INDEX"
    • id — (String)

      The read set's ID.

    • partNumber — (Integer)

      The part number to retrieve.

    • sequenceStoreId — (String)

      The read set's sequence store ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • payload — (Buffer(Node.js), Typed Array(Browser), ReadableStream)

        The read set file payload.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getReadSetActivationJob(params = {}, callback) ⇒ AWS.Request

Gets information about a read set activation job.

Service Reference:

Examples:

Calling the getReadSetActivationJob operation

var params = {
  id: 'STRING_VALUE', /* required */
  sequenceStoreId: 'STRING_VALUE' /* required */
};
omics.getReadSetActivationJob(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • id — (String)

      The job's ID.

    • sequenceStoreId — (String)

      The job's sequence store ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • completionTime — (Date)

        When the job completed.

      • creationTime — (Date)

        When the job was created.

      • id — (String)

        The job's ID.

      • sequenceStoreId — (String)

        The job's sequence store ID.

      • sources — (Array<map>)

        The job's source files.

        • readSetIdrequired — (String)

          The source's read set ID.

        • statusrequired — (String)

          The source's status.

          Possible values include:
          • "NOT_STARTED"
          • "IN_PROGRESS"
          • "FINISHED"
          • "FAILED"
        • statusMessage — (String)

          The source's status message.

      • status — (String)

        The job's status.

        Possible values include:
        • "SUBMITTED"
        • "IN_PROGRESS"
        • "CANCELLING"
        • "CANCELLED"
        • "FAILED"
        • "COMPLETED"
        • "COMPLETED_WITH_FAILURES"
      • statusMessage — (String)

        The job's status message.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

Waiter Resource States:

getReadSetExportJob(params = {}, callback) ⇒ AWS.Request

Gets information about a read set export job.

Service Reference:

Examples:

Calling the getReadSetExportJob operation

var params = {
  id: 'STRING_VALUE', /* required */
  sequenceStoreId: 'STRING_VALUE' /* required */
};
omics.getReadSetExportJob(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • id — (String)

      The job's ID.

    • sequenceStoreId — (String)

      The job's sequence store ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • completionTime — (Date)

        When the job completed.

      • creationTime — (Date)

        When the job was created.

      • destination — (String)

        The job's destination in Amazon S3.

      • id — (String)

        The job's ID.

      • readSets — (Array<map>)

        The job's read sets.

        • idrequired — (String)

          The set's ID.

        • statusrequired — (String)

          The set's status.

          Possible values include:
          • "NOT_STARTED"
          • "IN_PROGRESS"
          • "FINISHED"
          • "FAILED"
        • statusMessage — (String)

          The set's status message.

      • sequenceStoreId — (String)

        The job's sequence store ID.

      • status — (String)

        The job's status.

        Possible values include:
        • "SUBMITTED"
        • "IN_PROGRESS"
        • "CANCELLING"
        • "CANCELLED"
        • "FAILED"
        • "COMPLETED"
        • "COMPLETED_WITH_FAILURES"
      • statusMessage — (String)

        The job's status message.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

Waiter Resource States:

getReadSetImportJob(params = {}, callback) ⇒ AWS.Request

Gets information about a read set import job.

Service Reference:

Examples:

Calling the getReadSetImportJob operation

var params = {
  id: 'STRING_VALUE', /* required */
  sequenceStoreId: 'STRING_VALUE' /* required */
};
omics.getReadSetImportJob(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • id — (String)

      The job's ID.

    • sequenceStoreId — (String)

      The job's sequence store ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • completionTime — (Date)

        When the job completed.

      • creationTime — (Date)

        When the job was created.

      • id — (String)

        The job's ID.

      • roleArn — (String)

        The job's service role ARN.

      • sequenceStoreId — (String)

        The job's sequence store ID.

      • sources — (Array<map>)

        The job's source files.

        • description — (String)

          The source's description.

        • generatedFrom — (String)

          Where the source originated.

        • name — (String)

          The source's name.

        • referenceArn — (String)

          The source's genome reference ARN.

        • sampleIdrequired — (String)

          The source's sample ID.

        • sourceFileTyperequired — (String)

          The source's file type.

          Possible values include:
          • "FASTQ"
          • "BAM"
          • "CRAM"
        • sourceFilesrequired — (map)

          The source files' location in Amazon S3.

          • source1required — (String)

            The location of the first file in Amazon S3.

          • source2 — (String)

            The location of the second file in Amazon S3.

        • statusrequired — (String)

          The source's status.

          Possible values include:
          • "NOT_STARTED"
          • "IN_PROGRESS"
          • "FINISHED"
          • "FAILED"
        • statusMessage — (String)

          The source's status message.

        • subjectIdrequired — (String)

          The source's subject ID.

        • tags — (map<String>)

          The source's tags.

      • status — (String)

        The job's status.

        Possible values include:
        • "SUBMITTED"
        • "IN_PROGRESS"
        • "CANCELLING"
        • "CANCELLED"
        • "FAILED"
        • "COMPLETED"
        • "COMPLETED_WITH_FAILURES"
      • statusMessage — (String)

        The job's status message.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

Waiter Resource States:

getReadSetMetadata(params = {}, callback) ⇒ AWS.Request

Gets details about a read set.

Service Reference:

Examples:

Calling the getReadSetMetadata operation

var params = {
  id: 'STRING_VALUE', /* required */
  sequenceStoreId: 'STRING_VALUE' /* required */
};
omics.getReadSetMetadata(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • id — (String)

      The read set's ID.

    • sequenceStoreId — (String)

      The read set's sequence store ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • arn — (String)

        The read set's ARN.

      • creationTime — (Date)

        When the read set was created.

      • description — (String)

        The read set's description.

      • fileType — (String)

        The read set's file type.

        Possible values include:
        • "FASTQ"
        • "BAM"
        • "CRAM"
      • files — (map)

        The read set's files.

        • index — (map)

          The files' index.

          • contentLength — (Integer)

            The file's content length.

          • partSize — (Integer)

            The file's part size.

          • totalParts — (Integer)

            The file's total parts.

        • source1 — (map)

          The location of the first file in Amazon S3.

          • contentLength — (Integer)

            The file's content length.

          • partSize — (Integer)

            The file's part size.

          • totalParts — (Integer)

            The file's total parts.

        • source2 — (map)

          The location of the second file in Amazon S3.

          • contentLength — (Integer)

            The file's content length.

          • partSize — (Integer)

            The file's part size.

          • totalParts — (Integer)

            The file's total parts.

      • id — (String)

        The read set's ID.

      • name — (String)

        The read set's name.

      • referenceArn — (String)

        The read set's genome reference ARN.

      • sampleId — (String)

        The read set's sample ID.

      • sequenceInformation — (map)

        The read set's sequence information.

        • alignment — (String)

          The sequence's alignment setting.

        • generatedFrom — (String)

          Where the sequence originated.

        • totalBaseCount — (Integer)

          The sequence's total base count.

        • totalReadCount — (Integer)

          The sequence's total read count.

      • sequenceStoreId — (String)

        The read set's sequence store ID.

      • status — (String)

        The read set's status.

        Possible values include:
        • "ARCHIVED"
        • "ACTIVATING"
        • "ACTIVE"
        • "DELETING"
        • "DELETED"
      • subjectId — (String)

        The read set's subject ID.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getReference(params = {}, callback) ⇒ AWS.Request

Gets a reference file.

Service Reference:

Examples:

Calling the getReference operation

var params = {
  id: 'STRING_VALUE', /* required */
  partNumber: 'NUMBER_VALUE', /* required */
  referenceStoreId: 'STRING_VALUE', /* required */
  file: SOURCE | INDEX,
  range: 'STRING_VALUE'
};
omics.getReference(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • file — (String)

      The file to retrieve.

      Possible values include:
      • "SOURCE"
      • "INDEX"
    • id — (String)

      The reference's ID.

    • partNumber — (Integer)

      The part number to retrieve.

    • range — (String)

      The range to retrieve.

    • referenceStoreId — (String)

      The reference's store ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • payload — (Buffer(Node.js), Typed Array(Browser), ReadableStream)

        The reference file payload.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getReferenceImportJob(params = {}, callback) ⇒ AWS.Request

Gets information about a reference import job.

Service Reference:

Examples:

Calling the getReferenceImportJob operation

var params = {
  id: 'STRING_VALUE', /* required */
  referenceStoreId: 'STRING_VALUE' /* required */
};
omics.getReferenceImportJob(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • id — (String)

      The job's ID.

    • referenceStoreId — (String)

      The job's reference store ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • completionTime — (Date)

        When the job completed.

      • creationTime — (Date)

        When the job was created.

      • id — (String)

        The job's ID.

      • referenceStoreId — (String)

        The job's reference store ID.

      • roleArn — (String)

        The job's service role ARN.

      • sources — (Array<map>)

        The job's source files.

        • description — (String)

          The source's description.

        • name — (String)

          The source's name.

        • sourceFile — (String)

          The source file's location in Amazon S3.

        • statusrequired — (String)

          The source's status.

          Possible values include:
          • "NOT_STARTED"
          • "IN_PROGRESS"
          • "FINISHED"
          • "FAILED"
        • statusMessage — (String)

          The source's status message.

        • tags — (map<String>)

          The source's tags.

      • status — (String)

        The job's status.

        Possible values include:
        • "SUBMITTED"
        • "IN_PROGRESS"
        • "CANCELLING"
        • "CANCELLED"
        • "FAILED"
        • "COMPLETED"
        • "COMPLETED_WITH_FAILURES"
      • statusMessage — (String)

        The job's status message.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

Waiter Resource States:

getReferenceMetadata(params = {}, callback) ⇒ AWS.Request

Gets information about a genome reference's metadata.

Service Reference:

Examples:

Calling the getReferenceMetadata operation

var params = {
  id: 'STRING_VALUE', /* required */
  referenceStoreId: 'STRING_VALUE' /* required */
};
omics.getReferenceMetadata(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • id — (String)

      The reference's ID.

    • referenceStoreId — (String)

      The reference's reference store ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • arn — (String)

        The reference's ARN.

      • creationTime — (Date)

        When the reference was created.

      • description — (String)

        The reference's description.

      • files — (map)

        The reference's files.

        • index — (map)

          The files' index.

          • contentLength — (Integer)

            The file's content length.

          • partSize — (Integer)

            The file's part size.

          • totalParts — (Integer)

            The file's total parts.

        • source — (map)

          The source file's location in Amazon S3.

          • contentLength — (Integer)

            The file's content length.

          • partSize — (Integer)

            The file's part size.

          • totalParts — (Integer)

            The file's total parts.

      • id — (String)

        The reference's ID.

      • md5 — (String)

        The reference's MD5 checksum.

      • name — (String)

        The reference's name.

      • referenceStoreId — (String)

        The reference's reference store ID.

      • status — (String)

        The reference's status.

        Possible values include:
        • "ACTIVE"
        • "DELETING"
        • "DELETED"
      • updateTime — (Date)

        When the reference was updated.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getReferenceStore(params = {}, callback) ⇒ AWS.Request

Gets information about a reference store.

Service Reference:

Examples:

Calling the getReferenceStore operation

var params = {
  id: 'STRING_VALUE' /* required */
};
omics.getReferenceStore(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • id — (String)

      The store's ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • arn — (String)

        The store's ARN.

      • creationTime — (Date)

        When the store was created.

      • description — (String)

        The store's description.

      • id — (String)

        The store's ID.

      • name — (String)

        The store's name.

      • sseConfig — (map)

        The store's server-side encryption (SSE) settings.

        • keyArn — (String)

          An encryption key ARN.

        • typerequired — (String)

          The encryption type.

          Possible values include:
          • "KMS"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getRun(params = {}, callback) ⇒ AWS.Request

Gets information about a workflow run.

Service Reference:

Examples:

Calling the getRun operation

var params = {
  id: 'STRING_VALUE', /* required */
  export: [
    DEFINITION,
    /* more items */
  ]
};
omics.getRun(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • export — (Array<String>)

      The run's export format.

    • id — (String)

      The run's ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • arn — (String)

        The run's ARN.

      • creationTime — (Date)

        When the run was created.

      • definition — (String)

        The run's definition.

      • digest — (String)

        The run's digest.

      • id — (String)

        The run's ID.

      • logLevel — (String)

        The run's log level.

        Possible values include:
        • "OFF"
        • "FATAL"
        • "ERROR"
        • "ALL"
      • name — (String)

        The run's name.

      • outputUri — (String)

        The run's output URI.

      • parameters — (map)

        The run's parameters.

      • priority — (Integer)

        The run's priority.

      • resourceDigests — (map<String>)

        The run's resource digests.

      • roleArn — (String)

        The run's service role ARN.

      • runGroupId — (String)

        The run's group ID.

      • runId — (String)

        The run's ID.

      • startTime — (Date)

        When the run started.

      • startedBy — (String)

        Who started the run.

      • status — (String)

        The run's status.

        Possible values include:
        • "PENDING"
        • "STARTING"
        • "RUNNING"
        • "STOPPING"
        • "COMPLETED"
        • "DELETED"
        • "CANCELLED"
        • "FAILED"
      • statusMessage — (String)

        The run's status message.

      • stopTime — (Date)

        The run's stop time.

      • storageCapacity — (Integer)

        The run's storage capacity in gigabytes.

      • tags — (map<String>)

        The run's tags.

      • workflowId — (String)

        The run's workflow ID.

      • workflowType — (String)

        The run's workflow type.

        Possible values include:
        • "PRIVATE"
        • "SERVICE"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

Waiter Resource States:

getRunGroup(params = {}, callback) ⇒ AWS.Request

Gets information about a workflow run group.

Service Reference:

Examples:

Calling the getRunGroup operation

var params = {
  id: 'STRING_VALUE' /* required */
};
omics.getRunGroup(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • id — (String)

      The group's ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • arn — (String)

        The group's ARN.

      • creationTime — (Date)

        When the group was created.

      • id — (String)

        The group's ID.

      • maxCpus — (Integer)

        The group's maximum number of CPUs to use.

      • maxDuration — (Integer)

        The group's maximum run time in minutes.

      • maxRuns — (Integer)

        The maximum number of concurrent runs for the group.

      • name — (String)

        The group's name.

      • tags — (map<String>)

        The group's tags.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getRunTask(params = {}, callback) ⇒ AWS.Request

Gets information about a workflow run task.

Service Reference:

Examples:

Calling the getRunTask operation

var params = {
  id: 'STRING_VALUE', /* required */
  taskId: 'STRING_VALUE' /* required */
};
omics.getRunTask(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • id — (String)

      The task's ID.

    • taskId — (String)

      The task's ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • cpus — (Integer)

        The task's CPU usage.

      • creationTime — (Date)

        When the task was created.

      • logStream — (String)

        The task's log stream.

      • memory — (Integer)

        The task's memory use in gigabytes.

      • name — (String)

        The task's name.

      • startTime — (Date)

        The task's start time.

      • status — (String)

        The task's status.

        Possible values include:
        • "PENDING"
        • "STARTING"
        • "RUNNING"
        • "STOPPING"
        • "COMPLETED"
        • "CANCELLED"
        • "FAILED"
      • statusMessage — (String)

        The task's status message.

      • stopTime — (Date)

        The task's stop time.

      • taskId — (String)

        The task's ID.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

Waiter Resource States:

getSequenceStore(params = {}, callback) ⇒ AWS.Request

Gets information about a sequence store.

Service Reference:

Examples:

Calling the getSequenceStore operation

var params = {
  id: 'STRING_VALUE' /* required */
};
omics.getSequenceStore(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • id — (String)

      The store's ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • arn — (String)

        The store's ARN.

      • creationTime — (Date)

        When the store was created.

      • description — (String)

        The store's description.

      • id — (String)

        The store's ID.

      • name — (String)

        The store's name.

      • sseConfig — (map)

        The store's server-side encryption (SSE) settings.

        • keyArn — (String)

          An encryption key ARN.

        • typerequired — (String)

          The encryption type.

          Possible values include:
          • "KMS"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

getVariantImportJob(params = {}, callback) ⇒ AWS.Request

Gets information about a variant import job.

Service Reference:

Examples:

Calling the getVariantImportJob operation

var params = {
  jobId: 'STRING_VALUE' /* required */
};
omics.getVariantImportJob(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • jobId — (String)

      The job's ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • completionTime — (Date)

        When the job completed.

      • creationTime — (Date)

        When the job was created.

      • destinationName — (String)

        The job's destination variant store.

      • id — (String)

        The job's ID.

      • items — (Array<map>)

        The job's items.

        • jobStatusrequired — (String)

          The item's job status.

          Possible values include:
          • "SUBMITTED"
          • "IN_PROGRESS"
          • "CANCELLED"
          • "COMPLETED"
          • "FAILED"
          • "COMPLETED_WITH_FAILURES"
        • sourcerequired — (String)

          The source file's location in Amazon S3.

        • statusMessage — (String)

          A message that provides additional context about a job

      • roleArn — (String)

        The job's service role ARN.

      • runLeftNormalization — (Boolean)

        The job's left normalization setting.

      • status — (String)

        The job's status.

        Possible values include:
        • "SUBMITTED"
        • "IN_PROGRESS"
        • "CANCELLED"
        • "COMPLETED"
        • "FAILED"
        • "COMPLETED_WITH_FAILURES"
      • statusMessage — (String)

        The job's status message.

      • updateTime — (Date)

        When the job was updated.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

Waiter Resource States:

getVariantStore(params = {}, callback) ⇒ AWS.Request

Gets information about a variant store.

Service Reference:

Examples:

Calling the getVariantStore operation

var params = {
  name: 'STRING_VALUE' /* required */
};
omics.getVariantStore(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • name — (String)

      The store's name.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • creationTime — (Date)

        When the store was created.

      • description — (String)

        The store's description.

      • id — (String)

        The store's ID.

      • name — (String)

        The store's name.

      • reference — (map)

        The store's genome reference.

        • referenceArn — (String)

          The reference's ARN.

      • sseConfig — (map)

        The store's server-side encryption (SSE) settings.

        • keyArn — (String)

          An encryption key ARN.

        • typerequired — (String)

          The encryption type.

          Possible values include:
          • "KMS"
      • status — (String)

        The store's status.

        Possible values include:
        • "CREATING"
        • "UPDATING"
        • "DELETING"
        • "ACTIVE"
        • "FAILED"
      • statusMessage — (String)

        The store's status message.

      • storeArn — (String)

        The store's ARN.

      • storeSizeBytes — (Integer)

        The store's size in bytes.

      • tags — (map<String>)

        The store's tags.

      • updateTime — (Date)

        When the store was updated.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

Waiter Resource States:

getWorkflow(params = {}, callback) ⇒ AWS.Request

Gets information about a workflow.

Service Reference:

Examples:

Calling the getWorkflow operation

var params = {
  id: 'STRING_VALUE', /* required */
  export: [
    DEFINITION,
    /* more items */
  ],
  type: PRIVATE | SERVICE
};
omics.getWorkflow(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • export — (Array<String>)

      The export format for the workflow.

    • id — (String)

      The workflow's ID.

    • type — (String)

      The workflow's type.

      Possible values include:
      • "PRIVATE"
      • "SERVICE"

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • arn — (String)

        The workflow's ARN.

      • creationTime — (Date)

        When the workflow was created.

      • definition — (String)

        The workflow's definition.

      • description — (String)

        The workflow's description.

      • digest — (String)

        The workflow's digest.

      • engine — (String)

        The workflow's engine.

        Possible values include:
        • "WDL"
        • "NEXTFLOW"
      • id — (String)

        The workflow's ID.

      • main — (String)

        The path of the main definition file for the workflow.

      • name — (String)

        The workflow's name.

      • parameterTemplate — (map<map>)

        The workflow's parameter template.

        • description — (String)

          The parameter's description.

        • optional — (Boolean)

          Whether the parameter is optional.

      • status — (String)

        The workflow's status.

        Possible values include:
        • "CREATING"
        • "ACTIVE"
        • "UPDATING"
        • "DELETED"
        • "FAILED"
        • "INACTIVE"
      • statusMessage — (String)

        The workflow's status message.

      • storageCapacity — (Integer)

        The workflow's storage capacity in gigabytes.

      • tags — (map<String>)

        The workflow's tags.

      • type — (String)

        The workflow's type.

        Possible values include:
        • "PRIVATE"
        • "SERVICE"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

Waiter Resource States:

listAnnotationImportJobs(params = {}, callback) ⇒ AWS.Request

Retrieves a list of annotation import jobs.

Service Reference:

Examples:

Calling the listAnnotationImportJobs operation

var params = {
  filter: {
    status: SUBMITTED | IN_PROGRESS | CANCELLED | COMPLETED | FAILED | COMPLETED_WITH_FAILURES,
    storeName: 'STRING_VALUE'
  },
  ids: [
    'STRING_VALUE',
    /* more items */
  ],
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
omics.listAnnotationImportJobs(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • filter — (map)

      A filter to apply to the list.

      • status — (String)

        A status to filter on.

        Possible values include:
        • "SUBMITTED"
        • "IN_PROGRESS"
        • "CANCELLED"
        • "COMPLETED"
        • "FAILED"
        • "COMPLETED_WITH_FAILURES"
      • storeName — (String)

        A store name to filter on.

    • ids — (Array<String>)

      IDs of annotation import jobs to retrieve.

    • maxResults — (Integer)

      The maximum number of jobs to return in one page of results.

    • nextToken — (String)

      Specify the pagination token from a previous request to retrieve the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • annotationImportJobs — (Array<map>)

        A list of jobs.

        • completionTime — (Date)

          When the job completed.

        • creationTimerequired — (Date)

          When the job was created.

        • destinationNamerequired — (String)

          The job's destination annotation store.

        • idrequired — (String)

          The job's ID.

        • roleArnrequired — (String)

          The job's service role ARN.

        • runLeftNormalization — (Boolean)

          The job's left normalization setting.

        • statusrequired — (String)

          The job's status.

          Possible values include:
          • "SUBMITTED"
          • "IN_PROGRESS"
          • "CANCELLED"
          • "COMPLETED"
          • "FAILED"
          • "COMPLETED_WITH_FAILURES"
        • updateTimerequired — (Date)

          When the job was updated.

      • nextToken — (String)

        A pagination token that's included if more results are available.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listAnnotationStores(params = {}, callback) ⇒ AWS.Request

Retrieves a list of annotation stores.

Service Reference:

Examples:

Calling the listAnnotationStores operation

var params = {
  filter: {
    status: CREATING | UPDATING | DELETING | ACTIVE | FAILED
  },
  ids: [
    'STRING_VALUE',
    /* more items */
  ],
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
omics.listAnnotationStores(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • filter — (map)

      A filter to apply to the list.

      • status — (String)

        A status to filter on.

        Possible values include:
        • "CREATING"
        • "UPDATING"
        • "DELETING"
        • "ACTIVE"
        • "FAILED"
    • ids — (Array<String>)

      IDs of stores to list.

    • maxResults — (Integer)

      The maximum number of stores to return in one page of results.

    • nextToken — (String)

      Specify the pagination token from a previous request to retrieve the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • annotationStores — (Array<map>)

        A list of stores.

        • creationTimerequired — (Date)

          The store's creation time.

        • descriptionrequired — (String)

          The store's description.

        • idrequired — (String)

          The store's ID.

        • namerequired — (String)

          The store's name.

        • referencerequired — (map)

          The store's genome reference.

          • referenceArn — (String)

            The reference's ARN.

        • sseConfigrequired — (map)

          The store's server-side encryption (SSE) settings.

          • keyArn — (String)

            An encryption key ARN.

          • typerequired — (String)

            The encryption type.

            Possible values include:
            • "KMS"
        • statusrequired — (String)

          The store's status.

          Possible values include:
          • "CREATING"
          • "UPDATING"
          • "DELETING"
          • "ACTIVE"
          • "FAILED"
        • statusMessagerequired — (String)

          The store's status message.

        • storeArnrequired — (String)

          The store's ARN.

        • storeFormatrequired — (String)

          The store's file format.

          Possible values include:
          • "GFF"
          • "TSV"
          • "VCF"
        • storeSizeBytesrequired — (Integer)

          The store's size in bytes.

        • updateTimerequired — (Date)

          When the store was updated.

      • nextToken — (String)

        A pagination token that's included if more results are available.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listReadSetActivationJobs(params = {}, callback) ⇒ AWS.Request

Retrieves a list of read set activation jobs.

Service Reference:

Examples:

Calling the listReadSetActivationJobs operation

var params = {
  sequenceStoreId: 'STRING_VALUE', /* required */
  filter: {
    createdAfter: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
    createdBefore: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
    status: SUBMITTED | IN_PROGRESS | CANCELLING | CANCELLED | FAILED | COMPLETED | COMPLETED_WITH_FAILURES
  },
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
omics.listReadSetActivationJobs(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • filter — (map)

      A filter to apply to the list.

      • createdAfter — (Date)

        The filter's start date.

      • createdBefore — (Date)

        The filter's end date.

      • status — (String)

        The filter's status.

        Possible values include:
        • "SUBMITTED"
        • "IN_PROGRESS"
        • "CANCELLING"
        • "CANCELLED"
        • "FAILED"
        • "COMPLETED"
        • "COMPLETED_WITH_FAILURES"
    • maxResults — (Integer)

      The maximum number of read set activation jobs to return in one page of results.

    • nextToken — (String)

      Specify the pagination token from a previous request to retrieve the next page of results.

    • sequenceStoreId — (String)

      The read set's sequence store ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • activationJobs — (Array<map>)

        A list of jobs.

        • completionTime — (Date)

          When the job completed.

        • creationTimerequired — (Date)

          When the job was created.

        • idrequired — (String)

          The job's ID.

        • sequenceStoreIdrequired — (String)

          The job's sequence store ID.

        • statusrequired — (String)

          The job's status.

          Possible values include:
          • "SUBMITTED"
          • "IN_PROGRESS"
          • "CANCELLING"
          • "CANCELLED"
          • "FAILED"
          • "COMPLETED"
          • "COMPLETED_WITH_FAILURES"
      • nextToken — (String)

        A pagination token that's included if more results are available.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listReadSetExportJobs(params = {}, callback) ⇒ AWS.Request

Retrieves a list of read set export jobs.

Service Reference:

Examples:

Calling the listReadSetExportJobs operation

var params = {
  sequenceStoreId: 'STRING_VALUE', /* required */
  filter: {
    createdAfter: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
    createdBefore: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
    status: SUBMITTED | IN_PROGRESS | CANCELLING | CANCELLED | FAILED | COMPLETED | COMPLETED_WITH_FAILURES
  },
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
omics.listReadSetExportJobs(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • filter — (map)

      A filter to apply to the list.

      • createdAfter — (Date)

        The filter's start date.

      • createdBefore — (Date)

        The filter's end date.

      • status — (String)

        A status to filter on.

        Possible values include:
        • "SUBMITTED"
        • "IN_PROGRESS"
        • "CANCELLING"
        • "CANCELLED"
        • "FAILED"
        • "COMPLETED"
        • "COMPLETED_WITH_FAILURES"
    • maxResults — (Integer)

      The maximum number of jobs to return in one page of results.

    • nextToken — (String)

      Specify the pagination token from a previous request to retrieve the next page of results.

    • sequenceStoreId — (String)

      The jobs' sequence store ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • exportJobs — (Array<map>)

        A list of jobs.

        • completionTime — (Date)

          When the job completed.

        • creationTimerequired — (Date)

          When the job was created.

        • destinationrequired — (String)

          The job's destination in Amazon S3.

        • idrequired — (String)

          The job's ID.

        • sequenceStoreIdrequired — (String)

          The job's sequence store ID.

        • statusrequired — (String)

          The job's status.

          Possible values include:
          • "SUBMITTED"
          • "IN_PROGRESS"
          • "CANCELLING"
          • "CANCELLED"
          • "FAILED"
          • "COMPLETED"
          • "COMPLETED_WITH_FAILURES"
      • nextToken — (String)

        A pagination token that's included if more results are available.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listReadSetImportJobs(params = {}, callback) ⇒ AWS.Request

Retrieves a list of read set import jobs.

Service Reference:

Examples:

Calling the listReadSetImportJobs operation

var params = {
  sequenceStoreId: 'STRING_VALUE', /* required */
  filter: {
    createdAfter: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
    createdBefore: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
    status: SUBMITTED | IN_PROGRESS | CANCELLING | CANCELLED | FAILED | COMPLETED | COMPLETED_WITH_FAILURES
  },
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
omics.listReadSetImportJobs(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • filter — (map)

      A filter to apply to the list.

      • createdAfter — (Date)

        The filter's start date.

      • createdBefore — (Date)

        The filter's end date.

      • status — (String)

        A status to filter on.

        Possible values include:
        • "SUBMITTED"
        • "IN_PROGRESS"
        • "CANCELLING"
        • "CANCELLED"
        • "FAILED"
        • "COMPLETED"
        • "COMPLETED_WITH_FAILURES"
    • maxResults — (Integer)

      The maximum number of jobs to return in one page of results.

    • nextToken — (String)

      Specify the pagination token from a previous request to retrieve the next page of results.

    • sequenceStoreId — (String)

      The jobs' sequence store ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • importJobs — (Array<map>)

        A list of jobs.

        • completionTime — (Date)

          When the job completed.

        • creationTimerequired — (Date)

          When the job was created.

        • idrequired — (String)

          The job's ID.

        • roleArnrequired — (String)

          The job's service role ARN.

        • sequenceStoreIdrequired — (String)

          The job's sequence store ID.

        • statusrequired — (String)

          The job's status.

          Possible values include:
          • "SUBMITTED"
          • "IN_PROGRESS"
          • "CANCELLING"
          • "CANCELLED"
          • "FAILED"
          • "COMPLETED"
          • "COMPLETED_WITH_FAILURES"
      • nextToken — (String)

        A pagination token that's included if more results are available.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listReadSets(params = {}, callback) ⇒ AWS.Request

Retrieves a list of read sets.

Service Reference:

Examples:

Calling the listReadSets operation

var params = {
  sequenceStoreId: 'STRING_VALUE', /* required */
  filter: {
    createdAfter: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
    createdBefore: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
    name: 'STRING_VALUE',
    referenceArn: 'STRING_VALUE',
    status: ARCHIVED | ACTIVATING | ACTIVE | DELETING | DELETED
  },
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
omics.listReadSets(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • filter — (map)

      A filter to apply to the list.

      • createdAfter — (Date)

        The filter's start date.

      • createdBefore — (Date)

        The filter's end date.

      • name — (String)

        A name to filter on.

      • referenceArn — (String)

        A genome reference ARN to filter on.

      • status — (String)

        A status to filter on.

        Possible values include:
        • "ARCHIVED"
        • "ACTIVATING"
        • "ACTIVE"
        • "DELETING"
        • "DELETED"
    • maxResults — (Integer)

      The maximum number of read sets to return in one page of results.

    • nextToken — (String)

      Specify the pagination token from a previous request to retrieve the next page of results.

    • sequenceStoreId — (String)

      The jobs' sequence store ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • nextToken — (String)

        A pagination token that's included if more results are available.

      • readSets — (Array<map>)

        A list of read sets.

        • arnrequired — (String)

          The read set's ARN.

        • creationTimerequired — (Date)

          When the read set was created.

        • description — (String)

          The read set's description.

        • fileTyperequired — (String)

          The read set's file type.

          Possible values include:
          • "FASTQ"
          • "BAM"
          • "CRAM"
        • idrequired — (String)

          The read set's ID.

        • name — (String)

          The read set's name.

        • referenceArn — (String)

          The read set's genome reference ARN.

        • sampleId — (String)

          The read set's sample ID.

        • sequenceInformation — (map)

          Details about a sequence.

          • alignment — (String)

            The sequence's alignment setting.

          • generatedFrom — (String)

            Where the sequence originated.

          • totalBaseCount — (Integer)

            The sequence's total base count.

          • totalReadCount — (Integer)

            The sequence's total read count.

        • sequenceStoreIdrequired — (String)

          The read set's sequence store ID.

        • statusrequired — (String)

          The read set's status.

          Possible values include:
          • "ARCHIVED"
          • "ACTIVATING"
          • "ACTIVE"
          • "DELETING"
          • "DELETED"
        • subjectId — (String)

          The read set's subject ID.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listReferenceImportJobs(params = {}, callback) ⇒ AWS.Request

Retrieves a list of reference import jobs.

Service Reference:

Examples:

Calling the listReferenceImportJobs operation

var params = {
  referenceStoreId: 'STRING_VALUE', /* required */
  filter: {
    createdAfter: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
    createdBefore: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
    status: SUBMITTED | IN_PROGRESS | CANCELLING | CANCELLED | FAILED | COMPLETED | COMPLETED_WITH_FAILURES
  },
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
omics.listReferenceImportJobs(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • filter — (map)

      A filter to apply to the list.

      • createdAfter — (Date)

        The filter's start date.

      • createdBefore — (Date)

        The filter's end date.

      • status — (String)

        A status to filter on.

        Possible values include:
        • "SUBMITTED"
        • "IN_PROGRESS"
        • "CANCELLING"
        • "CANCELLED"
        • "FAILED"
        • "COMPLETED"
        • "COMPLETED_WITH_FAILURES"
    • maxResults — (Integer)

      The maximum number of jobs to return in one page of results.

    • nextToken — (String)

      Specify the pagination token from a previous request to retrieve the next page of results.

    • referenceStoreId — (String)

      The job's reference store ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • importJobs — (Array<map>)

        A lis of jobs.

        • completionTime — (Date)

          When the job completed.

        • creationTimerequired — (Date)

          When the job was created.

        • idrequired — (String)

          The job's ID.

        • referenceStoreIdrequired — (String)

          The job's reference store ID.

        • roleArnrequired — (String)

          The job's service role ARN.

        • statusrequired — (String)

          The job's status.

          Possible values include:
          • "SUBMITTED"
          • "IN_PROGRESS"
          • "CANCELLING"
          • "CANCELLED"
          • "FAILED"
          • "COMPLETED"
          • "COMPLETED_WITH_FAILURES"
      • nextToken — (String)

        A pagination token that's included if more results are available.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listReferences(params = {}, callback) ⇒ AWS.Request

Retrieves a list of references.

Service Reference:

Examples:

Calling the listReferences operation

var params = {
  referenceStoreId: 'STRING_VALUE', /* required */
  filter: {
    createdAfter: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
    createdBefore: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
    md5: 'STRING_VALUE',
    name: 'STRING_VALUE'
  },
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
omics.listReferences(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • filter — (map)

      A filter to apply to the list.

      • createdAfter — (Date)

        The filter's start date.

      • createdBefore — (Date)

        The filter's end date.

      • md5 — (String)

        An MD5 checksum to filter on.

      • name — (String)

        A name to filter on.

    • maxResults — (Integer)

      The maximum number of references to return in one page of results.

    • nextToken — (String)

      Specify the pagination token from a previous request to retrieve the next page of results.

    • referenceStoreId — (String)

      The references' reference store ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • nextToken — (String)

        A pagination token that's included if more results are available.

      • references — (Array<map>)

        A list of references.

        • arnrequired — (String)

          The reference's ARN.

        • creationTimerequired — (Date)

          When the reference was created.

        • description — (String)

          The reference's description.

        • idrequired — (String)

          The reference's ID.

        • md5required — (String)

          The reference's MD5 checksum.

        • name — (String)

          The reference's name.

        • referenceStoreIdrequired — (String)

          The reference's store ID.

        • status — (String)

          The reference's status.

          Possible values include:
          • "ACTIVE"
          • "DELETING"
          • "DELETED"
        • updateTimerequired — (Date)

          When the reference was updated.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listReferenceStores(params = {}, callback) ⇒ AWS.Request

Retrieves a list of reference stores.

Service Reference:

Examples:

Calling the listReferenceStores operation

var params = {
  filter: {
    createdAfter: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
    createdBefore: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
    name: 'STRING_VALUE'
  },
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
omics.listReferenceStores(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • filter — (map)

      A filter to apply to the list.

      • createdAfter — (Date)

        The filter's start date.

      • createdBefore — (Date)

        The filter's end date.

      • name — (String)

        The name to filter on.

    • maxResults — (Integer)

      The maximum number of stores to return in one page of results.

    • nextToken — (String)

      Specify the pagination token from a previous request to retrieve the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • nextToken — (String)

        A pagination token that's included if more results are available.

      • referenceStores — (Array<map>)

        A list of reference stores.

        • arnrequired — (String)

          The store's ARN.

        • creationTimerequired — (Date)

          When the store was created.

        • description — (String)

          The store's description.

        • idrequired — (String)

          The store's ID.

        • name — (String)

          The store's name.

        • sseConfig — (map)

          The store's server-side encryption (SSE) settings.

          • keyArn — (String)

            An encryption key ARN.

          • typerequired — (String)

            The encryption type.

            Possible values include:
            • "KMS"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listRunGroups(params = {}, callback) ⇒ AWS.Request

Retrieves a list of run groups.

Service Reference:

Examples:

Calling the listRunGroups operation

var params = {
  maxResults: 'NUMBER_VALUE',
  name: 'STRING_VALUE',
  startingToken: 'STRING_VALUE'
};
omics.listRunGroups(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • maxResults — (Integer)

      The maximum number of run groups to return in one page of results.

    • name — (String)

      The run groups' name.

    • startingToken — (String)

      Specify the pagination token from a previous request to retrieve the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • items — (Array<map>)

        A list of groups.

        • arn — (String)

          The group's ARN.

        • creationTime — (Date)

          When the group was created.

        • id — (String)

          The group's ID.

        • maxCpus — (Integer)

          The group's maximum CPU count setting.

        • maxDuration — (Integer)

          The group's maximum duration setting in minutes.

        • maxRuns — (Integer)

          The group's maximum concurrent run setting.

        • name — (String)

          The group's name.

      • nextToken — (String)

        A pagination token that's included if more results are available.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listRuns(params = {}, callback) ⇒ AWS.Request

Retrieves a list of runs.

Service Reference:

Examples:

Calling the listRuns operation

var params = {
  maxResults: 'NUMBER_VALUE',
  name: 'STRING_VALUE',
  runGroupId: 'STRING_VALUE',
  startingToken: 'STRING_VALUE'
};
omics.listRuns(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • maxResults — (Integer)

      The maximum number of runs to return in one page of results.

    • name — (String)

      Filter the list by run name.

    • runGroupId — (String)

      Filter the list by run group ID.

    • startingToken — (String)

      Specify the pagination token from a previous request to retrieve the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • items — (Array<map>)

        A list of runs.

        • arn — (String)

          The run's ARN.

        • creationTime — (Date)

          When the run was created.

        • id — (String)

          The run's ID.

        • name — (String)

          The run's name.

        • priority — (Integer)

          The run's priority.

        • startTime — (Date)

          When the run started.

        • status — (String)

          The run's status.

          Possible values include:
          • "PENDING"
          • "STARTING"
          • "RUNNING"
          • "STOPPING"
          • "COMPLETED"
          • "DELETED"
          • "CANCELLED"
          • "FAILED"
        • stopTime — (Date)

          When the run stopped.

        • storageCapacity — (Integer)

          The run's storage capacity.

        • workflowId — (String)

          The run's workflow ID.

      • nextToken — (String)

        A pagination token that's included if more results are available.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listRunTasks(params = {}, callback) ⇒ AWS.Request

Retrieves a list of tasks for a run.

Service Reference:

Examples:

Calling the listRunTasks operation

var params = {
  id: 'STRING_VALUE', /* required */
  maxResults: 'NUMBER_VALUE',
  startingToken: 'STRING_VALUE',
  status: PENDING | STARTING | RUNNING | STOPPING | COMPLETED | CANCELLED | FAILED
};
omics.listRunTasks(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • id — (String)

      The run's ID.

    • maxResults — (Integer)

      The maximum number of run tasks to return in one page of results.

    • startingToken — (String)

      Specify the pagination token from a previous request to retrieve the next page of results.

    • status — (String)

      Filter the list by status.

      Possible values include:
      • "PENDING"
      • "STARTING"
      • "RUNNING"
      • "STOPPING"
      • "COMPLETED"
      • "CANCELLED"
      • "FAILED"

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • items — (Array<map>)

        A list of tasks.

        • cpus — (Integer)

          The task's CPU count.

        • creationTime — (Date)

          When the task was created.

        • memory — (Integer)

          The task's memory use in gigabyes.

        • name — (String)

          The task's name.

        • startTime — (Date)

          When the task started.

        • status — (String)

          The task's status.

          Possible values include:
          • "PENDING"
          • "STARTING"
          • "RUNNING"
          • "STOPPING"
          • "COMPLETED"
          • "CANCELLED"
          • "FAILED"
        • stopTime — (Date)

          When the task stopped.

        • taskId — (String)

          The task's ID.

      • nextToken — (String)

        A pagination token that's included if more results are available.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listSequenceStores(params = {}, callback) ⇒ AWS.Request

Retrieves a list of sequence stores.

Service Reference:

Examples:

Calling the listSequenceStores operation

var params = {
  filter: {
    createdAfter: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
    createdBefore: new Date || 'Wed Dec 31 1969 16:00:00 GMT-0800 (PST)' || 123456789,
    name: 'STRING_VALUE'
  },
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
omics.listSequenceStores(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • filter — (map)

      A filter to apply to the list.

      • createdAfter — (Date)

        The filter's start date.

      • createdBefore — (Date)

        The filter's end date.

      • name — (String)

        A name to filter on.

    • maxResults — (Integer)

      The maximum number of stores to return in one page of results.

    • nextToken — (String)

      Specify the pagination token from a previous request to retrieve the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • nextToken — (String)

        A pagination token that's included if more results are available.

      • sequenceStores — (Array<map>)

        A list of sequence stores.

        • arnrequired — (String)

          The store's ARN.

        • creationTimerequired — (Date)

          When the store was created.

        • description — (String)

          The store's description.

        • idrequired — (String)

          The store's ID.

        • name — (String)

          The store's name.

        • sseConfig — (map)

          The store's server-side encryption (SSE) settings.

          • keyArn — (String)

            An encryption key ARN.

          • typerequired — (String)

            The encryption type.

            Possible values include:
            • "KMS"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listTagsForResource(params = {}, callback) ⇒ AWS.Request

Retrieves a list of tags for a resource.

Service Reference:

Examples:

Calling the listTagsForResource operation

var params = {
  resourceArn: 'STRING_VALUE' /* required */
};
omics.listTagsForResource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • resourceArn — (String)

      The resource's ARN.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • tags — (map<String>)

        A list of tags.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listVariantImportJobs(params = {}, callback) ⇒ AWS.Request

Retrieves a list of variant import jobs.

Service Reference:

Examples:

Calling the listVariantImportJobs operation

var params = {
  filter: {
    status: SUBMITTED | IN_PROGRESS | CANCELLED | COMPLETED | FAILED | COMPLETED_WITH_FAILURES,
    storeName: 'STRING_VALUE'
  },
  ids: [
    'STRING_VALUE',
    /* more items */
  ],
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
omics.listVariantImportJobs(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • filter — (map)

      A filter to apply to the list.

      • status — (String)

        A status to filter on.

        Possible values include:
        • "SUBMITTED"
        • "IN_PROGRESS"
        • "CANCELLED"
        • "COMPLETED"
        • "FAILED"
        • "COMPLETED_WITH_FAILURES"
      • storeName — (String)

        A store name to filter on.

    • ids — (Array<String>)

      A list of job IDs.

    • maxResults — (Integer)

      The maximum number of import jobs to return in one page of results.

    • nextToken — (String)

      Specify the pagination token from a previous request to retrieve the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • nextToken — (String)

        A pagination token that's included if more results are available.

      • variantImportJobs — (Array<map>)

        A list of jobs.

        • completionTime — (Date)

          When the job completed.

        • creationTimerequired — (Date)

          When the job was created.

        • destinationNamerequired — (String)

          The job's destination variant store.

        • idrequired — (String)

          The job's ID.

        • roleArnrequired — (String)

          The job's service role ARN.

        • runLeftNormalization — (Boolean)

          The job's left normalization setting.

        • statusrequired — (String)

          The job's status.

          Possible values include:
          • "SUBMITTED"
          • "IN_PROGRESS"
          • "CANCELLED"
          • "COMPLETED"
          • "FAILED"
          • "COMPLETED_WITH_FAILURES"
        • updateTimerequired — (Date)

          When the job was updated.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listVariantStores(params = {}, callback) ⇒ AWS.Request

Retrieves a list of variant stores.

Service Reference:

Examples:

Calling the listVariantStores operation

var params = {
  filter: {
    status: CREATING | UPDATING | DELETING | ACTIVE | FAILED
  },
  ids: [
    'STRING_VALUE',
    /* more items */
  ],
  maxResults: 'NUMBER_VALUE',
  nextToken: 'STRING_VALUE'
};
omics.listVariantStores(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • filter — (map)

      A filter to apply to the list.

      • status — (String)

        A status to filter on.

        Possible values include:
        • "CREATING"
        • "UPDATING"
        • "DELETING"
        • "ACTIVE"
        • "FAILED"
    • ids — (Array<String>)

      A list of store IDs.

    • maxResults — (Integer)

      The maximum number of stores to return in one page of results.

    • nextToken — (String)

      Specify the pagination token from a previous request to retrieve the next page of results.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • nextToken — (String)

        A pagination token that's included if more results are available.

      • variantStores — (Array<map>)

        A list of variant stores.

        • creationTimerequired — (Date)

          When the store was created.

        • descriptionrequired — (String)

          The store's description.

        • idrequired — (String)

          The store's ID.

        • namerequired — (String)

          The store's name.

        • referencerequired — (map)

          The store's genome reference.

          • referenceArn — (String)

            The reference's ARN.

        • sseConfigrequired — (map)

          The store's server-side encryption (SSE) settings.

          • keyArn — (String)

            An encryption key ARN.

          • typerequired — (String)

            The encryption type.

            Possible values include:
            • "KMS"
        • statusrequired — (String)

          The store's status.

          Possible values include:
          • "CREATING"
          • "UPDATING"
          • "DELETING"
          • "ACTIVE"
          • "FAILED"
        • statusMessagerequired — (String)

          The store's status message.

        • storeArnrequired — (String)

          The store's ARN.

        • storeSizeBytesrequired — (Integer)

          The store's size in bytes.

        • updateTimerequired — (Date)

          When the store was updated.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

listWorkflows(params = {}, callback) ⇒ AWS.Request

Retrieves a list of workflows.

Service Reference:

Examples:

Calling the listWorkflows operation

var params = {
  maxResults: 'NUMBER_VALUE',
  name: 'STRING_VALUE',
  startingToken: 'STRING_VALUE',
  type: PRIVATE | SERVICE
};
omics.listWorkflows(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • maxResults — (Integer)

      The maximum number of workflows to return in one page of results.

    • name — (String)

      The workflows' name.

    • startingToken — (String)

      Specify the pagination token from a previous request to retrieve the next page of results.

    • type — (String)

      The workflows' type.

      Possible values include:
      • "PRIVATE"
      • "SERVICE"

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • items — (Array<map>)

        The workflows' items.

        • arn — (String)

          The workflow's ARN.

        • creationTime — (Date)

          When the workflow was created.

        • digest — (String)

          The workflow's digest.

        • id — (String)

          The workflow's ID.

        • name — (String)

          The workflow's name.

        • status — (String)

          The workflow's status.

          Possible values include:
          • "CREATING"
          • "ACTIVE"
          • "UPDATING"
          • "DELETED"
          • "FAILED"
          • "INACTIVE"
        • type — (String)

          The workflow's type.

          Possible values include:
          • "PRIVATE"
          • "SERVICE"
      • nextToken — (String)

        A pagination token that's included if more results are available.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

startAnnotationImportJob(params = {}, callback) ⇒ AWS.Request

Starts an annotation import job.

Service Reference:

Examples:

Calling the startAnnotationImportJob operation

var params = {
  destinationName: 'STRING_VALUE', /* required */
  items: [ /* required */
    {
      source: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  roleArn: 'STRING_VALUE', /* required */
  formatOptions: {
    tsvOptions: {
      readOptions: {
        comment: 'STRING_VALUE',
        encoding: 'STRING_VALUE',
        escape: 'STRING_VALUE',
        escapeQuotes: true || false,
        header: true || false,
        lineSep: 'STRING_VALUE',
        quote: 'STRING_VALUE',
        quoteAll: true || false,
        sep: 'STRING_VALUE'
      }
    },
    vcfOptions: {
      ignoreFilterField: true || false,
      ignoreQualField: true || false
    }
  },
  runLeftNormalization: true || false
};
omics.startAnnotationImportJob(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • destinationName — (String)

      A destination annotation store for the job.

    • formatOptions — (map)

      Formatting options for the annotation file.

      • tsvOptions — (map)

        Options for a TSV file.

        • readOptions — (map)

          The file's read options.

          • comment — (String)

            The file's comment character.

          • encoding — (String)

            The file's encoding.

          • escape — (String)

            A character for escaping quotes in the file.

          • escapeQuotes — (Boolean)

            Whether quotes need to be escaped in the file.

          • header — (Boolean)

            Whether the file has a header row.

          • lineSep — (String)

            A line separator for the file.

          • quote — (String)

            The file's quote character.

          • quoteAll — (Boolean)

            Whether all values need to be quoted, or just those that contain quotes.

          • sep — (String)

            The file's field separator.

      • vcfOptions — (map)

        Options for a VCF file.

        • ignoreFilterField — (Boolean)

          The file's ignore filter field setting.

        • ignoreQualField — (Boolean)

          The file's ignore qual field setting.

    • items — (Array<map>)

      Items to import.

      • sourcerequired — (String)

        The source file's location in Amazon S3.

    • roleArn — (String)

      A service role for the job.

    • runLeftNormalization — (Boolean)

      The job's left normalization setting.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • jobId — (String)

        The job's ID.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

startReadSetActivationJob(params = {}, callback) ⇒ AWS.Request

Activates an archived read set. To reduce storage charges, Amazon Omics archives unused read sets after 30 days.

Service Reference:

Examples:

Calling the startReadSetActivationJob operation

var params = {
  sequenceStoreId: 'STRING_VALUE', /* required */
  sources: [ /* required */
    {
      readSetId: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  clientToken: 'STRING_VALUE'
};
omics.startReadSetActivationJob(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • clientToken — (String)

      To ensure that jobs don't run multiple times, specify a unique token for each job.

    • sequenceStoreId — (String)

      The read set's sequence store ID.

    • sources — (Array<map>)

      The job's source files.

      • readSetIdrequired — (String)

        The source's read set ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • creationTime — (Date)

        When the job was created.

      • id — (String)

        The job's ID.

      • sequenceStoreId — (String)

        The read set's sequence store ID.

      • status — (String)

        The job's status.

        Possible values include:
        • "SUBMITTED"
        • "IN_PROGRESS"
        • "CANCELLING"
        • "CANCELLED"
        • "FAILED"
        • "COMPLETED"
        • "COMPLETED_WITH_FAILURES"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

startReadSetExportJob(params = {}, callback) ⇒ AWS.Request

Exports a read set to Amazon S3.

Service Reference:

Examples:

Calling the startReadSetExportJob operation

var params = {
  destination: 'STRING_VALUE', /* required */
  roleArn: 'STRING_VALUE', /* required */
  sequenceStoreId: 'STRING_VALUE', /* required */
  sources: [ /* required */
    {
      readSetId: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  clientToken: 'STRING_VALUE'
};
omics.startReadSetExportJob(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • clientToken — (String)

      To ensure that jobs don't run multiple times, specify a unique token for each job.

    • destination — (String)

      A location for exported files in Amazon S3.

    • roleArn — (String)

      A service role for the job.

    • sequenceStoreId — (String)

      The read set's sequence store ID.

    • sources — (Array<map>)

      The job's source files.

      • readSetIdrequired — (String)

        The set's ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • creationTime — (Date)

        When the job was created.

      • destination — (String)

        The job's output location.

      • id — (String)

        The job's ID.

      • sequenceStoreId — (String)

        The read set's sequence store ID.

      • status — (String)

        The job's status.

        Possible values include:
        • "SUBMITTED"
        • "IN_PROGRESS"
        • "CANCELLING"
        • "CANCELLED"
        • "FAILED"
        • "COMPLETED"
        • "COMPLETED_WITH_FAILURES"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

startReadSetImportJob(params = {}, callback) ⇒ AWS.Request

Starts a read set import job.

Service Reference:

Examples:

Calling the startReadSetImportJob operation

var params = {
  roleArn: 'STRING_VALUE', /* required */
  sequenceStoreId: 'STRING_VALUE', /* required */
  sources: [ /* required */
    {
      referenceArn: 'STRING_VALUE', /* required */
      sampleId: 'STRING_VALUE', /* required */
      sourceFileType: FASTQ | BAM | CRAM, /* required */
      sourceFiles: { /* required */
        source1: 'STRING_VALUE', /* required */
        source2: 'STRING_VALUE'
      },
      subjectId: 'STRING_VALUE', /* required */
      description: 'STRING_VALUE',
      generatedFrom: 'STRING_VALUE',
      name: 'STRING_VALUE',
      tags: {
        '<TagKey>': 'STRING_VALUE',
        /* '<TagKey>': ... */
      }
    },
    /* more items */
  ],
  clientToken: 'STRING_VALUE'
};
omics.startReadSetImportJob(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • clientToken — (String)

      To ensure that jobs don't run multiple times, specify a unique token for each job.

    • roleArn — (String)

      A service role for the job.

    • sequenceStoreId — (String)

      The read set's sequence store ID.

    • sources — (Array<map>)

      The job's source files.

      • description — (String)

        The source's description.

      • generatedFrom — (String)

        Where the source originated.

      • name — (String)

        The source's name.

      • referenceArnrequired — (String)

        The source's reference ARN.

      • sampleIdrequired — (String)

        The source's sample ID.

      • sourceFileTyperequired — (String)

        The source's file type.

        Possible values include:
        • "FASTQ"
        • "BAM"
        • "CRAM"
      • sourceFilesrequired — (map)

        The source files' location in Amazon S3.

        • source1required — (String)

          The location of the first file in Amazon S3.

        • source2 — (String)

          The location of the second file in Amazon S3.

      • subjectIdrequired — (String)

        The source's subject ID.

      • tags — (map<String>)

        The source's tags.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • creationTime — (Date)

        When the job was created.

      • id — (String)

        The job's ID.

      • roleArn — (String)

        The job's service role ARN.

      • sequenceStoreId — (String)

        The read set's sequence store ID.

      • status — (String)

        The job's status.

        Possible values include:
        • "SUBMITTED"
        • "IN_PROGRESS"
        • "CANCELLING"
        • "CANCELLED"
        • "FAILED"
        • "COMPLETED"
        • "COMPLETED_WITH_FAILURES"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

startReferenceImportJob(params = {}, callback) ⇒ AWS.Request

Starts a reference import job.

Service Reference:

Examples:

Calling the startReferenceImportJob operation

var params = {
  referenceStoreId: 'STRING_VALUE', /* required */
  roleArn: 'STRING_VALUE', /* required */
  sources: [ /* required */
    {
      name: 'STRING_VALUE', /* required */
      sourceFile: 'STRING_VALUE', /* required */
      description: 'STRING_VALUE',
      tags: {
        '<TagKey>': 'STRING_VALUE',
        /* '<TagKey>': ... */
      }
    },
    /* more items */
  ],
  clientToken: 'STRING_VALUE'
};
omics.startReferenceImportJob(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • clientToken — (String)

      To ensure that jobs don't run multiple times, specify a unique token for each job.

    • referenceStoreId — (String)

      The job's reference store ID.

    • roleArn — (String)

      A service role for the job.

    • sources — (Array<map>)

      The job's source files.

      • description — (String)

        The source's description.

      • namerequired — (String)

        The source's name.

      • sourceFilerequired — (String)

        The source file's location in Amazon S3.

      • tags — (map<String>)

        The source's tags.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • creationTime — (Date)

        When the job was created.

      • id — (String)

        The job's ID.

      • referenceStoreId — (String)

        The job's reference store ID.

      • roleArn — (String)

        The job's service role ARN.

      • status — (String)

        The job's status.

        Possible values include:
        • "SUBMITTED"
        • "IN_PROGRESS"
        • "CANCELLING"
        • "CANCELLED"
        • "FAILED"
        • "COMPLETED"
        • "COMPLETED_WITH_FAILURES"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

startRun(params = {}, callback) ⇒ AWS.Request

Starts a run.

Service Reference:

Examples:

Calling the startRun operation

var params = {
  requestId: 'STRING_VALUE', /* required */
  roleArn: 'STRING_VALUE', /* required */
  logLevel: OFF | FATAL | ERROR | ALL,
  name: 'STRING_VALUE',
  outputUri: 'STRING_VALUE',
  parameters: {
  },
  priority: 'NUMBER_VALUE',
  runGroupId: 'STRING_VALUE',
  runId: 'STRING_VALUE',
  storageCapacity: 'NUMBER_VALUE',
  tags: {
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  },
  workflowId: 'STRING_VALUE',
  workflowType: PRIVATE | SERVICE
};
omics.startRun(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • logLevel — (String)

      A log level for the run.

      Possible values include:
      • "OFF"
      • "FATAL"
      • "ERROR"
      • "ALL"
    • name — (String)

      A name for the run.

    • outputUri — (String)

      An output URI for the run.

    • parameters — (map)

      Parameters for the run.

    • priority — (Integer)

      A priority for the run.

    • requestId — (String)

      To ensure that requests don't run multiple times, specify a unique ID for each request.

      If a token is not provided, the SDK will use a version 4 UUID.
    • roleArn — (String)

      A service role for the run.

    • runGroupId — (String)

      The run's group ID.

    • runId — (String)

      The run's ID.

    • storageCapacity — (Integer)

      A storage capacity for the run in gigabytes.

    • tags — (map<String>)

      Tags for the run.

    • workflowId — (String)

      The run's workflow ID.

    • workflowType — (String)

      The run's workflows type.

      Possible values include:
      • "PRIVATE"
      • "SERVICE"

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • arn — (String)

        The run's ARN.

      • id — (String)

        The run's ID.

      • status — (String)

        The run's status.

        Possible values include:
        • "PENDING"
        • "STARTING"
        • "RUNNING"
        • "STOPPING"
        • "COMPLETED"
        • "DELETED"
        • "CANCELLED"
        • "FAILED"
      • tags — (map<String>)

        The run's tags.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

startVariantImportJob(params = {}, callback) ⇒ AWS.Request

Starts a variant import job.

Service Reference:

Examples:

Calling the startVariantImportJob operation

var params = {
  destinationName: 'STRING_VALUE', /* required */
  items: [ /* required */
    {
      source: 'STRING_VALUE' /* required */
    },
    /* more items */
  ],
  roleArn: 'STRING_VALUE', /* required */
  runLeftNormalization: true || false
};
omics.startVariantImportJob(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • destinationName — (String)

      The destination variant store for the job.

    • items — (Array<map>)

      Items to import.

      • sourcerequired — (String)

        The source file's location in Amazon S3.

    • roleArn — (String)

      A service role for the job.

    • runLeftNormalization — (Boolean)

      The job's left normalization setting.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • jobId — (String)

        The job's ID.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

tagResource(params = {}, callback) ⇒ AWS.Request

Tags a resource.

Service Reference:

Examples:

Calling the tagResource operation

var params = {
  resourceArn: 'STRING_VALUE', /* required */
  tags: { /* required */
    '<TagKey>': 'STRING_VALUE',
    /* '<TagKey>': ... */
  }
};
omics.tagResource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • resourceArn — (String)

      The resource's ARN.

    • tags — (map<String>)

      Tags for the resource.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

untagResource(params = {}, callback) ⇒ AWS.Request

Removes tags from a resource.

Service Reference:

Examples:

Calling the untagResource operation

var params = {
  resourceArn: 'STRING_VALUE', /* required */
  tagKeys: [ /* required */
    'STRING_VALUE',
    /* more items */
  ]
};
omics.untagResource(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • resourceArn — (String)

      The resource's ARN.

    • tagKeys — (Array<String>)

      Keys of tags to remove.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateAnnotationStore(params = {}, callback) ⇒ AWS.Request

Updates an annotation store.

Service Reference:

Examples:

Calling the updateAnnotationStore operation

var params = {
  name: 'STRING_VALUE', /* required */
  description: 'STRING_VALUE'
};
omics.updateAnnotationStore(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • description — (String)

      A description for the store.

    • name — (String)

      A name for the store.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • creationTime — (Date)

        When the store was created.

      • description — (String)

        The store's description.

      • id — (String)

        The store's ID.

      • name — (String)

        The store's name.

      • reference — (map)

        The store's genome reference.

        • referenceArn — (String)

          The reference's ARN.

      • status — (String)

        The store's status.

        Possible values include:
        • "CREATING"
        • "UPDATING"
        • "DELETING"
        • "ACTIVE"
        • "FAILED"
      • storeFormat — (String)

        The annotation file format of the store.

        Possible values include:
        • "GFF"
        • "TSV"
        • "VCF"
      • storeOptions — (map)

        Parsing options for the store.

        • tsvStoreOptions — (map)

          File settings for a TSV store.

          • annotationType — (String)

            The store's annotation type.

            Possible values include:
            • "GENERIC"
            • "CHR_POS"
            • "CHR_POS_REF_ALT"
            • "CHR_START_END_ONE_BASE"
            • "CHR_START_END_REF_ALT_ONE_BASE"
            • "CHR_START_END_ZERO_BASE"
            • "CHR_START_END_REF_ALT_ZERO_BASE"
          • formatToHeader — (map<String>)

            The store's header key to column name mapping.

          • schema — (Array<map<String>>)

            The store's schema.

      • updateTime — (Date)

        When the store was updated.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateRunGroup(params = {}, callback) ⇒ AWS.Request

Updates a run group.

Service Reference:

Examples:

Calling the updateRunGroup operation

var params = {
  id: 'STRING_VALUE', /* required */
  maxCpus: 'NUMBER_VALUE',
  maxDuration: 'NUMBER_VALUE',
  maxRuns: 'NUMBER_VALUE',
  name: 'STRING_VALUE'
};
omics.updateRunGroup(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • id — (String)

      The group's ID.

    • maxCpus — (Integer)

      The maximum number of CPUs to use.

    • maxDuration — (Integer)

      A maximum run time for the group in minutes.

    • maxRuns — (Integer)

      The maximum number of concurrent runs for the group.

    • name — (String)

      A name for the group.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateVariantStore(params = {}, callback) ⇒ AWS.Request

Updates a variant store.

Service Reference:

Examples:

Calling the updateVariantStore operation

var params = {
  name: 'STRING_VALUE', /* required */
  description: 'STRING_VALUE'
};
omics.updateVariantStore(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • description — (String)

      A description for the store.

    • name — (String)

      A name for the store.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • creationTime — (Date)

        When the store was created.

      • description — (String)

        The store's description.

      • id — (String)

        The store's ID.

      • name — (String)

        The store's name.

      • reference — (map)

        The store's genome reference.

        • referenceArn — (String)

          The reference's ARN.

      • status — (String)

        The store's status.

        Possible values include:
        • "CREATING"
        • "UPDATING"
        • "DELETING"
        • "ACTIVE"
        • "FAILED"
      • updateTime — (Date)

        When the store was updated.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

updateWorkflow(params = {}, callback) ⇒ AWS.Request

Updates a workflow.

Service Reference:

Examples:

Calling the updateWorkflow operation

var params = {
  id: 'STRING_VALUE', /* required */
  description: 'STRING_VALUE',
  name: 'STRING_VALUE'
};
omics.updateWorkflow(params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object) (defaults to: {})
    • description — (String)

      A description for the workflow.

    • id — (String)

      The workflow's ID.

    • name — (String)

      A name for the workflow.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

waitFor(state, params = {}, callback) ⇒ AWS.Request

Waits for a given Omics resource. The final callback or 'complete' event will be fired only when the resource is either in its final state or the waiter has timed out and stopped polling for the final state.

Examples:

Waiting for the annotationImportJobCreated state

var params = {
  jobId: 'STRING_VALUE' /* required */
};
omics.waitFor('annotationImportJobCreated', params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • state (String)

    the resource state to wait for. Available states for this service are listed in "Waiter Resource States" below.

  • params (map) (defaults to: {})

    a list of parameters for the given state. See each waiter resource state for required parameters.

Callback (callback):

  • function(err, data) { ... }

    Callback containing error and data information. See the respective resource state for the expected error or data information.

    If the waiter times out its requests, it will return a ResourceNotReady error.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

Waiter Resource States:

Waiter Resource Details

omics.waitFor('annotationImportJobCreated', params = {}, [callback]) ⇒ AWS.Request

Waits for the annotationImportJobCreated state by periodically calling the underlying Omics.getAnnotationImportJob() operation every 30 seconds (at most 20 times).

Examples:

Waiting for the annotationImportJobCreated state

var params = {
  jobId: 'STRING_VALUE' /* required */
};
omics.waitFor('annotationImportJobCreated', params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object)
    • jobId — (String)

      The job's ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • completionTime — (Date)

        When the job completed.

      • creationTime — (Date)

        When the job was created.

      • destinationName — (String)

        The job's destination annotation store.

      • formatOptions — (map)

        Formatting options for a file.

        • tsvOptions — (map)

          Options for a TSV file.

          • readOptions — (map)

            The file's read options.

            • comment — (String)

              The file's comment character.

            • encoding — (String)

              The file's encoding.

            • escape — (String)

              A character for escaping quotes in the file.

            • escapeQuotes — (Boolean)

              Whether quotes need to be escaped in the file.

            • header — (Boolean)

              Whether the file has a header row.

            • lineSep — (String)

              A line separator for the file.

            • quote — (String)

              The file's quote character.

            • quoteAll — (Boolean)

              Whether all values need to be quoted, or just those that contain quotes.

            • sep — (String)

              The file's field separator.

        • vcfOptions — (map)

          Options for a VCF file.

          • ignoreFilterField — (Boolean)

            The file's ignore filter field setting.

          • ignoreQualField — (Boolean)

            The file's ignore qual field setting.

      • id — (String)

        The job's ID.

      • items — (Array<map>)

        The job's imported items.

        • jobStatusrequired — (String)

          The item's job status.

          Possible values include:
          • "SUBMITTED"
          • "IN_PROGRESS"
          • "CANCELLED"
          • "COMPLETED"
          • "FAILED"
          • "COMPLETED_WITH_FAILURES"
        • sourcerequired — (String)

          The source file's location in Amazon S3.

      • roleArn — (String)

        The job's service role ARN.

      • runLeftNormalization — (Boolean)

        The job's left normalization setting.

      • status — (String)

        The job's status.

        Possible values include:
        • "SUBMITTED"
        • "IN_PROGRESS"
        • "CANCELLED"
        • "COMPLETED"
        • "FAILED"
        • "COMPLETED_WITH_FAILURES"
      • statusMessage — (String)

        The job's status message.

      • updateTime — (Date)

        When the job was updated.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

See Also:

omics.waitFor('annotationStoreCreated', params = {}, [callback]) ⇒ AWS.Request

Waits for the annotationStoreCreated state by periodically calling the underlying Omics.getAnnotationStore() operation every 30 seconds (at most 20 times).

Examples:

Waiting for the annotationStoreCreated state

var params = {
  name: 'STRING_VALUE' /* required */
};
omics.waitFor('annotationStoreCreated', params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object)
    • name — (String)

      The store's name.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • creationTime — (Date)

        When the store was created.

      • description — (String)

        The store's description.

      • id — (String)

        The store's ID.

      • name — (String)

        The store's name.

      • reference — (map)

        The store's genome reference.

        • referenceArn — (String)

          The reference's ARN.

      • sseConfig — (map)

        The store's server-side encryption (SSE) settings.

        • keyArn — (String)

          An encryption key ARN.

        • typerequired — (String)

          The encryption type.

          Possible values include:
          • "KMS"
      • status — (String)

        The store's status.

        Possible values include:
        • "CREATING"
        • "UPDATING"
        • "DELETING"
        • "ACTIVE"
        • "FAILED"
      • statusMessage — (String)

        A status message.

      • storeArn — (String)

        The store's ARN.

      • storeFormat — (String)

        The store's annotation file format.

        Possible values include:
        • "GFF"
        • "TSV"
        • "VCF"
      • storeOptions — (map)

        The store's parsing options.

        • tsvStoreOptions — (map)

          File settings for a TSV store.

          • annotationType — (String)

            The store's annotation type.

            Possible values include:
            • "GENERIC"
            • "CHR_POS"
            • "CHR_POS_REF_ALT"
            • "CHR_START_END_ONE_BASE"
            • "CHR_START_END_REF_ALT_ONE_BASE"
            • "CHR_START_END_ZERO_BASE"
            • "CHR_START_END_REF_ALT_ZERO_BASE"
          • formatToHeader — (map<String>)

            The store's header key to column name mapping.

          • schema — (Array<map<String>>)

            The store's schema.

      • storeSizeBytes — (Integer)

        The store's size in bytes.

      • tags — (map<String>)

        The store's tags.

      • updateTime — (Date)

        When the store was updated.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

See Also:

omics.waitFor('annotationStoreDeleted', params = {}, [callback]) ⇒ AWS.Request

Waits for the annotationStoreDeleted state by periodically calling the underlying Omics.getAnnotationStore() operation every 30 seconds (at most 20 times).

Examples:

Waiting for the annotationStoreDeleted state

var params = {
  name: 'STRING_VALUE' /* required */
};
omics.waitFor('annotationStoreDeleted', params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object)
    • name — (String)

      The store's name.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • creationTime — (Date)

        When the store was created.

      • description — (String)

        The store's description.

      • id — (String)

        The store's ID.

      • name — (String)

        The store's name.

      • reference — (map)

        The store's genome reference.

        • referenceArn — (String)

          The reference's ARN.

      • sseConfig — (map)

        The store's server-side encryption (SSE) settings.

        • keyArn — (String)

          An encryption key ARN.

        • typerequired — (String)

          The encryption type.

          Possible values include:
          • "KMS"
      • status — (String)

        The store's status.

        Possible values include:
        • "CREATING"
        • "UPDATING"
        • "DELETING"
        • "ACTIVE"
        • "FAILED"
      • statusMessage — (String)

        A status message.

      • storeArn — (String)

        The store's ARN.

      • storeFormat — (String)

        The store's annotation file format.

        Possible values include:
        • "GFF"
        • "TSV"
        • "VCF"
      • storeOptions — (map)

        The store's parsing options.

        • tsvStoreOptions — (map)

          File settings for a TSV store.

          • annotationType — (String)

            The store's annotation type.

            Possible values include:
            • "GENERIC"
            • "CHR_POS"
            • "CHR_POS_REF_ALT"
            • "CHR_START_END_ONE_BASE"
            • "CHR_START_END_REF_ALT_ONE_BASE"
            • "CHR_START_END_ZERO_BASE"
            • "CHR_START_END_REF_ALT_ZERO_BASE"
          • formatToHeader — (map<String>)

            The store's header key to column name mapping.

          • schema — (Array<map<String>>)

            The store's schema.

      • storeSizeBytes — (Integer)

        The store's size in bytes.

      • tags — (map<String>)

        The store's tags.

      • updateTime — (Date)

        When the store was updated.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

See Also:

omics.waitFor('readSetActivationJobCompleted', params = {}, [callback]) ⇒ AWS.Request

Waits for the readSetActivationJobCompleted state by periodically calling the underlying Omics.getReadSetActivationJob() operation every 30 seconds (at most 20 times).

Examples:

Waiting for the readSetActivationJobCompleted state

var params = {
  id: 'STRING_VALUE', /* required */
  sequenceStoreId: 'STRING_VALUE' /* required */
};
omics.waitFor('readSetActivationJobCompleted', params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object)
    • id — (String)

      The job's ID.

    • sequenceStoreId — (String)

      The job's sequence store ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • completionTime — (Date)

        When the job completed.

      • creationTime — (Date)

        When the job was created.

      • id — (String)

        The job's ID.

      • sequenceStoreId — (String)

        The job's sequence store ID.

      • sources — (Array<map>)

        The job's source files.

        • readSetIdrequired — (String)

          The source's read set ID.

        • statusrequired — (String)

          The source's status.

          Possible values include:
          • "NOT_STARTED"
          • "IN_PROGRESS"
          • "FINISHED"
          • "FAILED"
        • statusMessage — (String)

          The source's status message.

      • status — (String)

        The job's status.

        Possible values include:
        • "SUBMITTED"
        • "IN_PROGRESS"
        • "CANCELLING"
        • "CANCELLED"
        • "FAILED"
        • "COMPLETED"
        • "COMPLETED_WITH_FAILURES"
      • statusMessage — (String)

        The job's status message.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

See Also:

omics.waitFor('readSetExportJobCompleted', params = {}, [callback]) ⇒ AWS.Request

Waits for the readSetExportJobCompleted state by periodically calling the underlying Omics.getReadSetExportJob() operation every 30 seconds (at most 20 times).

Examples:

Waiting for the readSetExportJobCompleted state

var params = {
  id: 'STRING_VALUE', /* required */
  sequenceStoreId: 'STRING_VALUE' /* required */
};
omics.waitFor('readSetExportJobCompleted', params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object)
    • id — (String)

      The job's ID.

    • sequenceStoreId — (String)

      The job's sequence store ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • completionTime — (Date)

        When the job completed.

      • creationTime — (Date)

        When the job was created.

      • destination — (String)

        The job's destination in Amazon S3.

      • id — (String)

        The job's ID.

      • readSets — (Array<map>)

        The job's read sets.

        • idrequired — (String)

          The set's ID.

        • statusrequired — (String)

          The set's status.

          Possible values include:
          • "NOT_STARTED"
          • "IN_PROGRESS"
          • "FINISHED"
          • "FAILED"
        • statusMessage — (String)

          The set's status message.

      • sequenceStoreId — (String)

        The job's sequence store ID.

      • status — (String)

        The job's status.

        Possible values include:
        • "SUBMITTED"
        • "IN_PROGRESS"
        • "CANCELLING"
        • "CANCELLED"
        • "FAILED"
        • "COMPLETED"
        • "COMPLETED_WITH_FAILURES"
      • statusMessage — (String)

        The job's status message.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

See Also:

omics.waitFor('readSetImportJobCompleted', params = {}, [callback]) ⇒ AWS.Request

Waits for the readSetImportJobCompleted state by periodically calling the underlying Omics.getReadSetImportJob() operation every 30 seconds (at most 20 times).

Examples:

Waiting for the readSetImportJobCompleted state

var params = {
  id: 'STRING_VALUE', /* required */
  sequenceStoreId: 'STRING_VALUE' /* required */
};
omics.waitFor('readSetImportJobCompleted', params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object)
    • id — (String)

      The job's ID.

    • sequenceStoreId — (String)

      The job's sequence store ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • completionTime — (Date)

        When the job completed.

      • creationTime — (Date)

        When the job was created.

      • id — (String)

        The job's ID.

      • roleArn — (String)

        The job's service role ARN.

      • sequenceStoreId — (String)

        The job's sequence store ID.

      • sources — (Array<map>)

        The job's source files.

        • description — (String)

          The source's description.

        • generatedFrom — (String)

          Where the source originated.

        • name — (String)

          The source's name.

        • referenceArn — (String)

          The source's genome reference ARN.

        • sampleIdrequired — (String)

          The source's sample ID.

        • sourceFileTyperequired — (String)

          The source's file type.

          Possible values include:
          • "FASTQ"
          • "BAM"
          • "CRAM"
        • sourceFilesrequired — (map)

          The source files' location in Amazon S3.

          • source1required — (String)

            The location of the first file in Amazon S3.

          • source2 — (String)

            The location of the second file in Amazon S3.

        • statusrequired — (String)

          The source's status.

          Possible values include:
          • "NOT_STARTED"
          • "IN_PROGRESS"
          • "FINISHED"
          • "FAILED"
        • statusMessage — (String)

          The source's status message.

        • subjectIdrequired — (String)

          The source's subject ID.

        • tags — (map<String>)

          The source's tags.

      • status — (String)

        The job's status.

        Possible values include:
        • "SUBMITTED"
        • "IN_PROGRESS"
        • "CANCELLING"
        • "CANCELLED"
        • "FAILED"
        • "COMPLETED"
        • "COMPLETED_WITH_FAILURES"
      • statusMessage — (String)

        The job's status message.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

See Also:

omics.waitFor('referenceImportJobCompleted', params = {}, [callback]) ⇒ AWS.Request

Waits for the referenceImportJobCompleted state by periodically calling the underlying Omics.getReferenceImportJob() operation every 30 seconds (at most 20 times).

Examples:

Waiting for the referenceImportJobCompleted state

var params = {
  id: 'STRING_VALUE', /* required */
  referenceStoreId: 'STRING_VALUE' /* required */
};
omics.waitFor('referenceImportJobCompleted', params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object)
    • id — (String)

      The job's ID.

    • referenceStoreId — (String)

      The job's reference store ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • completionTime — (Date)

        When the job completed.

      • creationTime — (Date)

        When the job was created.

      • id — (String)

        The job's ID.

      • referenceStoreId — (String)

        The job's reference store ID.

      • roleArn — (String)

        The job's service role ARN.

      • sources — (Array<map>)

        The job's source files.

        • description — (String)

          The source's description.

        • name — (String)

          The source's name.

        • sourceFile — (String)

          The source file's location in Amazon S3.

        • statusrequired — (String)

          The source's status.

          Possible values include:
          • "NOT_STARTED"
          • "IN_PROGRESS"
          • "FINISHED"
          • "FAILED"
        • statusMessage — (String)

          The source's status message.

        • tags — (map<String>)

          The source's tags.

      • status — (String)

        The job's status.

        Possible values include:
        • "SUBMITTED"
        • "IN_PROGRESS"
        • "CANCELLING"
        • "CANCELLED"
        • "FAILED"
        • "COMPLETED"
        • "COMPLETED_WITH_FAILURES"
      • statusMessage — (String)

        The job's status message.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

See Also:

omics.waitFor('runCompleted', params = {}, [callback]) ⇒ AWS.Request

Waits for the runCompleted state by periodically calling the underlying Omics.getRun() operation every 30 seconds (at most 20 times).

Examples:

Waiting for the runCompleted state

var params = {
  id: 'STRING_VALUE', /* required */
};
omics.waitFor('runCompleted', params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object)
    • export — (Array<String>)

      The run's export format.

    • id — (String)

      The run's ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • arn — (String)

        The run's ARN.

      • creationTime — (Date)

        When the run was created.

      • definition — (String)

        The run's definition.

      • digest — (String)

        The run's digest.

      • id — (String)

        The run's ID.

      • logLevel — (String)

        The run's log level.

        Possible values include:
        • "OFF"
        • "FATAL"
        • "ERROR"
        • "ALL"
      • name — (String)

        The run's name.

      • outputUri — (String)

        The run's output URI.

      • parameters — (map)

        The run's parameters.

      • priority — (Integer)

        The run's priority.

      • resourceDigests — (map<String>)

        The run's resource digests.

      • roleArn — (String)

        The run's service role ARN.

      • runGroupId — (String)

        The run's group ID.

      • runId — (String)

        The run's ID.

      • startTime — (Date)

        When the run started.

      • startedBy — (String)

        Who started the run.

      • status — (String)

        The run's status.

        Possible values include:
        • "PENDING"
        • "STARTING"
        • "RUNNING"
        • "STOPPING"
        • "COMPLETED"
        • "DELETED"
        • "CANCELLED"
        • "FAILED"
      • statusMessage — (String)

        The run's status message.

      • stopTime — (Date)

        The run's stop time.

      • storageCapacity — (Integer)

        The run's storage capacity in gigabytes.

      • tags — (map<String>)

        The run's tags.

      • workflowId — (String)

        The run's workflow ID.

      • workflowType — (String)

        The run's workflow type.

        Possible values include:
        • "PRIVATE"
        • "SERVICE"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

See Also:

omics.waitFor('runRunning', params = {}, [callback]) ⇒ AWS.Request

Waits for the runRunning state by periodically calling the underlying Omics.getRun() operation every 30 seconds (at most 20 times).

Examples:

Waiting for the runRunning state

var params = {
  id: 'STRING_VALUE', /* required */
};
omics.waitFor('runRunning', params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object)
    • export — (Array<String>)

      The run's export format.

    • id — (String)

      The run's ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • arn — (String)

        The run's ARN.

      • creationTime — (Date)

        When the run was created.

      • definition — (String)

        The run's definition.

      • digest — (String)

        The run's digest.

      • id — (String)

        The run's ID.

      • logLevel — (String)

        The run's log level.

        Possible values include:
        • "OFF"
        • "FATAL"
        • "ERROR"
        • "ALL"
      • name — (String)

        The run's name.

      • outputUri — (String)

        The run's output URI.

      • parameters — (map)

        The run's parameters.

      • priority — (Integer)

        The run's priority.

      • resourceDigests — (map<String>)

        The run's resource digests.

      • roleArn — (String)

        The run's service role ARN.

      • runGroupId — (String)

        The run's group ID.

      • runId — (String)

        The run's ID.

      • startTime — (Date)

        When the run started.

      • startedBy — (String)

        Who started the run.

      • status — (String)

        The run's status.

        Possible values include:
        • "PENDING"
        • "STARTING"
        • "RUNNING"
        • "STOPPING"
        • "COMPLETED"
        • "DELETED"
        • "CANCELLED"
        • "FAILED"
      • statusMessage — (String)

        The run's status message.

      • stopTime — (Date)

        The run's stop time.

      • storageCapacity — (Integer)

        The run's storage capacity in gigabytes.

      • tags — (map<String>)

        The run's tags.

      • workflowId — (String)

        The run's workflow ID.

      • workflowType — (String)

        The run's workflow type.

        Possible values include:
        • "PRIVATE"
        • "SERVICE"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

See Also:

omics.waitFor('taskCompleted', params = {}, [callback]) ⇒ AWS.Request

Waits for the taskCompleted state by periodically calling the underlying Omics.getRunTask() operation every 30 seconds (at most 20 times).

Examples:

Waiting for the taskCompleted state

var params = {
  id: 'STRING_VALUE', /* required */
  taskId: 'STRING_VALUE' /* required */
};
omics.waitFor('taskCompleted', params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object)
    • id — (String)

      The task's ID.

    • taskId — (String)

      The task's ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • cpus — (Integer)

        The task's CPU usage.

      • creationTime — (Date)

        When the task was created.

      • logStream — (String)

        The task's log stream.

      • memory — (Integer)

        The task's memory use in gigabytes.

      • name — (String)

        The task's name.

      • startTime — (Date)

        The task's start time.

      • status — (String)

        The task's status.

        Possible values include:
        • "PENDING"
        • "STARTING"
        • "RUNNING"
        • "STOPPING"
        • "COMPLETED"
        • "CANCELLED"
        • "FAILED"
      • statusMessage — (String)

        The task's status message.

      • stopTime — (Date)

        The task's stop time.

      • taskId — (String)

        The task's ID.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

See Also:

omics.waitFor('taskRunning', params = {}, [callback]) ⇒ AWS.Request

Waits for the taskRunning state by periodically calling the underlying Omics.getRunTask() operation every 30 seconds (at most 20 times).

Examples:

Waiting for the taskRunning state

var params = {
  id: 'STRING_VALUE', /* required */
  taskId: 'STRING_VALUE' /* required */
};
omics.waitFor('taskRunning', params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object)
    • id — (String)

      The task's ID.

    • taskId — (String)

      The task's ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • cpus — (Integer)

        The task's CPU usage.

      • creationTime — (Date)

        When the task was created.

      • logStream — (String)

        The task's log stream.

      • memory — (Integer)

        The task's memory use in gigabytes.

      • name — (String)

        The task's name.

      • startTime — (Date)

        The task's start time.

      • status — (String)

        The task's status.

        Possible values include:
        • "PENDING"
        • "STARTING"
        • "RUNNING"
        • "STOPPING"
        • "COMPLETED"
        • "CANCELLED"
        • "FAILED"
      • statusMessage — (String)

        The task's status message.

      • stopTime — (Date)

        The task's stop time.

      • taskId — (String)

        The task's ID.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

See Also:

omics.waitFor('variantImportJobCreated', params = {}, [callback]) ⇒ AWS.Request

Waits for the variantImportJobCreated state by periodically calling the underlying Omics.getVariantImportJob() operation every 30 seconds (at most 20 times).

Examples:

Waiting for the variantImportJobCreated state

var params = {
  jobId: 'STRING_VALUE' /* required */
};
omics.waitFor('variantImportJobCreated', params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object)
    • jobId — (String)

      The job's ID.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • completionTime — (Date)

        When the job completed.

      • creationTime — (Date)

        When the job was created.

      • destinationName — (String)

        The job's destination variant store.

      • id — (String)

        The job's ID.

      • items — (Array<map>)

        The job's items.

        • jobStatusrequired — (String)

          The item's job status.

          Possible values include:
          • "SUBMITTED"
          • "IN_PROGRESS"
          • "CANCELLED"
          • "COMPLETED"
          • "FAILED"
          • "COMPLETED_WITH_FAILURES"
        • sourcerequired — (String)

          The source file's location in Amazon S3.

        • statusMessage — (String)

          A message that provides additional context about a job

      • roleArn — (String)

        The job's service role ARN.

      • runLeftNormalization — (Boolean)

        The job's left normalization setting.

      • status — (String)

        The job's status.

        Possible values include:
        • "SUBMITTED"
        • "IN_PROGRESS"
        • "CANCELLED"
        • "COMPLETED"
        • "FAILED"
        • "COMPLETED_WITH_FAILURES"
      • statusMessage — (String)

        The job's status message.

      • updateTime — (Date)

        When the job was updated.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

See Also:

omics.waitFor('variantStoreCreated', params = {}, [callback]) ⇒ AWS.Request

Waits for the variantStoreCreated state by periodically calling the underlying Omics.getVariantStore() operation every 30 seconds (at most 20 times).

Examples:

Waiting for the variantStoreCreated state

var params = {
  name: 'STRING_VALUE' /* required */
};
omics.waitFor('variantStoreCreated', params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object)
    • name — (String)

      The store's name.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • creationTime — (Date)

        When the store was created.

      • description — (String)

        The store's description.

      • id — (String)

        The store's ID.

      • name — (String)

        The store's name.

      • reference — (map)

        The store's genome reference.

        • referenceArn — (String)

          The reference's ARN.

      • sseConfig — (map)

        The store's server-side encryption (SSE) settings.

        • keyArn — (String)

          An encryption key ARN.

        • typerequired — (String)

          The encryption type.

          Possible values include:
          • "KMS"
      • status — (String)

        The store's status.

        Possible values include:
        • "CREATING"
        • "UPDATING"
        • "DELETING"
        • "ACTIVE"
        • "FAILED"
      • statusMessage — (String)

        The store's status message.

      • storeArn — (String)

        The store's ARN.

      • storeSizeBytes — (Integer)

        The store's size in bytes.

      • tags — (map<String>)

        The store's tags.

      • updateTime — (Date)

        When the store was updated.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

See Also:

omics.waitFor('variantStoreDeleted', params = {}, [callback]) ⇒ AWS.Request

Waits for the variantStoreDeleted state by periodically calling the underlying Omics.getVariantStore() operation every 30 seconds (at most 20 times).

Examples:

Waiting for the variantStoreDeleted state

var params = {
  name: 'STRING_VALUE' /* required */
};
omics.waitFor('variantStoreDeleted', params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object)
    • name — (String)

      The store's name.

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • creationTime — (Date)

        When the store was created.

      • description — (String)

        The store's description.

      • id — (String)

        The store's ID.

      • name — (String)

        The store's name.

      • reference — (map)

        The store's genome reference.

        • referenceArn — (String)

          The reference's ARN.

      • sseConfig — (map)

        The store's server-side encryption (SSE) settings.

        • keyArn — (String)

          An encryption key ARN.

        • typerequired — (String)

          The encryption type.

          Possible values include:
          • "KMS"
      • status — (String)

        The store's status.

        Possible values include:
        • "CREATING"
        • "UPDATING"
        • "DELETING"
        • "ACTIVE"
        • "FAILED"
      • statusMessage — (String)

        The store's status message.

      • storeArn — (String)

        The store's ARN.

      • storeSizeBytes — (Integer)

        The store's size in bytes.

      • tags — (map<String>)

        The store's tags.

      • updateTime — (Date)

        When the store was updated.

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

See Also:

omics.waitFor('workflowActive', params = {}, [callback]) ⇒ AWS.Request

Waits for the workflowActive state by periodically calling the underlying Omics.getWorkflow() operation every 3 seconds (at most 10 times).

Examples:

Waiting for the workflowActive state

var params = {
  id: 'STRING_VALUE', /* required */
};
omics.waitFor('workflowActive', params, function(err, data) {
  if (err) console.log(err, err.stack); // an error occurred
  else     console.log(data);           // successful response
});

Parameters:

  • params (Object)
    • export — (Array<String>)

      The export format for the workflow.

    • id — (String)

      The workflow's ID.

    • type — (String)

      The workflow's type.

      Possible values include:
      • "PRIVATE"
      • "SERVICE"

Callback (callback):

  • function(err, data) { ... }

    Called when a response from the service is returned. If a callback is not supplied, you must call AWS.Request.send() on the returned request object to initiate the request.

    Context (this):

    • (AWS.Response)

      the response object containing error, data properties, and the original request object.

    Parameters:

    • err (Error)

      the error object returned from the request. Set to null if the request is successful.

    • data (Object)

      the de-serialized data returned from the request. Set to null if a request error occurs. The data object has the following properties:

      • arn — (String)

        The workflow's ARN.

      • creationTime — (Date)

        When the workflow was created.

      • definition — (String)

        The workflow's definition.

      • description — (String)

        The workflow's description.

      • digest — (String)

        The workflow's digest.

      • engine — (String)

        The workflow's engine.

        Possible values include:
        • "WDL"
        • "NEXTFLOW"
      • id — (String)

        The workflow's ID.

      • main — (String)

        The path of the main definition file for the workflow.

      • name — (String)

        The workflow's name.

      • parameterTemplate — (map<map>)

        The workflow's parameter template.

        • description — (String)

          The parameter's description.

        • optional — (Boolean)

          Whether the parameter is optional.

      • status — (String)

        The workflow's status.

        Possible values include:
        • "CREATING"
        • "ACTIVE"
        • "UPDATING"
        • "DELETED"
        • "FAILED"
        • "INACTIVE"
      • statusMessage — (String)

        The workflow's status message.

      • storageCapacity — (Integer)

        The workflow's storage capacity in gigabytes.

      • tags — (map<String>)

        The workflow's tags.

      • type — (String)

        The workflow's type.

        Possible values include:
        • "PRIVATE"
        • "SERVICE"

Returns:

  • (AWS.Request)

    a handle to the operation request for subsequent event callback registration.

See Also: