2023/06/28 - Amazon Omics - 2 updated api methods
Changes Add Common Workflow Language (CWL) as a supported language for Omics workflows
{'engine': {'CWL'}}
    Creates a workflow.
See also: AWS API Documentation
Request Syntax
client.create_workflow(
    name='string',
    description='string',
    engine='WDL'|'NEXTFLOW'|'CWL',
    definitionZip=b'bytes',
    definitionUri='string',
    main='string',
    parameterTemplate={
        'string': {
            'description': 'string',
            'optional': True|False
        }
    },
    storageCapacity=123,
    tags={
        'string': 'string'
    },
    requestId='string',
    accelerators='GPU'
)
string
A name for the workflow.
string
A description for the workflow.
string
An engine for the workflow.
bytes
A ZIP archive for the workflow.
string
The URI of a definition for the workflow.
string
The path of the main definition file for the workflow.
dict
A parameter template for the workflow.
(string) --
(dict) --
A workflow parameter.
description (string) --
The parameter's description.
optional (boolean) --
Whether the parameter is optional.
integer
A storage capacity for the workflow in gigabytes.
dict
Tags for the workflow.
(string) --
(string) --
string
[REQUIRED]
To ensure that requests don't run multiple times, specify a unique ID for each request.
This field is autopopulated if not provided.
string
The computational accelerator specified to run the workflow.
dict
Response Syntax
{
    'arn': 'string',
    'id': 'string',
    'status': 'CREATING'|'ACTIVE'|'UPDATING'|'DELETED'|'FAILED'|'INACTIVE',
    'tags': {
        'string': 'string'
    }
}
Response Structure
(dict) --
arn (string) --
The workflow's ARN.
id (string) --
The workflow's ID.
status (string) --
The workflow's status.
tags (dict) --
The workflow's tags.
(string) --
(string) --
{'engine': {'CWL'}}
    Gets information about a workflow.
See also: AWS API Documentation
Request Syntax
client.get_workflow(
    id='string',
    type='PRIVATE'|'READY2RUN',
    export=[
        'DEFINITION',
    ]
)
string
[REQUIRED]
The workflow's ID.
string
The workflow's type.
list
The export format for the workflow.
(string) --
dict
Response Syntax
{
    'arn': 'string',
    'id': 'string',
    'status': 'CREATING'|'ACTIVE'|'UPDATING'|'DELETED'|'FAILED'|'INACTIVE',
    'type': 'PRIVATE'|'READY2RUN',
    'name': 'string',
    'description': 'string',
    'engine': 'WDL'|'NEXTFLOW'|'CWL',
    'definition': 'string',
    'main': 'string',
    'digest': 'string',
    'parameterTemplate': {
        'string': {
            'description': 'string',
            'optional': True|False
        }
    },
    'storageCapacity': 123,
    'creationTime': datetime(2015, 1, 1),
    'statusMessage': 'string',
    'tags': {
        'string': 'string'
    },
    'metadata': {
        'string': 'string'
    },
    'accelerators': 'GPU'
}
Response Structure
(dict) --
arn (string) --
The workflow's ARN.
id (string) --
The workflow's ID.
status (string) --
The workflow's status.
type (string) --
The workflow's type.
name (string) --
The workflow's name.
description (string) --
The workflow's description.
engine (string) --
The workflow's engine.
definition (string) --
The workflow's definition.
main (string) --
The path of the main definition file for the workflow.
digest (string) --
The workflow's digest.
parameterTemplate (dict) --
The workflow's parameter template.
(string) --
(dict) --
A workflow parameter.
description (string) --
The parameter's description.
optional (boolean) --
Whether the parameter is optional.
storageCapacity (integer) --
The workflow's storage capacity in gigabytes.
creationTime (datetime) --
When the workflow was created.
statusMessage (string) --
The workflow's status message.
tags (dict) --
The workflow's tags.
(string) --
(string) --
metadata (dict) --
Gets metadata for workflow.
(string) --
(string) --
accelerators (string) --
The computational accelerator specified to run the workflow.