17
17
use AsyncAws \RdsDataService \Exception \ForbiddenException ;
18
18
use AsyncAws \RdsDataService \Exception \HttpEndpointNotEnabledException ;
19
19
use AsyncAws \RdsDataService \Exception \InternalServerErrorException ;
20
+ use AsyncAws \RdsDataService \Exception \InvalidResourceStateException ;
20
21
use AsyncAws \RdsDataService \Exception \InvalidSecretException ;
21
22
use AsyncAws \RdsDataService \Exception \NotFoundException ;
22
23
use AsyncAws \RdsDataService \Exception \SecretsErrorException ;
@@ -77,6 +78,7 @@ class RdsDataServiceClient extends AbstractApi
77
78
* @throws DatabaseUnavailableException
78
79
* @throws TransactionNotFoundException
79
80
* @throws InvalidSecretException
81
+ * @throws InvalidResourceStateException
80
82
* @throws ServiceUnavailableErrorException
81
83
* @throws ForbiddenException
82
84
* @throws DatabaseNotFoundException
@@ -96,6 +98,7 @@ public function batchExecuteStatement($input): BatchExecuteStatementResponse
96
98
'DatabaseUnavailableException ' => DatabaseUnavailableException::class,
97
99
'TransactionNotFoundException ' => TransactionNotFoundException::class,
98
100
'InvalidSecretException ' => InvalidSecretException::class,
101
+ 'InvalidResourceStateException ' => InvalidResourceStateException::class,
99
102
'ServiceUnavailableError ' => ServiceUnavailableErrorException::class,
100
103
'ForbiddenException ' => ForbiddenException::class,
101
104
'DatabaseNotFoundException ' => DatabaseNotFoundException::class,
@@ -138,6 +141,7 @@ public function batchExecuteStatement($input): BatchExecuteStatementResponse
138
141
* @throws DatabaseUnavailableException
139
142
* @throws TransactionNotFoundException
140
143
* @throws InvalidSecretException
144
+ * @throws InvalidResourceStateException
141
145
* @throws ServiceUnavailableErrorException
142
146
* @throws ForbiddenException
143
147
* @throws DatabaseNotFoundException
@@ -157,6 +161,7 @@ public function beginTransaction($input): BeginTransactionResponse
157
161
'DatabaseUnavailableException ' => DatabaseUnavailableException::class,
158
162
'TransactionNotFoundException ' => TransactionNotFoundException::class,
159
163
'InvalidSecretException ' => InvalidSecretException::class,
164
+ 'InvalidResourceStateException ' => InvalidResourceStateException::class,
160
165
'ServiceUnavailableError ' => ServiceUnavailableErrorException::class,
161
166
'ForbiddenException ' => ForbiddenException::class,
162
167
'DatabaseNotFoundException ' => DatabaseNotFoundException::class,
@@ -188,6 +193,7 @@ public function beginTransaction($input): BeginTransactionResponse
188
193
* @throws DatabaseUnavailableException
189
194
* @throws TransactionNotFoundException
190
195
* @throws InvalidSecretException
196
+ * @throws InvalidResourceStateException
191
197
* @throws ServiceUnavailableErrorException
192
198
* @throws ForbiddenException
193
199
* @throws DatabaseNotFoundException
@@ -207,6 +213,7 @@ public function commitTransaction($input): CommitTransactionResponse
207
213
'DatabaseUnavailableException ' => DatabaseUnavailableException::class,
208
214
'TransactionNotFoundException ' => TransactionNotFoundException::class,
209
215
'InvalidSecretException ' => InvalidSecretException::class,
216
+ 'InvalidResourceStateException ' => InvalidResourceStateException::class,
210
217
'ServiceUnavailableError ' => ServiceUnavailableErrorException::class,
211
218
'ForbiddenException ' => ForbiddenException::class,
212
219
'DatabaseNotFoundException ' => DatabaseNotFoundException::class,
@@ -253,6 +260,7 @@ public function commitTransaction($input): CommitTransactionResponse
253
260
* @throws DatabaseUnavailableException
254
261
* @throws TransactionNotFoundException
255
262
* @throws InvalidSecretException
263
+ * @throws InvalidResourceStateException
256
264
* @throws ServiceUnavailableErrorException
257
265
* @throws ForbiddenException
258
266
* @throws DatabaseNotFoundException
@@ -273,6 +281,7 @@ public function executeStatement($input): ExecuteStatementResponse
273
281
'DatabaseUnavailableException ' => DatabaseUnavailableException::class,
274
282
'TransactionNotFoundException ' => TransactionNotFoundException::class,
275
283
'InvalidSecretException ' => InvalidSecretException::class,
284
+ 'InvalidResourceStateException ' => InvalidResourceStateException::class,
276
285
'ServiceUnavailableError ' => ServiceUnavailableErrorException::class,
277
286
'ForbiddenException ' => ForbiddenException::class,
278
287
'DatabaseNotFoundException ' => DatabaseNotFoundException::class,
@@ -305,6 +314,7 @@ public function executeStatement($input): ExecuteStatementResponse
305
314
* @throws DatabaseUnavailableException
306
315
* @throws TransactionNotFoundException
307
316
* @throws InvalidSecretException
317
+ * @throws InvalidResourceStateException
308
318
* @throws ServiceUnavailableErrorException
309
319
* @throws ForbiddenException
310
320
* @throws DatabaseNotFoundException
@@ -324,6 +334,7 @@ public function rollbackTransaction($input): RollbackTransactionResponse
324
334
'DatabaseUnavailableException ' => DatabaseUnavailableException::class,
325
335
'TransactionNotFoundException ' => TransactionNotFoundException::class,
326
336
'InvalidSecretException ' => InvalidSecretException::class,
337
+ 'InvalidResourceStateException ' => InvalidResourceStateException::class,
327
338
'ServiceUnavailableError ' => ServiceUnavailableErrorException::class,
328
339
'ForbiddenException ' => ForbiddenException::class,
329
340
'DatabaseNotFoundException ' => DatabaseNotFoundException::class,
0 commit comments