27
27
use AsyncAws \DynamoDb \Exception \RequestLimitExceededException ;
28
28
use AsyncAws \DynamoDb \Exception \ResourceInUseException ;
29
29
use AsyncAws \DynamoDb \Exception \ResourceNotFoundException ;
30
+ use AsyncAws \DynamoDb \Exception \ThrottlingException ;
30
31
use AsyncAws \DynamoDb \Exception \TransactionCanceledException ;
31
32
use AsyncAws \DynamoDb \Exception \TransactionConflictException ;
32
33
use AsyncAws \DynamoDb \Exception \TransactionInProgressException ;
@@ -150,6 +151,7 @@ class DynamoDbClient extends AbstractApi
150
151
* @throws ProvisionedThroughputExceededException
151
152
* @throws RequestLimitExceededException
152
153
* @throws ResourceNotFoundException
154
+ * @throws ThrottlingException
153
155
*/
154
156
public function batchGetItem ($ input ): BatchGetItemOutput
155
157
{
@@ -159,6 +161,7 @@ public function batchGetItem($input): BatchGetItemOutput
159
161
'ProvisionedThroughputExceededException ' => ProvisionedThroughputExceededException::class,
160
162
'RequestLimitExceeded ' => RequestLimitExceededException::class,
161
163
'ResourceNotFoundException ' => ResourceNotFoundException::class,
164
+ 'ThrottlingException ' => ThrottlingException::class,
162
165
], 'usesEndpointDiscovery ' => true ]));
163
166
164
167
return new BatchGetItemOutput ($ response , $ this , $ input );
@@ -245,6 +248,7 @@ public function batchGetItem($input): BatchGetItemOutput
245
248
* @throws ReplicatedWriteConflictException
246
249
* @throws RequestLimitExceededException
247
250
* @throws ResourceNotFoundException
251
+ * @throws ThrottlingException
248
252
*/
249
253
public function batchWriteItem ($ input ): BatchWriteItemOutput
250
254
{
@@ -256,6 +260,7 @@ public function batchWriteItem($input): BatchWriteItemOutput
256
260
'ReplicatedWriteConflictException ' => ReplicatedWriteConflictException::class,
257
261
'RequestLimitExceeded ' => RequestLimitExceededException::class,
258
262
'ResourceNotFoundException ' => ResourceNotFoundException::class,
263
+ 'ThrottlingException ' => ThrottlingException::class,
259
264
], 'usesEndpointDiscovery ' => true ]));
260
265
261
266
return new BatchWriteItemOutput ($ response );
@@ -352,6 +357,7 @@ public function createTable($input): CreateTableOutput
352
357
* @throws ReplicatedWriteConflictException
353
358
* @throws RequestLimitExceededException
354
359
* @throws ResourceNotFoundException
360
+ * @throws ThrottlingException
355
361
* @throws TransactionConflictException
356
362
*/
357
363
public function deleteItem ($ input ): DeleteItemOutput
@@ -365,6 +371,7 @@ public function deleteItem($input): DeleteItemOutput
365
371
'ReplicatedWriteConflictException ' => ReplicatedWriteConflictException::class,
366
372
'RequestLimitExceeded ' => RequestLimitExceededException::class,
367
373
'ResourceNotFoundException ' => ResourceNotFoundException::class,
374
+ 'ThrottlingException ' => ThrottlingException::class,
368
375
'TransactionConflictException ' => TransactionConflictException::class,
369
376
], 'usesEndpointDiscovery ' => true ]));
370
377
@@ -502,6 +509,7 @@ public function describeTable($input): DescribeTableOutput
502
509
* @throws ProvisionedThroughputExceededException
503
510
* @throws RequestLimitExceededException
504
511
* @throws ResourceNotFoundException
512
+ * @throws ThrottlingException
505
513
* @throws TransactionConflictException
506
514
*/
507
515
public function executeStatement ($ input ): ExecuteStatementOutput
@@ -515,6 +523,7 @@ public function executeStatement($input): ExecuteStatementOutput
515
523
'ProvisionedThroughputExceededException ' => ProvisionedThroughputExceededException::class,
516
524
'RequestLimitExceeded ' => RequestLimitExceededException::class,
517
525
'ResourceNotFoundException ' => ResourceNotFoundException::class,
526
+ 'ThrottlingException ' => ThrottlingException::class,
518
527
'TransactionConflictException ' => TransactionConflictException::class,
519
528
]]));
520
529
@@ -547,6 +556,7 @@ public function executeStatement($input): ExecuteStatementOutput
547
556
* @throws ProvisionedThroughputExceededException
548
557
* @throws RequestLimitExceededException
549
558
* @throws ResourceNotFoundException
559
+ * @throws ThrottlingException
550
560
*/
551
561
public function getItem ($ input ): GetItemOutput
552
562
{
@@ -556,6 +566,7 @@ public function getItem($input): GetItemOutput
556
566
'ProvisionedThroughputExceededException ' => ProvisionedThroughputExceededException::class,
557
567
'RequestLimitExceeded ' => RequestLimitExceededException::class,
558
568
'ResourceNotFoundException ' => ResourceNotFoundException::class,
569
+ 'ThrottlingException ' => ThrottlingException::class,
559
570
], 'usesEndpointDiscovery ' => true ]));
560
571
561
572
return new GetItemOutput ($ response );
@@ -635,6 +646,7 @@ public function listTables($input = []): ListTablesOutput
635
646
* @throws ReplicatedWriteConflictException
636
647
* @throws RequestLimitExceededException
637
648
* @throws ResourceNotFoundException
649
+ * @throws ThrottlingException
638
650
* @throws TransactionConflictException
639
651
*/
640
652
public function putItem ($ input ): PutItemOutput
@@ -648,6 +660,7 @@ public function putItem($input): PutItemOutput
648
660
'ReplicatedWriteConflictException ' => ReplicatedWriteConflictException::class,
649
661
'RequestLimitExceeded ' => RequestLimitExceededException::class,
650
662
'ResourceNotFoundException ' => ResourceNotFoundException::class,
663
+ 'ThrottlingException ' => ThrottlingException::class,
651
664
'TransactionConflictException ' => TransactionConflictException::class,
652
665
], 'usesEndpointDiscovery ' => true ]));
653
666
@@ -724,6 +737,7 @@ public function putItem($input): PutItemOutput
724
737
* @throws ProvisionedThroughputExceededException
725
738
* @throws RequestLimitExceededException
726
739
* @throws ResourceNotFoundException
740
+ * @throws ThrottlingException
727
741
*/
728
742
public function query ($ input ): QueryOutput
729
743
{
@@ -733,6 +747,7 @@ public function query($input): QueryOutput
733
747
'ProvisionedThroughputExceededException ' => ProvisionedThroughputExceededException::class,
734
748
'RequestLimitExceeded ' => RequestLimitExceededException::class,
735
749
'ResourceNotFoundException ' => ResourceNotFoundException::class,
750
+ 'ThrottlingException ' => ThrottlingException::class,
736
751
], 'usesEndpointDiscovery ' => true ]));
737
752
738
753
return new QueryOutput ($ response , $ this , $ input );
@@ -801,6 +816,7 @@ public function query($input): QueryOutput
801
816
* @throws ProvisionedThroughputExceededException
802
817
* @throws RequestLimitExceededException
803
818
* @throws ResourceNotFoundException
819
+ * @throws ThrottlingException
804
820
*/
805
821
public function scan ($ input ): ScanOutput
806
822
{
@@ -810,6 +826,7 @@ public function scan($input): ScanOutput
810
826
'ProvisionedThroughputExceededException ' => ProvisionedThroughputExceededException::class,
811
827
'RequestLimitExceeded ' => RequestLimitExceededException::class,
812
828
'ResourceNotFoundException ' => ResourceNotFoundException::class,
829
+ 'ThrottlingException ' => ThrottlingException::class,
813
830
], 'usesEndpointDiscovery ' => true ]));
814
831
815
832
return new ScanOutput ($ response , $ this , $ input );
@@ -905,6 +922,7 @@ public function tableNotExists($input): TableNotExistsWaiter
905
922
* @throws ProvisionedThroughputExceededException
906
923
* @throws RequestLimitExceededException
907
924
* @throws ResourceNotFoundException
925
+ * @throws ThrottlingException
908
926
* @throws TransactionCanceledException
909
927
* @throws TransactionInProgressException
910
928
*/
@@ -917,6 +935,7 @@ public function transactWriteItems($input): TransactWriteItemsOutput
917
935
'ProvisionedThroughputExceededException ' => ProvisionedThroughputExceededException::class,
918
936
'RequestLimitExceeded ' => RequestLimitExceededException::class,
919
937
'ResourceNotFoundException ' => ResourceNotFoundException::class,
938
+ 'ThrottlingException ' => ThrottlingException::class,
920
939
'TransactionCanceledException ' => TransactionCanceledException::class,
921
940
'TransactionInProgressException ' => TransactionInProgressException::class,
922
941
], 'usesEndpointDiscovery ' => true ]));
@@ -960,6 +979,7 @@ public function transactWriteItems($input): TransactWriteItemsOutput
960
979
* @throws ReplicatedWriteConflictException
961
980
* @throws RequestLimitExceededException
962
981
* @throws ResourceNotFoundException
982
+ * @throws ThrottlingException
963
983
* @throws TransactionConflictException
964
984
*/
965
985
public function updateItem ($ input ): UpdateItemOutput
@@ -973,6 +993,7 @@ public function updateItem($input): UpdateItemOutput
973
993
'ReplicatedWriteConflictException ' => ReplicatedWriteConflictException::class,
974
994
'RequestLimitExceeded ' => RequestLimitExceededException::class,
975
995
'ResourceNotFoundException ' => ResourceNotFoundException::class,
996
+ 'ThrottlingException ' => ThrottlingException::class,
976
997
'TransactionConflictException ' => TransactionConflictException::class,
977
998
], 'usesEndpointDiscovery ' => true ]));
978
999
0 commit comments