@aws-sdk/lib-dynamodb 3.1044.0 → 3.1046.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 (57) hide show
  1. package/dist-cjs/index.js +163 -163
  2. package/dist-es/DynamoDBDocument.js +4 -4
  3. package/dist-es/DynamoDBDocumentClient.js +3 -3
  4. package/dist-es/baseCommand/DynamoDBDocumentClientCommand.js +2 -2
  5. package/dist-es/commands/BatchExecuteStatementCommand.js +12 -12
  6. package/dist-es/commands/BatchGetCommand.js +16 -16
  7. package/dist-es/commands/BatchWriteCommand.js +26 -26
  8. package/dist-es/commands/DeleteCommand.js +11 -11
  9. package/dist-es/commands/ExecuteStatementCommand.js +6 -6
  10. package/dist-es/commands/ExecuteTransactionCommand.js +10 -10
  11. package/dist-es/commands/GetCommand.js +4 -4
  12. package/dist-es/commands/PutCommand.js +12 -12
  13. package/dist-es/commands/QueryCommand.js +15 -15
  14. package/dist-es/commands/ScanCommand.js +11 -11
  15. package/dist-es/commands/TransactGetCommand.js +11 -11
  16. package/dist-es/commands/TransactWriteCommand.js +23 -23
  17. package/dist-es/commands/UpdateCommand.js +16 -16
  18. package/dist-es/index.js +4 -4
  19. package/dist-types/DynamoDBDocument.d.ts +16 -15
  20. package/dist-types/DynamoDBDocumentClient.d.ts +16 -16
  21. package/dist-types/baseCommand/DynamoDBDocumentClientCommand.d.ts +4 -4
  22. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +14 -13
  23. package/dist-types/commands/BatchGetCommand.d.ts +18 -17
  24. package/dist-types/commands/BatchWriteCommand.d.ts +24 -23
  25. package/dist-types/commands/DeleteCommand.d.ts +8 -8
  26. package/dist-types/commands/ExecuteStatementCommand.d.ts +10 -9
  27. package/dist-types/commands/ExecuteTransactionCommand.d.ts +12 -11
  28. package/dist-types/commands/GetCommand.d.ts +7 -6
  29. package/dist-types/commands/PutCommand.d.ts +12 -11
  30. package/dist-types/commands/QueryCommand.d.ts +15 -14
  31. package/dist-types/commands/ScanCommand.d.ts +12 -11
  32. package/dist-types/commands/TransactGetCommand.d.ts +13 -12
  33. package/dist-types/commands/TransactWriteCommand.d.ts +20 -19
  34. package/dist-types/commands/UpdateCommand.d.ts +14 -13
  35. package/dist-types/commands/utils.d.ts +1 -1
  36. package/dist-types/index.d.ts +4 -4
  37. package/dist-types/pagination/Interfaces.d.ts +2 -2
  38. package/dist-types/pagination/QueryPaginator.d.ts +2 -2
  39. package/dist-types/pagination/ScanPaginator.d.ts +2 -2
  40. package/dist-types/ts3.4/DynamoDBDocument.d.ts +3 -5
  41. package/dist-types/ts3.4/DynamoDBDocumentClient.d.ts +8 -8
  42. package/dist-types/ts3.4/baseCommand/DynamoDBDocumentClientCommand.d.ts +1 -1
  43. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +4 -7
  44. package/dist-types/ts3.4/commands/BatchGetCommand.d.ts +4 -7
  45. package/dist-types/ts3.4/commands/BatchWriteCommand.d.ts +4 -7
  46. package/dist-types/ts3.4/commands/DeleteCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +4 -7
  48. package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +4 -7
  49. package/dist-types/ts3.4/commands/GetCommand.d.ts +4 -7
  50. package/dist-types/ts3.4/commands/PutCommand.d.ts +4 -7
  51. package/dist-types/ts3.4/commands/QueryCommand.d.ts +4 -7
  52. package/dist-types/ts3.4/commands/ScanCommand.d.ts +4 -7
  53. package/dist-types/ts3.4/commands/TransactGetCommand.d.ts +4 -7
  54. package/dist-types/ts3.4/commands/TransactWriteCommand.d.ts +4 -7
  55. package/dist-types/ts3.4/commands/UpdateCommand.d.ts +4 -7
  56. package/dist-types/ts3.4/index.d.ts +2 -2
  57. package/package.json +5 -6
@@ -1,8 +1,9 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types";
3
- import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
4
- import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
5
1
  import { TransactWriteItemsCommand as __TransactWriteItemsCommand } from "@aws-sdk/client-dynamodb";
2
+ 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";
5
+ import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
+ import type { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
7
  /**
7
8
  * @public
8
9
  */
@@ -10,31 +11,31 @@ export { DynamoDBDocumentClientCommand, $Command };
10
11
  /**
11
12
  * @public
12
13
  */
13
- export type TransactWriteCommandInput = Omit<__TransactWriteItemsCommandInput, 'TransactItems'> & {
14
- TransactItems: (Omit<TransactWriteItem, 'ConditionCheck' | 'Put' | 'Delete' | 'Update'> & {
15
- ConditionCheck?: Omit<ConditionCheck, 'Key' | 'ExpressionAttributeValues'> & {
14
+ export type TransactWriteCommandInput = Omit<__TransactWriteItemsCommandInput, "TransactItems"> & {
15
+ TransactItems: (Omit<TransactWriteItem, "ConditionCheck" | "Put" | "Delete" | "Update"> & {
16
+ ConditionCheck?: (Omit<ConditionCheck, "Key" | "ExpressionAttributeValues"> & {
16
17
  Key: Record<string, NativeAttributeValue> | undefined;
17
18
  ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
18
- } | undefined;
19
- Put?: Omit<Put, 'Item' | 'ExpressionAttributeValues'> & {
19
+ }) | undefined;
20
+ Put?: (Omit<Put, "Item" | "ExpressionAttributeValues"> & {
20
21
  Item: Record<string, NativeAttributeValue> | undefined;
21
22
  ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
22
- } | undefined;
23
- Delete?: Omit<Delete, 'Key' | 'ExpressionAttributeValues'> & {
23
+ }) | undefined;
24
+ Delete?: (Omit<Delete, "Key" | "ExpressionAttributeValues"> & {
24
25
  Key: Record<string, NativeAttributeValue> | undefined;
25
26
  ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
26
- } | undefined;
27
- Update?: Omit<Update, 'Key' | 'ExpressionAttributeValues'> & {
27
+ }) | undefined;
28
+ Update?: (Omit<Update, "Key" | "ExpressionAttributeValues"> & {
28
29
  Key: Record<string, NativeAttributeValue> | undefined;
29
30
  ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
30
- } | undefined;
31
+ }) | undefined;
31
32
  })[] | undefined;
32
33
  };
33
34
  /**
34
35
  * @public
35
36
  */
36
- export type TransactWriteCommandOutput = Omit<__TransactWriteItemsCommandOutput, 'ItemCollectionMetrics'> & {
37
- ItemCollectionMetrics?: Record<string, (Omit<ItemCollectionMetrics, 'ItemCollectionKey'> & {
37
+ export type TransactWriteCommandOutput = Omit<__TransactWriteItemsCommandOutput, "ItemCollectionMetrics"> & {
38
+ ItemCollectionMetrics?: Record<string, (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
38
39
  ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
39
40
  })[]> | undefined;
40
41
  };
@@ -51,7 +52,7 @@ export declare class TransactWriteCommand extends DynamoDBDocumentClientCommand<
51
52
  readonly input: TransactWriteCommandInput;
52
53
  protected readonly inputKeyNodes: {
53
54
  TransactItems: {
54
- '*': {
55
+ "*": {
55
56
  ConditionCheck: {
56
57
  Key: import("../commands/utils").KeyNodeChildren;
57
58
  ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren;
@@ -73,8 +74,8 @@ export declare class TransactWriteCommand extends DynamoDBDocumentClientCommand<
73
74
  };
74
75
  protected readonly outputKeyNodes: {
75
76
  ItemCollectionMetrics: {
76
- '*': {
77
- '*': {
77
+ "*": {
78
+ "*": {
78
79
  ItemCollectionKey: import("../commands/utils").KeyNodeChildren;
79
80
  };
80
81
  };
@@ -1,8 +1,9 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types";
3
- import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
4
- import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
5
1
  import { UpdateItemCommand as __UpdateItemCommand } from "@aws-sdk/client-dynamodb";
2
+ 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";
5
+ import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
6
+ import type { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
6
7
  /**
7
8
  * @public
8
9
  */
@@ -10,25 +11,25 @@ export { DynamoDBDocumentClientCommand, $Command };
10
11
  /**
11
12
  * @public
12
13
  */
13
- export type UpdateCommandInput = Omit<__UpdateItemCommandInput, 'Key' | 'AttributeUpdates' | 'Expected' | 'ExpressionAttributeValues'> & {
14
+ export type UpdateCommandInput = Omit<__UpdateItemCommandInput, "Key" | "AttributeUpdates" | "Expected" | "ExpressionAttributeValues"> & {
14
15
  Key: Record<string, NativeAttributeValue> | undefined;
15
- AttributeUpdates?: Record<string, Omit<AttributeValueUpdate, 'Value'> & {
16
+ AttributeUpdates?: Record<string, Omit<AttributeValueUpdate, "Value"> & {
16
17
  Value?: NativeAttributeValue | undefined;
17
18
  }> | undefined;
18
- Expected?: Record<string, Omit<ExpectedAttributeValue, 'Value' | 'AttributeValueList'> & {
19
+ Expected?: Record<string, Omit<ExpectedAttributeValue, "Value" | "AttributeValueList"> & {
19
20
  Value?: NativeAttributeValue | undefined;
20
- AttributeValueList?: (NativeAttributeValue)[] | undefined;
21
+ AttributeValueList?: NativeAttributeValue[] | undefined;
21
22
  }> | undefined;
22
23
  ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
23
24
  };
24
25
  /**
25
26
  * @public
26
27
  */
27
- export type UpdateCommandOutput = Omit<__UpdateItemCommandOutput, 'Attributes' | 'ItemCollectionMetrics'> & {
28
+ export type UpdateCommandOutput = Omit<__UpdateItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & {
28
29
  Attributes?: Record<string, NativeAttributeValue> | undefined;
29
- ItemCollectionMetrics?: Omit<ItemCollectionMetrics, 'ItemCollectionKey'> & {
30
+ ItemCollectionMetrics?: (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
30
31
  ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
31
- } | undefined;
32
+ }) | undefined;
32
33
  };
33
34
  /**
34
35
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
@@ -44,12 +45,12 @@ export declare class UpdateCommand extends DynamoDBDocumentClientCommand<UpdateC
44
45
  protected readonly inputKeyNodes: {
45
46
  Key: import("../commands/utils").KeyNodeChildren;
46
47
  AttributeUpdates: {
47
- '*': {
48
+ "*": {
48
49
  Value: null;
49
50
  };
50
51
  };
51
52
  Expected: {
52
- '*': {
53
+ "*": {
53
54
  Value: null;
54
55
  AttributeValueList: import("../commands/utils").KeyNodeChildren;
55
56
  };
@@ -1,4 +1,4 @@
1
- import { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb";
1
+ import type { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb";
2
2
  /**
3
3
  * @internal
4
4
  */
@@ -1,7 +1,7 @@
1
- export * from './commands';
2
- export * from './pagination';
3
- export * from './DynamoDBDocumentClient';
4
- export * from './DynamoDBDocument';
1
+ export * from "./DynamoDBDocument";
2
+ export * from "./DynamoDBDocumentClient";
3
+ export * from "./commands";
4
+ export * from "./pagination";
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 { DynamoDBDocument } from "../DynamoDBDocument";
3
- import { DynamoDBDocumentClient } from "../DynamoDBDocumentClient";
2
+ import type { DynamoDBDocument } from "../DynamoDBDocument";
3
+ import type { DynamoDBDocumentClient } from "../DynamoDBDocumentClient";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import { Paginator } from "@smithy/types";
2
- import { QueryCommandInput, QueryCommandOutput } from "../commands/QueryCommand";
3
- import { DynamoDBDocumentPaginationConfiguration } from "./Interfaces";
2
+ import type { QueryCommandInput, QueryCommandOutput } from "../commands/QueryCommand";
3
+ import type { DynamoDBDocumentPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,6 +1,6 @@
1
1
  import { Paginator } from "@smithy/types";
2
- import { ScanCommandInput, ScanCommandOutput } from "../commands/ScanCommand";
3
- import { DynamoDBDocumentPaginationConfiguration } from "./Interfaces";
2
+ import type { ScanCommandInput, ScanCommandOutput } from "../commands/ScanCommand";
3
+ import type { DynamoDBDocumentPaginationConfiguration } from "./Interfaces";
4
4
  /**
5
5
  * @public
6
6
  */
@@ -1,3 +1,4 @@
1
+ import { DynamoDBClient } from "@aws-sdk/client-dynamodb";
1
2
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
3
  import {
3
4
  BatchExecuteStatementCommandInput,
@@ -39,11 +40,8 @@ import {
39
40
  UpdateCommandInput,
40
41
  UpdateCommandOutput,
41
42
  } from "./commands/UpdateCommand";
42
- import {
43
- DynamoDBDocumentClient,
44
- TranslateConfig,
45
- } from "./DynamoDBDocumentClient";
46
- import { DynamoDBClient } from "@aws-sdk/client-dynamodb";
43
+ import { TranslateConfig } from "./DynamoDBDocumentClient";
44
+ import { DynamoDBDocumentClient } from "./DynamoDBDocumentClient";
47
45
  export declare class DynamoDBDocument extends DynamoDBDocumentClient {
48
46
  static from(
49
47
  client: DynamoDBClient,
@@ -1,4 +1,11 @@
1
- import { Client as __Client } from "@smithy/smithy-client";
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
+ import { Client as __Client } from "@smithy/core/client";
2
9
  import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
3
10
  import {
4
11
  BatchExecuteStatementCommandInput,
@@ -40,13 +47,6 @@ import {
40
47
  UpdateCommandInput,
41
48
  UpdateCommandOutput,
42
49
  } 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,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import { MiddlewareStack } from "@smithy/types";
3
3
  import { KeyNodeChildren } from "../commands/utils";
4
4
  import { DynamoDBDocumentClientResolvedConfig } from "../DynamoDBDocumentClient";
@@ -1,16 +1,13 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import {
3
- HttpHandlerOptions as __HttpHandlerOptions,
4
- Handler,
5
- MiddlewareStack,
6
- } from "@smithy/types";
1
+ import { BatchExecuteStatementCommand as __BatchExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@smithy/core/client";
3
+ import { Handler, MiddlewareStack } from "@smithy/types";
4
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
7
5
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
8
6
  import {
9
7
  DynamoDBDocumentClientResolvedConfig,
10
8
  ServiceInputTypes,
11
9
  ServiceOutputTypes,
12
10
  } from "../DynamoDBDocumentClient";
13
- import { BatchExecuteStatementCommand as __BatchExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
14
11
  export { DynamoDBDocumentClientCommand, $Command };
15
12
  export type BatchExecuteStatementCommandInput = Pick<
16
13
  __BatchExecuteStatementCommandInput,
@@ -1,16 +1,13 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import {
3
- HttpHandlerOptions as __HttpHandlerOptions,
4
- Handler,
5
- MiddlewareStack,
6
- } from "@smithy/types";
1
+ import { BatchGetItemCommand as __BatchGetItemCommand } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@smithy/core/client";
3
+ import { Handler, MiddlewareStack } from "@smithy/types";
4
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
7
5
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
8
6
  import {
9
7
  DynamoDBDocumentClientResolvedConfig,
10
8
  ServiceInputTypes,
11
9
  ServiceOutputTypes,
12
10
  } from "../DynamoDBDocumentClient";
13
- import { BatchGetItemCommand as __BatchGetItemCommand } from "@aws-sdk/client-dynamodb";
14
11
  export { DynamoDBDocumentClientCommand, $Command };
15
12
  export type BatchGetCommandInput = Pick<
16
13
  __BatchGetItemCommandInput,
@@ -1,16 +1,13 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import {
3
- HttpHandlerOptions as __HttpHandlerOptions,
4
- Handler,
5
- MiddlewareStack,
6
- } from "@smithy/types";
1
+ import { BatchWriteItemCommand as __BatchWriteItemCommand } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@smithy/core/client";
3
+ import { Handler, MiddlewareStack } from "@smithy/types";
4
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
7
5
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
8
6
  import {
9
7
  DynamoDBDocumentClientResolvedConfig,
10
8
  ServiceInputTypes,
11
9
  ServiceOutputTypes,
12
10
  } from "../DynamoDBDocumentClient";
13
- import { BatchWriteItemCommand as __BatchWriteItemCommand } from "@aws-sdk/client-dynamodb";
14
11
  export { DynamoDBDocumentClientCommand, $Command };
15
12
  export type BatchWriteCommandInput = Pick<
16
13
  __BatchWriteItemCommandInput,
@@ -1,4 +1,4 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
1
+ import { Command as $Command } from "@smithy/core/client";
2
2
  import {
3
3
  HttpHandlerOptions as __HttpHandlerOptions,
4
4
  Handler,
@@ -1,16 +1,13 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import {
3
- HttpHandlerOptions as __HttpHandlerOptions,
4
- Handler,
5
- MiddlewareStack,
6
- } from "@smithy/types";
1
+ import { ExecuteStatementCommand as __ExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@smithy/core/client";
3
+ import { Handler, MiddlewareStack } from "@smithy/types";
4
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
7
5
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
8
6
  import {
9
7
  DynamoDBDocumentClientResolvedConfig,
10
8
  ServiceInputTypes,
11
9
  ServiceOutputTypes,
12
10
  } from "../DynamoDBDocumentClient";
13
- import { ExecuteStatementCommand as __ExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
14
11
  export { DynamoDBDocumentClientCommand, $Command };
15
12
  export type ExecuteStatementCommandInput = Pick<
16
13
  __ExecuteStatementCommandInput,
@@ -1,16 +1,13 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import {
3
- HttpHandlerOptions as __HttpHandlerOptions,
4
- Handler,
5
- MiddlewareStack,
6
- } from "@smithy/types";
1
+ import { ExecuteTransactionCommand as __ExecuteTransactionCommand } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@smithy/core/client";
3
+ import { Handler, MiddlewareStack } from "@smithy/types";
4
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
7
5
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
8
6
  import {
9
7
  DynamoDBDocumentClientResolvedConfig,
10
8
  ServiceInputTypes,
11
9
  ServiceOutputTypes,
12
10
  } from "../DynamoDBDocumentClient";
13
- import { ExecuteTransactionCommand as __ExecuteTransactionCommand } from "@aws-sdk/client-dynamodb";
14
11
  export { DynamoDBDocumentClientCommand, $Command };
15
12
  export type ExecuteTransactionCommandInput = Pick<
16
13
  __ExecuteTransactionCommandInput,
@@ -1,16 +1,13 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import {
3
- HttpHandlerOptions as __HttpHandlerOptions,
4
- Handler,
5
- MiddlewareStack,
6
- } from "@smithy/types";
1
+ import { GetItemCommand as __GetItemCommand } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@smithy/core/client";
3
+ import { Handler, MiddlewareStack } from "@smithy/types";
4
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
7
5
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
8
6
  import {
9
7
  DynamoDBDocumentClientResolvedConfig,
10
8
  ServiceInputTypes,
11
9
  ServiceOutputTypes,
12
10
  } from "../DynamoDBDocumentClient";
13
- import { GetItemCommand as __GetItemCommand } from "@aws-sdk/client-dynamodb";
14
11
  export { DynamoDBDocumentClientCommand, $Command };
15
12
  export type GetCommandInput = Pick<
16
13
  __GetItemCommandInput,
@@ -1,16 +1,13 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import {
3
- HttpHandlerOptions as __HttpHandlerOptions,
4
- Handler,
5
- MiddlewareStack,
6
- } from "@smithy/types";
1
+ import { PutItemCommand as __PutItemCommand } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@smithy/core/client";
3
+ import { Handler, MiddlewareStack } from "@smithy/types";
4
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
7
5
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
8
6
  import {
9
7
  DynamoDBDocumentClientResolvedConfig,
10
8
  ServiceInputTypes,
11
9
  ServiceOutputTypes,
12
10
  } from "../DynamoDBDocumentClient";
13
- import { PutItemCommand as __PutItemCommand } from "@aws-sdk/client-dynamodb";
14
11
  export { DynamoDBDocumentClientCommand, $Command };
15
12
  export type PutCommandInput = Pick<
16
13
  __PutItemCommandInput,
@@ -1,16 +1,13 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import {
3
- HttpHandlerOptions as __HttpHandlerOptions,
4
- Handler,
5
- MiddlewareStack,
6
- } from "@smithy/types";
1
+ import { QueryCommand as __QueryCommand } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@smithy/core/client";
3
+ import { Handler, MiddlewareStack } from "@smithy/types";
4
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
7
5
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
8
6
  import {
9
7
  DynamoDBDocumentClientResolvedConfig,
10
8
  ServiceInputTypes,
11
9
  ServiceOutputTypes,
12
10
  } from "../DynamoDBDocumentClient";
13
- import { QueryCommand as __QueryCommand } from "@aws-sdk/client-dynamodb";
14
11
  export { DynamoDBDocumentClientCommand, $Command };
15
12
  export type QueryCommandInput = Pick<
16
13
  __QueryCommandInput,
@@ -1,16 +1,13 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import {
3
- HttpHandlerOptions as __HttpHandlerOptions,
4
- Handler,
5
- MiddlewareStack,
6
- } from "@smithy/types";
1
+ import { ScanCommand as __ScanCommand } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@smithy/core/client";
3
+ import { Handler, MiddlewareStack } from "@smithy/types";
4
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
7
5
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
8
6
  import {
9
7
  DynamoDBDocumentClientResolvedConfig,
10
8
  ServiceInputTypes,
11
9
  ServiceOutputTypes,
12
10
  } from "../DynamoDBDocumentClient";
13
- import { ScanCommand as __ScanCommand } from "@aws-sdk/client-dynamodb";
14
11
  export { DynamoDBDocumentClientCommand, $Command };
15
12
  export type ScanCommandInput = Pick<
16
13
  __ScanCommandInput,
@@ -1,16 +1,13 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import {
3
- HttpHandlerOptions as __HttpHandlerOptions,
4
- Handler,
5
- MiddlewareStack,
6
- } from "@smithy/types";
1
+ import { TransactGetItemsCommand as __TransactGetItemsCommand } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@smithy/core/client";
3
+ import { Handler, MiddlewareStack } from "@smithy/types";
4
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
7
5
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
8
6
  import {
9
7
  DynamoDBDocumentClientResolvedConfig,
10
8
  ServiceInputTypes,
11
9
  ServiceOutputTypes,
12
10
  } from "../DynamoDBDocumentClient";
13
- import { TransactGetItemsCommand as __TransactGetItemsCommand } from "@aws-sdk/client-dynamodb";
14
11
  export { DynamoDBDocumentClientCommand, $Command };
15
12
  export type TransactGetCommandInput = Pick<
16
13
  __TransactGetItemsCommandInput,
@@ -1,16 +1,13 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import {
3
- HttpHandlerOptions as __HttpHandlerOptions,
4
- Handler,
5
- MiddlewareStack,
6
- } from "@smithy/types";
1
+ import { TransactWriteItemsCommand as __TransactWriteItemsCommand } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@smithy/core/client";
3
+ import { Handler, MiddlewareStack } from "@smithy/types";
4
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
7
5
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
8
6
  import {
9
7
  DynamoDBDocumentClientResolvedConfig,
10
8
  ServiceInputTypes,
11
9
  ServiceOutputTypes,
12
10
  } from "../DynamoDBDocumentClient";
13
- import { TransactWriteItemsCommand as __TransactWriteItemsCommand } from "@aws-sdk/client-dynamodb";
14
11
  export { DynamoDBDocumentClientCommand, $Command };
15
12
  export type TransactWriteCommandInput = Pick<
16
13
  __TransactWriteItemsCommandInput,
@@ -1,16 +1,13 @@
1
- import { Command as $Command } from "@smithy/smithy-client";
2
- import {
3
- HttpHandlerOptions as __HttpHandlerOptions,
4
- Handler,
5
- MiddlewareStack,
6
- } from "@smithy/types";
1
+ import { UpdateItemCommand as __UpdateItemCommand } from "@aws-sdk/client-dynamodb";
2
+ import { Command as $Command } from "@smithy/core/client";
3
+ import { Handler, MiddlewareStack } from "@smithy/types";
4
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
7
5
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
8
6
  import {
9
7
  DynamoDBDocumentClientResolvedConfig,
10
8
  ServiceInputTypes,
11
9
  ServiceOutputTypes,
12
10
  } from "../DynamoDBDocumentClient";
13
- import { UpdateItemCommand as __UpdateItemCommand } from "@aws-sdk/client-dynamodb";
14
11
  export { DynamoDBDocumentClientCommand, $Command };
15
12
  export type UpdateCommandInput = Pick<
16
13
  __UpdateItemCommandInput,
@@ -1,7 +1,7 @@
1
+ export * from "./DynamoDBDocument";
2
+ export * from "./DynamoDBDocumentClient";
1
3
  export * from "./commands";
2
4
  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.1044.0",
3
+ "version": "3.1046.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,18 +30,17 @@
30
30
  },
31
31
  "license": "Apache-2.0",
32
32
  "dependencies": {
33
- "@aws-sdk/core": "^3.974.8",
33
+ "@aws-sdk/core": "^3.974.9",
34
34
  "@aws-sdk/util-dynamodb": "^3.996.2",
35
- "@smithy/core": "^3.23.17",
36
- "@smithy/smithy-client": "^4.12.13",
35
+ "@smithy/core": "^3.24.1",
37
36
  "@smithy/types": "^4.14.1",
38
37
  "tslib": "^2.6.2"
39
38
  },
40
39
  "peerDependencies": {
41
- "@aws-sdk/client-dynamodb": "^3.1044.0"
40
+ "@aws-sdk/client-dynamodb": "^3.1046.0"
42
41
  },
43
42
  "devDependencies": {
44
- "@aws-sdk/client-dynamodb": "3.1044.0",
43
+ "@aws-sdk/client-dynamodb": "3.1046.0",
45
44
  "@tsconfig/recommended": "1.0.1",
46
45
  "@types/node": "^20.14.8",
47
46
  "concurrently": "7.0.0",