Skip to content

Commit b956618

Browse files
Add support for database-level federation
1 parent 9617dc2 commit b956618

File tree

52 files changed

+3001
-292
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+3001
-292
lines changed

generator/ServiceModels/glue/glue-2017-03-31.api.json

Lines changed: 94 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,9 @@
188188
{"shape":"OperationTimeoutException"},
189189
{"shape":"InternalServiceException"},
190190
{"shape":"GlueEncryptionException"},
191-
{"shape":"InvalidStateException"}
191+
{"shape":"InvalidStateException"},
192+
{"shape":"FederationSourceException"},
193+
{"shape":"FederationSourceRetryableException"}
192194
]
193195
},
194196
"BatchGetTriggers":{
@@ -436,7 +438,8 @@
436438
{"shape":"InternalServiceException"},
437439
{"shape":"OperationTimeoutException"},
438440
{"shape":"GlueEncryptionException"},
439-
{"shape":"ConcurrentModificationException"}
441+
{"shape":"ConcurrentModificationException"},
442+
{"shape":"FederatedResourceAlreadyExistsException"}
440443
]
441444
},
442445
"CreateDevEndpoint":{
@@ -1352,7 +1355,8 @@
13521355
{"shape":"EntityNotFoundException"},
13531356
{"shape":"InternalServiceException"},
13541357
{"shape":"OperationTimeoutException"},
1355-
{"shape":"GlueEncryptionException"}
1358+
{"shape":"GlueEncryptionException"},
1359+
{"shape":"FederationSourceException"}
13561360
]
13571361
},
13581362
"GetDatabases":{
@@ -1578,7 +1582,9 @@
15781582
{"shape":"InvalidInputException"},
15791583
{"shape":"InternalServiceException"},
15801584
{"shape":"OperationTimeoutException"},
1581-
{"shape":"GlueEncryptionException"}
1585+
{"shape":"GlueEncryptionException"},
1586+
{"shape":"FederationSourceException"},
1587+
{"shape":"FederationSourceRetryableException"}
15821588
]
15831589
},
15841590
"GetPartitionIndexes":{
@@ -1612,7 +1618,9 @@
16121618
{"shape":"InternalServiceException"},
16131619
{"shape":"GlueEncryptionException"},
16141620
{"shape":"InvalidStateException"},
1615-
{"shape":"ResourceNotReadyException"}
1621+
{"shape":"ResourceNotReadyException"},
1622+
{"shape":"FederationSourceException"},
1623+
{"shape":"FederationSourceRetryableException"}
16161624
]
16171625
},
16181626
"GetPlan":{
@@ -1811,7 +1819,9 @@
18111819
{"shape":"InternalServiceException"},
18121820
{"shape":"OperationTimeoutException"},
18131821
{"shape":"GlueEncryptionException"},
1814-
{"shape":"ResourceNotReadyException"}
1822+
{"shape":"ResourceNotReadyException"},
1823+
{"shape":"FederationSourceException"},
1824+
{"shape":"FederationSourceRetryableException"}
18151825
]
18161826
},
18171827
"GetTableVersion":{
@@ -1859,7 +1869,9 @@
18591869
{"shape":"InvalidInputException"},
18601870
{"shape":"OperationTimeoutException"},
18611871
{"shape":"InternalServiceException"},
1862-
{"shape":"GlueEncryptionException"}
1872+
{"shape":"GlueEncryptionException"},
1873+
{"shape":"FederationSourceException"},
1874+
{"shape":"FederationSourceRetryableException"}
18631875
]
18641876
},
18651877
"GetTags":{
@@ -1921,7 +1933,9 @@
19211933
{"shape":"InternalServiceException"},
19221934
{"shape":"OperationTimeoutException"},
19231935
{"shape":"GlueEncryptionException"},
1924-
{"shape":"PermissionTypeMismatchException"}
1936+
{"shape":"PermissionTypeMismatchException"},
1937+
{"shape":"FederationSourceException"},
1938+
{"shape":"FederationSourceRetryableException"}
19251939
]
19261940
},
19271941
"GetUnfilteredPartitionsMetadata":{
@@ -1938,7 +1952,9 @@
19381952
{"shape":"InternalServiceException"},
19391953
{"shape":"OperationTimeoutException"},
19401954
{"shape":"GlueEncryptionException"},
1941-
{"shape":"PermissionTypeMismatchException"}
1955+
{"shape":"PermissionTypeMismatchException"},
1956+
{"shape":"FederationSourceException"},
1957+
{"shape":"FederationSourceRetryableException"}
19421958
]
19431959
},
19441960
"GetUnfilteredTableMetadata":{
@@ -1955,7 +1971,9 @@
19551971
{"shape":"InternalServiceException"},
19561972
{"shape":"OperationTimeoutException"},
19571973
{"shape":"GlueEncryptionException"},
1958-
{"shape":"PermissionTypeMismatchException"}
1974+
{"shape":"PermissionTypeMismatchException"},
1975+
{"shape":"FederationSourceException"},
1976+
{"shape":"FederationSourceRetryableException"}
19591977
]
19601978
},
19611979
"GetUserDefinedFunction":{
@@ -5637,7 +5655,8 @@
56375655
"CreateTime":{"shape":"Timestamp"},
56385656
"CreateTableDefaultPermissions":{"shape":"PrincipalPermissionsList"},
56395657
"TargetDatabase":{"shape":"DatabaseIdentifier"},
5640-
"CatalogId":{"shape":"CatalogIdString"}
5658+
"CatalogId":{"shape":"CatalogIdString"},
5659+
"FederatedDatabase":{"shape":"FederatedDatabase"}
56415660
}
56425661
},
56435662
"DatabaseIdentifier":{
@@ -5656,7 +5675,8 @@
56565675
"LocationUri":{"shape":"URI"},
56575676
"Parameters":{"shape":"ParametersMap"},
56585677
"CreateTableDefaultPermissions":{"shape":"PrincipalPermissionsList"},
5659-
"TargetDatabase":{"shape":"DatabaseIdentifier"}
5678+
"TargetDatabase":{"shape":"DatabaseIdentifier"},
5679+
"FederatedDatabase":{"shape":"FederatedDatabase"}
56605680
}
56615681
},
56625682
"DatabaseList":{
@@ -6393,7 +6413,8 @@
63936413
"EntityNotFoundException":{
63946414
"type":"structure",
63956415
"members":{
6396-
"Message":{"shape":"MessageString"}
6416+
"Message":{"shape":"MessageString"},
6417+
"FromFederationSource":{"shape":"NullableBoolean"}
63976418
},
63986419
"exception":true
63996420
},
@@ -6485,6 +6506,60 @@
64856506
"type":"string",
64866507
"pattern":"[\\s\\S]*"
64876508
},
6509+
"FederatedDatabase":{
6510+
"type":"structure",
6511+
"members":{
6512+
"Identifier":{"shape":"FederationIdentifier"},
6513+
"ConnectionName":{"shape":"NameString"}
6514+
}
6515+
},
6516+
"FederatedResourceAlreadyExistsException":{
6517+
"type":"structure",
6518+
"members":{
6519+
"Message":{"shape":"MessageString"},
6520+
"AssociatedGlueResource":{"shape":"GlueResourceArn"}
6521+
},
6522+
"exception":true
6523+
},
6524+
"FederatedTable":{
6525+
"type":"structure",
6526+
"members":{
6527+
"Identifier":{"shape":"FederationIdentifier"},
6528+
"DatabaseIdentifier":{"shape":"FederationIdentifier"},
6529+
"ConnectionName":{"shape":"NameString"}
6530+
}
6531+
},
6532+
"FederationIdentifier":{
6533+
"type":"string",
6534+
"max":512,
6535+
"min":1,
6536+
"pattern":"[\\u0020-\\uD7FF\\uE000-\\uFFFD\\uD800\\uDC00-\\uDBFF\\uDFFF\\t]*"
6537+
},
6538+
"FederationSourceErrorCode":{
6539+
"type":"string",
6540+
"enum":[
6541+
"InvalidResponseException",
6542+
"OperationTimeoutException",
6543+
"OperationNotSupportedException",
6544+
"InternalServiceException",
6545+
"ThrottlingException"
6546+
]
6547+
},
6548+
"FederationSourceException":{
6549+
"type":"structure",
6550+
"members":{
6551+
"FederationSourceErrorCode":{"shape":"FederationSourceErrorCode"},
6552+
"Message":{"shape":"MessageString"}
6553+
},
6554+
"exception":true
6555+
},
6556+
"FederationSourceRetryableException":{
6557+
"type":"structure",
6558+
"members":{
6559+
"Message":{"shape":"MessageString"}
6560+
},
6561+
"exception":true
6562+
},
64886563
"FieldName":{
64896564
"type":"string",
64906565
"enum":[
@@ -8077,7 +8152,8 @@
80778152
"InvalidInputException":{
80788153
"type":"structure",
80798154
"members":{
8080-
"Message":{"shape":"MessageString"}
8155+
"Message":{"shape":"MessageString"},
8156+
"FromFederationSource":{"shape":"NullableBoolean"}
80818157
},
80828158
"exception":true
80838159
},
@@ -9999,7 +10075,8 @@
999910075
"type":"string",
1000010076
"enum":[
1000110077
"FOREIGN",
10002-
"ALL"
10078+
"ALL",
10079+
"FEDERATED"
1000310080
]
1000410081
},
1000510082
"ResourceType":{
@@ -11278,7 +11355,8 @@
1127811355
"IsRegisteredWithLakeFormation":{"shape":"Boolean"},
1127911356
"TargetTable":{"shape":"TableIdentifier"},
1128011357
"CatalogId":{"shape":"CatalogIdString"},
11281-
"VersionId":{"shape":"VersionString"}
11358+
"VersionId":{"shape":"VersionString"},
11359+
"FederatedTable":{"shape":"FederatedTable"}
1128211360
}
1128311361
},
1128411362
"TableError":{

0 commit comments

Comments
 (0)