Skip to content

Commit 55602b4

Browse files
author
AWS
committed
Amazon Omics Update: Add RetentionMode support for Runs.
1 parent bf4e6c9 commit 55602b4

File tree

2 files changed

+26
-3
lines changed

2 files changed

+26
-3
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Omics",
4+
"contributor": "",
5+
"description": "Add RetentionMode support for Runs."
6+
}

services/omics/src/main/resources/codegen-resources/service-2.json

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1596,7 +1596,7 @@
15961596
{"shape":"AccessDeniedException"},
15971597
{"shape":"RequestTimeoutException"}
15981598
],
1599-
"documentation":"<p>Starts a run.</p>",
1599+
"documentation":"<p>Starts a workflow run. To duplicate a run, specify the run's ID and a role ARN. The remaining parameters are copied from the previous run.</p> <p>The total number of runs in your account is subject to a quota per Region. To avoid needing to delete runs manually, you can set the retention mode to <code>REMOVE</code>. Runs with this setting are deleted automatically when the run quoata is exceeded.</p>",
16001600
"authtype":"v4",
16011601
"endpoint":{"hostPrefix":"workflows-"}
16021602
},
@@ -4520,6 +4520,10 @@
45204520
"accelerators":{
45214521
"shape":"Accelerators",
45224522
"documentation":"<p> The computational accelerator used to run the workflow. </p>"
4523+
},
4524+
"retentionMode":{
4525+
"shape":"RunRetentionMode",
4526+
"documentation":"<p>The run's retention mode.</p>"
45234527
}
45244528
}
45254529
},
@@ -7324,6 +7328,15 @@
73247328
"key":{"shape":"RunResourceDigestKey"},
73257329
"value":{"shape":"RunResourceDigest"}
73267330
},
7331+
"RunRetentionMode":{
7332+
"type":"string",
7333+
"enum":[
7334+
"RETAIN",
7335+
"REMOVE"
7336+
],
7337+
"max":64,
7338+
"min":1
7339+
},
73277340
"RunRoleArn":{
73287341
"type":"string",
73297342
"max":128,
@@ -8024,11 +8037,11 @@
80248037
},
80258038
"workflowType":{
80268039
"shape":"WorkflowType",
8027-
"documentation":"<p>The run's workflows type.</p>"
8040+
"documentation":"<p>The run's workflow type.</p>"
80288041
},
80298042
"runId":{
80308043
"shape":"RunId",
8031-
"documentation":"<p>The run's ID.</p>"
8044+
"documentation":"<p>The ID of a run to duplicate.</p>"
80328045
},
80338046
"roleArn":{
80348047
"shape":"RunRoleArn",
@@ -8070,6 +8083,10 @@
80708083
"shape":"RunRequestId",
80718084
"documentation":"<p>To ensure that requests don't run multiple times, specify a unique ID for each request.</p>",
80728085
"idempotencyToken":true
8086+
},
8087+
"retentionMode":{
8088+
"shape":"RunRetentionMode",
8089+
"documentation":"<p>The retention mode for the run.</p>"
80738090
}
80748091
}
80758092
},

0 commit comments

Comments
 (0)