1212use AsyncAws \RdsDataService \Exception \BadRequestException ;
1313use AsyncAws \RdsDataService \Exception \DatabaseErrorException ;
1414use AsyncAws \RdsDataService \Exception \DatabaseNotFoundException ;
15+ use AsyncAws \RdsDataService \Exception \DatabaseResumingException ;
1516use AsyncAws \RdsDataService \Exception \DatabaseUnavailableException ;
1617use AsyncAws \RdsDataService \Exception \ForbiddenException ;
1718use AsyncAws \RdsDataService \Exception \HttpEndpointNotEnabledException ;
@@ -72,6 +73,7 @@ class RdsDataServiceClient extends AbstractApi
7273 * @throws SecretsErrorException
7374 * @throws HttpEndpointNotEnabledException
7475 * @throws DatabaseErrorException
76+ * @throws DatabaseResumingException
7577 * @throws DatabaseUnavailableException
7678 * @throws TransactionNotFoundException
7779 * @throws InvalidSecretException
@@ -90,6 +92,7 @@ public function batchExecuteStatement($input): BatchExecuteStatementResponse
9092 'SecretsErrorException ' => SecretsErrorException::class,
9193 'HttpEndpointNotEnabledException ' => HttpEndpointNotEnabledException::class,
9294 'DatabaseErrorException ' => DatabaseErrorException::class,
95+ 'DatabaseResumingException ' => DatabaseResumingException::class,
9396 'DatabaseUnavailableException ' => DatabaseUnavailableException::class,
9497 'TransactionNotFoundException ' => TransactionNotFoundException::class,
9598 'InvalidSecretException ' => InvalidSecretException::class,
@@ -131,6 +134,7 @@ public function batchExecuteStatement($input): BatchExecuteStatementResponse
131134 * @throws SecretsErrorException
132135 * @throws HttpEndpointNotEnabledException
133136 * @throws DatabaseErrorException
137+ * @throws DatabaseResumingException
134138 * @throws DatabaseUnavailableException
135139 * @throws TransactionNotFoundException
136140 * @throws InvalidSecretException
@@ -149,6 +153,7 @@ public function beginTransaction($input): BeginTransactionResponse
149153 'SecretsErrorException ' => SecretsErrorException::class,
150154 'HttpEndpointNotEnabledException ' => HttpEndpointNotEnabledException::class,
151155 'DatabaseErrorException ' => DatabaseErrorException::class,
156+ 'DatabaseResumingException ' => DatabaseResumingException::class,
152157 'DatabaseUnavailableException ' => DatabaseUnavailableException::class,
153158 'TransactionNotFoundException ' => TransactionNotFoundException::class,
154159 'InvalidSecretException ' => InvalidSecretException::class,
@@ -244,6 +249,7 @@ public function commitTransaction($input): CommitTransactionResponse
244249 * @throws SecretsErrorException
245250 * @throws HttpEndpointNotEnabledException
246251 * @throws DatabaseErrorException
252+ * @throws DatabaseResumingException
247253 * @throws DatabaseUnavailableException
248254 * @throws TransactionNotFoundException
249255 * @throws InvalidSecretException
@@ -263,6 +269,7 @@ public function executeStatement($input): ExecuteStatementResponse
263269 'SecretsErrorException ' => SecretsErrorException::class,
264270 'HttpEndpointNotEnabledException ' => HttpEndpointNotEnabledException::class,
265271 'DatabaseErrorException ' => DatabaseErrorException::class,
272+ 'DatabaseResumingException ' => DatabaseResumingException::class,
266273 'DatabaseUnavailableException ' => DatabaseUnavailableException::class,
267274 'TransactionNotFoundException ' => TransactionNotFoundException::class,
268275 'InvalidSecretException ' => InvalidSecretException::class,
0 commit comments