1717use AsyncAws \RdsDataService \Exception \ForbiddenException ;
1818use AsyncAws \RdsDataService \Exception \HttpEndpointNotEnabledException ;
1919use AsyncAws \RdsDataService \Exception \InternalServerErrorException ;
20+ use AsyncAws \RdsDataService \Exception \InvalidResourceStateException ;
2021use AsyncAws \RdsDataService \Exception \InvalidSecretException ;
2122use AsyncAws \RdsDataService \Exception \NotFoundException ;
2223use AsyncAws \RdsDataService \Exception \SecretsErrorException ;
@@ -77,6 +78,7 @@ class RdsDataServiceClient extends AbstractApi
7778 * @throws DatabaseUnavailableException
7879 * @throws TransactionNotFoundException
7980 * @throws InvalidSecretException
81+ * @throws InvalidResourceStateException
8082 * @throws ServiceUnavailableErrorException
8183 * @throws ForbiddenException
8284 * @throws DatabaseNotFoundException
@@ -96,6 +98,7 @@ public function batchExecuteStatement($input): BatchExecuteStatementResponse
9698 'DatabaseUnavailableException ' => DatabaseUnavailableException::class,
9799 'TransactionNotFoundException ' => TransactionNotFoundException::class,
98100 'InvalidSecretException ' => InvalidSecretException::class,
101+ 'InvalidResourceStateException ' => InvalidResourceStateException::class,
99102 'ServiceUnavailableError ' => ServiceUnavailableErrorException::class,
100103 'ForbiddenException ' => ForbiddenException::class,
101104 'DatabaseNotFoundException ' => DatabaseNotFoundException::class,
@@ -138,6 +141,7 @@ public function batchExecuteStatement($input): BatchExecuteStatementResponse
138141 * @throws DatabaseUnavailableException
139142 * @throws TransactionNotFoundException
140143 * @throws InvalidSecretException
144+ * @throws InvalidResourceStateException
141145 * @throws ServiceUnavailableErrorException
142146 * @throws ForbiddenException
143147 * @throws DatabaseNotFoundException
@@ -157,6 +161,7 @@ public function beginTransaction($input): BeginTransactionResponse
157161 'DatabaseUnavailableException ' => DatabaseUnavailableException::class,
158162 'TransactionNotFoundException ' => TransactionNotFoundException::class,
159163 'InvalidSecretException ' => InvalidSecretException::class,
164+ 'InvalidResourceStateException ' => InvalidResourceStateException::class,
160165 'ServiceUnavailableError ' => ServiceUnavailableErrorException::class,
161166 'ForbiddenException ' => ForbiddenException::class,
162167 'DatabaseNotFoundException ' => DatabaseNotFoundException::class,
@@ -188,6 +193,7 @@ public function beginTransaction($input): BeginTransactionResponse
188193 * @throws DatabaseUnavailableException
189194 * @throws TransactionNotFoundException
190195 * @throws InvalidSecretException
196+ * @throws InvalidResourceStateException
191197 * @throws ServiceUnavailableErrorException
192198 * @throws ForbiddenException
193199 * @throws DatabaseNotFoundException
@@ -207,6 +213,7 @@ public function commitTransaction($input): CommitTransactionResponse
207213 'DatabaseUnavailableException ' => DatabaseUnavailableException::class,
208214 'TransactionNotFoundException ' => TransactionNotFoundException::class,
209215 'InvalidSecretException ' => InvalidSecretException::class,
216+ 'InvalidResourceStateException ' => InvalidResourceStateException::class,
210217 'ServiceUnavailableError ' => ServiceUnavailableErrorException::class,
211218 'ForbiddenException ' => ForbiddenException::class,
212219 'DatabaseNotFoundException ' => DatabaseNotFoundException::class,
@@ -253,6 +260,7 @@ public function commitTransaction($input): CommitTransactionResponse
253260 * @throws DatabaseUnavailableException
254261 * @throws TransactionNotFoundException
255262 * @throws InvalidSecretException
263+ * @throws InvalidResourceStateException
256264 * @throws ServiceUnavailableErrorException
257265 * @throws ForbiddenException
258266 * @throws DatabaseNotFoundException
@@ -273,6 +281,7 @@ public function executeStatement($input): ExecuteStatementResponse
273281 'DatabaseUnavailableException ' => DatabaseUnavailableException::class,
274282 'TransactionNotFoundException ' => TransactionNotFoundException::class,
275283 'InvalidSecretException ' => InvalidSecretException::class,
284+ 'InvalidResourceStateException ' => InvalidResourceStateException::class,
276285 'ServiceUnavailableError ' => ServiceUnavailableErrorException::class,
277286 'ForbiddenException ' => ForbiddenException::class,
278287 'DatabaseNotFoundException ' => DatabaseNotFoundException::class,
@@ -305,6 +314,7 @@ public function executeStatement($input): ExecuteStatementResponse
305314 * @throws DatabaseUnavailableException
306315 * @throws TransactionNotFoundException
307316 * @throws InvalidSecretException
317+ * @throws InvalidResourceStateException
308318 * @throws ServiceUnavailableErrorException
309319 * @throws ForbiddenException
310320 * @throws DatabaseNotFoundException
@@ -324,6 +334,7 @@ public function rollbackTransaction($input): RollbackTransactionResponse
324334 'DatabaseUnavailableException ' => DatabaseUnavailableException::class,
325335 'TransactionNotFoundException ' => TransactionNotFoundException::class,
326336 'InvalidSecretException ' => InvalidSecretException::class,
337+ 'InvalidResourceStateException ' => InvalidResourceStateException::class,
327338 'ServiceUnavailableError ' => ServiceUnavailableErrorException::class,
328339 'ForbiddenException ' => ForbiddenException::class,
329340 'DatabaseNotFoundException ' => DatabaseNotFoundException::class,
0 commit comments