@aws-sdk/lib-dynamodb 3.1057.0 → 3.1059.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.
Files changed (52) hide show
  1. package/dist-cjs/index.js +5 -5
  2. package/dist-es/DynamoDBDocument.js +6 -6
  3. package/dist-es/commands/BatchExecuteStatementCommand.js +1 -1
  4. package/dist-es/commands/BatchGetCommand.js +1 -1
  5. package/dist-es/commands/BatchWriteCommand.js +1 -1
  6. package/dist-es/commands/DeleteCommand.js +1 -1
  7. package/dist-es/commands/ExecuteStatementCommand.js +1 -1
  8. package/dist-es/commands/ExecuteTransactionCommand.js +1 -1
  9. package/dist-es/commands/GetCommand.js +1 -1
  10. package/dist-es/commands/PutCommand.js +1 -1
  11. package/dist-es/commands/QueryCommand.js +1 -1
  12. package/dist-es/commands/ScanCommand.js +1 -1
  13. package/dist-es/commands/TransactGetCommand.js +1 -1
  14. package/dist-es/commands/TransactWriteCommand.js +1 -1
  15. package/dist-es/commands/UpdateCommand.js +1 -1
  16. package/dist-es/index.js +2 -2
  17. package/dist-types/DynamoDBDocument.d.ts +15 -16
  18. package/dist-types/DynamoDBDocumentClient.d.ts +2 -2
  19. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +4 -5
  20. package/dist-types/commands/BatchGetCommand.d.ts +2 -3
  21. package/dist-types/commands/BatchWriteCommand.d.ts +10 -11
  22. package/dist-types/commands/DeleteCommand.d.ts +4 -5
  23. package/dist-types/commands/ExecuteStatementCommand.d.ts +2 -3
  24. package/dist-types/commands/ExecuteTransactionCommand.d.ts +2 -3
  25. package/dist-types/commands/GetCommand.d.ts +2 -3
  26. package/dist-types/commands/PutCommand.d.ts +4 -5
  27. package/dist-types/commands/QueryCommand.d.ts +2 -3
  28. package/dist-types/commands/ScanCommand.d.ts +2 -3
  29. package/dist-types/commands/TransactGetCommand.d.ts +4 -5
  30. package/dist-types/commands/TransactWriteCommand.d.ts +10 -11
  31. package/dist-types/commands/UpdateCommand.d.ts +4 -5
  32. package/dist-types/index.d.ts +2 -2
  33. package/dist-types/pagination/Interfaces.d.ts +2 -2
  34. package/dist-types/pagination/QueryPaginator.d.ts +1 -1
  35. package/dist-types/pagination/ScanPaginator.d.ts +1 -1
  36. package/dist-types/ts3.4/DynamoDBDocument.d.ts +5 -3
  37. package/dist-types/ts3.4/DynamoDBDocumentClient.d.ts +7 -7
  38. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +6 -3
  39. package/dist-types/ts3.4/commands/BatchGetCommand.d.ts +6 -3
  40. package/dist-types/ts3.4/commands/BatchWriteCommand.d.ts +6 -3
  41. package/dist-types/ts3.4/commands/DeleteCommand.d.ts +6 -3
  42. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +6 -3
  43. package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +6 -3
  44. package/dist-types/ts3.4/commands/GetCommand.d.ts +6 -3
  45. package/dist-types/ts3.4/commands/PutCommand.d.ts +6 -3
  46. package/dist-types/ts3.4/commands/QueryCommand.d.ts +6 -3
  47. package/dist-types/ts3.4/commands/ScanCommand.d.ts +6 -3
  48. package/dist-types/ts3.4/commands/TransactGetCommand.d.ts +6 -3
  49. package/dist-types/ts3.4/commands/TransactWriteCommand.d.ts +6 -3
  50. package/dist-types/ts3.4/commands/UpdateCommand.d.ts +6 -3
  51. package/dist-types/ts3.4/index.d.ts +2 -2
  52. package/package.json +6 -6
package/dist-cjs/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  'use strict';
2
2
 
3
- var clientDynamodb = require('@aws-sdk/client-dynamodb');
4
3
  var client = require('@smithy/core/client');
5
4
  var client$1 = require('@aws-sdk/core/client');
6
5
  var utilDynamodb = require('@aws-sdk/util-dynamodb');
6
+ var clientDynamodb = require('@aws-sdk/client-dynamodb');
7
7
  var core = require('@smithy/core');
8
8
 
9
9
  const SELF = null;
@@ -608,6 +608,10 @@ class DynamoDBDocumentClient extends client.Client {
608
608
  }
609
609
  }
610
610
 
611
+ const paginateQuery = core.createPaginator(DynamoDBDocumentClient, QueryCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit");
612
+
613
+ const paginateScan = core.createPaginator(DynamoDBDocumentClient, ScanCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit");
614
+
611
615
  class DynamoDBDocument extends DynamoDBDocumentClient {
612
616
  static from(client, translateConfig) {
613
617
  return new DynamoDBDocument(client, translateConfig);
@@ -809,10 +813,6 @@ class DynamoDBDocument extends DynamoDBDocumentClient {
809
813
  }
810
814
  }
811
815
 
812
- const paginateQuery = core.createPaginator(DynamoDBDocumentClient, QueryCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit");
813
-
814
- const paginateScan = core.createPaginator(DynamoDBDocumentClient, ScanCommand, "ExclusiveStartKey", "LastEvaluatedKey", "Limit");
815
-
816
816
  exports.$Command = client.Command;
817
817
  exports.__Client = client.Client;
818
818
  exports.NumberValue = utilDynamodb.NumberValueImpl;
@@ -1,15 +1,15 @@
1
- import { BatchExecuteStatementCommand } from "./commands/BatchExecuteStatementCommand";
1
+ import { BatchExecuteStatementCommand, } from "./commands/BatchExecuteStatementCommand";
2
2
  import { BatchGetCommand } from "./commands/BatchGetCommand";
3
- import { BatchWriteCommand } from "./commands/BatchWriteCommand";
3
+ import { BatchWriteCommand, } from "./commands/BatchWriteCommand";
4
4
  import { DeleteCommand } from "./commands/DeleteCommand";
5
- import { ExecuteStatementCommand } from "./commands/ExecuteStatementCommand";
6
- import { ExecuteTransactionCommand } from "./commands/ExecuteTransactionCommand";
5
+ import { ExecuteStatementCommand, } from "./commands/ExecuteStatementCommand";
6
+ import { ExecuteTransactionCommand, } from "./commands/ExecuteTransactionCommand";
7
7
  import { GetCommand } from "./commands/GetCommand";
8
8
  import { PutCommand } from "./commands/PutCommand";
9
9
  import { QueryCommand } from "./commands/QueryCommand";
10
10
  import { ScanCommand } from "./commands/ScanCommand";
11
- import { TransactGetCommand } from "./commands/TransactGetCommand";
12
- import { TransactWriteCommand } from "./commands/TransactWriteCommand";
11
+ import { TransactGetCommand, } from "./commands/TransactGetCommand";
12
+ import { TransactWriteCommand, } from "./commands/TransactWriteCommand";
13
13
  import { UpdateCommand } from "./commands/UpdateCommand";
14
14
  import { DynamoDBDocumentClient } from "./DynamoDBDocumentClient";
15
15
  export class DynamoDBDocument extends DynamoDBDocumentClient {
@@ -1,7 +1,7 @@
1
- import { BatchExecuteStatementCommand as __BatchExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
2
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
4
3
  import { ALL_MEMBERS, ALL_VALUES } from "../commands/utils";
4
+ import { BatchExecuteStatementCommand as __BatchExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class BatchExecuteStatementCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
@@ -1,7 +1,7 @@
1
- import { BatchGetItemCommand as __BatchGetItemCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
2
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
4
3
  import { ALL_VALUES } from "../commands/utils";
4
+ import { BatchGetItemCommand as __BatchGetItemCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class BatchGetCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
@@ -1,7 +1,7 @@
1
- import { BatchWriteItemCommand as __BatchWriteItemCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
2
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
4
3
  import { ALL_VALUES } from "../commands/utils";
4
+ import { BatchWriteItemCommand as __BatchWriteItemCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class BatchWriteCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
@@ -1,7 +1,7 @@
1
- import { DeleteItemCommand as __DeleteItemCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
2
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
4
3
  import { ALL_MEMBERS, ALL_VALUES, SELF } from "../commands/utils";
4
+ import { DeleteItemCommand as __DeleteItemCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class DeleteCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
@@ -1,7 +1,7 @@
1
- import { ExecuteStatementCommand as __ExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
2
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
4
3
  import { ALL_MEMBERS, ALL_VALUES } from "../commands/utils";
4
+ import { ExecuteStatementCommand as __ExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class ExecuteStatementCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
@@ -1,7 +1,7 @@
1
- import { ExecuteTransactionCommand as __ExecuteTransactionCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
2
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
4
3
  import { ALL_MEMBERS, ALL_VALUES } from "../commands/utils";
4
+ import { ExecuteTransactionCommand as __ExecuteTransactionCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class ExecuteTransactionCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
@@ -1,7 +1,7 @@
1
- import { GetItemCommand as __GetItemCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
2
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
4
3
  import { ALL_VALUES } from "../commands/utils";
4
+ import { GetItemCommand as __GetItemCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class GetCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
@@ -1,7 +1,7 @@
1
- import { PutItemCommand as __PutItemCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
2
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
4
3
  import { ALL_MEMBERS, ALL_VALUES, SELF } from "../commands/utils";
4
+ import { PutItemCommand as __PutItemCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class PutCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
@@ -1,7 +1,7 @@
1
- import { QueryCommand as __QueryCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
2
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
4
3
  import { ALL_MEMBERS, ALL_VALUES } from "../commands/utils";
4
+ import { QueryCommand as __QueryCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class QueryCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
@@ -1,7 +1,7 @@
1
- import { ScanCommand as __ScanCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
2
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
4
3
  import { ALL_MEMBERS, ALL_VALUES } from "../commands/utils";
4
+ import { ScanCommand as __ScanCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class ScanCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
@@ -1,7 +1,7 @@
1
- import { TransactGetItemsCommand as __TransactGetItemsCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
2
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
4
3
  import { ALL_VALUES } from "../commands/utils";
4
+ import { TransactGetItemsCommand as __TransactGetItemsCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class TransactGetCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
@@ -1,7 +1,7 @@
1
- import { TransactWriteItemsCommand as __TransactWriteItemsCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
2
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
4
3
  import { ALL_VALUES } from "../commands/utils";
4
+ import { TransactWriteItemsCommand as __TransactWriteItemsCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class TransactWriteCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
@@ -1,7 +1,7 @@
1
- import { UpdateItemCommand as __UpdateItemCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
2
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
4
3
  import { ALL_MEMBERS, ALL_VALUES, SELF } from "../commands/utils";
4
+ import { UpdateItemCommand as __UpdateItemCommand } from "@aws-sdk/client-dynamodb";
5
5
  export { DynamoDBDocumentClientCommand, $Command };
6
6
  export class UpdateCommand extends DynamoDBDocumentClientCommand {
7
7
  input;
package/dist-es/index.js CHANGED
@@ -1,5 +1,5 @@
1
- export * from "./DynamoDBDocument";
2
- export * from "./DynamoDBDocumentClient";
3
1
  export * from "./commands";
4
2
  export * from "./pagination";
3
+ export * from "./DynamoDBDocumentClient";
4
+ export * from "./DynamoDBDocument";
5
5
  export { NumberValueImpl as NumberValue } from "@aws-sdk/util-dynamodb";
@@ -1,20 +1,19 @@
1
- import type { DynamoDBClient } from "@aws-sdk/client-dynamodb";
2
1
  import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
3
- import type { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
4
- import type { BatchGetCommandInput, BatchGetCommandOutput } from "./commands/BatchGetCommand";
5
- import type { BatchWriteCommandInput, BatchWriteCommandOutput } from "./commands/BatchWriteCommand";
6
- import type { DeleteCommandInput, DeleteCommandOutput } from "./commands/DeleteCommand";
7
- import type { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand";
8
- import type { ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput } from "./commands/ExecuteTransactionCommand";
9
- import type { GetCommandInput, GetCommandOutput } from "./commands/GetCommand";
10
- import type { PutCommandInput, PutCommandOutput } from "./commands/PutCommand";
11
- import type { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
12
- import type { ScanCommandInput, ScanCommandOutput } from "./commands/ScanCommand";
13
- import type { TransactGetCommandInput, TransactGetCommandOutput } from "./commands/TransactGetCommand";
14
- import type { TransactWriteCommandInput, TransactWriteCommandOutput } from "./commands/TransactWriteCommand";
15
- import type { UpdateCommandInput, UpdateCommandOutput } from "./commands/UpdateCommand";
16
- import type { TranslateConfig } from "./DynamoDBDocumentClient";
17
- import { DynamoDBDocumentClient } from "./DynamoDBDocumentClient";
2
+ import { type BatchExecuteStatementCommandInput, type BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
3
+ import { type BatchGetCommandInput, type BatchGetCommandOutput } from "./commands/BatchGetCommand";
4
+ import { type BatchWriteCommandInput, type BatchWriteCommandOutput } from "./commands/BatchWriteCommand";
5
+ import { type DeleteCommandInput, type DeleteCommandOutput } from "./commands/DeleteCommand";
6
+ import { type ExecuteStatementCommandInput, type ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand";
7
+ import { type ExecuteTransactionCommandInput, type ExecuteTransactionCommandOutput } from "./commands/ExecuteTransactionCommand";
8
+ import { type GetCommandInput, type GetCommandOutput } from "./commands/GetCommand";
9
+ import { type PutCommandInput, type PutCommandOutput } from "./commands/PutCommand";
10
+ import { type QueryCommandInput, type QueryCommandOutput } from "./commands/QueryCommand";
11
+ import { type ScanCommandInput, type ScanCommandOutput } from "./commands/ScanCommand";
12
+ import { type TransactGetCommandInput, type TransactGetCommandOutput } from "./commands/TransactGetCommand";
13
+ import { type TransactWriteCommandInput, type TransactWriteCommandOutput } from "./commands/TransactWriteCommand";
14
+ import { type UpdateCommandInput, type UpdateCommandOutput } from "./commands/UpdateCommand";
15
+ import { DynamoDBDocumentClient, TranslateConfig } from "./DynamoDBDocumentClient";
16
+ import type { DynamoDBClient } from "@aws-sdk/client-dynamodb";
18
17
  /**
19
18
  * The document client simplifies working with items in Amazon DynamoDB by
20
19
  * abstracting away the notion of attribute values. This abstraction annotates native
@@ -1,5 +1,3 @@
1
- import type { DynamoDBClient, DynamoDBClientResolvedConfig, ServiceInputTypes as __ServiceInputTypes, ServiceOutputTypes as __ServiceOutputTypes } from "@aws-sdk/client-dynamodb";
2
- import type { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb";
3
1
  import { Client as __Client } from "@smithy/core/client";
4
2
  import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
5
3
  import type { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
@@ -15,6 +13,8 @@ import type { ScanCommandInput, ScanCommandOutput } from "./commands/ScanCommand
15
13
  import type { TransactGetCommandInput, TransactGetCommandOutput } from "./commands/TransactGetCommand";
16
14
  import type { TransactWriteCommandInput, TransactWriteCommandOutput } from "./commands/TransactWriteCommand";
17
15
  import type { UpdateCommandInput, UpdateCommandOutput } from "./commands/UpdateCommand";
16
+ import type { DynamoDBClient, DynamoDBClientResolvedConfig, ServiceInputTypes as __ServiceInputTypes, ServiceOutputTypes as __ServiceOutputTypes } from "@aws-sdk/client-dynamodb";
17
+ import type { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb";
18
18
  /**
19
19
  * @public
20
20
  */
@@ -1,9 +1,8 @@
1
- import { BatchExecuteStatementCommand as __BatchExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import type { Handler, MiddlewareStack } from "@smithy/types";
4
- import { type HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import type { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
5
3
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
4
  import type { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
5
+ import { BatchExecuteStatementCommand as __BatchExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
7
6
  /**
8
7
  * @public
9
8
  */
@@ -21,9 +20,9 @@ export type BatchExecuteStatementCommandInput = Omit<__BatchExecuteStatementComm
21
20
  */
22
21
  export type BatchExecuteStatementCommandOutput = Omit<__BatchExecuteStatementCommandOutput, "Responses"> & {
23
22
  Responses?: (Omit<BatchStatementResponse, "Error" | "Item"> & {
24
- Error?: (Omit<BatchStatementError, "Item"> & {
23
+ Error?: Omit<BatchStatementError, "Item"> & {
25
24
  Item?: Record<string, NativeAttributeValue> | undefined;
26
- }) | undefined;
25
+ } | undefined;
27
26
  Item?: Record<string, NativeAttributeValue> | undefined;
28
27
  })[] | undefined;
29
28
  };
@@ -1,9 +1,8 @@
1
- import { BatchGetItemCommand as __BatchGetItemCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import type { Handler, MiddlewareStack } from "@smithy/types";
4
- import { type HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import type { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
5
3
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
4
  import type { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
5
+ import { BatchGetItemCommand as __BatchGetItemCommand } from "@aws-sdk/client-dynamodb";
7
6
  /**
8
7
  * @public
9
8
  */
@@ -1,9 +1,8 @@
1
- import { BatchWriteItemCommand as __BatchWriteItemCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import type { Handler, MiddlewareStack } from "@smithy/types";
4
- import { type HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import type { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
5
3
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
4
  import type { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
5
+ import { BatchWriteItemCommand as __BatchWriteItemCommand } from "@aws-sdk/client-dynamodb";
7
6
  /**
8
7
  * @public
9
8
  */
@@ -13,12 +12,12 @@ export { DynamoDBDocumentClientCommand, $Command };
13
12
  */
14
13
  export type BatchWriteCommandInput = Omit<__BatchWriteItemCommandInput, "RequestItems"> & {
15
14
  RequestItems: Record<string, (Omit<WriteRequest, "PutRequest" | "DeleteRequest"> & {
16
- PutRequest?: (Omit<PutRequest, "Item"> & {
15
+ PutRequest?: Omit<PutRequest, "Item"> & {
17
16
  Item: Record<string, NativeAttributeValue> | undefined;
18
- }) | undefined;
19
- DeleteRequest?: (Omit<DeleteRequest, "Key"> & {
17
+ } | undefined;
18
+ DeleteRequest?: Omit<DeleteRequest, "Key"> & {
20
19
  Key: Record<string, NativeAttributeValue> | undefined;
21
- }) | undefined;
20
+ } | undefined;
22
21
  })[]> | undefined;
23
22
  };
24
23
  /**
@@ -26,12 +25,12 @@ export type BatchWriteCommandInput = Omit<__BatchWriteItemCommandInput, "Request
26
25
  */
27
26
  export type BatchWriteCommandOutput = Omit<__BatchWriteItemCommandOutput, "UnprocessedItems" | "ItemCollectionMetrics"> & {
28
27
  UnprocessedItems?: Record<string, (Omit<WriteRequest, "PutRequest" | "DeleteRequest"> & {
29
- PutRequest?: (Omit<PutRequest, "Item"> & {
28
+ PutRequest?: Omit<PutRequest, "Item"> & {
30
29
  Item: Record<string, NativeAttributeValue> | undefined;
31
- }) | undefined;
32
- DeleteRequest?: (Omit<DeleteRequest, "Key"> & {
30
+ } | undefined;
31
+ DeleteRequest?: Omit<DeleteRequest, "Key"> & {
33
32
  Key: Record<string, NativeAttributeValue> | undefined;
34
- }) | undefined;
33
+ } | undefined;
35
34
  })[]> | undefined;
36
35
  ItemCollectionMetrics?: Record<string, (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
37
36
  ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
@@ -1,9 +1,8 @@
1
- import { DeleteItemCommand as __DeleteItemCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import type { Handler, MiddlewareStack } from "@smithy/types";
4
- import { type HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import type { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
5
3
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
4
  import type { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
5
+ import { DeleteItemCommand as __DeleteItemCommand } from "@aws-sdk/client-dynamodb";
7
6
  /**
8
7
  * @public
9
8
  */
@@ -24,9 +23,9 @@ export type DeleteCommandInput = Omit<__DeleteItemCommandInput, "Key" | "Expecte
24
23
  */
25
24
  export type DeleteCommandOutput = Omit<__DeleteItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & {
26
25
  Attributes?: Record<string, NativeAttributeValue> | undefined;
27
- ItemCollectionMetrics?: (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
26
+ ItemCollectionMetrics?: Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
28
27
  ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
29
- }) | undefined;
28
+ } | undefined;
30
29
  };
31
30
  /**
32
31
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
@@ -1,9 +1,8 @@
1
- import { ExecuteStatementCommand as __ExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import type { Handler, MiddlewareStack } from "@smithy/types";
4
- import { type HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import type { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
5
3
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
4
  import type { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
5
+ import { ExecuteStatementCommand as __ExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
7
6
  /**
8
7
  * @public
9
8
  */
@@ -1,9 +1,8 @@
1
- import { ExecuteTransactionCommand as __ExecuteTransactionCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import type { Handler, MiddlewareStack } from "@smithy/types";
4
- import { type HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import type { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
5
3
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
4
  import type { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
5
+ import { ExecuteTransactionCommand as __ExecuteTransactionCommand } from "@aws-sdk/client-dynamodb";
7
6
  /**
8
7
  * @public
9
8
  */
@@ -1,9 +1,8 @@
1
- import { GetItemCommand as __GetItemCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import type { Handler, MiddlewareStack } from "@smithy/types";
4
- import { type HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import type { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
5
3
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
4
  import type { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
5
+ import { GetItemCommand as __GetItemCommand } from "@aws-sdk/client-dynamodb";
7
6
  /**
8
7
  * @public
9
8
  */
@@ -1,9 +1,8 @@
1
- import { PutItemCommand as __PutItemCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import type { Handler, MiddlewareStack } from "@smithy/types";
4
- import { type HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import type { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
5
3
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
4
  import type { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
5
+ import { PutItemCommand as __PutItemCommand } from "@aws-sdk/client-dynamodb";
7
6
  /**
8
7
  * @public
9
8
  */
@@ -24,9 +23,9 @@ export type PutCommandInput = Omit<__PutItemCommandInput, "Item" | "Expected" |
24
23
  */
25
24
  export type PutCommandOutput = Omit<__PutItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & {
26
25
  Attributes?: Record<string, NativeAttributeValue> | undefined;
27
- ItemCollectionMetrics?: (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
26
+ ItemCollectionMetrics?: Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
28
27
  ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
29
- }) | undefined;
28
+ } | undefined;
30
29
  };
31
30
  /**
32
31
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
@@ -1,9 +1,8 @@
1
- import { QueryCommand as __QueryCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import type { Handler, MiddlewareStack } from "@smithy/types";
4
- import { type HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import type { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
5
3
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
4
  import type { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
5
+ import { QueryCommand as __QueryCommand } from "@aws-sdk/client-dynamodb";
7
6
  /**
8
7
  * @public
9
8
  */
@@ -1,9 +1,8 @@
1
- import { ScanCommand as __ScanCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import type { Handler, MiddlewareStack } from "@smithy/types";
4
- import { type HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import type { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
5
3
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
4
  import type { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
5
+ import { ScanCommand as __ScanCommand } from "@aws-sdk/client-dynamodb";
7
6
  /**
8
7
  * @public
9
8
  */
@@ -1,9 +1,8 @@
1
- import { TransactGetItemsCommand as __TransactGetItemsCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import type { Handler, MiddlewareStack } from "@smithy/types";
4
- import { type HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import type { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
5
3
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
4
  import type { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
5
+ import { TransactGetItemsCommand as __TransactGetItemsCommand } from "@aws-sdk/client-dynamodb";
7
6
  /**
8
7
  * @public
9
8
  */
@@ -13,9 +12,9 @@ export { DynamoDBDocumentClientCommand, $Command };
13
12
  */
14
13
  export type TransactGetCommandInput = Omit<__TransactGetItemsCommandInput, "TransactItems"> & {
15
14
  TransactItems: (Omit<TransactGetItem, "Get"> & {
16
- Get: (Omit<Get, "Key"> & {
15
+ Get: Omit<Get, "Key"> & {
17
16
  Key: Record<string, NativeAttributeValue> | undefined;
18
- }) | undefined;
17
+ } | undefined;
19
18
  })[] | undefined;
20
19
  };
21
20
  /**
@@ -1,9 +1,8 @@
1
- import { TransactWriteItemsCommand as __TransactWriteItemsCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import type { Handler, MiddlewareStack } from "@smithy/types";
4
- import { type HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import type { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
5
3
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
4
  import type { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
5
+ import { TransactWriteItemsCommand as __TransactWriteItemsCommand } from "@aws-sdk/client-dynamodb";
7
6
  /**
8
7
  * @public
9
8
  */
@@ -13,22 +12,22 @@ export { DynamoDBDocumentClientCommand, $Command };
13
12
  */
14
13
  export type TransactWriteCommandInput = Omit<__TransactWriteItemsCommandInput, "TransactItems"> & {
15
14
  TransactItems: (Omit<TransactWriteItem, "ConditionCheck" | "Put" | "Delete" | "Update"> & {
16
- ConditionCheck?: (Omit<ConditionCheck, "Key" | "ExpressionAttributeValues"> & {
15
+ ConditionCheck?: Omit<ConditionCheck, "Key" | "ExpressionAttributeValues"> & {
17
16
  Key: Record<string, NativeAttributeValue> | undefined;
18
17
  ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
19
- }) | undefined;
20
- Put?: (Omit<Put, "Item" | "ExpressionAttributeValues"> & {
18
+ } | undefined;
19
+ Put?: Omit<Put, "Item" | "ExpressionAttributeValues"> & {
21
20
  Item: Record<string, NativeAttributeValue> | undefined;
22
21
  ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
23
- }) | undefined;
24
- Delete?: (Omit<Delete, "Key" | "ExpressionAttributeValues"> & {
22
+ } | undefined;
23
+ Delete?: Omit<Delete, "Key" | "ExpressionAttributeValues"> & {
25
24
  Key: Record<string, NativeAttributeValue> | undefined;
26
25
  ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
27
- }) | undefined;
28
- Update?: (Omit<Update, "Key" | "ExpressionAttributeValues"> & {
26
+ } | undefined;
27
+ Update?: Omit<Update, "Key" | "ExpressionAttributeValues"> & {
29
28
  Key: Record<string, NativeAttributeValue> | undefined;
30
29
  ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
31
- }) | undefined;
30
+ } | undefined;
32
31
  })[] | undefined;
33
32
  };
34
33
  /**
@@ -1,9 +1,8 @@
1
- import { UpdateItemCommand as __UpdateItemCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import type { Handler, MiddlewareStack } from "@smithy/types";
4
- import { type HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import type { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
5
3
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
4
  import type { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
5
+ import { UpdateItemCommand as __UpdateItemCommand } from "@aws-sdk/client-dynamodb";
7
6
  /**
8
7
  * @public
9
8
  */
@@ -27,9 +26,9 @@ export type UpdateCommandInput = Omit<__UpdateItemCommandInput, "Key" | "Attribu
27
26
  */
28
27
  export type UpdateCommandOutput = Omit<__UpdateItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & {
29
28
  Attributes?: Record<string, NativeAttributeValue> | undefined;
30
- ItemCollectionMetrics?: (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
29
+ ItemCollectionMetrics?: Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
31
30
  ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
32
- }) | undefined;
31
+ } | undefined;
33
32
  };
34
33
  /**
35
34
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
@@ -1,7 +1,7 @@
1
- export * from "./DynamoDBDocument";
2
- export * from "./DynamoDBDocumentClient";
3
1
  export * from "./commands";
4
2
  export * from "./pagination";
3
+ export * from "./DynamoDBDocumentClient";
4
+ export * from "./DynamoDBDocument";
5
5
  export { NumberValueImpl as NumberValue } from "@aws-sdk/util-dynamodb";
6
6
  export { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb";
7
7
  export { NativeAttributeValue, NativeAttributeBinary, NativeScalarAttributeValue } from "@aws-sdk/util-dynamodb";
@@ -1,6 +1,6 @@
1
1
  import { PaginationConfiguration } from "@smithy/types";
2
- import type { DynamoDBDocument } from "../DynamoDBDocument";
3
- import type { DynamoDBDocumentClient } from "../DynamoDBDocumentClient";
2
+ import { DynamoDBDocument } from "../DynamoDBDocument";
3
+ import { DynamoDBDocumentClient } from "../DynamoDBDocumentClient";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,5 +1,5 @@
1
1
  import { Paginator } from "@smithy/types";
2
- import type { QueryCommandInput, QueryCommandOutput } from "../commands/QueryCommand";
2
+ import { type QueryCommandInput, type QueryCommandOutput } from "../commands/QueryCommand";
3
3
  import type { DynamoDBDocumentPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
@@ -1,5 +1,5 @@
1
1
  import { Paginator } from "@smithy/types";
2
- import type { ScanCommandInput, ScanCommandOutput } from "../commands/ScanCommand";
2
+ import { type ScanCommandInput, type ScanCommandOutput } from "../commands/ScanCommand";
3
3
  import type { DynamoDBDocumentPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
@@ -1,4 +1,3 @@
1
- import { DynamoDBClient } from "@aws-sdk/client-dynamodb";
2
1
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
3
2
  import {
4
3
  BatchExecuteStatementCommandInput,
@@ -40,8 +39,11 @@ import {
40
39
  UpdateCommandInput,
41
40
  UpdateCommandOutput,
42
41
  } from "./commands/UpdateCommand";
43
- import { TranslateConfig } from "./DynamoDBDocumentClient";
44
- import { DynamoDBDocumentClient } from "./DynamoDBDocumentClient";
42
+ import {
43
+ DynamoDBDocumentClient,
44
+ TranslateConfig,
45
+ } from "./DynamoDBDocumentClient";
46
+ import { DynamoDBClient } from "@aws-sdk/client-dynamodb";
45
47
  export declare class DynamoDBDocument extends DynamoDBDocumentClient {
46
48
  static from(
47
49
  client: DynamoDBClient,
@@ -1,10 +1,3 @@
1
- import {
2
- DynamoDBClient,
3
- DynamoDBClientResolvedConfig,
4
- ServiceInputTypes as __ServiceInputTypes,
5
- ServiceOutputTypes as __ServiceOutputTypes,
6
- } from "@aws-sdk/client-dynamodb";
7
- import { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb";
8
1
  import { Client as __Client } from "@smithy/core/client";
9
2
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
10
3
  import {
@@ -47,6 +40,13 @@ import {
47
40
  UpdateCommandInput,
48
41
  UpdateCommandOutput,
49
42
  } from "./commands/UpdateCommand";
43
+ import {
44
+ DynamoDBClient,
45
+ DynamoDBClientResolvedConfig,
46
+ ServiceInputTypes as __ServiceInputTypes,
47
+ ServiceOutputTypes as __ServiceOutputTypes,
48
+ } from "@aws-sdk/client-dynamodb";
49
+ import { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb";
50
50
  export { __Client };
51
51
  export type ServiceInputTypes =
52
52
  | __ServiceInputTypes
@@ -1,13 +1,16 @@
1
- import { BatchExecuteStatementCommand as __BatchExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import { Handler, MiddlewareStack } from "@smithy/types";
4
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MiddlewareStack,
6
+ } from "@smithy/types";
5
7
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
8
  import {
7
9
  DynamoDBDocumentClientResolvedConfig,
8
10
  ServiceInputTypes,
9
11
  ServiceOutputTypes,
10
12
  } from "../DynamoDBDocumentClient";
13
+ import { BatchExecuteStatementCommand as __BatchExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
11
14
  export { DynamoDBDocumentClientCommand, $Command };
12
15
  export type BatchExecuteStatementCommandInput = Pick<
13
16
  __BatchExecuteStatementCommandInput,
@@ -1,13 +1,16 @@
1
- import { BatchGetItemCommand as __BatchGetItemCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import { Handler, MiddlewareStack } from "@smithy/types";
4
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MiddlewareStack,
6
+ } from "@smithy/types";
5
7
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
8
  import {
7
9
  DynamoDBDocumentClientResolvedConfig,
8
10
  ServiceInputTypes,
9
11
  ServiceOutputTypes,
10
12
  } from "../DynamoDBDocumentClient";
13
+ import { BatchGetItemCommand as __BatchGetItemCommand } from "@aws-sdk/client-dynamodb";
11
14
  export { DynamoDBDocumentClientCommand, $Command };
12
15
  export type BatchGetCommandInput = Pick<
13
16
  __BatchGetItemCommandInput,
@@ -1,13 +1,16 @@
1
- import { BatchWriteItemCommand as __BatchWriteItemCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import { Handler, MiddlewareStack } from "@smithy/types";
4
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MiddlewareStack,
6
+ } from "@smithy/types";
5
7
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
8
  import {
7
9
  DynamoDBDocumentClientResolvedConfig,
8
10
  ServiceInputTypes,
9
11
  ServiceOutputTypes,
10
12
  } from "../DynamoDBDocumentClient";
13
+ import { BatchWriteItemCommand as __BatchWriteItemCommand } from "@aws-sdk/client-dynamodb";
11
14
  export { DynamoDBDocumentClientCommand, $Command };
12
15
  export type BatchWriteCommandInput = Pick<
13
16
  __BatchWriteItemCommandInput,
@@ -1,13 +1,16 @@
1
- import { DeleteItemCommand as __DeleteItemCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import { Handler, MiddlewareStack } from "@smithy/types";
4
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MiddlewareStack,
6
+ } from "@smithy/types";
5
7
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
8
  import {
7
9
  DynamoDBDocumentClientResolvedConfig,
8
10
  ServiceInputTypes,
9
11
  ServiceOutputTypes,
10
12
  } from "../DynamoDBDocumentClient";
13
+ import { DeleteItemCommand as __DeleteItemCommand } from "@aws-sdk/client-dynamodb";
11
14
  export { DynamoDBDocumentClientCommand, $Command };
12
15
  export type DeleteCommandInput = Pick<
13
16
  __DeleteItemCommandInput,
@@ -1,13 +1,16 @@
1
- import { ExecuteStatementCommand as __ExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import { Handler, MiddlewareStack } from "@smithy/types";
4
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MiddlewareStack,
6
+ } from "@smithy/types";
5
7
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
8
  import {
7
9
  DynamoDBDocumentClientResolvedConfig,
8
10
  ServiceInputTypes,
9
11
  ServiceOutputTypes,
10
12
  } from "../DynamoDBDocumentClient";
13
+ import { ExecuteStatementCommand as __ExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
11
14
  export { DynamoDBDocumentClientCommand, $Command };
12
15
  export type ExecuteStatementCommandInput = Pick<
13
16
  __ExecuteStatementCommandInput,
@@ -1,13 +1,16 @@
1
- import { ExecuteTransactionCommand as __ExecuteTransactionCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import { Handler, MiddlewareStack } from "@smithy/types";
4
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MiddlewareStack,
6
+ } from "@smithy/types";
5
7
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
8
  import {
7
9
  DynamoDBDocumentClientResolvedConfig,
8
10
  ServiceInputTypes,
9
11
  ServiceOutputTypes,
10
12
  } from "../DynamoDBDocumentClient";
13
+ import { ExecuteTransactionCommand as __ExecuteTransactionCommand } from "@aws-sdk/client-dynamodb";
11
14
  export { DynamoDBDocumentClientCommand, $Command };
12
15
  export type ExecuteTransactionCommandInput = Pick<
13
16
  __ExecuteTransactionCommandInput,
@@ -1,13 +1,16 @@
1
- import { GetItemCommand as __GetItemCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import { Handler, MiddlewareStack } from "@smithy/types";
4
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MiddlewareStack,
6
+ } from "@smithy/types";
5
7
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
8
  import {
7
9
  DynamoDBDocumentClientResolvedConfig,
8
10
  ServiceInputTypes,
9
11
  ServiceOutputTypes,
10
12
  } from "../DynamoDBDocumentClient";
13
+ import { GetItemCommand as __GetItemCommand } from "@aws-sdk/client-dynamodb";
11
14
  export { DynamoDBDocumentClientCommand, $Command };
12
15
  export type GetCommandInput = Pick<
13
16
  __GetItemCommandInput,
@@ -1,13 +1,16 @@
1
- import { PutItemCommand as __PutItemCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import { Handler, MiddlewareStack } from "@smithy/types";
4
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MiddlewareStack,
6
+ } from "@smithy/types";
5
7
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
8
  import {
7
9
  DynamoDBDocumentClientResolvedConfig,
8
10
  ServiceInputTypes,
9
11
  ServiceOutputTypes,
10
12
  } from "../DynamoDBDocumentClient";
13
+ import { PutItemCommand as __PutItemCommand } from "@aws-sdk/client-dynamodb";
11
14
  export { DynamoDBDocumentClientCommand, $Command };
12
15
  export type PutCommandInput = Pick<
13
16
  __PutItemCommandInput,
@@ -1,13 +1,16 @@
1
- import { QueryCommand as __QueryCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import { Handler, MiddlewareStack } from "@smithy/types";
4
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MiddlewareStack,
6
+ } from "@smithy/types";
5
7
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
8
  import {
7
9
  DynamoDBDocumentClientResolvedConfig,
8
10
  ServiceInputTypes,
9
11
  ServiceOutputTypes,
10
12
  } from "../DynamoDBDocumentClient";
13
+ import { QueryCommand as __QueryCommand } from "@aws-sdk/client-dynamodb";
11
14
  export { DynamoDBDocumentClientCommand, $Command };
12
15
  export type QueryCommandInput = Pick<
13
16
  __QueryCommandInput,
@@ -1,13 +1,16 @@
1
- import { ScanCommand as __ScanCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import { Handler, MiddlewareStack } from "@smithy/types";
4
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MiddlewareStack,
6
+ } from "@smithy/types";
5
7
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
8
  import {
7
9
  DynamoDBDocumentClientResolvedConfig,
8
10
  ServiceInputTypes,
9
11
  ServiceOutputTypes,
10
12
  } from "../DynamoDBDocumentClient";
13
+ import { ScanCommand as __ScanCommand } from "@aws-sdk/client-dynamodb";
11
14
  export { DynamoDBDocumentClientCommand, $Command };
12
15
  export type ScanCommandInput = Pick<
13
16
  __ScanCommandInput,
@@ -1,13 +1,16 @@
1
- import { TransactGetItemsCommand as __TransactGetItemsCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import { Handler, MiddlewareStack } from "@smithy/types";
4
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MiddlewareStack,
6
+ } from "@smithy/types";
5
7
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
8
  import {
7
9
  DynamoDBDocumentClientResolvedConfig,
8
10
  ServiceInputTypes,
9
11
  ServiceOutputTypes,
10
12
  } from "../DynamoDBDocumentClient";
13
+ import { TransactGetItemsCommand as __TransactGetItemsCommand } from "@aws-sdk/client-dynamodb";
11
14
  export { DynamoDBDocumentClientCommand, $Command };
12
15
  export type TransactGetCommandInput = Pick<
13
16
  __TransactGetItemsCommandInput,
@@ -1,13 +1,16 @@
1
- import { TransactWriteItemsCommand as __TransactWriteItemsCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import { Handler, MiddlewareStack } from "@smithy/types";
4
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MiddlewareStack,
6
+ } from "@smithy/types";
5
7
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
8
  import {
7
9
  DynamoDBDocumentClientResolvedConfig,
8
10
  ServiceInputTypes,
9
11
  ServiceOutputTypes,
10
12
  } from "../DynamoDBDocumentClient";
13
+ import { TransactWriteItemsCommand as __TransactWriteItemsCommand } from "@aws-sdk/client-dynamodb";
11
14
  export { DynamoDBDocumentClientCommand, $Command };
12
15
  export type TransactWriteCommandInput = Pick<
13
16
  __TransactWriteItemsCommandInput,
@@ -1,13 +1,16 @@
1
- import { UpdateItemCommand as __UpdateItemCommand } from "@aws-sdk/client-dynamodb";
2
1
  import { Command as $Command } from "@smithy/core/client";
3
- import { Handler, MiddlewareStack } from "@smithy/types";
4
- import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import {
3
+ Handler,
4
+ HttpHandlerOptions as __HttpHandlerOptions,
5
+ MiddlewareStack,
6
+ } from "@smithy/types";
5
7
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
8
  import {
7
9
  DynamoDBDocumentClientResolvedConfig,
8
10
  ServiceInputTypes,
9
11
  ServiceOutputTypes,
10
12
  } from "../DynamoDBDocumentClient";
13
+ import { UpdateItemCommand as __UpdateItemCommand } from "@aws-sdk/client-dynamodb";
11
14
  export { DynamoDBDocumentClientCommand, $Command };
12
15
  export type UpdateCommandInput = Pick<
13
16
  __UpdateItemCommandInput,
@@ -1,7 +1,7 @@
1
- export * from "./DynamoDBDocument";
2
- export * from "./DynamoDBDocumentClient";
3
1
  export * from "./commands";
4
2
  export * from "./pagination";
3
+ export * from "./DynamoDBDocumentClient";
4
+ export * from "./DynamoDBDocument";
5
5
  export { NumberValueImpl as NumberValue } from "@aws-sdk/util-dynamodb";
6
6
  export { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb";
7
7
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/lib-dynamodb",
3
- "version": "3.1057.0",
3
+ "version": "3.1059.0",
4
4
  "description": "The document client simplifies working with items in Amazon DynamoDB by abstracting away the notion of attribute values.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -30,17 +30,17 @@
30
30
  },
31
31
  "license": "Apache-2.0",
32
32
  "dependencies": {
33
- "@aws-sdk/core": "^3.974.15",
33
+ "@aws-sdk/core": "^3.974.16",
34
34
  "@aws-sdk/util-dynamodb": "^3.996.2",
35
- "@smithy/core": "^3.24.5",
36
- "@smithy/types": "^4.14.2",
35
+ "@smithy/core": "^3.24.6",
36
+ "@smithy/types": "^4.14.3",
37
37
  "tslib": "^2.6.2"
38
38
  },
39
39
  "peerDependencies": {
40
- "@aws-sdk/client-dynamodb": "^3.1057.0"
40
+ "@aws-sdk/client-dynamodb": "^3.1059.0"
41
41
  },
42
42
  "devDependencies": {
43
- "@aws-sdk/client-dynamodb": "3.1057.0",
43
+ "@aws-sdk/client-dynamodb": "3.1059.0",
44
44
  "@tsconfig/recommended": "1.0.1",
45
45
  "@types/node": "^20.14.8",
46
46
  "concurrently": "7.0.0",