Skip to content

Commit 8698e9c

Browse files
author
AWS
committed
AWS Glue Update: Add ConcurrentModificationException to create-table, delete-table, create-database, update-database, delete-database
1 parent 0ad9b17 commit 8698e9c

File tree

2 files changed

+18
-7
lines changed

2 files changed

+18
-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 ConcurrentModificationException to create-table, delete-table, create-database, update-database, delete-database"
6+
}

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

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,8 @@
310310
{"shape":"ResourceNumberLimitExceededException"},
311311
{"shape":"InternalServiceException"},
312312
{"shape":"OperationTimeoutException"},
313-
{"shape":"GlueEncryptionException"}
313+
{"shape":"GlueEncryptionException"},
314+
{"shape":"ConcurrentModificationException"}
314315
],
315316
"documentation":"<p>Creates a new database in a Data Catalog.</p>"
316317
},
@@ -492,7 +493,8 @@
492493
{"shape":"ResourceNumberLimitExceededException"},
493494
{"shape":"InternalServiceException"},
494495
{"shape":"OperationTimeoutException"},
495-
{"shape":"GlueEncryptionException"}
496+
{"shape":"GlueEncryptionException"},
497+
{"shape":"ConcurrentModificationException"}
496498
],
497499
"documentation":"<p>Creates a new table definition in the Data Catalog.</p>"
498500
},
@@ -643,7 +645,8 @@
643645
{"shape":"EntityNotFoundException"},
644646
{"shape":"InvalidInputException"},
645647
{"shape":"InternalServiceException"},
646-
{"shape":"OperationTimeoutException"}
648+
{"shape":"OperationTimeoutException"},
649+
{"shape":"ConcurrentModificationException"}
647650
],
648651
"documentation":"<p>Removes a specified database from a Data Catalog.</p> <note> <p>After completing this operation, you no longer have access to the tables (and all table versions and partitions that might belong to the tables) and the user-defined functions in the deleted database. Glue deletes these \"orphaned\" resources asynchronously in a timely manner, at the discretion of the service.</p> <p>To ensure the immediate deletion of all related resources, before calling <code>DeleteDatabase</code>, use <code>DeleteTableVersion</code> or <code>BatchDeleteTableVersion</code>, <code>DeletePartition</code> or <code>BatchDeletePartition</code>, <code>DeleteUserDefinedFunction</code>, and <code>DeleteTable</code> or <code>BatchDeleteTable</code>, to delete any resources that belong to the database.</p> </note>"
649652
},
@@ -821,7 +824,8 @@
821824
{"shape":"EntityNotFoundException"},
822825
{"shape":"InvalidInputException"},
823826
{"shape":"InternalServiceException"},
824-
{"shape":"OperationTimeoutException"}
827+
{"shape":"OperationTimeoutException"},
828+
{"shape":"ConcurrentModificationException"}
825829
],
826830
"documentation":"<p>Removes a table definition from the Data Catalog.</p> <note> <p>After completing this operation, you no longer have access to the table versions and partitions that belong to the deleted table. Glue deletes these \"orphaned\" resources asynchronously in a timely manner, at the discretion of the service.</p> <p>To ensure the immediate deletion of all related resources, before calling <code>DeleteTable</code>, use <code>DeleteTableVersion</code> or <code>BatchDeleteTableVersion</code>, and <code>DeletePartition</code> or <code>BatchDeletePartition</code>, to delete any resources that belong to the table.</p> </note>"
827831
},
@@ -2400,7 +2404,8 @@
24002404
{"shape":"InvalidInputException"},
24012405
{"shape":"InternalServiceException"},
24022406
{"shape":"OperationTimeoutException"},
2403-
{"shape":"GlueEncryptionException"}
2407+
{"shape":"GlueEncryptionException"},
2408+
{"shape":"ConcurrentModificationException"}
24042409
],
24052410
"documentation":"<p>Updates an existing database definition in a Data Catalog.</p>"
24062411
},
@@ -3892,7 +3897,7 @@
38923897
},
38933898
"ConnectionType":{
38943899
"shape":"ConnectionType",
3895-
"documentation":"<p>The type of the connection. Currently, these types are supported:</p> <ul> <li> <p> <code>JDBC</code> - Designates a connection to a database through Java Database Connectivity (JDBC).</p> </li> <li> <p> <code>KAFKA</code> - Designates a connection to an Apache Kafka streaming platform.</p> </li> <li> <p> <code>MONGODB</code> - Designates a connection to a MongoDB document database.</p> </li> <li> <p> <code>NETWORK</code> - Designates a network connection to a data source within an Amazon Virtual Private Cloud environment (Amazon VPC).</p> </li> <li> <p> <code>MARKETPLACE</code> - Uses configuration settings contained in a connector purchased from Marketplace to read from and write to data stores that are not natively supported by Glue.</p> </li> <li> <p> <code>CUSTOM</code> - Uses configuration settings contained in a custom connector to read from and write to data stores that are not natively supported by Glue.</p> </li> </ul> <p>SFTP is not supported.</p>"
3900+
"documentation":"<p>The type of the connection. Currently, these types are supported:</p> <ul> <li> <p> <code>JDBC</code> - Designates a connection to a database through Java Database Connectivity (JDBC).</p> </li> <li> <p> <code>KAFKA</code> - Designates a connection to an Apache Kafka streaming platform.</p> </li> <li> <p> <code>MONGODB</code> - Designates a connection to a MongoDB document database.</p> </li> <li> <p> <code>NETWORK</code> - Designates a network connection to a data source within an Amazon Virtual Private Cloud environment (Amazon VPC).</p> </li> <li> <p> <code>MARKETPLACE</code> - Uses configuration settings contained in a connector purchased from Amazon Web Services Marketplace to read from and write to data stores that are not natively supported by Glue.</p> </li> <li> <p> <code>CUSTOM</code> - Uses configuration settings contained in a custom connector to read from and write to data stores that are not natively supported by Glue.</p> </li> </ul> <p>SFTP is not supported.</p>"
38963901
},
38973902
"MatchCriteria":{
38983903
"shape":"MatchCriteria",
@@ -10068,7 +10073,7 @@
1006810073
},
1006910074
"EnableHybrid":{
1007010075
"shape":"EnableHybridValues",
10071-
"documentation":"<p>If <code>'TRUE'</code>, indicates that you are using both methods to grant cross-account access to Data Catalog resources:</p> <ul> <li> <p>By directly updating the resource policy with <code>PutResourePolicy</code> </p> </li> <li> <p>By using the <b>Grant permissions</b> command on the Management Console.</p> </li> </ul> <p>Must be set to <code>'TRUE'</code> if you have already used the Management Console to grant cross-account access, otherwise the call fails. Default is 'FALSE'.</p>"
10076+
"documentation":"<p>If <code>'TRUE'</code>, indicates that you are using both methods to grant cross-account access to Data Catalog resources:</p> <ul> <li> <p>By directly updating the resource policy with <code>PutResourePolicy</code> </p> </li> <li> <p>By using the <b>Grant permissions</b> command on the Amazon Web Services Management Console.</p> </li> </ul> <p>Must be set to <code>'TRUE'</code> if you have already used the Management Console to grant cross-account access, otherwise the call fails. Default is 'FALSE'.</p>"
1007210077
}
1007310078
}
1007410079
},

0 commit comments

Comments
 (0)