aws-sdk-omics 1.38.0 → 1.40.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-omics/client.rb +339 -6
- data/lib/aws-sdk-omics/client_api.rb +192 -0
- data/lib/aws-sdk-omics/endpoint_parameters.rb +9 -6
- data/lib/aws-sdk-omics/endpoints.rb +2 -900
- data/lib/aws-sdk-omics/plugins/endpoints.rb +1 -170
- data/lib/aws-sdk-omics/types.rb +362 -2
- data/lib/aws-sdk-omics.rb +1 -1
- data/sig/client.rbs +72 -0
- data/sig/types.rbs +83 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f5db6dd990404b99db477646dfe9f979c27810fb7adcc69fbcc3d342c2d5ff06
|
4
|
+
data.tar.gz: a203a349613accf317898bddcc11eef83e18d4bab8394a70cd75d063b7ff83dc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 60812785abc4b3687a232dd45c162d126e10d58b586b2aa6bb3a6d1afded3877cfd2da9eb01b1b0370a763dc0bf7bff1dcc6584dc081757a1edf993cb9902fd7
|
7
|
+
data.tar.gz: a0106b310c60a1858270d5ce6bc38ad95a228eaad34ff43e97c1180d8acd7f97491f53f502c3ca7cf34a67dd0591b43ce1ac0a9d79e306042ba86cf5df968d8b
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.40.0 (2024-11-20)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Enabling call caching feature that allows customers to reuse previously computed results from a set of completed tasks in a new workflow run.
|
8
|
+
|
9
|
+
1.39.0 (2024-10-18)
|
10
|
+
------------------
|
11
|
+
|
12
|
+
* Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
|
13
|
+
|
4
14
|
1.38.0 (2024-09-24)
|
5
15
|
------------------
|
6
16
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.40.0
|
data/lib/aws-sdk-omics/client.rb
CHANGED
@@ -967,6 +967,110 @@ module Aws::Omics
|
|
967
967
|
req.send_request(options)
|
968
968
|
end
|
969
969
|
|
970
|
+
# You can create a run cache to save the task outputs from completed
|
971
|
+
# tasks in a run for a private workflow. Subsequent runs use the task
|
972
|
+
# outputs from the cache, rather than computing the task outputs again.
|
973
|
+
# You specify an Amazon S3 location where HealthOmics saves the cached
|
974
|
+
# data. This data must be immediately accessible (not in an archived
|
975
|
+
# state).
|
976
|
+
#
|
977
|
+
# For more information, see [Creating a run cache][1] in the AWS
|
978
|
+
# HealthOmics User Guide.
|
979
|
+
#
|
980
|
+
#
|
981
|
+
#
|
982
|
+
# [1]: https://docs.aws.amazon.com/omics/latest/dev/workflow-cache-create.html
|
983
|
+
#
|
984
|
+
# @option params [String] :cache_behavior
|
985
|
+
# Default cache behavior for runs that use this cache. Supported values
|
986
|
+
# are:
|
987
|
+
#
|
988
|
+
# `CACHE_ON_FAILURE`: Caches task outputs from completed tasks for runs
|
989
|
+
# that fail. This setting is useful if you're debugging a workflow that
|
990
|
+
# fails after several tasks completed successfully. The subsequent run
|
991
|
+
# uses the cache outputs for previously-completed tasks if the task
|
992
|
+
# definition, inputs, and container in ECR are identical to the prior
|
993
|
+
# run.
|
994
|
+
#
|
995
|
+
# `CACHE_ALWAYS`: Caches task outputs from completed tasks for all runs.
|
996
|
+
# This setting is useful in development mode, but do not use it in a
|
997
|
+
# production setting.
|
998
|
+
#
|
999
|
+
# If you don't specify a value, the default behavior is
|
1000
|
+
# CACHE\_ON\_FAILURE. When you start a run that uses this cache, you can
|
1001
|
+
# override the default cache behavior.
|
1002
|
+
#
|
1003
|
+
# For more information, see [Run cache behavior][1] in the AWS
|
1004
|
+
# HealthOmics User Guide.
|
1005
|
+
#
|
1006
|
+
#
|
1007
|
+
#
|
1008
|
+
# [1]: https://docs.aws.amazon.com/omics/latest/dev/how-run-cache.html#run-cache-behavior
|
1009
|
+
#
|
1010
|
+
# @option params [required, String] :cache_s3_location
|
1011
|
+
# Specify the S3 location for storing the cached task outputs. This data
|
1012
|
+
# must be immediately accessible (not in an archived state).
|
1013
|
+
#
|
1014
|
+
# @option params [String] :description
|
1015
|
+
# Enter a description of the run cache.
|
1016
|
+
#
|
1017
|
+
# @option params [String] :name
|
1018
|
+
# Enter a user-friendly name for the run cache.
|
1019
|
+
#
|
1020
|
+
# @option params [required, String] :request_id
|
1021
|
+
# A unique request token, to ensure idempotency. If you don't specify a
|
1022
|
+
# token, HealthOmics automatically generates a universally unique
|
1023
|
+
# identifier (UUID) for the request.
|
1024
|
+
#
|
1025
|
+
# **A suitable default value is auto-generated.** You should normally
|
1026
|
+
# not need to pass this option.**
|
1027
|
+
#
|
1028
|
+
# @option params [Hash<String,String>] :tags
|
1029
|
+
# Specify one or more tags to associate with this run cache.
|
1030
|
+
#
|
1031
|
+
# @option params [String] :cache_bucket_owner_id
|
1032
|
+
# The AWS account ID of the expected owner of the S3 bucket for the run
|
1033
|
+
# cache. If not provided, your account ID is set as the owner of the
|
1034
|
+
# bucket.
|
1035
|
+
#
|
1036
|
+
# @return [Types::CreateRunCacheResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1037
|
+
#
|
1038
|
+
# * {Types::CreateRunCacheResponse#arn #arn} => String
|
1039
|
+
# * {Types::CreateRunCacheResponse#id #id} => String
|
1040
|
+
# * {Types::CreateRunCacheResponse#status #status} => String
|
1041
|
+
# * {Types::CreateRunCacheResponse#tags #tags} => Hash<String,String>
|
1042
|
+
#
|
1043
|
+
# @example Request syntax with placeholder values
|
1044
|
+
#
|
1045
|
+
# resp = client.create_run_cache({
|
1046
|
+
# cache_behavior: "CACHE_ON_FAILURE", # accepts CACHE_ON_FAILURE, CACHE_ALWAYS
|
1047
|
+
# cache_s3_location: "S3UriForBucketOrObject", # required
|
1048
|
+
# description: "UserCustomDescription",
|
1049
|
+
# name: "UserCustomName",
|
1050
|
+
# request_id: "RunCacheRequestId", # required
|
1051
|
+
# tags: {
|
1052
|
+
# "TagKey" => "TagValue",
|
1053
|
+
# },
|
1054
|
+
# cache_bucket_owner_id: "AwsAccountId",
|
1055
|
+
# })
|
1056
|
+
#
|
1057
|
+
# @example Response structure
|
1058
|
+
#
|
1059
|
+
# resp.arn #=> String
|
1060
|
+
# resp.id #=> String
|
1061
|
+
# resp.status #=> String, one of "ACTIVE", "DELETED", "FAILED"
|
1062
|
+
# resp.tags #=> Hash
|
1063
|
+
# resp.tags["TagKey"] #=> String
|
1064
|
+
#
|
1065
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/CreateRunCache AWS API Documentation
|
1066
|
+
#
|
1067
|
+
# @overload create_run_cache(params = {})
|
1068
|
+
# @param [Hash] params ({})
|
1069
|
+
def create_run_cache(params = {}, options = {})
|
1070
|
+
req = build_request(:create_run_cache, params)
|
1071
|
+
req.send_request(options)
|
1072
|
+
end
|
1073
|
+
|
970
1074
|
# You can optionally create a run group to limit the compute resources
|
971
1075
|
# for the runs that you add to the group.
|
972
1076
|
#
|
@@ -1446,6 +1550,39 @@ module Aws::Omics
|
|
1446
1550
|
req.send_request(options)
|
1447
1551
|
end
|
1448
1552
|
|
1553
|
+
# Delete a run cache. This action removes the cache metadata stored in
|
1554
|
+
# the service account, but doesn't delete the data in Amazon S3. You
|
1555
|
+
# can access the cache data in Amazon S3, for inspection or to
|
1556
|
+
# troubleshoot issues. You can remove old cache data using standard S3
|
1557
|
+
# `Delete` operations.
|
1558
|
+
#
|
1559
|
+
# For more information, see [Deleting a run cache][1] in the AWS
|
1560
|
+
# HealthOmics User Guide.
|
1561
|
+
#
|
1562
|
+
#
|
1563
|
+
#
|
1564
|
+
# [1]: https://docs.aws.amazon.com/omics/latest/dev/workflow-cache-delete.html
|
1565
|
+
#
|
1566
|
+
# @option params [required, String] :id
|
1567
|
+
# Run cache identifier for the cache you want to delete.
|
1568
|
+
#
|
1569
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
1570
|
+
#
|
1571
|
+
# @example Request syntax with placeholder values
|
1572
|
+
#
|
1573
|
+
# resp = client.delete_run_cache({
|
1574
|
+
# id: "RunCacheId", # required
|
1575
|
+
# })
|
1576
|
+
#
|
1577
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/DeleteRunCache AWS API Documentation
|
1578
|
+
#
|
1579
|
+
# @overload delete_run_cache(params = {})
|
1580
|
+
# @param [Hash] params ({})
|
1581
|
+
def delete_run_cache(params = {}, options = {})
|
1582
|
+
req = build_request(:delete_run_cache, params)
|
1583
|
+
req.send_request(options)
|
1584
|
+
end
|
1585
|
+
|
1449
1586
|
# Deletes a workflow run group.
|
1450
1587
|
#
|
1451
1588
|
# @option params [required, String] :id
|
@@ -2282,6 +2419,16 @@ module Aws::Omics
|
|
2282
2419
|
# If a workflow is shared with you, you cannot export information about
|
2283
2420
|
# the run.
|
2284
2421
|
#
|
2422
|
+
# HealthOmics stores a fixed number of runs that are available to the
|
2423
|
+
# console and API. If GetRun doesn't return the requested run, you can
|
2424
|
+
# find run logs for all runs in the CloudWatch logs. For more
|
2425
|
+
# information about viewing the run logs, see [CloudWatch logs][1] in
|
2426
|
+
# the *AWS HealthOmics User Guide*.
|
2427
|
+
#
|
2428
|
+
#
|
2429
|
+
#
|
2430
|
+
# [1]: https://docs.aws.amazon.com/omics/latest/dev/cloudwatch-logs.html
|
2431
|
+
#
|
2285
2432
|
# @option params [required, String] :id
|
2286
2433
|
# The run's ID.
|
2287
2434
|
#
|
@@ -2292,6 +2439,9 @@ module Aws::Omics
|
|
2292
2439
|
#
|
2293
2440
|
# * {Types::GetRunResponse#arn #arn} => String
|
2294
2441
|
# * {Types::GetRunResponse#id #id} => String
|
2442
|
+
# * {Types::GetRunResponse#cache_id #cache_id} => String
|
2443
|
+
# * {Types::GetRunResponse#cache_behavior #cache_behavior} => String
|
2444
|
+
# * {Types::GetRunResponse#engine_version #engine_version} => String
|
2295
2445
|
# * {Types::GetRunResponse#status #status} => String
|
2296
2446
|
# * {Types::GetRunResponse#workflow_id #workflow_id} => String
|
2297
2447
|
# * {Types::GetRunResponse#workflow_type #workflow_type} => String
|
@@ -2333,6 +2483,9 @@ module Aws::Omics
|
|
2333
2483
|
#
|
2334
2484
|
# resp.arn #=> String
|
2335
2485
|
# resp.id #=> String
|
2486
|
+
# resp.cache_id #=> String
|
2487
|
+
# resp.cache_behavior #=> String, one of "CACHE_ON_FAILURE", "CACHE_ALWAYS"
|
2488
|
+
# resp.engine_version #=> String
|
2336
2489
|
# resp.status #=> String, one of "PENDING", "STARTING", "RUNNING", "STOPPING", "COMPLETED", "DELETED", "CANCELLED", "FAILED"
|
2337
2490
|
# resp.workflow_id #=> String
|
2338
2491
|
# resp.workflow_type #=> String, one of "PRIVATE", "READY2RUN"
|
@@ -2380,6 +2533,60 @@ module Aws::Omics
|
|
2380
2533
|
req.send_request(options)
|
2381
2534
|
end
|
2382
2535
|
|
2536
|
+
# Retrieve the details for the specified run cache.
|
2537
|
+
#
|
2538
|
+
# For more information, see [Call caching for HealthOmics runs][1] in
|
2539
|
+
# the AWS HealthOmics User Guide.
|
2540
|
+
#
|
2541
|
+
#
|
2542
|
+
#
|
2543
|
+
# [1]: https://docs.aws.amazon.com/omics/latest/dev/workflow-call-caching.html
|
2544
|
+
#
|
2545
|
+
# @option params [required, String] :id
|
2546
|
+
# The identifier of the run cache to retrieve.
|
2547
|
+
#
|
2548
|
+
# @return [Types::GetRunCacheResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2549
|
+
#
|
2550
|
+
# * {Types::GetRunCacheResponse#arn #arn} => String
|
2551
|
+
# * {Types::GetRunCacheResponse#cache_behavior #cache_behavior} => String
|
2552
|
+
# * {Types::GetRunCacheResponse#cache_bucket_owner_id #cache_bucket_owner_id} => String
|
2553
|
+
# * {Types::GetRunCacheResponse#cache_s3_uri #cache_s3_uri} => String
|
2554
|
+
# * {Types::GetRunCacheResponse#creation_time #creation_time} => Time
|
2555
|
+
# * {Types::GetRunCacheResponse#description #description} => String
|
2556
|
+
# * {Types::GetRunCacheResponse#id #id} => String
|
2557
|
+
# * {Types::GetRunCacheResponse#name #name} => String
|
2558
|
+
# * {Types::GetRunCacheResponse#status #status} => String
|
2559
|
+
# * {Types::GetRunCacheResponse#tags #tags} => Hash<String,String>
|
2560
|
+
#
|
2561
|
+
# @example Request syntax with placeholder values
|
2562
|
+
#
|
2563
|
+
# resp = client.get_run_cache({
|
2564
|
+
# id: "RunCacheId", # required
|
2565
|
+
# })
|
2566
|
+
#
|
2567
|
+
# @example Response structure
|
2568
|
+
#
|
2569
|
+
# resp.arn #=> String
|
2570
|
+
# resp.cache_behavior #=> String, one of "CACHE_ON_FAILURE", "CACHE_ALWAYS"
|
2571
|
+
# resp.cache_bucket_owner_id #=> String
|
2572
|
+
# resp.cache_s3_uri #=> String
|
2573
|
+
# resp.creation_time #=> Time
|
2574
|
+
# resp.description #=> String
|
2575
|
+
# resp.id #=> String
|
2576
|
+
# resp.name #=> String
|
2577
|
+
# resp.status #=> String, one of "ACTIVE", "DELETED", "FAILED"
|
2578
|
+
# resp.tags #=> Hash
|
2579
|
+
# resp.tags["TagKey"] #=> String
|
2580
|
+
#
|
2581
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/GetRunCache AWS API Documentation
|
2582
|
+
#
|
2583
|
+
# @overload get_run_cache(params = {})
|
2584
|
+
# @param [Hash] params ({})
|
2585
|
+
def get_run_cache(params = {}, options = {})
|
2586
|
+
req = build_request(:get_run_cache, params)
|
2587
|
+
req.send_request(options)
|
2588
|
+
end
|
2589
|
+
|
2383
2590
|
# Gets information about a workflow run group.
|
2384
2591
|
#
|
2385
2592
|
# @option params [required, String] :id
|
@@ -2439,6 +2646,8 @@ module Aws::Omics
|
|
2439
2646
|
# * {Types::GetRunTaskResponse#status #status} => String
|
2440
2647
|
# * {Types::GetRunTaskResponse#name #name} => String
|
2441
2648
|
# * {Types::GetRunTaskResponse#cpus #cpus} => Integer
|
2649
|
+
# * {Types::GetRunTaskResponse#cache_hit #cache_hit} => Boolean
|
2650
|
+
# * {Types::GetRunTaskResponse#cache_s3_uri #cache_s3_uri} => String
|
2442
2651
|
# * {Types::GetRunTaskResponse#memory #memory} => Integer
|
2443
2652
|
# * {Types::GetRunTaskResponse#creation_time #creation_time} => Time
|
2444
2653
|
# * {Types::GetRunTaskResponse#start_time #start_time} => Time
|
@@ -2462,6 +2671,8 @@ module Aws::Omics
|
|
2462
2671
|
# resp.status #=> String, one of "PENDING", "STARTING", "RUNNING", "STOPPING", "COMPLETED", "CANCELLED", "FAILED"
|
2463
2672
|
# resp.name #=> String
|
2464
2673
|
# resp.cpus #=> Integer
|
2674
|
+
# resp.cache_hit #=> Boolean
|
2675
|
+
# resp.cache_s3_uri #=> String
|
2465
2676
|
# resp.memory #=> Integer
|
2466
2677
|
# resp.creation_time #=> Time
|
2467
2678
|
# resp.start_time #=> Time
|
@@ -3473,6 +3684,50 @@ module Aws::Omics
|
|
3473
3684
|
req.send_request(options)
|
3474
3685
|
end
|
3475
3686
|
|
3687
|
+
# Retrieves a list of your run caches.
|
3688
|
+
#
|
3689
|
+
# @option params [Integer] :max_results
|
3690
|
+
# The maximum number of results to return.
|
3691
|
+
#
|
3692
|
+
# @option params [String] :starting_token
|
3693
|
+
# Optional pagination token returned from a prior call to the
|
3694
|
+
# `ListRunCaches` API operation.
|
3695
|
+
#
|
3696
|
+
# @return [Types::ListRunCachesResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3697
|
+
#
|
3698
|
+
# * {Types::ListRunCachesResponse#items #items} => Array<Types::RunCacheListItem>
|
3699
|
+
# * {Types::ListRunCachesResponse#next_token #next_token} => String
|
3700
|
+
#
|
3701
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
3702
|
+
#
|
3703
|
+
# @example Request syntax with placeholder values
|
3704
|
+
#
|
3705
|
+
# resp = client.list_run_caches({
|
3706
|
+
# max_results: 1,
|
3707
|
+
# starting_token: "ListToken",
|
3708
|
+
# })
|
3709
|
+
#
|
3710
|
+
# @example Response structure
|
3711
|
+
#
|
3712
|
+
# resp.items #=> Array
|
3713
|
+
# resp.items[0].arn #=> String
|
3714
|
+
# resp.items[0].cache_behavior #=> String, one of "CACHE_ON_FAILURE", "CACHE_ALWAYS"
|
3715
|
+
# resp.items[0].cache_s3_uri #=> String
|
3716
|
+
# resp.items[0].creation_time #=> Time
|
3717
|
+
# resp.items[0].id #=> String
|
3718
|
+
# resp.items[0].name #=> String
|
3719
|
+
# resp.items[0].status #=> String, one of "ACTIVE", "DELETED", "FAILED"
|
3720
|
+
# resp.next_token #=> String
|
3721
|
+
#
|
3722
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/ListRunCaches AWS API Documentation
|
3723
|
+
#
|
3724
|
+
# @overload list_run_caches(params = {})
|
3725
|
+
# @param [Hash] params ({})
|
3726
|
+
def list_run_caches(params = {}, options = {})
|
3727
|
+
req = build_request(:list_run_caches, params)
|
3728
|
+
req.send_request(options)
|
3729
|
+
end
|
3730
|
+
|
3476
3731
|
# Retrieves a list of run groups.
|
3477
3732
|
#
|
3478
3733
|
# @option params [String] :name
|
@@ -3560,6 +3815,8 @@ module Aws::Omics
|
|
3560
3815
|
# resp.items[0].status #=> String, one of "PENDING", "STARTING", "RUNNING", "STOPPING", "COMPLETED", "CANCELLED", "FAILED"
|
3561
3816
|
# resp.items[0].name #=> String
|
3562
3817
|
# resp.items[0].cpus #=> Integer
|
3818
|
+
# resp.items[0].cache_hit #=> Boolean
|
3819
|
+
# resp.items[0].cache_s3_uri #=> String
|
3563
3820
|
# resp.items[0].memory #=> Integer
|
3564
3821
|
# resp.items[0].creation_time #=> Time
|
3565
3822
|
# resp.items[0].start_time #=> Time
|
@@ -3579,6 +3836,16 @@ module Aws::Omics
|
|
3579
3836
|
|
3580
3837
|
# Retrieves a list of runs.
|
3581
3838
|
#
|
3839
|
+
# HealthOmics stores a fixed number of runs that are available to the
|
3840
|
+
# console and API. If the ListRuns response doesn't include specific
|
3841
|
+
# runs that you expected, you can find run logs for all runs in the
|
3842
|
+
# CloudWatch logs. For more information about viewing the run logs, see
|
3843
|
+
# [CloudWatch logs][1] in the *AWS HealthOmics User Guide*.
|
3844
|
+
#
|
3845
|
+
#
|
3846
|
+
#
|
3847
|
+
# [1]: https://docs.aws.amazon.com/omics/latest/dev/cloudwatch-logs.html
|
3848
|
+
#
|
3582
3849
|
# @option params [String] :name
|
3583
3850
|
# Filter the list by run name.
|
3584
3851
|
#
|
@@ -4264,10 +4531,11 @@ module Aws::Omics
|
|
4264
4531
|
# StartRun will not support re-run for a workflow that is shared with
|
4265
4532
|
# you.
|
4266
4533
|
#
|
4267
|
-
#
|
4268
|
-
#
|
4269
|
-
#
|
4270
|
-
#
|
4534
|
+
# HealthOmics stores a fixed number of runs that are available to the
|
4535
|
+
# console and API. By default, HealthOmics doesn't any remove any runs.
|
4536
|
+
# If HealthOmics reaches the maximum number of runs, you must manually
|
4537
|
+
# remove runs. To have older runs removed automatically, set the
|
4538
|
+
# retention mode to `REMOVE`.
|
4271
4539
|
#
|
4272
4540
|
# By default, the run uses STATIC storage. For STATIC storage, set the
|
4273
4541
|
# `storageCapacity` field. You can set the storage type to DYNAMIC. You
|
@@ -4295,6 +4563,20 @@ module Aws::Omics
|
|
4295
4563
|
# @option params [String] :name
|
4296
4564
|
# A name for the run.
|
4297
4565
|
#
|
4566
|
+
# @option params [String] :cache_id
|
4567
|
+
# Identifier of the cache associated with this run. If you don't
|
4568
|
+
# specify a cache ID, no task outputs are cached for this run.
|
4569
|
+
#
|
4570
|
+
# @option params [String] :cache_behavior
|
4571
|
+
# The cache behavior for the run. You specify this value if you want to
|
4572
|
+
# override the default behavior for the cache. You had set the default
|
4573
|
+
# value when you created the cache. For more information, see [Run cache
|
4574
|
+
# behavior][1] in the AWS HealthOmics User Guide.
|
4575
|
+
#
|
4576
|
+
#
|
4577
|
+
#
|
4578
|
+
# [1]: https://docs.aws.amazon.com/omics/latest/dev/how-run-cache.html#run-cache-behavior
|
4579
|
+
#
|
4298
4580
|
# @option params [String] :run_group_id
|
4299
4581
|
# The run's group ID.
|
4300
4582
|
#
|
@@ -4331,7 +4613,22 @@ module Aws::Omics
|
|
4331
4613
|
# not need to pass this option.**
|
4332
4614
|
#
|
4333
4615
|
# @option params [String] :retention_mode
|
4334
|
-
# The retention mode for the run.
|
4616
|
+
# The retention mode for the run. The default value is RETAIN.
|
4617
|
+
#
|
4618
|
+
# HealthOmics stores a fixed number of runs that are available to the
|
4619
|
+
# console and API. In the default mode (RETAIN), you need to remove runs
|
4620
|
+
# manually when the number of run exceeds the maximum. If you set the
|
4621
|
+
# retention mode to `REMOVE`, HealthOmics automatically removes runs
|
4622
|
+
# (that have mode set to REMOVE) when the number of run exceeds the
|
4623
|
+
# maximum. All run logs are available in CloudWatch logs, if you need
|
4624
|
+
# information about a run that is no longer available to the API.
|
4625
|
+
#
|
4626
|
+
# For more information about retention mode, see [Specifying run
|
4627
|
+
# retention mode][1] in the *AWS HealthOmics User Guide*.
|
4628
|
+
#
|
4629
|
+
#
|
4630
|
+
#
|
4631
|
+
# [1]: https://docs.aws.amazon.com/omics/latest/dev/starting-a-run.html
|
4335
4632
|
#
|
4336
4633
|
# @option params [String] :storage_type
|
4337
4634
|
# The run's storage type. By default, the run uses STATIC storage type,
|
@@ -4359,6 +4656,8 @@ module Aws::Omics
|
|
4359
4656
|
# run_id: "RunId",
|
4360
4657
|
# role_arn: "RunRoleArn", # required
|
4361
4658
|
# name: "RunName",
|
4659
|
+
# cache_id: "NumericIdInArn",
|
4660
|
+
# cache_behavior: "CACHE_ON_FAILURE", # accepts CACHE_ON_FAILURE, CACHE_ALWAYS
|
4362
4661
|
# run_group_id: "RunGroupId",
|
4363
4662
|
# priority: 1,
|
4364
4663
|
# parameters: {
|
@@ -4601,6 +4900,40 @@ module Aws::Omics
|
|
4601
4900
|
req.send_request(options)
|
4602
4901
|
end
|
4603
4902
|
|
4903
|
+
# Update a run cache.
|
4904
|
+
#
|
4905
|
+
# @option params [String] :cache_behavior
|
4906
|
+
# Update the default run cache behavior.
|
4907
|
+
#
|
4908
|
+
# @option params [String] :description
|
4909
|
+
# Update the run cache description.
|
4910
|
+
#
|
4911
|
+
# @option params [required, String] :id
|
4912
|
+
# The identifier of the run cache you want to update.
|
4913
|
+
#
|
4914
|
+
# @option params [String] :name
|
4915
|
+
# Update the name of the run cache.
|
4916
|
+
#
|
4917
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
4918
|
+
#
|
4919
|
+
# @example Request syntax with placeholder values
|
4920
|
+
#
|
4921
|
+
# resp = client.update_run_cache({
|
4922
|
+
# cache_behavior: "CACHE_ON_FAILURE", # accepts CACHE_ON_FAILURE, CACHE_ALWAYS
|
4923
|
+
# description: "UserCustomDescription",
|
4924
|
+
# id: "RunCacheId", # required
|
4925
|
+
# name: "UserCustomName",
|
4926
|
+
# })
|
4927
|
+
#
|
4928
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/omics-2022-11-28/UpdateRunCache AWS API Documentation
|
4929
|
+
#
|
4930
|
+
# @overload update_run_cache(params = {})
|
4931
|
+
# @param [Hash] params ({})
|
4932
|
+
def update_run_cache(params = {}, options = {})
|
4933
|
+
req = build_request(:update_run_cache, params)
|
4934
|
+
req.send_request(options)
|
4935
|
+
end
|
4936
|
+
|
4604
4937
|
# Updates a run group.
|
4605
4938
|
#
|
4606
4939
|
# @option params [required, String] :id
|
@@ -4781,7 +5114,7 @@ module Aws::Omics
|
|
4781
5114
|
tracer: tracer
|
4782
5115
|
)
|
4783
5116
|
context[:gem_name] = 'aws-sdk-omics'
|
4784
|
-
context[:gem_version] = '1.
|
5117
|
+
context[:gem_version] = '1.40.0'
|
4785
5118
|
Seahorse::Client::Request.new(handlers, context)
|
4786
5119
|
end
|
4787
5120
|
|