Skip to content

CreateWorkflowVersionRequest

Source code in docs_src/capo_omics/types/create_workflow_version_request.py
class CreateWorkflowVersionRequest(TypedDict, closed=True):
    workflow_id: "capo_omics.types.workflow_id.WorkflowId"
    """<p>The ID of the workflow where you are creating the new version. The <code>workflowId</code> is not the UUID.</p>"""
    version_name: "capo_omics.types.workflow_version_name.WorkflowVersionName"
    """<p>A name for the workflow version. Provide a version name that is unique for this workflow. You cannot change the name after HealthOmics creates the version. </p> <p>The version name must start with a letter or number and it can include upper-case and lower-case letters, numbers, hyphens, periods and underscores. The maximum length is 64 characters. You can use a simple naming scheme, such as version1, version2, version3. You can also match your workflow versions with your own internal versioning conventions, such as 2.7.0, 2.7.1, 2.7.2.</p>"""
    definition_zip: NotRequired["bytes"]
    """<p>A ZIP archive containing the main workflow definition file and dependencies that it imports for this workflow version. You can use a file with a ://fileb prefix instead of the Base64 string. For more information, see Workflow definition requirements in the <i>Amazon Web Services HealthOmics User Guide</i>.</p>"""
    definition_uri: NotRequired[
        "capo_omics.types.workflow_definition.WorkflowDefinition"
    ]
    """<p>The S3 URI of a definition for this workflow version. The S3 bucket must be in the same region as this workflow version.</p>"""
    accelerators: NotRequired["capo_omics.types.accelerators.Accelerators"]
    """<p>The computational accelerator for this workflow version.</p>"""
    description: NotRequired[
        "capo_omics.types.workflow_version_description.WorkflowVersionDescription"
    ]
    """<p>A description for this workflow version.</p>"""
    engine: NotRequired["capo_omics.types.workflow_engine.WorkflowEngine"]
    """<p>The workflow engine for this workflow version. This is only required if you have workflow definition files from more than one engine in your zip file. Otherwise, the service can detect the engine automatically from your workflow definition.</p>"""
    main: NotRequired["capo_omics.types.workflow_main.WorkflowMain"]
    """<p>The path of the main definition file for this workflow version. This parameter is not required if the ZIP archive contains only one workflow definition file, or if the main definition file is named “main”. An example path is: <code>workflow-definition/main-file.wdl</code>. </p>"""
    parameter_template: NotRequired[
        "capo_omics.types.workflow_parameter_template.WorkflowParameterTemplate"
    ]
    """<p>A parameter template for this workflow version. If this field is blank, Amazon Web Services HealthOmics will automatically parse the parameter template values from your workflow definition file. To override these service generated default values, provide a parameter template. To view an example of a parameter template, see <a href="https://docs.aws.amazon.com/omics/latest/dev/parameter-templates.html">Parameter template files</a> in the <i>Amazon Web Services HealthOmics User Guide</i>.</p>"""
    request_id: "capo_omics.types.workflow_request_id.WorkflowRequestId"
    """<p>An idempotency token to ensure that duplicate workflows are not created when Amazon Web Services HealthOmics submits retry requests.</p>"""
    storage_type: NotRequired["capo_omics.types.storage_type.StorageType"]
    """<p>The default storage type for runs that use this workflow version. The <code>storageType</code> can be overridden at run time. <code>DYNAMIC</code> storage dynamically scales the storage up or down, based on file system utilization. STATIC storage allocates a fixed amount of storage. For more information about dynamic and static storage types, see <a href="https://docs.aws.amazon.com/omics/latest/dev/workflows-run-types.html">Run storage types</a> in the <i>Amazon Web Services HealthOmics User Guide</i>.</p>"""
    storage_capacity: NotRequired["int"]
    """<p>The default static storage capacity (in gibibytes) for runs that use this workflow version. The <code>storageCapacity</code> can be overwritten at run time. The storage capacity is not required for runs with a <code>DYNAMIC</code> storage type.</p>"""
    tags: NotRequired["capo_omics.types.tag_map.TagMap"]
    """<p>Tags for this workflow version. You can define up to 50 tags for the workflow. For more information, see <a href="https://docs.aws.amazon.com/omics/latest/dev/add-a-tag.html">Adding a tag</a> in the <i>Amazon Web Services HealthOmics User Guide</i>.</p>"""
    workflow_bucket_owner_id: NotRequired[
        "capo_omics.types.workflow_bucket_owner_id.WorkflowBucketOwnerId"
    ]
    """<p>Amazon Web Services Id of the owner of the S3 bucket that contains the workflow definition. You need to specify this parameter if your account is not the bucket owner.</p>"""
    container_registry_map: NotRequired[
        "capo_omics.types.container_registry_map.ContainerRegistryMap"
    ]
    """<p>(Optional) Use a container registry map to specify mappings between the ECR private repository and one or more upstream registries. For more information, see <a href="https://docs.aws.amazon.com/omics/latest/dev/workflows-ecr.html">Container images</a> in the <i>Amazon Web Services HealthOmics User Guide</i>.</p>"""
    container_registry_map_uri: NotRequired["capo_omics.types.uri.Uri"]
    """<p>(Optional) URI of the S3 location for the registry mapping file.</p>"""
    readme_markdown: NotRequired["capo_omics.types.readme_markdown.ReadmeMarkdown"]
    """<p>The markdown content for the workflow version's README file. This provides documentation and usage information for users of this specific workflow version.</p>"""
    parameter_template_path: NotRequired[
        "capo_omics.types.parameter_template_path.ParameterTemplatePath"
    ]
    """<p>The path to the workflow version parameter template JSON file within the repository. This file defines the input parameters for runs that use this workflow version. If not specified, the workflow version will be created without a parameter template.</p>"""
    readme_path: NotRequired["capo_omics.types.readme_path.ReadmePath"]
    """<p>The path to the workflow version README markdown file within the repository. This file provides documentation and usage information for the workflow. If not specified, the <code>README.md</code> file from the root directory of the repository will be used.</p>"""
    definition_repository: NotRequired[
        "capo_omics.types.definition_repository.DefinitionRepository"
    ]
    """<p>The repository information for the workflow version definition. This allows you to source your workflow version definition directly from a code repository.</p>"""
    readme_uri: NotRequired["capo_omics.types.s3_uri_for_object.S3UriForObject"]
    """<p>The S3 URI of the README file for the workflow version. This file provides documentation and usage information for the workflow version. Requirements include:</p> <ul> <li> <p>The S3 URI must begin with <code>s3://USER-OWNED-BUCKET/</code> </p> </li> <li> <p>The requester must have access to the S3 bucket and object.</p> </li> <li> <p>The max README content length is 500 KiB.</p> </li> </ul>"""

accelerators instance-attribute

accelerators: NotRequired[Accelerators]

The computational accelerator for this workflow version.

container_registry_map instance-attribute

container_registry_map: NotRequired[ContainerRegistryMap]

(Optional) Use a container registry map to specify mappings between the ECR private repository and one or more upstream registries. For more information, see Container images in the Amazon Web Services HealthOmics User Guide.

container_registry_map_uri instance-attribute

container_registry_map_uri: NotRequired[Uri]

(Optional) URI of the S3 location for the registry mapping file.

definition_repository instance-attribute

definition_repository: NotRequired[DefinitionRepository]

The repository information for the workflow version definition. This allows you to source your workflow version definition directly from a code repository.

definition_uri instance-attribute

definition_uri: NotRequired[WorkflowDefinition]

The S3 URI of a definition for this workflow version. The S3 bucket must be in the same region as this workflow version.

definition_zip instance-attribute

definition_zip: NotRequired[bytes]

A ZIP archive containing the main workflow definition file and dependencies that it imports for this workflow version. You can use a file with a ://fileb prefix instead of the Base64 string. For more information, see Workflow definition requirements in the Amazon Web Services HealthOmics User Guide.

description instance-attribute

description: NotRequired[WorkflowVersionDescription]

A description for this workflow version.

engine instance-attribute

engine: NotRequired[WorkflowEngine]

The workflow engine for this workflow version. This is only required if you have workflow definition files from more than one engine in your zip file. Otherwise, the service can detect the engine automatically from your workflow definition.

main instance-attribute

main: NotRequired[WorkflowMain]

The path of the main definition file for this workflow version. This parameter is not required if the ZIP archive contains only one workflow definition file, or if the main definition file is named “main”. An example path is: workflow-definition/main-file.wdl.

parameter_template instance-attribute

parameter_template: NotRequired[WorkflowParameterTemplate]

A parameter template for this workflow version. If this field is blank, Amazon Web Services HealthOmics will automatically parse the parameter template values from your workflow definition file. To override these service generated default values, provide a parameter template. To view an example of a parameter template, see Parameter template files in the Amazon Web Services HealthOmics User Guide.

parameter_template_path instance-attribute

parameter_template_path: NotRequired[ParameterTemplatePath]

The path to the workflow version parameter template JSON file within the repository. This file defines the input parameters for runs that use this workflow version. If not specified, the workflow version will be created without a parameter template.

readme_markdown instance-attribute

readme_markdown: NotRequired[ReadmeMarkdown]

The markdown content for the workflow version's README file. This provides documentation and usage information for users of this specific workflow version.

readme_path instance-attribute

readme_path: NotRequired[ReadmePath]

The path to the workflow version README markdown file within the repository. This file provides documentation and usage information for the workflow. If not specified, the README.md file from the root directory of the repository will be used.

readme_uri instance-attribute

readme_uri: NotRequired[S3UriForObject]

The S3 URI of the README file for the workflow version. This file provides documentation and usage information for the workflow version. Requirements include:

  • The S3 URI must begin with s3://USER-OWNED-BUCKET/

  • The requester must have access to the S3 bucket and object.

  • The max README content length is 500 KiB.

request_id instance-attribute

request_id: WorkflowRequestId

An idempotency token to ensure that duplicate workflows are not created when Amazon Web Services HealthOmics submits retry requests.

storage_capacity instance-attribute

storage_capacity: NotRequired[int]

The default static storage capacity (in gibibytes) for runs that use this workflow version. The storageCapacity can be overwritten at run time. The storage capacity is not required for runs with a DYNAMIC storage type.

storage_type instance-attribute

storage_type: NotRequired[StorageType]

The default storage type for runs that use this workflow version. The storageType can be overridden at run time. DYNAMIC storage dynamically scales the storage up or down, based on file system utilization. STATIC storage allocates a fixed amount of storage. For more information about dynamic and static storage types, see Run storage types in the Amazon Web Services HealthOmics User Guide.

tags instance-attribute

tags: NotRequired[TagMap]

Tags for this workflow version. You can define up to 50 tags for the workflow. For more information, see Adding a tag in the Amazon Web Services HealthOmics User Guide.

version_name instance-attribute

version_name: WorkflowVersionName

A name for the workflow version. Provide a version name that is unique for this workflow. You cannot change the name after HealthOmics creates the version.

The version name must start with a letter or number and it can include upper-case and lower-case letters, numbers, hyphens, periods and underscores. The maximum length is 64 characters. You can use a simple naming scheme, such as version1, version2, version3. You can also match your workflow versions with your own internal versioning conventions, such as 2.7.0, 2.7.1, 2.7.2.

workflow_bucket_owner_id instance-attribute

workflow_bucket_owner_id: NotRequired[WorkflowBucketOwnerId]

Amazon Web Services Id of the owner of the S3 bucket that contains the workflow definition. You need to specify this parameter if your account is not the bucket owner.

workflow_id instance-attribute

workflow_id: WorkflowId

The ID of the workflow where you are creating the new version. The workflowId is not the UUID.