Skip to content

Commit b1318f2

Browse files
author
AWS
committed
AWS Glue Update: Add optional field JobMode to CreateJob and UpdateJob APIs.
1 parent e5433fa commit b1318f2

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
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": "AWS Glue",
4+
"contributor": "",
5+
"description": "Add optional field JobMode to CreateJob and UpdateJob APIs."
6+
}

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

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7362,6 +7362,10 @@
73627362
"shape":"NameString",
73637363
"documentation":"<p>The name you assign to this job definition. It must be unique in your account.</p>"
73647364
},
7365+
"JobMode":{
7366+
"shape":"JobMode",
7367+
"documentation":"<p>A mode that describes how a job was created. Valid values are:</p> <ul> <li> <p> <code>SCRIPT</code> - The job was created using the Glue Studio script editor.</p> </li> <li> <p> <code>VISUAL</code> - The job was created using the Glue Studio visual editor.</p> </li> <li> <p> <code>NOTEBOOK</code> - The job was created using an interactive sessions notebook.</p> </li> </ul> <p>When the <code>JobMode</code> field is missing or null, <code>SCRIPT</code> is assigned as the default value.</p>"
7368+
},
73657369
"Description":{
73667370
"shape":"DescriptionString",
73677371
"documentation":"<p>Description of the job being defined.</p>"
@@ -13986,6 +13990,10 @@
1398613990
"shape":"NameString",
1398713991
"documentation":"<p>The name you assign to this job definition.</p>"
1398813992
},
13993+
"JobMode":{
13994+
"shape":"JobMode",
13995+
"documentation":"<p>A mode that describes how a job was created. Valid values are:</p> <ul> <li> <p> <code>SCRIPT</code> - The job was created using the Glue Studio script editor.</p> </li> <li> <p> <code>VISUAL</code> - The job was created using the Glue Studio visual editor.</p> </li> <li> <p> <code>NOTEBOOK</code> - The job was created using an interactive sessions notebook.</p> </li> </ul> <p>When the <code>JobMode</code> field is missing or null, <code>SCRIPT</code> is assigned as the default value.</p>"
13996+
},
1398913997
"Description":{
1399013998
"shape":"DescriptionString",
1399113999
"documentation":"<p>A description of the job.</p>"
@@ -14164,6 +14172,14 @@
1416414172
"type":"list",
1416514173
"member":{"shape":"Job"}
1416614174
},
14175+
"JobMode":{
14176+
"type":"string",
14177+
"enum":[
14178+
"SCRIPT",
14179+
"VISUAL",
14180+
"NOTEBOOK"
14181+
]
14182+
},
1416714183
"JobName":{"type":"string"},
1416814184
"JobNameList":{
1416914185
"type":"list",
@@ -14202,6 +14218,10 @@
1420214218
"shape":"NameString",
1420314219
"documentation":"<p>The name of the job definition being used in this run.</p>"
1420414220
},
14221+
"JobMode":{
14222+
"shape":"JobMode",
14223+
"documentation":"<p>A mode that describes how a job was created. Valid values are:</p> <ul> <li> <p> <code>SCRIPT</code> - The job was created using the Glue Studio script editor.</p> </li> <li> <p> <code>VISUAL</code> - The job was created using the Glue Studio visual editor.</p> </li> <li> <p> <code>NOTEBOOK</code> - The job was created using an interactive sessions notebook.</p> </li> </ul> <p>When the <code>JobMode</code> field is missing or null, <code>SCRIPT</code> is assigned as the default value.</p>"
14224+
},
1420514225
"StartedOn":{
1420614226
"shape":"TimestampValue",
1420714227
"documentation":"<p>The date and time at which this job run was started.</p>"
@@ -14309,6 +14329,10 @@
1430914329
"JobUpdate":{
1431014330
"type":"structure",
1431114331
"members":{
14332+
"JobMode":{
14333+
"shape":"JobMode",
14334+
"documentation":"<p>A mode that describes how a job was created. Valid values are:</p> <ul> <li> <p> <code>SCRIPT</code> - The job was created using the Glue Studio script editor.</p> </li> <li> <p> <code>VISUAL</code> - The job was created using the Glue Studio visual editor.</p> </li> <li> <p> <code>NOTEBOOK</code> - The job was created using an interactive sessions notebook.</p> </li> </ul> <p>When the <code>JobMode</code> field is missing or null, <code>SCRIPT</code> is assigned as the default value.</p>"
14335+
},
1431214336
"Description":{
1431314337
"shape":"DescriptionString",
1431414338
"documentation":"<p>Description of the job being defined.</p>"

0 commit comments

Comments
 (0)