Create Run Cache
omics_create_run_cache | R Documentation |
You can create a run cache to save the task outputs from completed tasks in a run for a private workflow¶
Description¶
You can create a run cache to save the task outputs from completed tasks in a run for a private workflow. Subsequent runs use the task outputs from the cache, rather than computing the task outputs again. You specify an Amazon S3 location where HealthOmics saves the cached data. This data must be immediately accessible (not in an archived state).
For more information, see Creating a run cache in the AWS HealthOmics User Guide.
Usage¶
omics_create_run_cache(cacheBehavior, cacheS3Location, description,
name, requestId, tags, cacheBucketOwnerId)
Arguments¶
cacheBehavior |
Default cache behavior for runs that use this cache. Supported values are:
If you don't specify a value, the default behavior is CACHE_ON_FAILURE. When you start a run that uses this cache, you can override the default cache behavior. For more information, see Run cache behavior in the AWS HealthOmics User Guide. |
cacheS3Location |
[required] Specify the S3 location for storing the cached task outputs. This data must be immediately accessible (not in an archived state). |
description |
Enter a description of the run cache. |
name |
Enter a user-friendly name for the run cache. |
requestId |
[required] A unique request token, to ensure idempotency. If you don't specify a token, HealthOmics automatically generates a universally unique identifier (UUID) for the request. |
tags |
Specify one or more tags to associate with this run cache. |
cacheBucketOwnerId |
The AWS account ID of the expected owner of the S3 bucket for the run cache. If not provided, your account ID is set as the owner of the bucket. |
Value¶
A list with the following syntax:
list(
arn = "string",
id = "string",
status = "ACTIVE"|"DELETED"|"FAILED",
tags = list(
"string"
)
)
Request syntax¶
svc$create_run_cache(
cacheBehavior = "CACHE_ON_FAILURE"|"CACHE_ALWAYS",
cacheS3Location = "string",
description = "string",
name = "string",
requestId = "string",
tags = list(
"string"
),
cacheBucketOwnerId = "string"
)