2727use AsyncAws \DynamoDb \Exception \RequestLimitExceededException ;
2828use AsyncAws \DynamoDb \Exception \ResourceInUseException ;
2929use AsyncAws \DynamoDb \Exception \ResourceNotFoundException ;
30+ use AsyncAws \DynamoDb \Exception \ThrottlingException ;
3031use AsyncAws \DynamoDb \Exception \TransactionCanceledException ;
3132use AsyncAws \DynamoDb \Exception \TransactionConflictException ;
3233use AsyncAws \DynamoDb \Exception \TransactionInProgressException ;
@@ -150,6 +151,7 @@ class DynamoDbClient extends AbstractApi
150151 * @throws ProvisionedThroughputExceededException
151152 * @throws RequestLimitExceededException
152153 * @throws ResourceNotFoundException
154+ * @throws ThrottlingException
153155 */
154156 public function batchGetItem ($ input ): BatchGetItemOutput
155157 {
@@ -159,6 +161,7 @@ public function batchGetItem($input): BatchGetItemOutput
159161 'ProvisionedThroughputExceededException ' => ProvisionedThroughputExceededException::class,
160162 'RequestLimitExceeded ' => RequestLimitExceededException::class,
161163 'ResourceNotFoundException ' => ResourceNotFoundException::class,
164+ 'ThrottlingException ' => ThrottlingException::class,
162165 ], 'usesEndpointDiscovery ' => true ]));
163166
164167 return new BatchGetItemOutput ($ response , $ this , $ input );
@@ -245,6 +248,7 @@ public function batchGetItem($input): BatchGetItemOutput
245248 * @throws ReplicatedWriteConflictException
246249 * @throws RequestLimitExceededException
247250 * @throws ResourceNotFoundException
251+ * @throws ThrottlingException
248252 */
249253 public function batchWriteItem ($ input ): BatchWriteItemOutput
250254 {
@@ -256,6 +260,7 @@ public function batchWriteItem($input): BatchWriteItemOutput
256260 'ReplicatedWriteConflictException ' => ReplicatedWriteConflictException::class,
257261 'RequestLimitExceeded ' => RequestLimitExceededException::class,
258262 'ResourceNotFoundException ' => ResourceNotFoundException::class,
263+ 'ThrottlingException ' => ThrottlingException::class,
259264 ], 'usesEndpointDiscovery ' => true ]));
260265
261266 return new BatchWriteItemOutput ($ response );
@@ -352,6 +357,7 @@ public function createTable($input): CreateTableOutput
352357 * @throws ReplicatedWriteConflictException
353358 * @throws RequestLimitExceededException
354359 * @throws ResourceNotFoundException
360+ * @throws ThrottlingException
355361 * @throws TransactionConflictException
356362 */
357363 public function deleteItem ($ input ): DeleteItemOutput
@@ -365,6 +371,7 @@ public function deleteItem($input): DeleteItemOutput
365371 'ReplicatedWriteConflictException ' => ReplicatedWriteConflictException::class,
366372 'RequestLimitExceeded ' => RequestLimitExceededException::class,
367373 'ResourceNotFoundException ' => ResourceNotFoundException::class,
374+ 'ThrottlingException ' => ThrottlingException::class,
368375 'TransactionConflictException ' => TransactionConflictException::class,
369376 ], 'usesEndpointDiscovery ' => true ]));
370377
@@ -502,6 +509,7 @@ public function describeTable($input): DescribeTableOutput
502509 * @throws ProvisionedThroughputExceededException
503510 * @throws RequestLimitExceededException
504511 * @throws ResourceNotFoundException
512+ * @throws ThrottlingException
505513 * @throws TransactionConflictException
506514 */
507515 public function executeStatement ($ input ): ExecuteStatementOutput
@@ -515,6 +523,7 @@ public function executeStatement($input): ExecuteStatementOutput
515523 'ProvisionedThroughputExceededException ' => ProvisionedThroughputExceededException::class,
516524 'RequestLimitExceeded ' => RequestLimitExceededException::class,
517525 'ResourceNotFoundException ' => ResourceNotFoundException::class,
526+ 'ThrottlingException ' => ThrottlingException::class,
518527 'TransactionConflictException ' => TransactionConflictException::class,
519528 ]]));
520529
@@ -547,6 +556,7 @@ public function executeStatement($input): ExecuteStatementOutput
547556 * @throws ProvisionedThroughputExceededException
548557 * @throws RequestLimitExceededException
549558 * @throws ResourceNotFoundException
559+ * @throws ThrottlingException
550560 */
551561 public function getItem ($ input ): GetItemOutput
552562 {
@@ -556,6 +566,7 @@ public function getItem($input): GetItemOutput
556566 'ProvisionedThroughputExceededException ' => ProvisionedThroughputExceededException::class,
557567 'RequestLimitExceeded ' => RequestLimitExceededException::class,
558568 'ResourceNotFoundException ' => ResourceNotFoundException::class,
569+ 'ThrottlingException ' => ThrottlingException::class,
559570 ], 'usesEndpointDiscovery ' => true ]));
560571
561572 return new GetItemOutput ($ response );
@@ -635,6 +646,7 @@ public function listTables($input = []): ListTablesOutput
635646 * @throws ReplicatedWriteConflictException
636647 * @throws RequestLimitExceededException
637648 * @throws ResourceNotFoundException
649+ * @throws ThrottlingException
638650 * @throws TransactionConflictException
639651 */
640652 public function putItem ($ input ): PutItemOutput
@@ -648,6 +660,7 @@ public function putItem($input): PutItemOutput
648660 'ReplicatedWriteConflictException ' => ReplicatedWriteConflictException::class,
649661 'RequestLimitExceeded ' => RequestLimitExceededException::class,
650662 'ResourceNotFoundException ' => ResourceNotFoundException::class,
663+ 'ThrottlingException ' => ThrottlingException::class,
651664 'TransactionConflictException ' => TransactionConflictException::class,
652665 ], 'usesEndpointDiscovery ' => true ]));
653666
@@ -724,6 +737,7 @@ public function putItem($input): PutItemOutput
724737 * @throws ProvisionedThroughputExceededException
725738 * @throws RequestLimitExceededException
726739 * @throws ResourceNotFoundException
740+ * @throws ThrottlingException
727741 */
728742 public function query ($ input ): QueryOutput
729743 {
@@ -733,6 +747,7 @@ public function query($input): QueryOutput
733747 'ProvisionedThroughputExceededException ' => ProvisionedThroughputExceededException::class,
734748 'RequestLimitExceeded ' => RequestLimitExceededException::class,
735749 'ResourceNotFoundException ' => ResourceNotFoundException::class,
750+ 'ThrottlingException ' => ThrottlingException::class,
736751 ], 'usesEndpointDiscovery ' => true ]));
737752
738753 return new QueryOutput ($ response , $ this , $ input );
@@ -801,6 +816,7 @@ public function query($input): QueryOutput
801816 * @throws ProvisionedThroughputExceededException
802817 * @throws RequestLimitExceededException
803818 * @throws ResourceNotFoundException
819+ * @throws ThrottlingException
804820 */
805821 public function scan ($ input ): ScanOutput
806822 {
@@ -810,6 +826,7 @@ public function scan($input): ScanOutput
810826 'ProvisionedThroughputExceededException ' => ProvisionedThroughputExceededException::class,
811827 'RequestLimitExceeded ' => RequestLimitExceededException::class,
812828 'ResourceNotFoundException ' => ResourceNotFoundException::class,
829+ 'ThrottlingException ' => ThrottlingException::class,
813830 ], 'usesEndpointDiscovery ' => true ]));
814831
815832 return new ScanOutput ($ response , $ this , $ input );
@@ -905,6 +922,7 @@ public function tableNotExists($input): TableNotExistsWaiter
905922 * @throws ProvisionedThroughputExceededException
906923 * @throws RequestLimitExceededException
907924 * @throws ResourceNotFoundException
925+ * @throws ThrottlingException
908926 * @throws TransactionCanceledException
909927 * @throws TransactionInProgressException
910928 */
@@ -917,6 +935,7 @@ public function transactWriteItems($input): TransactWriteItemsOutput
917935 'ProvisionedThroughputExceededException ' => ProvisionedThroughputExceededException::class,
918936 'RequestLimitExceeded ' => RequestLimitExceededException::class,
919937 'ResourceNotFoundException ' => ResourceNotFoundException::class,
938+ 'ThrottlingException ' => ThrottlingException::class,
920939 'TransactionCanceledException ' => TransactionCanceledException::class,
921940 'TransactionInProgressException ' => TransactionInProgressException::class,
922941 ], 'usesEndpointDiscovery ' => true ]));
@@ -960,6 +979,7 @@ public function transactWriteItems($input): TransactWriteItemsOutput
960979 * @throws ReplicatedWriteConflictException
961980 * @throws RequestLimitExceededException
962981 * @throws ResourceNotFoundException
982+ * @throws ThrottlingException
963983 * @throws TransactionConflictException
964984 */
965985 public function updateItem ($ input ): UpdateItemOutput
@@ -973,6 +993,7 @@ public function updateItem($input): UpdateItemOutput
973993 'ReplicatedWriteConflictException ' => ReplicatedWriteConflictException::class,
974994 'RequestLimitExceeded ' => RequestLimitExceededException::class,
975995 'ResourceNotFoundException ' => ResourceNotFoundException::class,
996+ 'ThrottlingException ' => ThrottlingException::class,
976997 'TransactionConflictException ' => TransactionConflictException::class,
977998 ], 'usesEndpointDiscovery ' => true ]));
978999
0 commit comments