Skip to content

Commit e224f1a

Browse files
feat: update AWS API models
1 parent 0b5374c commit e224f1a

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

codegen/sdk/aws-models/emr.json

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2794,6 +2794,9 @@
27942794
{
27952795
"target": "com.amazonaws.emr#RunJobFlow"
27962796
},
2797+
{
2798+
"target": "com.amazonaws.emr#SetKeepJobFlowAliveWhenNoSteps"
2799+
},
27972800
{
27982801
"target": "com.amazonaws.emr#SetTerminationProtection"
27992802
},
@@ -8935,6 +8938,47 @@
89358938
"target": "com.amazonaws.emr#SessionMappingSummary"
89368939
}
89378940
},
8941+
"com.amazonaws.emr#SetKeepJobFlowAliveWhenNoSteps": {
8942+
"type": "operation",
8943+
"input": {
8944+
"target": "com.amazonaws.emr#SetKeepJobFlowAliveWhenNoStepsInput"
8945+
},
8946+
"output": {
8947+
"target": "smithy.api#Unit"
8948+
},
8949+
"errors": [
8950+
{
8951+
"target": "com.amazonaws.emr#InternalServerError"
8952+
}
8953+
],
8954+
"traits": {
8955+
"smithy.api#documentation": "<p>You can use the <code>SetKeepJobFlowAliveWhenNoSteps</code> to configure a cluster (job flow) to terminate after the step execution, i.e., all your \n steps are executed. If you want a transient cluster that shuts down after the last of the current executing steps are completed, \n you can configure <code>SetKeepJobFlowAliveWhenNoSteps</code> to false. If you want a long running cluster, configure <code>SetKeepJobFlowAliveWhenNoSteps</code> to true.</p>\n <p>For more information, see <a href=\"https://docs.aws.amazon.com/emr/latest/ManagementGuide/UsingEMR_TerminationProtection.html\">Managing Cluster Termination</a> in the <i>Amazon EMR Management Guide</i>.</p>"
8956+
}
8957+
},
8958+
"com.amazonaws.emr#SetKeepJobFlowAliveWhenNoStepsInput": {
8959+
"type": "structure",
8960+
"members": {
8961+
"JobFlowIds": {
8962+
"target": "com.amazonaws.emr#XmlStringList",
8963+
"traits": {
8964+
"smithy.api#clientOptional": {},
8965+
"smithy.api#documentation": "<p>A list of strings that uniquely identify the clusters to protect. This identifier is returned by \n <a href=\"https://docs.aws.amazon.com/emr/latest/APIReference/API_RunJobFlow.html\">RunJobFlow</a> and can also \n be obtained from <a href=\"https://docs.aws.amazon.com/emr/latest/APIReference/API_DescribeJobFlows.html\">DescribeJobFlows</a>.</p>",
8966+
"smithy.api#required": {}
8967+
}
8968+
},
8969+
"KeepJobFlowAliveWhenNoSteps": {
8970+
"target": "com.amazonaws.emr#Boolean",
8971+
"traits": {
8972+
"smithy.api#clientOptional": {},
8973+
"smithy.api#documentation": "<p>A Boolean that indicates whether to terminate the cluster after all steps are executed.</p>",
8974+
"smithy.api#required": {}
8975+
}
8976+
}
8977+
},
8978+
"traits": {
8979+
"smithy.api#input": {}
8980+
}
8981+
},
89388982
"com.amazonaws.emr#SetTerminationProtection": {
89398983
"type": "operation",
89408984
"input": {

0 commit comments

Comments
 (0)