Skip to content

Commit 78fa93c

Browse files
author
AWS
committed
AWS Glue Update: Add support for Event Driven Workflows
1 parent 2a438bb commit 78fa93c

File tree

2 files changed

+67
-7
lines changed

2 files changed

+67
-7
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 support for Event Driven Workflows"
6+
}

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

Lines changed: 61 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3016,6 +3016,11 @@
30163016
}
30173017
}
30183018
},
3019+
"BatchSize":{
3020+
"type":"integer",
3021+
"max":100,
3022+
"min":1
3023+
},
30193024
"BatchStopJobRunError":{
30203025
"type":"structure",
30213026
"members":{
@@ -3169,6 +3174,12 @@
31693174
}
31703175
}
31713176
},
3177+
"BatchWindow":{
3178+
"type":"integer",
3179+
"box":true,
3180+
"max":900,
3181+
"min":1
3182+
},
31723183
"BinaryColumnStatisticsData":{
31733184
"type":"structure",
31743185
"required":[
@@ -5116,7 +5127,8 @@
51165127
"Tags":{
51175128
"shape":"TagsMap",
51185129
"documentation":"<p>The tags to use with this trigger. You may use tags to limit access to the trigger. For more information about tags in Glue, see <a href=\"https://docs.aws.amazon.com/glue/latest/dg/monitor-tags.html\">Amazon Web Services Tags in Glue</a> in the developer guide. </p>"
5119-
}
5130+
},
5131+
"EventBatchingCondition":{"shape":"EventBatchingCondition"}
51205132
}
51215133
},
51225134
"CreateTriggerResponse":{
@@ -6198,7 +6210,7 @@
61986210
"documentation":"<p>The unique of the node within the workflow where the edge ends.</p>"
61996211
}
62006212
},
6201-
"documentation":"<p>An edge represents a directed connection between two Glue components that are part of the workflow the edge belongs to.</p>"
6213+
"documentation":"<p>An edge represents a directed connection between two components on a workflow graph.</p>"
62026214
},
62036215
"EdgeList":{
62046216
"type":"list",
@@ -6306,6 +6318,21 @@
63066318
},
63076319
"documentation":"<p>Evaluation metrics provide an estimate of the quality of your machine learning transform.</p>"
63086320
},
6321+
"EventBatchingCondition":{
6322+
"type":"structure",
6323+
"required":["BatchSize"],
6324+
"members":{
6325+
"BatchSize":{
6326+
"shape":"BatchSize",
6327+
"documentation":"<p>Number of events that must be received from Amazon EventBridge before EventBridge event trigger fires.</p>"
6328+
},
6329+
"BatchWindow":{
6330+
"shape":"BatchWindow",
6331+
"documentation":"<p>Window of time in seconds after which EventBridge event trigger fires. Window starts when first event is received.</p>"
6332+
}
6333+
},
6334+
"documentation":"<p>Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.</p>"
6335+
},
63096336
"ExecutionProperty":{
63106337
"type":"structure",
63116338
"members":{
@@ -9569,7 +9596,7 @@
95699596
"documentation":"<p>Details of the crawler when the node represents a crawler.</p>"
95709597
}
95719598
},
9572-
"documentation":"<p>A node represents an Glue component such as a trigger, or job, etc., that is part of a workflow.</p>"
9599+
"documentation":"<p>A node represents an Glue component (trigger, crawler, or job) on a workflow graph.</p>"
95739600
},
95749601
"NodeIdList":{
95759602
"type":"list",
@@ -11201,6 +11228,20 @@
1120111228
}
1120211229
}
1120311230
},
11231+
"StartingEventBatchCondition":{
11232+
"type":"structure",
11233+
"members":{
11234+
"BatchSize":{
11235+
"shape":"NullableInteger",
11236+
"documentation":"<p>Number of events in the batch.</p>"
11237+
},
11238+
"BatchWindow":{
11239+
"shape":"NullableInteger",
11240+
"documentation":"<p>Duration of the batch window in seconds.</p>"
11241+
}
11242+
},
11243+
"documentation":"<p>The batch condition that started the workflow run. Either the number of events in the batch size arrived, in which case the BatchSize member is non-zero, or the batch window expired, in which case the BatchWindow member is non-zero.</p>"
11244+
},
1120411245
"StopCrawlerRequest":{
1120511246
"type":"structure",
1120611247
"required":["Name"],
@@ -11956,6 +11997,10 @@
1195611997
"Predicate":{
1195711998
"shape":"Predicate",
1195811999
"documentation":"<p>The predicate of this trigger, which defines when it will fire.</p>"
12000+
},
12001+
"EventBatchingCondition":{
12002+
"shape":"EventBatchingCondition",
12003+
"documentation":"<p>Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.</p>"
1195912004
}
1196012005
},
1196112006
"documentation":"<p>Information about a specific trigger.</p>"
@@ -11996,7 +12041,8 @@
1199612041
"enum":[
1199712042
"SCHEDULED",
1199812043
"CONDITIONAL",
11999-
"ON_DEMAND"
12044+
"ON_DEMAND",
12045+
"EVENT"
1200012046
]
1200112047
},
1200212048
"TriggerUpdate":{
@@ -12021,6 +12067,10 @@
1202112067
"Predicate":{
1202212068
"shape":"Predicate",
1202312069
"documentation":"<p>The predicate of this trigger, which defines when it will fire.</p>"
12070+
},
12071+
"EventBatchingCondition":{
12072+
"shape":"EventBatchingCondition",
12073+
"documentation":"<p>Batch condition that must be met (specified number of events received or batch time window expired) before EventBridge event trigger fires.</p>"
1202412074
}
1202512075
},
1202612076
"documentation":"<p>A structure used to provide information used to update a trigger. This object updates the previous trigger definition by overwriting it completely.</p>"
@@ -12885,15 +12935,15 @@
1288512935
"members":{
1288612936
"Name":{
1288712937
"shape":"NameString",
12888-
"documentation":"<p>The name of the workflow representing the flow.</p>"
12938+
"documentation":"<p>The name of the workflow.</p>"
1288912939
},
1289012940
"Description":{
1289112941
"shape":"GenericString",
1289212942
"documentation":"<p>A description of the workflow.</p>"
1289312943
},
1289412944
"DefaultRunProperties":{
1289512945
"shape":"WorkflowRunProperties",
12896-
"documentation":"<p>A collection of properties to be used as part of each execution of the workflow.</p>"
12946+
"documentation":"<p>A collection of properties to be used as part of each execution of the workflow. The run properties are made available to each job in the workflow. A job can modify the properties for the next jobs in the flow.</p>"
1289712947
},
1289812948
"CreatedOn":{
1289912949
"shape":"TimestampValue",
@@ -12916,7 +12966,7 @@
1291612966
"documentation":"<p>You can use this parameter to prevent unwanted multiple updates to data, to control costs, or in some cases, to prevent exceeding the maximum number of concurrent runs of any of the component jobs. If you leave this parameter blank, there is no limit to the number of concurrent workflow runs.</p>"
1291712967
}
1291812968
},
12919-
"documentation":"<p>A workflow represents a flow in which Glue components should be run to complete a logical task.</p>"
12969+
"documentation":"<p>A workflow is a collection of multiple dependent Glue jobs and crawlers that are run to complete a complex ETL task. A workflow manages the execution and monitoring of all its jobs and crawlers.</p>"
1292012970
},
1292112971
"WorkflowGraph":{
1292212972
"type":"structure",
@@ -12980,6 +13030,10 @@
1298013030
"Graph":{
1298113031
"shape":"WorkflowGraph",
1298213032
"documentation":"<p>The graph representing all the Glue components that belong to the workflow as nodes and directed connections between them as edges.</p>"
13033+
},
13034+
"StartingEventBatchCondition":{
13035+
"shape":"StartingEventBatchCondition",
13036+
"documentation":"<p>The batch condition that started the workflow run.</p>"
1298313037
}
1298413038
},
1298513039
"documentation":"<p>A workflow run is an execution of a workflow providing all the runtime information.</p>"

0 commit comments

Comments
 (0)