Skip to content

Commit 1b703bb

Browse files
author
AWS
committed
AWS Glue Update: This release adds additional configurations for Query Session Context on the following APIs: GetUnfilteredTableMetadata, GetUnfilteredPartitionMetadata, GetUnfilteredPartitionsMetadata.
1 parent d7955d4 commit 1b703bb

File tree

2 files changed

+128
-2
lines changed

2 files changed

+128
-2
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": "This release adds additional configurations for Query Session Context on the following APIs: GetUnfilteredTableMetadata, GetUnfilteredPartitionMetadata, GetUnfilteredPartitionsMetadata."
6+
}

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

Lines changed: 122 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -408,7 +408,7 @@
408408
{"shape":"ResourceNumberLimitExceededException"},
409409
{"shape":"GlueEncryptionException"}
410410
],
411-
"documentation":"<p>Creates a connection definition in the Data Catalog.</p>"
411+
"documentation":"<p>Creates a connection definition in the Data Catalog.</p> <p>Connections used for creating federated resources require the IAM <code>glue:PassConnection</code> permission.</p>"
412412
},
413413
"CreateCrawler":{
414414
"name":"CreateCrawler",
@@ -3589,6 +3589,11 @@
35893589
"type":"list",
35903590
"member":{"shape":"Action"}
35913591
},
3592+
"AdditionalContextMap":{
3593+
"type":"map",
3594+
"key":{"shape":"ContextKey"},
3595+
"value":{"shape":"ContextValue"}
3596+
},
35923597
"AdditionalOptionKeys":{
35933598
"type":"string",
35943599
"enum":[
@@ -6476,6 +6481,16 @@
64766481
"key":{"shape":"GenericString"},
64776482
"value":{"shape":"GenericString"}
64786483
},
6484+
"ContextKey":{
6485+
"type":"string",
6486+
"max":128,
6487+
"min":1
6488+
},
6489+
"ContextValue":{
6490+
"type":"string",
6491+
"max":256,
6492+
"min":0
6493+
},
64796494
"ContextWords":{
64806495
"type":"list",
64816496
"member":{"shape":"NameString"},
@@ -10475,8 +10490,12 @@
1047510490
"FederationSourceRetryableException":{
1047610491
"type":"structure",
1047710492
"members":{
10478-
"Message":{"shape":"MessageString"}
10493+
"Message":{
10494+
"shape":"MessageString",
10495+
"documentation":"<p>A message describing the problem.</p>"
10496+
}
1047910497
},
10498+
"documentation":"<p>A federation source failed, but the operation may be retried.</p>",
1048010499
"exception":true
1048110500
},
1048210501
"FieldName":{
@@ -12849,6 +12868,10 @@
1284912868
"SupportedPermissionTypes"
1285012869
],
1285112870
"members":{
12871+
"Region":{
12872+
"shape":"ValueString",
12873+
"documentation":"<p>Specified only if the base tables belong to a different Amazon Web Services Region.</p>"
12874+
},
1285212875
"CatalogId":{
1285312876
"shape":"CatalogIdString",
1285412877
"documentation":"<p>The catalog ID where the partition resides.</p>"
@@ -12872,6 +12895,10 @@
1287212895
"SupportedPermissionTypes":{
1287312896
"shape":"PermissionTypeList",
1287412897
"documentation":"<p>(Required) A list of supported permission types. </p>"
12898+
},
12899+
"QuerySessionContext":{
12900+
"shape":"QuerySessionContext",
12901+
"documentation":"<p>A structure used as a protocol between query engines and Lake Formation or Glue. Contains both a Lake Formation generated authorization identifier and information from the request's authorization context.</p>"
1287512902
}
1287612903
}
1287712904
},
@@ -12901,6 +12928,10 @@
1290112928
"SupportedPermissionTypes"
1290212929
],
1290312930
"members":{
12931+
"Region":{
12932+
"shape":"ValueString",
12933+
"documentation":"<p>Specified only if the base tables belong to a different Amazon Web Services Region.</p>"
12934+
},
1290412935
"CatalogId":{
1290512936
"shape":"CatalogIdString",
1290612937
"documentation":"<p>The ID of the Data Catalog where the partitions in question reside. If none is provided, the AWS account ID is used by default. </p>"
@@ -12936,6 +12967,10 @@
1293612967
"MaxResults":{
1293712968
"shape":"PageSize",
1293812969
"documentation":"<p>The maximum number of partitions to return in a single response.</p>"
12970+
},
12971+
"QuerySessionContext":{
12972+
"shape":"QuerySessionContext",
12973+
"documentation":"<p>A structure used as a protocol between query engines and Lake Formation or Glue. Contains both a Lake Formation generated authorization identifier and information from the request's authorization context.</p>"
1293912974
}
1294012975
}
1294112976
},
@@ -12961,6 +12996,10 @@
1296112996
"SupportedPermissionTypes"
1296212997
],
1296312998
"members":{
12999+
"Region":{
13000+
"shape":"ValueString",
13001+
"documentation":"<p>Specified only if the base tables belong to a different Amazon Web Services Region.</p>"
13002+
},
1296413003
"CatalogId":{
1296513004
"shape":"CatalogIdString",
1296613005
"documentation":"<p>The catalog ID where the table resides.</p>"
@@ -12980,6 +13019,18 @@
1298013019
"SupportedPermissionTypes":{
1298113020
"shape":"PermissionTypeList",
1298213021
"documentation":"<p>(Required) A list of supported permission types. </p>"
13022+
},
13023+
"SupportedDialect":{
13024+
"shape":"SupportedDialect",
13025+
"documentation":"<p>A structure specifying the dialect and dialect version used by the query engine.</p>"
13026+
},
13027+
"Permissions":{
13028+
"shape":"PermissionList",
13029+
"documentation":"<p>The Lake Formation data permissions of the caller on the table. Used to authorize the call when no view context is found.</p>"
13030+
},
13031+
"QuerySessionContext":{
13032+
"shape":"QuerySessionContext",
13033+
"documentation":"<p>A structure used as a protocol between query engines and Lake Formation or Glue. Contains both a Lake Formation generated authorization identifier and information from the request's authorization context.</p>"
1298313034
}
1298413035
}
1298513036
},
@@ -13001,6 +13052,18 @@
1300113052
"CellFilters":{
1300213053
"shape":"ColumnRowFilterList",
1300313054
"documentation":"<p>A list of column row filters.</p>"
13055+
},
13056+
"QueryAuthorizationId":{
13057+
"shape":"HashString",
13058+
"documentation":"<p>A cryptographically generated query identifier generated by Glue or Lake Formation.</p>"
13059+
},
13060+
"ResourceArn":{
13061+
"shape":"ArnString",
13062+
"documentation":"<p>The resource ARN of the parent resource extracted from the request.</p>"
13063+
},
13064+
"Permissions":{
13065+
"shape":"PermissionList",
13066+
"documentation":"<p>The Lake Formation data permissions of the caller on the table. Used to authorize the call when no view context is found.</p>"
1300413067
}
1300513068
}
1300613069
},
@@ -16055,6 +16118,10 @@
1605516118
"type":"integer",
1605616119
"box":true
1605716120
},
16121+
"NullableString":{
16122+
"type":"string",
16123+
"box":true
16124+
},
1605816125
"OneInput":{
1605916126
"type":"list",
1606016127
"member":{"shape":"NodeId"},
@@ -16930,6 +16997,32 @@
1693016997
}
1693116998
}
1693216999
},
17000+
"QuerySessionContext":{
17001+
"type":"structure",
17002+
"members":{
17003+
"QueryId":{
17004+
"shape":"HashString",
17005+
"documentation":"<p>A unique identifier generated by the query engine for the query.</p>"
17006+
},
17007+
"QueryStartTime":{
17008+
"shape":"Timestamp",
17009+
"documentation":"<p>A timestamp provided by the query engine for when the query started.</p>"
17010+
},
17011+
"ClusterId":{
17012+
"shape":"NullableString",
17013+
"documentation":"<p>An identifier string for the consumer cluster.</p>"
17014+
},
17015+
"QueryAuthorizationId":{
17016+
"shape":"HashString",
17017+
"documentation":"<p>A cryptographically generated query identifier generated by Glue or Lake Formation.</p>"
17018+
},
17019+
"AdditionalContext":{
17020+
"shape":"AdditionalContextMap",
17021+
"documentation":"<p>An opaque string-string map passed by the query engine.</p>"
17022+
}
17023+
},
17024+
"documentation":"<p>A structure used as a protocol between query engines and Lake Formation or Glue. Contains both a Lake Formation generated authorization identifier and information from the request's authorization context.</p>"
17025+
},
1693317026
"QuoteChar":{
1693417027
"type":"string",
1693517028
"enum":[
@@ -19942,6 +20035,20 @@
1994220035
"type":"list",
1994320036
"member":{"shape":"GenericString"}
1994420037
},
20038+
"SupportedDialect":{
20039+
"type":"structure",
20040+
"members":{
20041+
"Dialect":{
20042+
"shape":"ViewDialect",
20043+
"documentation":"<p>The dialect of the query engine.</p>"
20044+
},
20045+
"DialectVersion":{
20046+
"shape":"ViewDialectVersionString",
20047+
"documentation":"<p>The version of the dialect of the query engine. For example, 3.0.0.</p>"
20048+
}
20049+
},
20050+
"documentation":"<p>A structure specifying the dialect and dialect version used by the query engine.</p>"
20051+
},
1994520052
"Table":{
1994620053
"type":"structure",
1994720054
"required":["Name"],
@@ -21920,6 +22027,19 @@
2192022027
"min":1,
2192122028
"pattern":"[1-9][0-9]*|[1-9][0-9]*-[1-9][0-9]*"
2192222029
},
22030+
"ViewDialect":{
22031+
"type":"string",
22032+
"enum":[
22033+
"REDSHIFT",
22034+
"ATHENA",
22035+
"SPARK"
22036+
]
22037+
},
22038+
"ViewDialectVersionString":{
22039+
"type":"string",
22040+
"max":255,
22041+
"min":1
22042+
},
2192322043
"ViewTextString":{
2192422044
"type":"string",
2192522045
"max":409600

0 commit comments

Comments
 (0)