Skip to content

Create Workflow

omics_create_workflow R Documentation

Creates a workflow

Description

Creates a workflow.

Usage

omics_create_workflow(name, description, engine, definitionZip,
  definitionUri, main, parameterTemplate, storageCapacity, tags,
  requestId, accelerators)

Arguments

name

A name for the workflow.

description

A description for the workflow.

engine

An engine for the workflow.

definitionZip

A ZIP archive for the workflow.

definitionUri

The URI of a definition for the workflow.

main

The path of the main definition file for the workflow.

parameterTemplate

A parameter template for the workflow.

storageCapacity

The default storage capacity for the workflow runs, in gibibytes.

tags

Tags for the workflow.

requestId

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

accelerators

The computational accelerator specified to run the workflow.

Value

A list with the following syntax:

list(
  arn = "string",
  id = "string",
  status = "CREATING"|"ACTIVE"|"UPDATING"|"DELETED"|"FAILED"|"INACTIVE",
  tags = list(
    "string"
  )
)

Request syntax

svc$create_workflow(
  name = "string",
  description = "string",
  engine = "WDL"|"NEXTFLOW"|"CWL",
  definitionZip = raw,
  definitionUri = "string",
  main = "string",
  parameterTemplate = list(
    list(
      description = "string",
      optional = TRUE|FALSE
    )
  ),
  storageCapacity = 123,
  tags = list(
    "string"
  ),
  requestId = "string",
  accelerators = "GPU"
)