@aws-sdk/client-dynamodb 3.51.0 → 3.54.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -6,7 +6,7 @@ import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-s
6
6
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
7
7
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
8
8
  import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
9
- import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
+ import { BodyLengthCalculator as __BodyLengthCalculator, Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
10
10
  import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
11
11
  import { BatchGetItemCommandInput, BatchGetItemCommandOutput } from "./commands/BatchGetItemCommand";
12
12
  import { BatchWriteItemCommandInput, BatchWriteItemCommandOutput } from "./commands/BatchWriteItemCommand";
@@ -67,7 +67,7 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
67
67
 
68
68
  urlParser?: __UrlParser;
69
69
 
70
- bodyLengthChecker?: (body: any) => number | undefined;
70
+ bodyLengthChecker?: __BodyLengthCalculator;
71
71
 
72
72
  streamCollector?: __StreamCollector;
73
73
 
@@ -4,3 +4,4 @@ export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
6
  export * from "./waiters";
7
+ export { DynamoDBServiceException } from "./models/DynamoDBServiceException";
@@ -0,0 +1,6 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+
3
+ export declare class DynamoDBServiceException extends __ServiceException {
4
+
5
+ constructor(options: __ServiceExceptionOptions);
6
+ }
@@ -1,4 +1,5 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { DynamoDBServiceException as __BaseException } from "./DynamoDBServiceException";
2
3
 
3
4
  export interface ArchivalSummary {
4
5
 
@@ -299,16 +300,18 @@ export declare namespace BackupDescription {
299
300
  const filterSensitiveLog: (obj: BackupDescription) => any;
300
301
  }
301
302
 
302
- export interface BackupInUseException extends __SmithyException, $MetadataBearer {
303
- name: "BackupInUseException";
304
- $fault: "client";
305
- message?: string;
303
+ export declare class BackupInUseException extends __BaseException {
304
+ readonly name: "BackupInUseException";
305
+ readonly $fault: "client";
306
+
307
+ constructor(opts: __ExceptionOptionType<BackupInUseException, __BaseException>);
306
308
  }
307
309
 
308
- export interface BackupNotFoundException extends __SmithyException, $MetadataBearer {
309
- name: "BackupNotFoundException";
310
- $fault: "client";
311
- message?: string;
310
+ export declare class BackupNotFoundException extends __BaseException {
311
+ readonly name: "BackupNotFoundException";
312
+ readonly $fault: "client";
313
+
314
+ constructor(opts: __ExceptionOptionType<BackupNotFoundException, __BaseException>);
312
315
  }
313
316
 
314
317
  export interface BackupSummary {
@@ -407,44 +410,47 @@ export declare namespace BatchStatementError {
407
410
  const filterSensitiveLog: (obj: BatchStatementError) => any;
408
411
  }
409
412
 
410
- export interface InternalServerError extends __SmithyException, $MetadataBearer {
411
- name: "InternalServerError";
412
- $fault: "server";
413
+ export declare class InternalServerError extends __BaseException {
414
+ readonly name: "InternalServerError";
415
+ readonly $fault: "server";
413
416
 
414
- message?: string;
417
+ constructor(opts: __ExceptionOptionType<InternalServerError, __BaseException>);
415
418
  }
416
419
 
417
- export interface RequestLimitExceeded extends __SmithyException, $MetadataBearer {
418
- name: "RequestLimitExceeded";
419
- $fault: "client";
420
- message?: string;
420
+ export declare class RequestLimitExceeded extends __BaseException {
421
+ readonly name: "RequestLimitExceeded";
422
+ readonly $fault: "client";
423
+
424
+ constructor(opts: __ExceptionOptionType<RequestLimitExceeded, __BaseException>);
421
425
  }
422
- export interface InvalidEndpointException extends __SmithyException, $MetadataBearer {
423
- name: "InvalidEndpointException";
424
- $fault: "client";
426
+ export declare class InvalidEndpointException extends __BaseException {
427
+ readonly name: "InvalidEndpointException";
428
+ readonly $fault: "client";
425
429
  Message?: string;
430
+
431
+ constructor(opts: __ExceptionOptionType<InvalidEndpointException, __BaseException>);
426
432
  }
427
433
 
428
- export interface ProvisionedThroughputExceededException extends __SmithyException, $MetadataBearer {
429
- name: "ProvisionedThroughputExceededException";
430
- $fault: "client";
434
+ export declare class ProvisionedThroughputExceededException extends __BaseException {
435
+ readonly name: "ProvisionedThroughputExceededException";
436
+ readonly $fault: "client";
431
437
 
432
- message?: string;
438
+ constructor(opts: __ExceptionOptionType<ProvisionedThroughputExceededException, __BaseException>);
433
439
  }
434
440
 
435
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
436
- name: "ResourceNotFoundException";
437
- $fault: "client";
441
+ export declare class ResourceNotFoundException extends __BaseException {
442
+ readonly name: "ResourceNotFoundException";
443
+ readonly $fault: "client";
438
444
 
439
- message?: string;
445
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
440
446
  }
441
447
  export declare type ReturnItemCollectionMetrics = "NONE" | "SIZE";
442
448
 
443
- export interface ItemCollectionSizeLimitExceededException extends __SmithyException, $MetadataBearer {
444
- name: "ItemCollectionSizeLimitExceededException";
445
- $fault: "client";
449
+ export declare class ItemCollectionSizeLimitExceededException extends __BaseException {
450
+ readonly name: "ItemCollectionSizeLimitExceededException";
451
+ readonly $fault: "client";
446
452
 
447
- message?: string;
453
+ constructor(opts: __ExceptionOptionType<ItemCollectionSizeLimitExceededException, __BaseException>);
448
454
  }
449
455
 
450
456
  export interface BillingModeSummary {
@@ -459,11 +465,11 @@ export declare namespace BillingModeSummary {
459
465
  }
460
466
  export declare type ComparisonOperator = "BEGINS_WITH" | "BETWEEN" | "CONTAINS" | "EQ" | "GE" | "GT" | "IN" | "LE" | "LT" | "NE" | "NOT_CONTAINS" | "NOT_NULL" | "NULL";
461
467
 
462
- export interface ConditionalCheckFailedException extends __SmithyException, $MetadataBearer {
463
- name: "ConditionalCheckFailedException";
464
- $fault: "client";
468
+ export declare class ConditionalCheckFailedException extends __BaseException {
469
+ readonly name: "ConditionalCheckFailedException";
470
+ readonly $fault: "client";
465
471
 
466
- message?: string;
472
+ constructor(opts: __ExceptionOptionType<ConditionalCheckFailedException, __BaseException>);
467
473
  }
468
474
  export declare type ConditionalOperator = "AND" | "OR";
469
475
  export declare type ReturnValuesOnConditionCheckFailure = "ALL_OLD" | "NONE";
@@ -494,10 +500,11 @@ export declare namespace ContinuousBackupsDescription {
494
500
  const filterSensitiveLog: (obj: ContinuousBackupsDescription) => any;
495
501
  }
496
502
 
497
- export interface ContinuousBackupsUnavailableException extends __SmithyException, $MetadataBearer {
498
- name: "ContinuousBackupsUnavailableException";
499
- $fault: "client";
500
- message?: string;
503
+ export declare class ContinuousBackupsUnavailableException extends __BaseException {
504
+ readonly name: "ContinuousBackupsUnavailableException";
505
+ readonly $fault: "client";
506
+
507
+ constructor(opts: __ExceptionOptionType<ContinuousBackupsUnavailableException, __BaseException>);
501
508
  }
502
509
  export declare type ContributorInsightsAction = "DISABLE" | "ENABLE";
503
510
  export declare type ContributorInsightsStatus = "DISABLED" | "DISABLING" | "ENABLED" | "ENABLING" | "FAILED";
@@ -533,23 +540,25 @@ export declare namespace CreateBackupOutput {
533
540
  const filterSensitiveLog: (obj: CreateBackupOutput) => any;
534
541
  }
535
542
 
536
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
537
- name: "LimitExceededException";
538
- $fault: "client";
543
+ export declare class LimitExceededException extends __BaseException {
544
+ readonly name: "LimitExceededException";
545
+ readonly $fault: "client";
539
546
 
540
- message?: string;
547
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
541
548
  }
542
549
 
543
- export interface TableInUseException extends __SmithyException, $MetadataBearer {
544
- name: "TableInUseException";
545
- $fault: "client";
546
- message?: string;
550
+ export declare class TableInUseException extends __BaseException {
551
+ readonly name: "TableInUseException";
552
+ readonly $fault: "client";
553
+
554
+ constructor(opts: __ExceptionOptionType<TableInUseException, __BaseException>);
547
555
  }
548
556
 
549
- export interface TableNotFoundException extends __SmithyException, $MetadataBearer {
550
- name: "TableNotFoundException";
551
- $fault: "client";
552
- message?: string;
557
+ export declare class TableNotFoundException extends __BaseException {
558
+ readonly name: "TableNotFoundException";
559
+ readonly $fault: "client";
560
+
561
+ constructor(opts: __ExceptionOptionType<TableNotFoundException, __BaseException>);
553
562
  }
554
563
 
555
564
  export interface CreateGlobalSecondaryIndexAction {
@@ -673,10 +682,11 @@ export declare namespace CreateGlobalTableOutput {
673
682
  const filterSensitiveLog: (obj: CreateGlobalTableOutput) => any;
674
683
  }
675
684
 
676
- export interface GlobalTableAlreadyExistsException extends __SmithyException, $MetadataBearer {
677
- name: "GlobalTableAlreadyExistsException";
678
- $fault: "client";
679
- message?: string;
685
+ export declare class GlobalTableAlreadyExistsException extends __BaseException {
686
+ readonly name: "GlobalTableAlreadyExistsException";
687
+ readonly $fault: "client";
688
+
689
+ constructor(opts: __ExceptionOptionType<GlobalTableAlreadyExistsException, __BaseException>);
680
690
  }
681
691
 
682
692
  export interface CreateReplicaAction {
@@ -935,11 +945,11 @@ export declare namespace CreateTableOutput {
935
945
  const filterSensitiveLog: (obj: CreateTableOutput) => any;
936
946
  }
937
947
 
938
- export interface ResourceInUseException extends __SmithyException, $MetadataBearer {
939
- name: "ResourceInUseException";
940
- $fault: "client";
948
+ export declare class ResourceInUseException extends __BaseException {
949
+ readonly name: "ResourceInUseException";
950
+ readonly $fault: "client";
941
951
 
942
- message?: string;
952
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
943
953
  }
944
954
  export interface DeleteBackupInput {
945
955
 
@@ -968,10 +978,11 @@ export declare namespace DeleteGlobalSecondaryIndexAction {
968
978
  }
969
979
  export declare type ReturnValue = "ALL_NEW" | "ALL_OLD" | "NONE" | "UPDATED_NEW" | "UPDATED_OLD";
970
980
 
971
- export interface TransactionConflictException extends __SmithyException, $MetadataBearer {
972
- name: "TransactionConflictException";
973
- $fault: "client";
974
- message?: string;
981
+ export declare class TransactionConflictException extends __BaseException {
982
+ readonly name: "TransactionConflictException";
983
+ readonly $fault: "client";
984
+
985
+ constructor(opts: __ExceptionOptionType<TransactionConflictException, __BaseException>);
975
986
  }
976
987
 
977
988
  export interface DeleteReplicaAction {
@@ -1177,10 +1188,11 @@ export declare namespace DescribeExportOutput {
1177
1188
  const filterSensitiveLog: (obj: DescribeExportOutput) => any;
1178
1189
  }
1179
1190
 
1180
- export interface ExportNotFoundException extends __SmithyException, $MetadataBearer {
1181
- name: "ExportNotFoundException";
1182
- $fault: "client";
1183
- message?: string;
1191
+ export declare class ExportNotFoundException extends __BaseException {
1192
+ readonly name: "ExportNotFoundException";
1193
+ readonly $fault: "client";
1194
+
1195
+ constructor(opts: __ExceptionOptionType<ExportNotFoundException, __BaseException>);
1184
1196
  }
1185
1197
  export interface DescribeGlobalTableInput {
1186
1198
 
@@ -1199,10 +1211,11 @@ export declare namespace DescribeGlobalTableOutput {
1199
1211
  const filterSensitiveLog: (obj: DescribeGlobalTableOutput) => any;
1200
1212
  }
1201
1213
 
1202
- export interface GlobalTableNotFoundException extends __SmithyException, $MetadataBearer {
1203
- name: "GlobalTableNotFoundException";
1204
- $fault: "client";
1205
- message?: string;
1214
+ export declare class GlobalTableNotFoundException extends __BaseException {
1215
+ readonly name: "GlobalTableNotFoundException";
1216
+ readonly $fault: "client";
1217
+
1218
+ constructor(opts: __ExceptionOptionType<GlobalTableNotFoundException, __BaseException>);
1206
1219
  }
1207
1220
  export interface DescribeGlobalTableSettingsInput {
1208
1221
 
@@ -1438,28 +1451,34 @@ export declare namespace KinesisStreamingDestinationOutput {
1438
1451
  const filterSensitiveLog: (obj: KinesisStreamingDestinationOutput) => any;
1439
1452
  }
1440
1453
 
1441
- export interface DuplicateItemException extends __SmithyException, $MetadataBearer {
1442
- name: "DuplicateItemException";
1443
- $fault: "client";
1444
- message?: string;
1454
+ export declare class DuplicateItemException extends __BaseException {
1455
+ readonly name: "DuplicateItemException";
1456
+ readonly $fault: "client";
1457
+
1458
+ constructor(opts: __ExceptionOptionType<DuplicateItemException, __BaseException>);
1445
1459
  }
1446
1460
 
1447
- export interface IdempotentParameterMismatchException extends __SmithyException, $MetadataBearer {
1448
- name: "IdempotentParameterMismatchException";
1449
- $fault: "client";
1461
+ export declare class IdempotentParameterMismatchException extends __BaseException {
1462
+ readonly name: "IdempotentParameterMismatchException";
1463
+ readonly $fault: "client";
1450
1464
  Message?: string;
1465
+
1466
+ constructor(opts: __ExceptionOptionType<IdempotentParameterMismatchException, __BaseException>);
1451
1467
  }
1452
1468
 
1453
- export interface TransactionInProgressException extends __SmithyException, $MetadataBearer {
1454
- name: "TransactionInProgressException";
1455
- $fault: "client";
1469
+ export declare class TransactionInProgressException extends __BaseException {
1470
+ readonly name: "TransactionInProgressException";
1471
+ readonly $fault: "client";
1456
1472
  Message?: string;
1473
+
1474
+ constructor(opts: __ExceptionOptionType<TransactionInProgressException, __BaseException>);
1457
1475
  }
1458
1476
 
1459
- export interface ExportConflictException extends __SmithyException, $MetadataBearer {
1460
- name: "ExportConflictException";
1461
- $fault: "client";
1462
- message?: string;
1477
+ export declare class ExportConflictException extends __BaseException {
1478
+ readonly name: "ExportConflictException";
1479
+ readonly $fault: "client";
1480
+
1481
+ constructor(opts: __ExceptionOptionType<ExportConflictException, __BaseException>);
1463
1482
  }
1464
1483
  export interface ExportTableToPointInTimeInput {
1465
1484
 
@@ -1494,16 +1513,18 @@ export declare namespace ExportTableToPointInTimeOutput {
1494
1513
  const filterSensitiveLog: (obj: ExportTableToPointInTimeOutput) => any;
1495
1514
  }
1496
1515
 
1497
- export interface InvalidExportTimeException extends __SmithyException, $MetadataBearer {
1498
- name: "InvalidExportTimeException";
1499
- $fault: "client";
1500
- message?: string;
1516
+ export declare class InvalidExportTimeException extends __BaseException {
1517
+ readonly name: "InvalidExportTimeException";
1518
+ readonly $fault: "client";
1519
+
1520
+ constructor(opts: __ExceptionOptionType<InvalidExportTimeException, __BaseException>);
1501
1521
  }
1502
1522
 
1503
- export interface PointInTimeRecoveryUnavailableException extends __SmithyException, $MetadataBearer {
1504
- name: "PointInTimeRecoveryUnavailableException";
1505
- $fault: "client";
1506
- message?: string;
1523
+ export declare class PointInTimeRecoveryUnavailableException extends __BaseException {
1524
+ readonly name: "PointInTimeRecoveryUnavailableException";
1525
+ readonly $fault: "client";
1526
+
1527
+ constructor(opts: __ExceptionOptionType<PointInTimeRecoveryUnavailableException, __BaseException>);
1507
1528
  }
1508
1529
  export interface ListBackupsInput {
1509
1530
 
@@ -1693,16 +1714,18 @@ export declare namespace RestoreTableFromBackupOutput {
1693
1714
  const filterSensitiveLog: (obj: RestoreTableFromBackupOutput) => any;
1694
1715
  }
1695
1716
 
1696
- export interface TableAlreadyExistsException extends __SmithyException, $MetadataBearer {
1697
- name: "TableAlreadyExistsException";
1698
- $fault: "client";
1699
- message?: string;
1717
+ export declare class TableAlreadyExistsException extends __BaseException {
1718
+ readonly name: "TableAlreadyExistsException";
1719
+ readonly $fault: "client";
1720
+
1721
+ constructor(opts: __ExceptionOptionType<TableAlreadyExistsException, __BaseException>);
1700
1722
  }
1701
1723
 
1702
- export interface InvalidRestoreTimeException extends __SmithyException, $MetadataBearer {
1703
- name: "InvalidRestoreTimeException";
1704
- $fault: "client";
1705
- message?: string;
1724
+ export declare class InvalidRestoreTimeException extends __BaseException {
1725
+ readonly name: "InvalidRestoreTimeException";
1726
+ readonly $fault: "client";
1727
+
1728
+ constructor(opts: __ExceptionOptionType<InvalidRestoreTimeException, __BaseException>);
1706
1729
  }
1707
1730
  export interface RestoreTableToPointInTimeInput {
1708
1731
 
@@ -1810,16 +1833,18 @@ export declare namespace UpdateContributorInsightsOutput {
1810
1833
  const filterSensitiveLog: (obj: UpdateContributorInsightsOutput) => any;
1811
1834
  }
1812
1835
 
1813
- export interface ReplicaAlreadyExistsException extends __SmithyException, $MetadataBearer {
1814
- name: "ReplicaAlreadyExistsException";
1815
- $fault: "client";
1816
- message?: string;
1836
+ export declare class ReplicaAlreadyExistsException extends __BaseException {
1837
+ readonly name: "ReplicaAlreadyExistsException";
1838
+ readonly $fault: "client";
1839
+
1840
+ constructor(opts: __ExceptionOptionType<ReplicaAlreadyExistsException, __BaseException>);
1817
1841
  }
1818
1842
 
1819
- export interface ReplicaNotFoundException extends __SmithyException, $MetadataBearer {
1820
- name: "ReplicaNotFoundException";
1821
- $fault: "client";
1822
- message?: string;
1843
+ export declare class ReplicaNotFoundException extends __BaseException {
1844
+ readonly name: "ReplicaNotFoundException";
1845
+ readonly $fault: "client";
1846
+
1847
+ constructor(opts: __ExceptionOptionType<ReplicaNotFoundException, __BaseException>);
1823
1848
  }
1824
1849
 
1825
1850
  export interface ReplicaUpdate {
@@ -1851,10 +1876,11 @@ export declare namespace UpdateGlobalTableOutput {
1851
1876
  const filterSensitiveLog: (obj: UpdateGlobalTableOutput) => any;
1852
1877
  }
1853
1878
 
1854
- export interface IndexNotFoundException extends __SmithyException, $MetadataBearer {
1855
- name: "IndexNotFoundException";
1856
- $fault: "client";
1857
- message?: string;
1879
+ export declare class IndexNotFoundException extends __BaseException {
1880
+ readonly name: "IndexNotFoundException";
1881
+ readonly $fault: "client";
1882
+
1883
+ constructor(opts: __ExceptionOptionType<IndexNotFoundException, __BaseException>);
1858
1884
  }
1859
1885
 
1860
1886
  export interface GlobalTableGlobalSecondaryIndexSettingsUpdate {
@@ -2369,6 +2395,8 @@ export interface ExecuteStatementInput {
2369
2395
  NextToken?: string;
2370
2396
 
2371
2397
  ReturnConsumedCapacity?: ReturnConsumedCapacity | string;
2398
+
2399
+ Limit?: number;
2372
2400
  }
2373
2401
  export declare namespace ExecuteStatementInput {
2374
2402
 
@@ -2477,20 +2505,6 @@ export declare namespace PutRequest {
2477
2505
 
2478
2506
  const filterSensitiveLog: (obj: PutRequest) => any;
2479
2507
  }
2480
- export interface ExecuteStatementOutput {
2481
-
2482
- Items?: {
2483
- [key: string]: AttributeValue;
2484
- }[];
2485
-
2486
- NextToken?: string;
2487
-
2488
- ConsumedCapacity?: ConsumedCapacity;
2489
- }
2490
- export declare namespace ExecuteStatementOutput {
2491
-
2492
- const filterSensitiveLog: (obj: ExecuteStatementOutput) => any;
2493
- }
2494
2508
 
2495
2509
  export interface KeysAndAttributes {
2496
2510
 
@@ -2574,12 +2588,14 @@ export declare namespace TransactGetItemsOutput {
2574
2588
  const filterSensitiveLog: (obj: TransactGetItemsOutput) => any;
2575
2589
  }
2576
2590
 
2577
- export interface TransactionCanceledException extends __SmithyException, $MetadataBearer {
2578
- name: "TransactionCanceledException";
2579
- $fault: "client";
2591
+ export declare class TransactionCanceledException extends __BaseException {
2592
+ readonly name: "TransactionCanceledException";
2593
+ readonly $fault: "client";
2580
2594
  Message?: string;
2581
2595
 
2582
2596
  CancellationReasons?: CancellationReason[];
2597
+
2598
+ constructor(opts: __ExceptionOptionType<TransactionCanceledException, __BaseException>);
2583
2599
  }
2584
2600
 
2585
2601
  export interface BatchGetItemInput {
@@ -2748,6 +2764,24 @@ export declare namespace DeleteItemOutput {
2748
2764
 
2749
2765
  const filterSensitiveLog: (obj: DeleteItemOutput) => any;
2750
2766
  }
2767
+ export interface ExecuteStatementOutput {
2768
+
2769
+ Items?: {
2770
+ [key: string]: AttributeValue;
2771
+ }[];
2772
+
2773
+ NextToken?: string;
2774
+
2775
+ ConsumedCapacity?: ConsumedCapacity;
2776
+
2777
+ LastEvaluatedKey?: {
2778
+ [key: string]: AttributeValue;
2779
+ };
2780
+ }
2781
+ export declare namespace ExecuteStatementOutput {
2782
+
2783
+ const filterSensitiveLog: (obj: ExecuteStatementOutput) => any;
2784
+ }
2751
2785
 
2752
2786
  export interface PutItemOutput {
2753
2787
 
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  endpointDiscoveryEnabledProvider: import("@aws-sdk/types").Provider<boolean | undefined>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
6
6
  defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
7
7
  base64Decoder: import("@aws-sdk/types").Decoder;
8
8
  base64Encoder: import("@aws-sdk/types").Encoder;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
11
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
12
12
  endpointDiscoveryEnabledProvider: import("@aws-sdk/types").Provider<boolean | undefined>;
@@ -6,7 +6,7 @@ export declare const getRuntimeConfig: (config: DynamoDBClientConfig) => {
6
6
  requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | import("@aws-sdk/fetch-http-handler").FetchHttpHandler;
7
7
  apiVersion: string;
8
8
  urlParser: import("@aws-sdk/types").UrlParser;
9
- bodyLengthChecker: (body: any) => number | undefined;
9
+ bodyLengthChecker: import("@aws-sdk/types").BodyLengthCalculator;
10
10
  streamCollector: import("@aws-sdk/types").StreamCollector;
11
11
  base64Decoder: import("@aws-sdk/types").Decoder;
12
12
  base64Encoder: import("@aws-sdk/types").Encoder;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-dynamodb",
3
3
  "description": "AWS SDK for JavaScript Dynamodb Client for Node.js, Browser and React Native",
4
- "version": "3.51.0",
4
+ "version": "3.54.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -9,7 +9,7 @@
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
11
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
- "clean": "rimraf ./dist-*"
12
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo"
13
13
  },
14
14
  "main": "./dist-cjs/index.js",
15
15
  "types": "./dist-types/index.d.ts",
@@ -18,43 +18,43 @@
18
18
  "dependencies": {
19
19
  "@aws-crypto/sha256-browser": "2.0.0",
20
20
  "@aws-crypto/sha256-js": "2.0.0",
21
- "@aws-sdk/client-sts": "3.51.0",
22
- "@aws-sdk/config-resolver": "3.51.0",
23
- "@aws-sdk/credential-provider-node": "3.51.0",
24
- "@aws-sdk/fetch-http-handler": "3.50.0",
25
- "@aws-sdk/hash-node": "3.50.0",
26
- "@aws-sdk/invalid-dependency": "3.50.0",
27
- "@aws-sdk/middleware-content-length": "3.50.0",
28
- "@aws-sdk/middleware-endpoint-discovery": "3.51.0",
29
- "@aws-sdk/middleware-host-header": "3.50.0",
30
- "@aws-sdk/middleware-logger": "3.50.0",
31
- "@aws-sdk/middleware-retry": "3.51.0",
32
- "@aws-sdk/middleware-serde": "3.50.0",
33
- "@aws-sdk/middleware-signing": "3.50.0",
34
- "@aws-sdk/middleware-stack": "3.50.0",
35
- "@aws-sdk/middleware-user-agent": "3.50.0",
36
- "@aws-sdk/node-config-provider": "3.51.0",
37
- "@aws-sdk/node-http-handler": "3.50.0",
38
- "@aws-sdk/protocol-http": "3.50.0",
39
- "@aws-sdk/smithy-client": "3.50.0",
40
- "@aws-sdk/types": "3.50.0",
41
- "@aws-sdk/url-parser": "3.50.0",
42
- "@aws-sdk/util-base64-browser": "3.49.0",
43
- "@aws-sdk/util-base64-node": "3.49.0",
44
- "@aws-sdk/util-body-length-browser": "3.49.0",
45
- "@aws-sdk/util-body-length-node": "3.49.0",
46
- "@aws-sdk/util-defaults-mode-browser": "3.50.0",
47
- "@aws-sdk/util-defaults-mode-node": "3.51.0",
48
- "@aws-sdk/util-user-agent-browser": "3.50.0",
49
- "@aws-sdk/util-user-agent-node": "3.51.0",
50
- "@aws-sdk/util-utf8-browser": "3.49.0",
51
- "@aws-sdk/util-utf8-node": "3.49.0",
52
- "@aws-sdk/util-waiter": "3.50.0",
21
+ "@aws-sdk/client-sts": "3.54.0",
22
+ "@aws-sdk/config-resolver": "3.54.0",
23
+ "@aws-sdk/credential-provider-node": "3.54.0",
24
+ "@aws-sdk/fetch-http-handler": "3.54.0",
25
+ "@aws-sdk/hash-node": "3.54.0",
26
+ "@aws-sdk/invalid-dependency": "3.54.0",
27
+ "@aws-sdk/middleware-content-length": "3.54.0",
28
+ "@aws-sdk/middleware-endpoint-discovery": "3.54.0",
29
+ "@aws-sdk/middleware-host-header": "3.54.0",
30
+ "@aws-sdk/middleware-logger": "3.54.0",
31
+ "@aws-sdk/middleware-retry": "3.54.0",
32
+ "@aws-sdk/middleware-serde": "3.54.0",
33
+ "@aws-sdk/middleware-signing": "3.54.0",
34
+ "@aws-sdk/middleware-stack": "3.54.0",
35
+ "@aws-sdk/middleware-user-agent": "3.54.0",
36
+ "@aws-sdk/node-config-provider": "3.54.0",
37
+ "@aws-sdk/node-http-handler": "3.54.0",
38
+ "@aws-sdk/protocol-http": "3.54.0",
39
+ "@aws-sdk/smithy-client": "3.54.0",
40
+ "@aws-sdk/types": "3.54.0",
41
+ "@aws-sdk/url-parser": "3.54.0",
42
+ "@aws-sdk/util-base64-browser": "3.52.0",
43
+ "@aws-sdk/util-base64-node": "3.52.0",
44
+ "@aws-sdk/util-body-length-browser": "3.54.0",
45
+ "@aws-sdk/util-body-length-node": "3.54.0",
46
+ "@aws-sdk/util-defaults-mode-browser": "3.54.0",
47
+ "@aws-sdk/util-defaults-mode-node": "3.54.0",
48
+ "@aws-sdk/util-user-agent-browser": "3.54.0",
49
+ "@aws-sdk/util-user-agent-node": "3.54.0",
50
+ "@aws-sdk/util-utf8-browser": "3.52.0",
51
+ "@aws-sdk/util-utf8-node": "3.52.0",
52
+ "@aws-sdk/util-waiter": "3.54.0",
53
53
  "tslib": "^2.3.0",
54
54
  "uuid": "^8.3.2"
55
55
  },
56
56
  "devDependencies": {
57
- "@aws-sdk/service-client-documentation-generator": "3.49.0",
57
+ "@aws-sdk/service-client-documentation-generator": "3.52.0",
58
58
  "@tsconfig/recommended": "1.0.1",
59
59
  "@types/node": "^12.7.5",
60
60
  "@types/uuid": "^8.3.0",