@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 { BatchGetItemCommand as __BatchGetItemCommand } 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,18 +11,18 @@ export { DynamoDBDocumentClientCommand, $Command };
10
11
  /**
11
12
  * @public
12
13
  */
13
- export type BatchGetCommandInput = Omit<__BatchGetItemCommandInput, 'RequestItems'> & {
14
- RequestItems: Record<string, Omit<KeysAndAttributes, 'Keys'> & {
15
- Keys: (Record<string, NativeAttributeValue>)[] | undefined;
14
+ export type BatchGetCommandInput = Omit<__BatchGetItemCommandInput, "RequestItems"> & {
15
+ RequestItems: Record<string, Omit<KeysAndAttributes, "Keys"> & {
16
+ Keys: Record<string, NativeAttributeValue>[] | undefined;
16
17
  }> | undefined;
17
18
  };
18
19
  /**
19
20
  * @public
20
21
  */
21
- export type BatchGetCommandOutput = Omit<__BatchGetItemCommandOutput, 'Responses' | 'UnprocessedKeys'> & {
22
- Responses?: Record<string, (Record<string, NativeAttributeValue>)[]> | undefined;
23
- UnprocessedKeys?: Record<string, Omit<KeysAndAttributes, 'Keys'> & {
24
- Keys: (Record<string, NativeAttributeValue>)[] | undefined;
22
+ export type BatchGetCommandOutput = Omit<__BatchGetItemCommandOutput, "Responses" | "UnprocessedKeys"> & {
23
+ Responses?: Record<string, Record<string, NativeAttributeValue>[]> | undefined;
24
+ UnprocessedKeys?: Record<string, Omit<KeysAndAttributes, "Keys"> & {
25
+ Keys: Record<string, NativeAttributeValue>[] | undefined;
25
26
  }> | undefined;
26
27
  };
27
28
  /**
@@ -37,23 +38,23 @@ export declare class BatchGetCommand extends DynamoDBDocumentClientCommand<Batch
37
38
  readonly input: BatchGetCommandInput;
38
39
  protected readonly inputKeyNodes: {
39
40
  RequestItems: {
40
- '*': {
41
+ "*": {
41
42
  Keys: {
42
- '*': import("../commands/utils").KeyNodeChildren;
43
+ "*": import("../commands/utils").KeyNodeChildren;
43
44
  };
44
45
  };
45
46
  };
46
47
  };
47
48
  protected readonly outputKeyNodes: {
48
49
  Responses: {
49
- '*': {
50
- '*': import("../commands/utils").KeyNodeChildren;
50
+ "*": {
51
+ "*": import("../commands/utils").KeyNodeChildren;
51
52
  };
52
53
  };
53
54
  UnprocessedKeys: {
54
- '*': {
55
+ "*": {
55
56
  Keys: {
56
- '*': import("../commands/utils").KeyNodeChildren;
57
+ "*": import("../commands/utils").KeyNodeChildren;
57
58
  };
58
59
  };
59
60
  };
@@ -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 { BatchWriteItemCommand as __BatchWriteItemCommand } 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,29 +11,29 @@ export { DynamoDBDocumentClientCommand, $Command };
10
11
  /**
11
12
  * @public
12
13
  */
13
- export type BatchWriteCommandInput = Omit<__BatchWriteItemCommandInput, 'RequestItems'> & {
14
- RequestItems: Record<string, (Omit<WriteRequest, 'PutRequest' | 'DeleteRequest'> & {
15
- PutRequest?: Omit<PutRequest, 'Item'> & {
14
+ export type BatchWriteCommandInput = Omit<__BatchWriteItemCommandInput, "RequestItems"> & {
15
+ RequestItems: Record<string, (Omit<WriteRequest, "PutRequest" | "DeleteRequest"> & {
16
+ PutRequest?: (Omit<PutRequest, "Item"> & {
16
17
  Item: Record<string, NativeAttributeValue> | undefined;
17
- } | undefined;
18
- DeleteRequest?: Omit<DeleteRequest, 'Key'> & {
18
+ }) | undefined;
19
+ DeleteRequest?: (Omit<DeleteRequest, "Key"> & {
19
20
  Key: Record<string, NativeAttributeValue> | undefined;
20
- } | undefined;
21
+ }) | undefined;
21
22
  })[]> | undefined;
22
23
  };
23
24
  /**
24
25
  * @public
25
26
  */
26
- export type BatchWriteCommandOutput = Omit<__BatchWriteItemCommandOutput, 'UnprocessedItems' | 'ItemCollectionMetrics'> & {
27
- UnprocessedItems?: Record<string, (Omit<WriteRequest, 'PutRequest' | 'DeleteRequest'> & {
28
- PutRequest?: Omit<PutRequest, 'Item'> & {
27
+ export type BatchWriteCommandOutput = Omit<__BatchWriteItemCommandOutput, "UnprocessedItems" | "ItemCollectionMetrics"> & {
28
+ UnprocessedItems?: Record<string, (Omit<WriteRequest, "PutRequest" | "DeleteRequest"> & {
29
+ PutRequest?: (Omit<PutRequest, "Item"> & {
29
30
  Item: Record<string, NativeAttributeValue> | undefined;
30
- } | undefined;
31
- DeleteRequest?: Omit<DeleteRequest, 'Key'> & {
31
+ }) | undefined;
32
+ DeleteRequest?: (Omit<DeleteRequest, "Key"> & {
32
33
  Key: Record<string, NativeAttributeValue> | undefined;
33
- } | undefined;
34
+ }) | undefined;
34
35
  })[]> | undefined;
35
- ItemCollectionMetrics?: Record<string, (Omit<ItemCollectionMetrics, 'ItemCollectionKey'> & {
36
+ ItemCollectionMetrics?: Record<string, (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
36
37
  ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
37
38
  })[]> | undefined;
38
39
  };
@@ -49,8 +50,8 @@ export declare class BatchWriteCommand extends DynamoDBDocumentClientCommand<Bat
49
50
  readonly input: BatchWriteCommandInput;
50
51
  protected readonly inputKeyNodes: {
51
52
  RequestItems: {
52
- '*': {
53
- '*': {
53
+ "*": {
54
+ "*": {
54
55
  PutRequest: {
55
56
  Item: import("../commands/utils").KeyNodeChildren;
56
57
  };
@@ -63,8 +64,8 @@ export declare class BatchWriteCommand extends DynamoDBDocumentClientCommand<Bat
63
64
  };
64
65
  protected readonly outputKeyNodes: {
65
66
  UnprocessedItems: {
66
- '*': {
67
- '*': {
67
+ "*": {
68
+ "*": {
68
69
  PutRequest: {
69
70
  Item: import("../commands/utils").KeyNodeChildren;
70
71
  };
@@ -75,8 +76,8 @@ export declare class BatchWriteCommand extends DynamoDBDocumentClientCommand<Bat
75
76
  };
76
77
  };
77
78
  ItemCollectionMetrics: {
78
- '*': {
79
- '*': {
79
+ "*": {
80
+ "*": {
80
81
  ItemCollectionKey: import("../commands/utils").KeyNodeChildren;
81
82
  };
82
83
  };
@@ -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 { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types";
3
3
  import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
4
4
  import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
@@ -10,22 +10,22 @@ export { DynamoDBDocumentClientCommand, $Command };
10
10
  /**
11
11
  * @public
12
12
  */
13
- export type DeleteCommandInput = Omit<__DeleteItemCommandInput, 'Key' | 'Expected' | 'ExpressionAttributeValues'> & {
13
+ export type DeleteCommandInput = Omit<__DeleteItemCommandInput, "Key" | "Expected" | "ExpressionAttributeValues"> & {
14
14
  Key: Record<string, NativeAttributeValue> | undefined;
15
- Expected?: Record<string, Omit<ExpectedAttributeValue, 'Value' | 'AttributeValueList'> & {
15
+ Expected?: Record<string, Omit<ExpectedAttributeValue, "Value" | "AttributeValueList"> & {
16
16
  Value?: NativeAttributeValue | undefined;
17
- AttributeValueList?: (NativeAttributeValue)[] | undefined;
17
+ AttributeValueList?: NativeAttributeValue[] | undefined;
18
18
  }> | undefined;
19
19
  ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
20
20
  };
21
21
  /**
22
22
  * @public
23
23
  */
24
- export type DeleteCommandOutput = Omit<__DeleteItemCommandOutput, 'Attributes' | 'ItemCollectionMetrics'> & {
24
+ export type DeleteCommandOutput = Omit<__DeleteItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & {
25
25
  Attributes?: Record<string, NativeAttributeValue> | undefined;
26
- ItemCollectionMetrics?: Omit<ItemCollectionMetrics, 'ItemCollectionKey'> & {
26
+ ItemCollectionMetrics?: (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
27
27
  ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
28
- } | undefined;
28
+ }) | undefined;
29
29
  };
30
30
  /**
31
31
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
@@ -41,7 +41,7 @@ export declare class DeleteCommand extends DynamoDBDocumentClientCommand<DeleteC
41
41
  protected readonly inputKeyNodes: {
42
42
  Key: import("../commands/utils").KeyNodeChildren;
43
43
  Expected: {
44
- '*': {
44
+ "*": {
45
45
  Value: null;
46
46
  AttributeValueList: import("../commands/utils").KeyNodeChildren;
47
47
  };
@@ -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 { ExecuteStatementCommand as __ExecuteStatementCommand } 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,14 +11,14 @@ export { DynamoDBDocumentClientCommand, $Command };
10
11
  /**
11
12
  * @public
12
13
  */
13
- export type ExecuteStatementCommandInput = Omit<__ExecuteStatementCommandInput, 'Parameters'> & {
14
- Parameters?: (NativeAttributeValue)[] | undefined;
14
+ export type ExecuteStatementCommandInput = Omit<__ExecuteStatementCommandInput, "Parameters"> & {
15
+ Parameters?: NativeAttributeValue[] | undefined;
15
16
  };
16
17
  /**
17
18
  * @public
18
19
  */
19
- export type ExecuteStatementCommandOutput = Omit<__ExecuteStatementCommandOutput, 'Items' | 'LastEvaluatedKey'> & {
20
- Items?: (Record<string, NativeAttributeValue>)[] | undefined;
20
+ export type ExecuteStatementCommandOutput = Omit<__ExecuteStatementCommandOutput, "Items" | "LastEvaluatedKey"> & {
21
+ Items?: Record<string, NativeAttributeValue>[] | undefined;
21
22
  LastEvaluatedKey?: Record<string, NativeAttributeValue> | undefined;
22
23
  };
23
24
  /**
@@ -36,7 +37,7 @@ export declare class ExecuteStatementCommand extends DynamoDBDocumentClientComma
36
37
  };
37
38
  protected readonly outputKeyNodes: {
38
39
  Items: {
39
- '*': import("../commands/utils").KeyNodeChildren;
40
+ "*": import("../commands/utils").KeyNodeChildren;
40
41
  };
41
42
  LastEvaluatedKey: import("../commands/utils").KeyNodeChildren;
42
43
  };
@@ -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 { ExecuteTransactionCommand as __ExecuteTransactionCommand } 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,16 +11,16 @@ export { DynamoDBDocumentClientCommand, $Command };
10
11
  /**
11
12
  * @public
12
13
  */
13
- export type ExecuteTransactionCommandInput = Omit<__ExecuteTransactionCommandInput, 'TransactStatements'> & {
14
- TransactStatements: (Omit<ParameterizedStatement, 'Parameters'> & {
15
- Parameters?: (NativeAttributeValue)[] | undefined;
14
+ export type ExecuteTransactionCommandInput = Omit<__ExecuteTransactionCommandInput, "TransactStatements"> & {
15
+ TransactStatements: (Omit<ParameterizedStatement, "Parameters"> & {
16
+ Parameters?: NativeAttributeValue[] | undefined;
16
17
  })[] | undefined;
17
18
  };
18
19
  /**
19
20
  * @public
20
21
  */
21
- export type ExecuteTransactionCommandOutput = Omit<__ExecuteTransactionCommandOutput, 'Responses'> & {
22
- Responses?: (Omit<ItemResponse, 'Item'> & {
22
+ export type ExecuteTransactionCommandOutput = Omit<__ExecuteTransactionCommandOutput, "Responses"> & {
23
+ Responses?: (Omit<ItemResponse, "Item"> & {
23
24
  Item?: Record<string, NativeAttributeValue> | undefined;
24
25
  })[] | undefined;
25
26
  };
@@ -36,14 +37,14 @@ export declare class ExecuteTransactionCommand extends DynamoDBDocumentClientCom
36
37
  readonly input: ExecuteTransactionCommandInput;
37
38
  protected readonly inputKeyNodes: {
38
39
  TransactStatements: {
39
- '*': {
40
+ "*": {
40
41
  Parameters: import("../commands/utils").KeyNodeChildren;
41
42
  };
42
43
  };
43
44
  };
44
45
  protected readonly outputKeyNodes: {
45
46
  Responses: {
46
- '*': {
47
+ "*": {
47
48
  Item: import("../commands/utils").KeyNodeChildren;
48
49
  };
49
50
  };
@@ -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 { GetItemCommand as __GetItemCommand } 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,13 +11,13 @@ export { DynamoDBDocumentClientCommand, $Command };
10
11
  /**
11
12
  * @public
12
13
  */
13
- export type GetCommandInput = Omit<__GetItemCommandInput, 'Key'> & {
14
+ export type GetCommandInput = Omit<__GetItemCommandInput, "Key"> & {
14
15
  Key: Record<string, NativeAttributeValue> | undefined;
15
16
  };
16
17
  /**
17
18
  * @public
18
19
  */
19
- export type GetCommandOutput = Omit<__GetItemCommandOutput, 'Item'> & {
20
+ export type GetCommandOutput = Omit<__GetItemCommandOutput, "Item"> & {
20
21
  Item?: Record<string, NativeAttributeValue> | undefined;
21
22
  };
22
23
  /**
@@ -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 { PutItemCommand as __PutItemCommand } 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,22 +11,22 @@ export { DynamoDBDocumentClientCommand, $Command };
10
11
  /**
11
12
  * @public
12
13
  */
13
- export type PutCommandInput = Omit<__PutItemCommandInput, 'Item' | 'Expected' | 'ExpressionAttributeValues'> & {
14
+ export type PutCommandInput = Omit<__PutItemCommandInput, "Item" | "Expected" | "ExpressionAttributeValues"> & {
14
15
  Item: Record<string, NativeAttributeValue> | undefined;
15
- Expected?: Record<string, Omit<ExpectedAttributeValue, 'Value' | 'AttributeValueList'> & {
16
+ Expected?: Record<string, Omit<ExpectedAttributeValue, "Value" | "AttributeValueList"> & {
16
17
  Value?: NativeAttributeValue | undefined;
17
- AttributeValueList?: (NativeAttributeValue)[] | undefined;
18
+ AttributeValueList?: NativeAttributeValue[] | undefined;
18
19
  }> | undefined;
19
20
  ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
20
21
  };
21
22
  /**
22
23
  * @public
23
24
  */
24
- export type PutCommandOutput = Omit<__PutItemCommandOutput, 'Attributes' | 'ItemCollectionMetrics'> & {
25
+ export type PutCommandOutput = Omit<__PutItemCommandOutput, "Attributes" | "ItemCollectionMetrics"> & {
25
26
  Attributes?: Record<string, NativeAttributeValue> | undefined;
26
- ItemCollectionMetrics?: Omit<ItemCollectionMetrics, 'ItemCollectionKey'> & {
27
+ ItemCollectionMetrics?: (Omit<ItemCollectionMetrics, "ItemCollectionKey"> & {
27
28
  ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
28
- } | undefined;
29
+ }) | undefined;
29
30
  };
30
31
  /**
31
32
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
@@ -41,7 +42,7 @@ export declare class PutCommand extends DynamoDBDocumentClientCommand<PutCommand
41
42
  protected readonly inputKeyNodes: {
42
43
  Item: import("../commands/utils").KeyNodeChildren;
43
44
  Expected: {
44
- '*': {
45
+ "*": {
45
46
  Value: null;
46
47
  AttributeValueList: import("../commands/utils").KeyNodeChildren;
47
48
  };
@@ -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 { QueryCommand as __QueryCommand } 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,12 +11,12 @@ export { DynamoDBDocumentClientCommand, $Command };
10
11
  /**
11
12
  * @public
12
13
  */
13
- export type QueryCommandInput = Omit<__QueryCommandInput, 'KeyConditions' | 'QueryFilter' | 'ExclusiveStartKey' | 'ExpressionAttributeValues'> & {
14
- KeyConditions?: Record<string, Omit<Condition, 'AttributeValueList'> & {
15
- AttributeValueList?: (NativeAttributeValue)[] | undefined;
14
+ export type QueryCommandInput = Omit<__QueryCommandInput, "KeyConditions" | "QueryFilter" | "ExclusiveStartKey" | "ExpressionAttributeValues"> & {
15
+ KeyConditions?: Record<string, Omit<Condition, "AttributeValueList"> & {
16
+ AttributeValueList?: NativeAttributeValue[] | undefined;
16
17
  }> | undefined;
17
- QueryFilter?: Record<string, Omit<Condition, 'AttributeValueList'> & {
18
- AttributeValueList?: (NativeAttributeValue)[] | undefined;
18
+ QueryFilter?: Record<string, Omit<Condition, "AttributeValueList"> & {
19
+ AttributeValueList?: NativeAttributeValue[] | undefined;
19
20
  }> | undefined;
20
21
  ExclusiveStartKey?: Record<string, NativeAttributeValue> | undefined;
21
22
  ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
@@ -23,8 +24,8 @@ export type QueryCommandInput = Omit<__QueryCommandInput, 'KeyConditions' | 'Que
23
24
  /**
24
25
  * @public
25
26
  */
26
- export type QueryCommandOutput = Omit<__QueryCommandOutput, 'Items' | 'LastEvaluatedKey'> & {
27
- Items?: (Record<string, NativeAttributeValue>)[] | undefined;
27
+ export type QueryCommandOutput = Omit<__QueryCommandOutput, "Items" | "LastEvaluatedKey"> & {
28
+ Items?: Record<string, NativeAttributeValue>[] | undefined;
28
29
  LastEvaluatedKey?: Record<string, NativeAttributeValue> | undefined;
29
30
  };
30
31
  /**
@@ -40,12 +41,12 @@ export declare class QueryCommand extends DynamoDBDocumentClientCommand<QueryCom
40
41
  readonly input: QueryCommandInput;
41
42
  protected readonly inputKeyNodes: {
42
43
  KeyConditions: {
43
- '*': {
44
+ "*": {
44
45
  AttributeValueList: import("../commands/utils").KeyNodeChildren;
45
46
  };
46
47
  };
47
48
  QueryFilter: {
48
- '*': {
49
+ "*": {
49
50
  AttributeValueList: import("../commands/utils").KeyNodeChildren;
50
51
  };
51
52
  };
@@ -54,7 +55,7 @@ export declare class QueryCommand extends DynamoDBDocumentClientCommand<QueryCom
54
55
  };
55
56
  protected readonly outputKeyNodes: {
56
57
  Items: {
57
- '*': import("../commands/utils").KeyNodeChildren;
58
+ "*": import("../commands/utils").KeyNodeChildren;
58
59
  };
59
60
  LastEvaluatedKey: import("../commands/utils").KeyNodeChildren;
60
61
  };
@@ -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 { ScanCommand as __ScanCommand } 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,9 +11,9 @@ export { DynamoDBDocumentClientCommand, $Command };
10
11
  /**
11
12
  * @public
12
13
  */
13
- export type ScanCommandInput = Omit<__ScanCommandInput, 'ScanFilter' | 'ExclusiveStartKey' | 'ExpressionAttributeValues'> & {
14
- ScanFilter?: Record<string, Omit<Condition, 'AttributeValueList'> & {
15
- AttributeValueList?: (NativeAttributeValue)[] | undefined;
14
+ export type ScanCommandInput = Omit<__ScanCommandInput, "ScanFilter" | "ExclusiveStartKey" | "ExpressionAttributeValues"> & {
15
+ ScanFilter?: Record<string, Omit<Condition, "AttributeValueList"> & {
16
+ AttributeValueList?: NativeAttributeValue[] | undefined;
16
17
  }> | undefined;
17
18
  ExclusiveStartKey?: Record<string, NativeAttributeValue> | undefined;
18
19
  ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
@@ -20,8 +21,8 @@ export type ScanCommandInput = Omit<__ScanCommandInput, 'ScanFilter' | 'Exclusiv
20
21
  /**
21
22
  * @public
22
23
  */
23
- export type ScanCommandOutput = Omit<__ScanCommandOutput, 'Items' | 'LastEvaluatedKey'> & {
24
- Items?: (Record<string, NativeAttributeValue>)[] | undefined;
24
+ export type ScanCommandOutput = Omit<__ScanCommandOutput, "Items" | "LastEvaluatedKey"> & {
25
+ Items?: Record<string, NativeAttributeValue>[] | undefined;
25
26
  LastEvaluatedKey?: Record<string, NativeAttributeValue> | undefined;
26
27
  };
27
28
  /**
@@ -37,7 +38,7 @@ export declare class ScanCommand extends DynamoDBDocumentClientCommand<ScanComma
37
38
  readonly input: ScanCommandInput;
38
39
  protected readonly inputKeyNodes: {
39
40
  ScanFilter: {
40
- '*': {
41
+ "*": {
41
42
  AttributeValueList: import("../commands/utils").KeyNodeChildren;
42
43
  };
43
44
  };
@@ -46,7 +47,7 @@ export declare class ScanCommand extends DynamoDBDocumentClientCommand<ScanComma
46
47
  };
47
48
  protected readonly outputKeyNodes: {
48
49
  Items: {
49
- '*': import("../commands/utils").KeyNodeChildren;
50
+ "*": import("../commands/utils").KeyNodeChildren;
50
51
  };
51
52
  LastEvaluatedKey: import("../commands/utils").KeyNodeChildren;
52
53
  };
@@ -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 { TransactGetItemsCommand as __TransactGetItemsCommand } 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,18 +11,18 @@ export { DynamoDBDocumentClientCommand, $Command };
10
11
  /**
11
12
  * @public
12
13
  */
13
- export type TransactGetCommandInput = Omit<__TransactGetItemsCommandInput, 'TransactItems'> & {
14
- TransactItems: (Omit<TransactGetItem, 'Get'> & {
15
- Get: Omit<Get, 'Key'> & {
14
+ export type TransactGetCommandInput = Omit<__TransactGetItemsCommandInput, "TransactItems"> & {
15
+ TransactItems: (Omit<TransactGetItem, "Get"> & {
16
+ Get: (Omit<Get, "Key"> & {
16
17
  Key: Record<string, NativeAttributeValue> | undefined;
17
- } | undefined;
18
+ }) | undefined;
18
19
  })[] | undefined;
19
20
  };
20
21
  /**
21
22
  * @public
22
23
  */
23
- export type TransactGetCommandOutput = Omit<__TransactGetItemsCommandOutput, 'Responses'> & {
24
- Responses?: (Omit<ItemResponse, 'Item'> & {
24
+ export type TransactGetCommandOutput = Omit<__TransactGetItemsCommandOutput, "Responses"> & {
25
+ Responses?: (Omit<ItemResponse, "Item"> & {
25
26
  Item?: Record<string, NativeAttributeValue> | undefined;
26
27
  })[] | undefined;
27
28
  };
@@ -38,7 +39,7 @@ export declare class TransactGetCommand extends DynamoDBDocumentClientCommand<Tr
38
39
  readonly input: TransactGetCommandInput;
39
40
  protected readonly inputKeyNodes: {
40
41
  TransactItems: {
41
- '*': {
42
+ "*": {
42
43
  Get: {
43
44
  Key: import("../commands/utils").KeyNodeChildren;
44
45
  };
@@ -47,7 +48,7 @@ export declare class TransactGetCommand extends DynamoDBDocumentClientCommand<Tr
47
48
  };
48
49
  protected readonly outputKeyNodes: {
49
50
  Responses: {
50
- '*': {
51
+ "*": {
51
52
  Item: import("../commands/utils").KeyNodeChildren;
52
53
  };
53
54
  };