@aws-sdk/lib-dynamodb 3.427.0 → 3.429.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 (61) hide show
  1. package/dist-cjs/baseCommand/DynamoDBDocumentClientCommand.js +4 -1
  2. package/dist-cjs/commands/BatchExecuteStatementCommand.js +18 -4
  3. package/dist-cjs/commands/BatchGetCommand.js +20 -13
  4. package/dist-cjs/commands/BatchWriteCommand.js +30 -22
  5. package/dist-cjs/commands/DeleteCommand.js +15 -12
  6. package/dist-cjs/commands/ExecuteStatementCommand.js +10 -2
  7. package/dist-cjs/commands/ExecuteTransactionCommand.js +15 -2
  8. package/dist-cjs/commands/GetCommand.js +7 -2
  9. package/dist-cjs/commands/PutCommand.js +15 -12
  10. package/dist-cjs/commands/QueryCommand.js +17 -13
  11. package/dist-cjs/commands/ScanCommand.js +14 -9
  12. package/dist-cjs/commands/TransactGetCommand.js +17 -2
  13. package/dist-cjs/commands/TransactWriteCommand.js +29 -16
  14. package/dist-cjs/commands/UpdateCommand.js +18 -16
  15. package/dist-cjs/commands/utils.js +44 -19
  16. package/dist-es/baseCommand/DynamoDBDocumentClientCommand.js +3 -1
  17. package/dist-es/commands/BatchExecuteStatementCommand.js +18 -4
  18. package/dist-es/commands/BatchGetCommand.js +20 -13
  19. package/dist-es/commands/BatchWriteCommand.js +30 -22
  20. package/dist-es/commands/DeleteCommand.js +15 -12
  21. package/dist-es/commands/ExecuteStatementCommand.js +10 -2
  22. package/dist-es/commands/ExecuteTransactionCommand.js +15 -2
  23. package/dist-es/commands/GetCommand.js +7 -2
  24. package/dist-es/commands/PutCommand.js +15 -12
  25. package/dist-es/commands/QueryCommand.js +17 -13
  26. package/dist-es/commands/ScanCommand.js +14 -9
  27. package/dist-es/commands/TransactGetCommand.js +17 -2
  28. package/dist-es/commands/TransactWriteCommand.js +29 -16
  29. package/dist-es/commands/UpdateCommand.js +18 -16
  30. package/dist-es/commands/utils.js +43 -18
  31. package/dist-types/baseCommand/DynamoDBDocumentClientCommand.d.ts +3 -3
  32. package/dist-types/commands/BatchExecuteStatementCommand.d.ts +15 -16
  33. package/dist-types/commands/BatchGetCommand.d.ts +19 -17
  34. package/dist-types/commands/BatchWriteCommand.d.ts +31 -25
  35. package/dist-types/commands/DeleteCommand.d.ts +15 -19
  36. package/dist-types/commands/ExecuteStatementCommand.d.ts +7 -4
  37. package/dist-types/commands/ExecuteTransactionCommand.d.ts +12 -10
  38. package/dist-types/commands/GetCommand.d.ts +4 -4
  39. package/dist-types/commands/PutCommand.d.ts +15 -19
  40. package/dist-types/commands/QueryCommand.d.ts +18 -12
  41. package/dist-types/commands/ScanCommand.d.ts +13 -12
  42. package/dist-types/commands/TransactGetCommand.d.ts +14 -13
  43. package/dist-types/commands/TransactWriteCommand.d.ts +28 -14
  44. package/dist-types/commands/UpdateCommand.d.ts +20 -19
  45. package/dist-types/commands/utils.d.ts +32 -9
  46. package/dist-types/ts3.4/baseCommand/DynamoDBDocumentClientCommand.d.ts +3 -3
  47. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +15 -19
  48. package/dist-types/ts3.4/commands/BatchGetCommand.d.ts +20 -21
  49. package/dist-types/ts3.4/commands/BatchWriteCommand.d.ts +31 -28
  50. package/dist-types/ts3.4/commands/DeleteCommand.d.ts +16 -26
  51. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +7 -4
  52. package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +12 -10
  53. package/dist-types/ts3.4/commands/GetCommand.d.ts +4 -4
  54. package/dist-types/ts3.4/commands/PutCommand.d.ts +16 -26
  55. package/dist-types/ts3.4/commands/QueryCommand.d.ts +19 -16
  56. package/dist-types/ts3.4/commands/ScanCommand.d.ts +14 -16
  57. package/dist-types/ts3.4/commands/TransactGetCommand.d.ts +14 -13
  58. package/dist-types/ts3.4/commands/TransactWriteCommand.d.ts +28 -14
  59. package/dist-types/ts3.4/commands/UpdateCommand.d.ts +21 -26
  60. package/dist-types/ts3.4/commands/utils.d.ts +8 -9
  61. package/package.json +7 -6
@@ -39,23 +39,22 @@ export type BatchExecuteStatementCommandOutput = Omit<__BatchExecuteStatementCom
39
39
  export declare class BatchExecuteStatementCommand extends DynamoDBDocumentClientCommand<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, __BatchExecuteStatementCommandInput, __BatchExecuteStatementCommandOutput, DynamoDBDocumentClientResolvedConfig> {
40
40
  readonly input: BatchExecuteStatementCommandInput;
41
41
  protected readonly inputKeyNodes: {
42
- key: string;
43
- children: {
44
- key: string;
45
- }[];
46
- }[];
42
+ Statements: {
43
+ "*": {
44
+ Parameters: import("../commands/utils").KeyNodeChildren;
45
+ };
46
+ };
47
+ };
47
48
  protected readonly outputKeyNodes: {
48
- key: string;
49
- children: ({
50
- key: string;
51
- children: {
52
- key: string;
53
- }[];
54
- } | {
55
- key: string;
56
- children?: undefined;
57
- })[];
58
- }[];
49
+ Responses: {
50
+ "*": {
51
+ Error: {
52
+ Item: import("../commands/utils").KeyNodeChildren;
53
+ };
54
+ Item: import("../commands/utils").KeyNodeChildren;
55
+ };
56
+ };
57
+ };
59
58
  protected readonly clientCommand: __BatchExecuteStatementCommand;
60
59
  readonly middlewareStack: MiddlewareStack<BatchExecuteStatementCommandInput | __BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput | __BatchExecuteStatementCommandOutput>;
61
60
  constructor(input: BatchExecuteStatementCommandInput);
@@ -37,26 +37,28 @@ export type BatchGetCommandOutput = Omit<__BatchGetItemCommandOutput, "Responses
37
37
  export declare class BatchGetCommand extends DynamoDBDocumentClientCommand<BatchGetCommandInput, BatchGetCommandOutput, __BatchGetItemCommandInput, __BatchGetItemCommandOutput, DynamoDBDocumentClientResolvedConfig> {
38
38
  readonly input: BatchGetCommandInput;
39
39
  protected readonly inputKeyNodes: {
40
- key: string;
41
- children: {
42
- children: {
43
- key: string;
44
- }[];
40
+ RequestItems: {
41
+ "*": {
42
+ Keys: {
43
+ "*": import("../commands/utils").KeyNodeChildren;
44
+ };
45
+ };
45
46
  };
46
- }[];
47
- protected readonly outputKeyNodes: ({
48
- key: string;
49
- children: {
50
- children?: undefined;
47
+ };
48
+ protected readonly outputKeyNodes: {
49
+ Responses: {
50
+ "*": {
51
+ "*": import("../commands/utils").KeyNodeChildren;
52
+ };
51
53
  };
52
- } | {
53
- key: string;
54
- children: {
55
- children: {
56
- key: string;
57
- }[];
54
+ UnprocessedKeys: {
55
+ "*": {
56
+ Keys: {
57
+ "*": import("../commands/utils").KeyNodeChildren;
58
+ };
59
+ };
58
60
  };
59
- })[];
61
+ };
60
62
  protected readonly clientCommand: __BatchGetItemCommand;
61
63
  readonly middlewareStack: MiddlewareStack<BatchGetCommandInput | __BatchGetItemCommandInput, BatchGetCommandOutput | __BatchGetItemCommandOutput>;
62
64
  constructor(input: BatchGetCommandInput);
@@ -49,34 +49,40 @@ export type BatchWriteCommandOutput = Omit<__BatchWriteItemCommandOutput, "Unpro
49
49
  export declare class BatchWriteCommand extends DynamoDBDocumentClientCommand<BatchWriteCommandInput, BatchWriteCommandOutput, __BatchWriteItemCommandInput, __BatchWriteItemCommandOutput, DynamoDBDocumentClientResolvedConfig> {
50
50
  readonly input: BatchWriteCommandInput;
51
51
  protected readonly inputKeyNodes: {
52
- key: string;
53
- children: {
54
- children: {
55
- key: string;
56
- children: {
57
- key: string;
58
- }[];
59
- }[];
52
+ RequestItems: {
53
+ "*": {
54
+ "*": {
55
+ PutRequest: {
56
+ Item: import("../commands/utils").KeyNodeChildren;
57
+ };
58
+ DeleteRequest: {
59
+ Key: import("../commands/utils").KeyNodeChildren;
60
+ };
61
+ };
62
+ };
60
63
  };
61
- }[];
62
- protected readonly outputKeyNodes: ({
63
- key: string;
64
- children: {
65
- children: {
66
- key: string;
67
- children: {
68
- key: string;
69
- }[];
70
- }[];
64
+ };
65
+ protected readonly outputKeyNodes: {
66
+ UnprocessedItems: {
67
+ "*": {
68
+ "*": {
69
+ PutRequest: {
70
+ Item: import("../commands/utils").KeyNodeChildren;
71
+ };
72
+ DeleteRequest: {
73
+ Key: import("../commands/utils").KeyNodeChildren;
74
+ };
75
+ };
76
+ };
71
77
  };
72
- } | {
73
- key: string;
74
- children: {
75
- children: {
76
- key: string;
77
- }[];
78
+ ItemCollectionMetrics: {
79
+ "*": {
80
+ "*": {
81
+ ItemCollectionKey: import("../commands/utils").KeyNodeChildren;
82
+ };
83
+ };
78
84
  };
79
- })[];
85
+ };
80
86
  protected readonly clientCommand: __BatchWriteItemCommand;
81
87
  readonly middlewareStack: MiddlewareStack<BatchWriteCommandInput | __BatchWriteItemCommandInput, BatchWriteCommandOutput | __BatchWriteItemCommandOutput>;
82
88
  constructor(input: BatchWriteCommandInput);
@@ -39,26 +39,22 @@ export type DeleteCommandOutput = Omit<__DeleteItemCommandOutput, "Attributes" |
39
39
  */
40
40
  export declare class DeleteCommand extends DynamoDBDocumentClientCommand<DeleteCommandInput, DeleteCommandOutput, __DeleteItemCommandInput, __DeleteItemCommandOutput, DynamoDBDocumentClientResolvedConfig> {
41
41
  readonly input: DeleteCommandInput;
42
- protected readonly inputKeyNodes: ({
43
- key: string;
44
- children?: undefined;
45
- } | {
46
- key: string;
47
- children: {
48
- children: {
49
- key: string;
50
- }[];
42
+ protected readonly inputKeyNodes: {
43
+ Key: import("../commands/utils").KeyNodeChildren;
44
+ Expected: {
45
+ "*": {
46
+ Value: null;
47
+ AttributeValueList: import("../commands/utils").KeyNodeChildren;
48
+ };
51
49
  };
52
- })[];
53
- protected readonly outputKeyNodes: ({
54
- key: string;
55
- children?: undefined;
56
- } | {
57
- key: string;
58
- children: {
59
- key: string;
60
- }[];
61
- })[];
50
+ ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren;
51
+ };
52
+ protected readonly outputKeyNodes: {
53
+ Attributes: import("../commands/utils").KeyNodeChildren;
54
+ ItemCollectionMetrics: {
55
+ ItemCollectionKey: import("../commands/utils").KeyNodeChildren;
56
+ };
57
+ };
62
58
  protected readonly clientCommand: __DeleteItemCommand;
63
59
  readonly middlewareStack: MiddlewareStack<DeleteCommandInput | __DeleteItemCommandInput, DeleteCommandOutput | __DeleteItemCommandOutput>;
64
60
  constructor(input: DeleteCommandInput);
@@ -33,11 +33,14 @@ export type ExecuteStatementCommandOutput = Omit<__ExecuteStatementCommandOutput
33
33
  export declare class ExecuteStatementCommand extends DynamoDBDocumentClientCommand<ExecuteStatementCommandInput, ExecuteStatementCommandOutput, __ExecuteStatementCommandInput, __ExecuteStatementCommandOutput, DynamoDBDocumentClientResolvedConfig> {
34
34
  readonly input: ExecuteStatementCommandInput;
35
35
  protected readonly inputKeyNodes: {
36
- key: string;
37
- }[];
36
+ Parameters: import("../commands/utils").KeyNodeChildren;
37
+ };
38
38
  protected readonly outputKeyNodes: {
39
- key: string;
40
- }[];
39
+ Items: {
40
+ "*": import("../commands/utils").KeyNodeChildren;
41
+ };
42
+ LastEvaluatedKey: import("../commands/utils").KeyNodeChildren;
43
+ };
41
44
  protected readonly clientCommand: __ExecuteStatementCommand;
42
45
  readonly middlewareStack: MiddlewareStack<ExecuteStatementCommandInput | __ExecuteStatementCommandInput, ExecuteStatementCommandOutput | __ExecuteStatementCommandOutput>;
43
46
  constructor(input: ExecuteStatementCommandInput);
@@ -36,17 +36,19 @@ export type ExecuteTransactionCommandOutput = Omit<__ExecuteTransactionCommandOu
36
36
  export declare class ExecuteTransactionCommand extends DynamoDBDocumentClientCommand<ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput, __ExecuteTransactionCommandInput, __ExecuteTransactionCommandOutput, DynamoDBDocumentClientResolvedConfig> {
37
37
  readonly input: ExecuteTransactionCommandInput;
38
38
  protected readonly inputKeyNodes: {
39
- key: string;
40
- children: {
41
- key: string;
42
- }[];
43
- }[];
39
+ TransactStatements: {
40
+ "*": {
41
+ Parameters: import("../commands/utils").KeyNodeChildren;
42
+ };
43
+ };
44
+ };
44
45
  protected readonly outputKeyNodes: {
45
- key: string;
46
- children: {
47
- key: string;
48
- }[];
49
- }[];
46
+ Responses: {
47
+ "*": {
48
+ Item: import("../commands/utils").KeyNodeChildren;
49
+ };
50
+ };
51
+ };
50
52
  protected readonly clientCommand: __ExecuteTransactionCommand;
51
53
  readonly middlewareStack: MiddlewareStack<ExecuteTransactionCommandInput | __ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput | __ExecuteTransactionCommandOutput>;
52
54
  constructor(input: ExecuteTransactionCommandInput);
@@ -32,11 +32,11 @@ export type GetCommandOutput = Omit<__GetItemCommandOutput, "Item"> & {
32
32
  export declare class GetCommand extends DynamoDBDocumentClientCommand<GetCommandInput, GetCommandOutput, __GetItemCommandInput, __GetItemCommandOutput, DynamoDBDocumentClientResolvedConfig> {
33
33
  readonly input: GetCommandInput;
34
34
  protected readonly inputKeyNodes: {
35
- key: string;
36
- }[];
35
+ Key: import("../commands/utils").KeyNodeChildren;
36
+ };
37
37
  protected readonly outputKeyNodes: {
38
- key: string;
39
- }[];
38
+ Item: import("../commands/utils").KeyNodeChildren;
39
+ };
40
40
  protected readonly clientCommand: __GetItemCommand;
41
41
  readonly middlewareStack: MiddlewareStack<GetCommandInput | __GetItemCommandInput, GetCommandOutput | __GetItemCommandOutput>;
42
42
  constructor(input: GetCommandInput);
@@ -39,26 +39,22 @@ export type PutCommandOutput = Omit<__PutItemCommandOutput, "Attributes" | "Item
39
39
  */
40
40
  export declare class PutCommand extends DynamoDBDocumentClientCommand<PutCommandInput, PutCommandOutput, __PutItemCommandInput, __PutItemCommandOutput, DynamoDBDocumentClientResolvedConfig> {
41
41
  readonly input: PutCommandInput;
42
- protected readonly inputKeyNodes: ({
43
- key: string;
44
- children?: undefined;
45
- } | {
46
- key: string;
47
- children: {
48
- children: {
49
- key: string;
50
- }[];
42
+ protected readonly inputKeyNodes: {
43
+ Item: import("../commands/utils").KeyNodeChildren;
44
+ Expected: {
45
+ "*": {
46
+ Value: null;
47
+ AttributeValueList: import("../commands/utils").KeyNodeChildren;
48
+ };
51
49
  };
52
- })[];
53
- protected readonly outputKeyNodes: ({
54
- key: string;
55
- children?: undefined;
56
- } | {
57
- key: string;
58
- children: {
59
- key: string;
60
- }[];
61
- })[];
50
+ ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren;
51
+ };
52
+ protected readonly outputKeyNodes: {
53
+ Attributes: import("../commands/utils").KeyNodeChildren;
54
+ ItemCollectionMetrics: {
55
+ ItemCollectionKey: import("../commands/utils").KeyNodeChildren;
56
+ };
57
+ };
62
58
  protected readonly clientCommand: __PutItemCommand;
63
59
  readonly middlewareStack: MiddlewareStack<PutCommandInput | __PutItemCommandInput, PutCommandOutput | __PutItemCommandOutput>;
64
60
  constructor(input: PutCommandInput);
@@ -39,20 +39,26 @@ export type QueryCommandOutput = Omit<__QueryCommandOutput, "Items" | "LastEvalu
39
39
  */
40
40
  export declare class QueryCommand extends DynamoDBDocumentClientCommand<QueryCommandInput, QueryCommandOutput, __QueryCommandInput, __QueryCommandOutput, DynamoDBDocumentClientResolvedConfig> {
41
41
  readonly input: QueryCommandInput;
42
- protected readonly inputKeyNodes: ({
43
- key: string;
44
- children: {
45
- children: {
46
- key: string;
47
- }[];
42
+ protected readonly inputKeyNodes: {
43
+ KeyConditions: {
44
+ "*": {
45
+ AttributeValueList: import("../commands/utils").KeyNodeChildren;
46
+ };
48
47
  };
49
- } | {
50
- key: string;
51
- children?: undefined;
52
- })[];
48
+ QueryFilter: {
49
+ "*": {
50
+ AttributeValueList: import("../commands/utils").KeyNodeChildren;
51
+ };
52
+ };
53
+ ExclusiveStartKey: import("../commands/utils").KeyNodeChildren;
54
+ ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren;
55
+ };
53
56
  protected readonly outputKeyNodes: {
54
- key: string;
55
- }[];
57
+ Items: {
58
+ "*": import("../commands/utils").KeyNodeChildren;
59
+ };
60
+ LastEvaluatedKey: import("../commands/utils").KeyNodeChildren;
61
+ };
56
62
  protected readonly clientCommand: __QueryCommand;
57
63
  readonly middlewareStack: MiddlewareStack<QueryCommandInput | __QueryCommandInput, QueryCommandOutput | __QueryCommandOutput>;
58
64
  constructor(input: QueryCommandInput);
@@ -36,20 +36,21 @@ export type ScanCommandOutput = Omit<__ScanCommandOutput, "Items" | "LastEvaluat
36
36
  */
37
37
  export declare class ScanCommand extends DynamoDBDocumentClientCommand<ScanCommandInput, ScanCommandOutput, __ScanCommandInput, __ScanCommandOutput, DynamoDBDocumentClientResolvedConfig> {
38
38
  readonly input: ScanCommandInput;
39
- protected readonly inputKeyNodes: ({
40
- key: string;
41
- children: {
42
- children: {
43
- key: string;
44
- }[];
39
+ protected readonly inputKeyNodes: {
40
+ ScanFilter: {
41
+ "*": {
42
+ AttributeValueList: import("../commands/utils").KeyNodeChildren;
43
+ };
45
44
  };
46
- } | {
47
- key: string;
48
- children?: undefined;
49
- })[];
45
+ ExclusiveStartKey: import("../commands/utils").KeyNodeChildren;
46
+ ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren;
47
+ };
50
48
  protected readonly outputKeyNodes: {
51
- key: string;
52
- }[];
49
+ Items: {
50
+ "*": import("../commands/utils").KeyNodeChildren;
51
+ };
52
+ LastEvaluatedKey: import("../commands/utils").KeyNodeChildren;
53
+ };
53
54
  protected readonly clientCommand: __ScanCommand;
54
55
  readonly middlewareStack: MiddlewareStack<ScanCommandInput | __ScanCommandInput, ScanCommandOutput | __ScanCommandOutput>;
55
56
  constructor(input: ScanCommandInput);
@@ -38,20 +38,21 @@ export type TransactGetCommandOutput = Omit<__TransactGetItemsCommandOutput, "Re
38
38
  export declare class TransactGetCommand extends DynamoDBDocumentClientCommand<TransactGetCommandInput, TransactGetCommandOutput, __TransactGetItemsCommandInput, __TransactGetItemsCommandOutput, DynamoDBDocumentClientResolvedConfig> {
39
39
  readonly input: TransactGetCommandInput;
40
40
  protected readonly inputKeyNodes: {
41
- key: string;
42
- children: {
43
- key: string;
44
- children: {
45
- key: string;
46
- }[];
47
- }[];
48
- }[];
41
+ TransactItems: {
42
+ "*": {
43
+ Get: {
44
+ Key: import("../commands/utils").KeyNodeChildren;
45
+ };
46
+ };
47
+ };
48
+ };
49
49
  protected readonly outputKeyNodes: {
50
- key: string;
51
- children: {
52
- key: string;
53
- }[];
54
- }[];
50
+ Responses: {
51
+ "*": {
52
+ Item: import("../commands/utils").KeyNodeChildren;
53
+ };
54
+ };
55
+ };
55
56
  protected readonly clientCommand: __TransactGetItemsCommand;
56
57
  readonly middlewareStack: MiddlewareStack<TransactGetCommandInput | __TransactGetItemsCommandInput, TransactGetCommandOutput | __TransactGetItemsCommandOutput>;
57
58
  constructor(input: TransactGetCommandInput);
@@ -51,22 +51,36 @@ export type TransactWriteCommandOutput = Omit<__TransactWriteItemsCommandOutput,
51
51
  export declare class TransactWriteCommand extends DynamoDBDocumentClientCommand<TransactWriteCommandInput, TransactWriteCommandOutput, __TransactWriteItemsCommandInput, __TransactWriteItemsCommandOutput, DynamoDBDocumentClientResolvedConfig> {
52
52
  readonly input: TransactWriteCommandInput;
53
53
  protected readonly inputKeyNodes: {
54
- key: string;
55
- children: {
56
- key: string;
57
- children: {
58
- key: string;
59
- }[];
60
- }[];
61
- }[];
54
+ TransactItems: {
55
+ "*": {
56
+ ConditionCheck: {
57
+ Key: import("../commands/utils").KeyNodeChildren;
58
+ ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren;
59
+ };
60
+ Put: {
61
+ Item: import("../commands/utils").KeyNodeChildren;
62
+ ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren;
63
+ };
64
+ Delete: {
65
+ Key: import("../commands/utils").KeyNodeChildren;
66
+ ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren;
67
+ };
68
+ Update: {
69
+ Key: import("../commands/utils").KeyNodeChildren;
70
+ ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren;
71
+ };
72
+ };
73
+ };
74
+ };
62
75
  protected readonly outputKeyNodes: {
63
- key: string;
64
- children: {
65
- children: {
66
- key: string;
67
- }[];
76
+ ItemCollectionMetrics: {
77
+ "*": {
78
+ "*": {
79
+ ItemCollectionKey: import("../commands/utils").KeyNodeChildren;
80
+ };
81
+ };
68
82
  };
69
- }[];
83
+ };
70
84
  protected readonly clientCommand: __TransactWriteItemsCommand;
71
85
  readonly middlewareStack: MiddlewareStack<TransactWriteCommandInput | __TransactWriteItemsCommandInput, TransactWriteCommandOutput | __TransactWriteItemsCommandOutput>;
72
86
  constructor(input: TransactWriteCommandInput);
@@ -42,26 +42,27 @@ export type UpdateCommandOutput = Omit<__UpdateItemCommandOutput, "Attributes" |
42
42
  */
43
43
  export declare class UpdateCommand extends DynamoDBDocumentClientCommand<UpdateCommandInput, UpdateCommandOutput, __UpdateItemCommandInput, __UpdateItemCommandOutput, DynamoDBDocumentClientResolvedConfig> {
44
44
  readonly input: UpdateCommandInput;
45
- protected readonly inputKeyNodes: ({
46
- key: string;
47
- children?: undefined;
48
- } | {
49
- key: string;
50
- children: {
51
- children: {
52
- key: string;
53
- }[];
45
+ protected readonly inputKeyNodes: {
46
+ Key: import("../commands/utils").KeyNodeChildren;
47
+ AttributeUpdates: {
48
+ "*": {
49
+ Value: null;
50
+ };
54
51
  };
55
- })[];
56
- protected readonly outputKeyNodes: ({
57
- key: string;
58
- children?: undefined;
59
- } | {
60
- key: string;
61
- children: {
62
- key: string;
63
- }[];
64
- })[];
52
+ Expected: {
53
+ "*": {
54
+ Value: null;
55
+ AttributeValueList: import("../commands/utils").KeyNodeChildren;
56
+ };
57
+ };
58
+ ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren;
59
+ };
60
+ protected readonly outputKeyNodes: {
61
+ Attributes: import("../commands/utils").KeyNodeChildren;
62
+ ItemCollectionMetrics: {
63
+ ItemCollectionKey: import("../commands/utils").KeyNodeChildren;
64
+ };
65
+ };
65
66
  protected readonly clientCommand: __UpdateItemCommand;
66
67
  readonly middlewareStack: MiddlewareStack<UpdateCommandInput | __UpdateItemCommandInput, UpdateCommandOutput | __UpdateItemCommandOutput>;
67
68
  constructor(input: UpdateCommandInput);
@@ -1,10 +1,33 @@
1
1
  import { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb";
2
- export type KeyNode = {
3
- key: string;
4
- children?: KeyNode[] | AllNodes;
5
- };
6
- export type AllNodes = {
7
- children?: KeyNode[] | AllNodes;
8
- };
9
- export declare const marshallInput: (obj: any, keyNodes: KeyNode[], options?: marshallOptions) => any;
10
- export declare const unmarshallOutput: (obj: any, keyNodes: KeyNode[], options?: unmarshallOptions) => any;
2
+ /**
3
+ * @internal
4
+ */
5
+ export type KeyNodeSelf = null;
6
+ /**
7
+ * @internal
8
+ */
9
+ export declare const SELF: KeyNodeSelf;
10
+ /**
11
+ * @internal
12
+ */
13
+ export type KeyNodeChildren = Record<string, any>;
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const ALL_VALUES: KeyNodeChildren;
18
+ /**
19
+ * @internal
20
+ */
21
+ export declare const ALL_MEMBERS: KeyNodeChildren;
22
+ /**
23
+ * @internal
24
+ */
25
+ export type KeyNodes = KeyNodeSelf | KeyNodeChildren;
26
+ /**
27
+ * @internal
28
+ */
29
+ export declare const marshallInput: (obj: any, keyNodes: KeyNodeChildren, options?: marshallOptions) => any;
30
+ /**
31
+ * @internal
32
+ */
33
+ export declare const unmarshallOutput: (obj: any, keyNodes: KeyNodeChildren, options?: unmarshallOptions) => any;
@@ -1,6 +1,6 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MiddlewareStack } from "@smithy/types";
3
- import { KeyNode } from "../commands/utils";
3
+ import { KeyNodeChildren } from "../commands/utils";
4
4
  import { DynamoDBDocumentClientResolvedConfig } from "../DynamoDBDocumentClient";
5
5
  export declare abstract class DynamoDBDocumentClientCommand<
6
6
  Input extends object,
@@ -13,8 +13,8 @@ export declare abstract class DynamoDBDocumentClientCommand<
13
13
  Output | BaseOutput,
14
14
  ResolvedClientConfiguration
15
15
  > {
16
- protected abstract readonly inputKeyNodes: KeyNode[];
17
- protected abstract readonly outputKeyNodes: KeyNode[];
16
+ protected abstract readonly inputKeyNodes: KeyNodeChildren;
17
+ protected abstract readonly outputKeyNodes: KeyNodeChildren;
18
18
  protected abstract clientCommand: $Command<
19
19
  Input | BaseInput,
20
20
  Output | BaseOutput,
@@ -59,26 +59,22 @@ export declare class BatchExecuteStatementCommand extends DynamoDBDocumentClient
59
59
  > {
60
60
  readonly input: BatchExecuteStatementCommandInput;
61
61
  protected readonly inputKeyNodes: {
62
- key: string;
63
- children: {
64
- key: string;
65
- }[];
66
- }[];
62
+ Statements: {
63
+ "*": {
64
+ Parameters: import("../commands/utils").KeyNodeChildren;
65
+ };
66
+ };
67
+ };
67
68
  protected readonly outputKeyNodes: {
68
- key: string;
69
- children: (
70
- | {
71
- key: string;
72
- children: {
73
- key: string;
74
- }[];
75
- }
76
- | {
77
- key: string;
78
- children?: undefined;
79
- }
80
- )[];
81
- }[];
69
+ Responses: {
70
+ "*": {
71
+ Error: {
72
+ Item: import("../commands/utils").KeyNodeChildren;
73
+ };
74
+ Item: import("../commands/utils").KeyNodeChildren;
75
+ };
76
+ };
77
+ };
82
78
  protected readonly clientCommand: __BatchExecuteStatementCommand;
83
79
  readonly middlewareStack: MiddlewareStack<
84
80
  BatchExecuteStatementCommandInput | __BatchExecuteStatementCommandInput,