get_workflow

get_workflow(**kwargs)

Gets information about a workflow.

See also: AWS API Documentation

Request Syntax

response = client.get_workflow(
    export=[
        'DEFINITION',
    ],
    id='string',
    type='PRIVATE'|'SERVICE'
)
Parameters
  • export (list) --

    The export format for the workflow.

    • (string) --
  • id (string) --

    [REQUIRED]

    The workflow's ID.

  • type (string) -- The workflow's type.
Return type

dict

Returns

Response Syntax

{
    'arn': 'string',
    'creationTime': datetime(2015, 1, 1),
    'definition': 'string',
    'description': 'string',
    'digest': 'string',
    'engine': 'WDL'|'NEXTFLOW',
    'id': 'string',
    'main': 'string',
    'name': 'string',
    'parameterTemplate': {
        'string': {
            'description': 'string',
            'optional': True|False
        }
    },
    'status': 'CREATING'|'ACTIVE'|'UPDATING'|'DELETED'|'FAILED'|'INACTIVE',
    'statusMessage': 'string',
    'storageCapacity': 123,
    'tags': {
        'string': 'string'
    },
    'type': 'PRIVATE'|'SERVICE'
}

Response Structure

  • (dict) --

    • arn (string) --

      The workflow's ARN.

    • creationTime (datetime) --

      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.

    • 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 (dict) --

      The workflow's parameter template.

      • (string) --

        • (dict) --

          A workflow parameter.

          • description (string) --

            The parameter's description.

          • optional (boolean) --

            Whether the parameter is optional.

    • status (string) --

      The workflow's status.

    • statusMessage (string) --

      The workflow's status message.

    • storageCapacity (integer) --

      The workflow's storage capacity in gigabytes.

    • tags (dict) --

      The workflow's tags.

      • (string) --
        • (string) --
    • type (string) --

      The workflow's type.

Exceptions

  • Omics.Client.exceptions.InternalServerException
  • Omics.Client.exceptions.ServiceQuotaExceededException
  • Omics.Client.exceptions.ThrottlingException
  • Omics.Client.exceptions.ValidationException
  • Omics.Client.exceptions.ConflictException
  • Omics.Client.exceptions.ResourceNotFoundException
  • Omics.Client.exceptions.AccessDeniedException
  • Omics.Client.exceptions.RequestTimeoutException