Skip to content

Commit

Permalink
AWS Glue Update: Add ConcurrentModificationException to create-table,…
Browse files Browse the repository at this point in the history
… delete-table, create-database, update-database, delete-database
  • Loading branch information
AWS committed Aug 3, 2021
1 parent 0ad9b17 commit 8698e9c
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
6 changes: 6 additions & 0 deletions .changes/next-release/feature-AWSGlue-99a0b67.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"type": "feature",
"category": "AWS Glue",
"contributor": "",
"description": "Add ConcurrentModificationException to create-table, delete-table, create-database, update-database, delete-database"
}
19 changes: 12 additions & 7 deletions services/glue/src/main/resources/codegen-resources/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,8 @@
{"shape":"ResourceNumberLimitExceededException"},
{"shape":"InternalServiceException"},
{"shape":"OperationTimeoutException"},
{"shape":"GlueEncryptionException"}
{"shape":"GlueEncryptionException"},
{"shape":"ConcurrentModificationException"}
],
"documentation":"<p>Creates a new database in a Data Catalog.</p>"
},
Expand Down Expand Up @@ -492,7 +493,8 @@
{"shape":"ResourceNumberLimitExceededException"},
{"shape":"InternalServiceException"},
{"shape":"OperationTimeoutException"},
{"shape":"GlueEncryptionException"}
{"shape":"GlueEncryptionException"},
{"shape":"ConcurrentModificationException"}
],
"documentation":"<p>Creates a new table definition in the Data Catalog.</p>"
},
Expand Down Expand Up @@ -643,7 +645,8 @@
{"shape":"EntityNotFoundException"},
{"shape":"InvalidInputException"},
{"shape":"InternalServiceException"},
{"shape":"OperationTimeoutException"}
{"shape":"OperationTimeoutException"},
{"shape":"ConcurrentModificationException"}
],
"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>"
},
Expand Down Expand Up @@ -821,7 +824,8 @@
{"shape":"EntityNotFoundException"},
{"shape":"InvalidInputException"},
{"shape":"InternalServiceException"},
{"shape":"OperationTimeoutException"}
{"shape":"OperationTimeoutException"},
{"shape":"ConcurrentModificationException"}
],
"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>"
},
Expand Down Expand Up @@ -2400,7 +2404,8 @@
{"shape":"InvalidInputException"},
{"shape":"InternalServiceException"},
{"shape":"OperationTimeoutException"},
{"shape":"GlueEncryptionException"}
{"shape":"GlueEncryptionException"},
{"shape":"ConcurrentModificationException"}
],
"documentation":"<p>Updates an existing database definition in a Data Catalog.</p>"
},
Expand Down Expand Up @@ -3892,7 +3897,7 @@
},
"ConnectionType":{
"shape":"ConnectionType",
"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>"
"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>"
},
"MatchCriteria":{
"shape":"MatchCriteria",
Expand Down Expand Up @@ -10068,7 +10073,7 @@
},
"EnableHybrid":{
"shape":"EnableHybridValues",
"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>"
"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>"
}
}
},
Expand Down

0 comments on commit 8698e9c

Please sign in to comment.