@aws-sdk/lib-dynamodb 3.972.0 → 3.974.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.
- package/dist-cjs/index.js +155 -155
- package/dist-es/DynamoDBDocumentClient.js +2 -2
- package/dist-es/commands/BatchExecuteStatementCommand.js +11 -11
- package/dist-es/commands/BatchGetCommand.js +15 -15
- package/dist-es/commands/BatchWriteCommand.js +25 -25
- package/dist-es/commands/DeleteCommand.js +11 -11
- package/dist-es/commands/ExecuteStatementCommand.js +5 -5
- package/dist-es/commands/ExecuteTransactionCommand.js +9 -9
- package/dist-es/commands/GetCommand.js +3 -3
- package/dist-es/commands/PutCommand.js +11 -11
- package/dist-es/commands/QueryCommand.js +14 -14
- package/dist-es/commands/ScanCommand.js +10 -10
- package/dist-es/commands/TransactGetCommand.js +10 -10
- package/dist-es/commands/TransactWriteCommand.js +22 -22
- package/dist-es/commands/UpdateCommand.js +15 -15
- package/dist-es/commands/index.js +13 -13
- package/dist-es/index.js +4 -4
- package/dist-es/pagination/index.js +3 -3
- package/dist-types/DynamoDBDocument.d.ts +1 -1
- package/dist-types/DynamoDBDocumentClient.d.ts +2 -2
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +10 -10
- package/dist-types/commands/BatchGetCommand.d.ts +14 -14
- package/dist-types/commands/BatchWriteCommand.d.ts +20 -20
- package/dist-types/commands/DeleteCommand.d.ts +8 -8
- package/dist-types/commands/ExecuteStatementCommand.d.ts +6 -6
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +8 -8
- package/dist-types/commands/GetCommand.d.ts +3 -3
- package/dist-types/commands/PutCommand.d.ts +8 -8
- package/dist-types/commands/QueryCommand.d.ts +11 -11
- package/dist-types/commands/ScanCommand.d.ts +8 -8
- package/dist-types/commands/TransactGetCommand.d.ts +9 -9
- package/dist-types/commands/TransactWriteCommand.d.ts +16 -16
- package/dist-types/commands/UpdateCommand.d.ts +10 -10
- package/dist-types/commands/index.d.ts +13 -13
- package/dist-types/index.d.ts +4 -4
- package/dist-types/pagination/index.d.ts +3 -3
- package/dist-types/ts3.4/DynamoDBDocument.d.ts +1 -1
- package/dist-types/ts3.4/DynamoDBDocumentClient.d.ts +7 -7
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchGetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchWriteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ScanCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TransactGetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TransactWriteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCommand.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +2 -2
- package/package.json +7 -7
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { BatchWriteItemCommand as __BatchWriteItemCommand } from "@aws-sdk/client-dynamodb";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types";
|
|
4
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
5
4
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
5
|
+
import { BatchWriteItemCommand as __BatchWriteItemCommand } from "@aws-sdk/client-dynamodb";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -10,29 +10,29 @@ export { DynamoDBDocumentClientCommand, $Command };
|
|
|
10
10
|
/**
|
|
11
11
|
* @public
|
|
12
12
|
*/
|
|
13
|
-
export type BatchWriteCommandInput = Omit<__BatchWriteItemCommandInput,
|
|
14
|
-
RequestItems: Record<string, (Omit<WriteRequest,
|
|
15
|
-
PutRequest?:
|
|
13
|
+
export type BatchWriteCommandInput = Omit<__BatchWriteItemCommandInput, 'RequestItems'> & {
|
|
14
|
+
RequestItems: Record<string, (Omit<WriteRequest, 'PutRequest' | 'DeleteRequest'> & {
|
|
15
|
+
PutRequest?: Omit<PutRequest, 'Item'> & {
|
|
16
16
|
Item: Record<string, NativeAttributeValue> | undefined;
|
|
17
|
-
}
|
|
18
|
-
DeleteRequest?:
|
|
17
|
+
} | undefined;
|
|
18
|
+
DeleteRequest?: Omit<DeleteRequest, 'Key'> & {
|
|
19
19
|
Key: Record<string, NativeAttributeValue> | undefined;
|
|
20
|
-
}
|
|
20
|
+
} | undefined;
|
|
21
21
|
})[]> | undefined;
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
24
24
|
* @public
|
|
25
25
|
*/
|
|
26
|
-
export type BatchWriteCommandOutput = Omit<__BatchWriteItemCommandOutput,
|
|
27
|
-
UnprocessedItems?: Record<string, (Omit<WriteRequest,
|
|
28
|
-
PutRequest?:
|
|
26
|
+
export type BatchWriteCommandOutput = Omit<__BatchWriteItemCommandOutput, 'UnprocessedItems' | 'ItemCollectionMetrics'> & {
|
|
27
|
+
UnprocessedItems?: Record<string, (Omit<WriteRequest, 'PutRequest' | 'DeleteRequest'> & {
|
|
28
|
+
PutRequest?: Omit<PutRequest, 'Item'> & {
|
|
29
29
|
Item: Record<string, NativeAttributeValue> | undefined;
|
|
30
|
-
}
|
|
31
|
-
DeleteRequest?:
|
|
30
|
+
} | undefined;
|
|
31
|
+
DeleteRequest?: Omit<DeleteRequest, 'Key'> & {
|
|
32
32
|
Key: Record<string, NativeAttributeValue> | undefined;
|
|
33
|
-
}
|
|
33
|
+
} | undefined;
|
|
34
34
|
})[]> | undefined;
|
|
35
|
-
ItemCollectionMetrics?: Record<string, (Omit<ItemCollectionMetrics,
|
|
35
|
+
ItemCollectionMetrics?: Record<string, (Omit<ItemCollectionMetrics, 'ItemCollectionKey'> & {
|
|
36
36
|
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
37
37
|
})[]> | undefined;
|
|
38
38
|
};
|
|
@@ -49,8 +49,8 @@ export declare class BatchWriteCommand extends DynamoDBDocumentClientCommand<Bat
|
|
|
49
49
|
readonly input: BatchWriteCommandInput;
|
|
50
50
|
protected readonly inputKeyNodes: {
|
|
51
51
|
RequestItems: {
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
'*': {
|
|
53
|
+
'*': {
|
|
54
54
|
PutRequest: {
|
|
55
55
|
Item: import("../commands/utils").KeyNodeChildren;
|
|
56
56
|
};
|
|
@@ -63,8 +63,8 @@ export declare class BatchWriteCommand extends DynamoDBDocumentClientCommand<Bat
|
|
|
63
63
|
};
|
|
64
64
|
protected readonly outputKeyNodes: {
|
|
65
65
|
UnprocessedItems: {
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
'*': {
|
|
67
|
+
'*': {
|
|
68
68
|
PutRequest: {
|
|
69
69
|
Item: import("../commands/utils").KeyNodeChildren;
|
|
70
70
|
};
|
|
@@ -75,8 +75,8 @@ export declare class BatchWriteCommand extends DynamoDBDocumentClientCommand<Bat
|
|
|
75
75
|
};
|
|
76
76
|
};
|
|
77
77
|
ItemCollectionMetrics: {
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
'*': {
|
|
79
|
+
'*': {
|
|
80
80
|
ItemCollectionKey: import("../commands/utils").KeyNodeChildren;
|
|
81
81
|
};
|
|
82
82
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DeleteItemCommand as __DeleteItemCommand } from "@aws-sdk/client-dynamodb";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types";
|
|
4
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
5
4
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
5
|
+
import { DeleteItemCommand as __DeleteItemCommand } from "@aws-sdk/client-dynamodb";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -10,22 +10,22 @@ export { DynamoDBDocumentClientCommand, $Command };
|
|
|
10
10
|
/**
|
|
11
11
|
* @public
|
|
12
12
|
*/
|
|
13
|
-
export type DeleteCommandInput = Omit<__DeleteItemCommandInput,
|
|
13
|
+
export type DeleteCommandInput = Omit<__DeleteItemCommandInput, 'Key' | 'Expected' | 'ExpressionAttributeValues'> & {
|
|
14
14
|
Key: Record<string, NativeAttributeValue> | undefined;
|
|
15
|
-
Expected?: Record<string, Omit<ExpectedAttributeValue,
|
|
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,
|
|
24
|
+
export type DeleteCommandOutput = Omit<__DeleteItemCommandOutput, 'Attributes' | 'ItemCollectionMetrics'> & {
|
|
25
25
|
Attributes?: Record<string, NativeAttributeValue> | undefined;
|
|
26
|
-
ItemCollectionMetrics?:
|
|
26
|
+
ItemCollectionMetrics?: Omit<ItemCollectionMetrics, 'ItemCollectionKey'> & {
|
|
27
27
|
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
28
|
-
}
|
|
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,8 @@
|
|
|
1
|
-
import { ExecuteStatementCommand as __ExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types";
|
|
4
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
5
4
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
5
|
+
import { ExecuteStatementCommand as __ExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -10,14 +10,14 @@ export { DynamoDBDocumentClientCommand, $Command };
|
|
|
10
10
|
/**
|
|
11
11
|
* @public
|
|
12
12
|
*/
|
|
13
|
-
export type ExecuteStatementCommandInput = Omit<__ExecuteStatementCommandInput,
|
|
14
|
-
Parameters?: NativeAttributeValue[] | undefined;
|
|
13
|
+
export type ExecuteStatementCommandInput = Omit<__ExecuteStatementCommandInput, 'Parameters'> & {
|
|
14
|
+
Parameters?: (NativeAttributeValue)[] | undefined;
|
|
15
15
|
};
|
|
16
16
|
/**
|
|
17
17
|
* @public
|
|
18
18
|
*/
|
|
19
|
-
export type ExecuteStatementCommandOutput = Omit<__ExecuteStatementCommandOutput,
|
|
20
|
-
Items?: Record<string, NativeAttributeValue>[] | undefined;
|
|
19
|
+
export type ExecuteStatementCommandOutput = Omit<__ExecuteStatementCommandOutput, 'Items' | 'LastEvaluatedKey'> & {
|
|
20
|
+
Items?: (Record<string, NativeAttributeValue>)[] | undefined;
|
|
21
21
|
LastEvaluatedKey?: Record<string, NativeAttributeValue> | undefined;
|
|
22
22
|
};
|
|
23
23
|
/**
|
|
@@ -36,7 +36,7 @@ export declare class ExecuteStatementCommand extends DynamoDBDocumentClientComma
|
|
|
36
36
|
};
|
|
37
37
|
protected readonly outputKeyNodes: {
|
|
38
38
|
Items: {
|
|
39
|
-
|
|
39
|
+
'*': import("../commands/utils").KeyNodeChildren;
|
|
40
40
|
};
|
|
41
41
|
LastEvaluatedKey: import("../commands/utils").KeyNodeChildren;
|
|
42
42
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ExecuteTransactionCommand as __ExecuteTransactionCommand } from "@aws-sdk/client-dynamodb";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types";
|
|
4
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
5
4
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
5
|
+
import { ExecuteTransactionCommand as __ExecuteTransactionCommand } from "@aws-sdk/client-dynamodb";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -10,16 +10,16 @@ export { DynamoDBDocumentClientCommand, $Command };
|
|
|
10
10
|
/**
|
|
11
11
|
* @public
|
|
12
12
|
*/
|
|
13
|
-
export type ExecuteTransactionCommandInput = Omit<__ExecuteTransactionCommandInput,
|
|
14
|
-
TransactStatements: (Omit<ParameterizedStatement,
|
|
15
|
-
Parameters?: NativeAttributeValue[] | undefined;
|
|
13
|
+
export type ExecuteTransactionCommandInput = Omit<__ExecuteTransactionCommandInput, 'TransactStatements'> & {
|
|
14
|
+
TransactStatements: (Omit<ParameterizedStatement, 'Parameters'> & {
|
|
15
|
+
Parameters?: (NativeAttributeValue)[] | undefined;
|
|
16
16
|
})[] | undefined;
|
|
17
17
|
};
|
|
18
18
|
/**
|
|
19
19
|
* @public
|
|
20
20
|
*/
|
|
21
|
-
export type ExecuteTransactionCommandOutput = Omit<__ExecuteTransactionCommandOutput,
|
|
22
|
-
Responses?: (Omit<ItemResponse,
|
|
21
|
+
export type ExecuteTransactionCommandOutput = Omit<__ExecuteTransactionCommandOutput, 'Responses'> & {
|
|
22
|
+
Responses?: (Omit<ItemResponse, 'Item'> & {
|
|
23
23
|
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
24
24
|
})[] | undefined;
|
|
25
25
|
};
|
|
@@ -36,14 +36,14 @@ export declare class ExecuteTransactionCommand extends DynamoDBDocumentClientCom
|
|
|
36
36
|
readonly input: ExecuteTransactionCommandInput;
|
|
37
37
|
protected readonly inputKeyNodes: {
|
|
38
38
|
TransactStatements: {
|
|
39
|
-
|
|
39
|
+
'*': {
|
|
40
40
|
Parameters: import("../commands/utils").KeyNodeChildren;
|
|
41
41
|
};
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
44
|
protected readonly outputKeyNodes: {
|
|
45
45
|
Responses: {
|
|
46
|
-
|
|
46
|
+
'*': {
|
|
47
47
|
Item: import("../commands/utils").KeyNodeChildren;
|
|
48
48
|
};
|
|
49
49
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { GetItemCommand as __GetItemCommand } from "@aws-sdk/client-dynamodb";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types";
|
|
4
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
5
4
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
5
|
+
import { GetItemCommand as __GetItemCommand } from "@aws-sdk/client-dynamodb";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -10,13 +10,13 @@ export { DynamoDBDocumentClientCommand, $Command };
|
|
|
10
10
|
/**
|
|
11
11
|
* @public
|
|
12
12
|
*/
|
|
13
|
-
export type GetCommandInput = Omit<__GetItemCommandInput,
|
|
13
|
+
export type GetCommandInput = Omit<__GetItemCommandInput, 'Key'> & {
|
|
14
14
|
Key: Record<string, NativeAttributeValue> | undefined;
|
|
15
15
|
};
|
|
16
16
|
/**
|
|
17
17
|
* @public
|
|
18
18
|
*/
|
|
19
|
-
export type GetCommandOutput = Omit<__GetItemCommandOutput,
|
|
19
|
+
export type GetCommandOutput = Omit<__GetItemCommandOutput, 'Item'> & {
|
|
20
20
|
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
21
21
|
};
|
|
22
22
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { PutItemCommand as __PutItemCommand } from "@aws-sdk/client-dynamodb";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types";
|
|
4
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
5
4
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
5
|
+
import { PutItemCommand as __PutItemCommand } from "@aws-sdk/client-dynamodb";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -10,22 +10,22 @@ export { DynamoDBDocumentClientCommand, $Command };
|
|
|
10
10
|
/**
|
|
11
11
|
* @public
|
|
12
12
|
*/
|
|
13
|
-
export type PutCommandInput = Omit<__PutItemCommandInput,
|
|
13
|
+
export type PutCommandInput = Omit<__PutItemCommandInput, 'Item' | 'Expected' | 'ExpressionAttributeValues'> & {
|
|
14
14
|
Item: Record<string, NativeAttributeValue> | undefined;
|
|
15
|
-
Expected?: Record<string, Omit<ExpectedAttributeValue,
|
|
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 PutCommandOutput = Omit<__PutItemCommandOutput,
|
|
24
|
+
export type PutCommandOutput = Omit<__PutItemCommandOutput, 'Attributes' | 'ItemCollectionMetrics'> & {
|
|
25
25
|
Attributes?: Record<string, NativeAttributeValue> | undefined;
|
|
26
|
-
ItemCollectionMetrics?:
|
|
26
|
+
ItemCollectionMetrics?: Omit<ItemCollectionMetrics, 'ItemCollectionKey'> & {
|
|
27
27
|
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
28
|
-
}
|
|
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 PutCommand extends DynamoDBDocumentClientCommand<PutCommand
|
|
|
41
41
|
protected readonly inputKeyNodes: {
|
|
42
42
|
Item: 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,8 @@
|
|
|
1
|
-
import { QueryCommand as __QueryCommand } from "@aws-sdk/client-dynamodb";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types";
|
|
4
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
5
4
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
5
|
+
import { QueryCommand as __QueryCommand } from "@aws-sdk/client-dynamodb";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -10,12 +10,12 @@ export { DynamoDBDocumentClientCommand, $Command };
|
|
|
10
10
|
/**
|
|
11
11
|
* @public
|
|
12
12
|
*/
|
|
13
|
-
export type QueryCommandInput = Omit<__QueryCommandInput,
|
|
14
|
-
KeyConditions?: Record<string, Omit<Condition,
|
|
15
|
-
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
13
|
+
export type QueryCommandInput = Omit<__QueryCommandInput, 'KeyConditions' | 'QueryFilter' | 'ExclusiveStartKey' | 'ExpressionAttributeValues'> & {
|
|
14
|
+
KeyConditions?: Record<string, Omit<Condition, 'AttributeValueList'> & {
|
|
15
|
+
AttributeValueList?: (NativeAttributeValue)[] | undefined;
|
|
16
16
|
}> | undefined;
|
|
17
|
-
QueryFilter?: Record<string, Omit<Condition,
|
|
18
|
-
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
17
|
+
QueryFilter?: Record<string, Omit<Condition, 'AttributeValueList'> & {
|
|
18
|
+
AttributeValueList?: (NativeAttributeValue)[] | undefined;
|
|
19
19
|
}> | undefined;
|
|
20
20
|
ExclusiveStartKey?: Record<string, NativeAttributeValue> | undefined;
|
|
21
21
|
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
@@ -23,8 +23,8 @@ export type QueryCommandInput = Omit<__QueryCommandInput, "KeyConditions" | "Que
|
|
|
23
23
|
/**
|
|
24
24
|
* @public
|
|
25
25
|
*/
|
|
26
|
-
export type QueryCommandOutput = Omit<__QueryCommandOutput,
|
|
27
|
-
Items?: Record<string, NativeAttributeValue>[] | undefined;
|
|
26
|
+
export type QueryCommandOutput = Omit<__QueryCommandOutput, 'Items' | 'LastEvaluatedKey'> & {
|
|
27
|
+
Items?: (Record<string, NativeAttributeValue>)[] | undefined;
|
|
28
28
|
LastEvaluatedKey?: Record<string, NativeAttributeValue> | undefined;
|
|
29
29
|
};
|
|
30
30
|
/**
|
|
@@ -40,12 +40,12 @@ export declare class QueryCommand extends DynamoDBDocumentClientCommand<QueryCom
|
|
|
40
40
|
readonly input: QueryCommandInput;
|
|
41
41
|
protected readonly inputKeyNodes: {
|
|
42
42
|
KeyConditions: {
|
|
43
|
-
|
|
43
|
+
'*': {
|
|
44
44
|
AttributeValueList: import("../commands/utils").KeyNodeChildren;
|
|
45
45
|
};
|
|
46
46
|
};
|
|
47
47
|
QueryFilter: {
|
|
48
|
-
|
|
48
|
+
'*': {
|
|
49
49
|
AttributeValueList: import("../commands/utils").KeyNodeChildren;
|
|
50
50
|
};
|
|
51
51
|
};
|
|
@@ -54,7 +54,7 @@ export declare class QueryCommand extends DynamoDBDocumentClientCommand<QueryCom
|
|
|
54
54
|
};
|
|
55
55
|
protected readonly outputKeyNodes: {
|
|
56
56
|
Items: {
|
|
57
|
-
|
|
57
|
+
'*': import("../commands/utils").KeyNodeChildren;
|
|
58
58
|
};
|
|
59
59
|
LastEvaluatedKey: import("../commands/utils").KeyNodeChildren;
|
|
60
60
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { ScanCommand as __ScanCommand } from "@aws-sdk/client-dynamodb";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types";
|
|
4
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
5
4
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
5
|
+
import { ScanCommand as __ScanCommand } from "@aws-sdk/client-dynamodb";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -10,9 +10,9 @@ export { DynamoDBDocumentClientCommand, $Command };
|
|
|
10
10
|
/**
|
|
11
11
|
* @public
|
|
12
12
|
*/
|
|
13
|
-
export type ScanCommandInput = Omit<__ScanCommandInput,
|
|
14
|
-
ScanFilter?: Record<string, Omit<Condition,
|
|
15
|
-
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
13
|
+
export type ScanCommandInput = Omit<__ScanCommandInput, 'ScanFilter' | 'ExclusiveStartKey' | 'ExpressionAttributeValues'> & {
|
|
14
|
+
ScanFilter?: Record<string, Omit<Condition, 'AttributeValueList'> & {
|
|
15
|
+
AttributeValueList?: (NativeAttributeValue)[] | undefined;
|
|
16
16
|
}> | undefined;
|
|
17
17
|
ExclusiveStartKey?: Record<string, NativeAttributeValue> | undefined;
|
|
18
18
|
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
@@ -20,8 +20,8 @@ export type ScanCommandInput = Omit<__ScanCommandInput, "ScanFilter" | "Exclusiv
|
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
22
|
*/
|
|
23
|
-
export type ScanCommandOutput = Omit<__ScanCommandOutput,
|
|
24
|
-
Items?: Record<string, NativeAttributeValue>[] | undefined;
|
|
23
|
+
export type ScanCommandOutput = Omit<__ScanCommandOutput, 'Items' | 'LastEvaluatedKey'> & {
|
|
24
|
+
Items?: (Record<string, NativeAttributeValue>)[] | undefined;
|
|
25
25
|
LastEvaluatedKey?: Record<string, NativeAttributeValue> | undefined;
|
|
26
26
|
};
|
|
27
27
|
/**
|
|
@@ -37,7 +37,7 @@ export declare class ScanCommand extends DynamoDBDocumentClientCommand<ScanComma
|
|
|
37
37
|
readonly input: ScanCommandInput;
|
|
38
38
|
protected readonly inputKeyNodes: {
|
|
39
39
|
ScanFilter: {
|
|
40
|
-
|
|
40
|
+
'*': {
|
|
41
41
|
AttributeValueList: import("../commands/utils").KeyNodeChildren;
|
|
42
42
|
};
|
|
43
43
|
};
|
|
@@ -46,7 +46,7 @@ export declare class ScanCommand extends DynamoDBDocumentClientCommand<ScanComma
|
|
|
46
46
|
};
|
|
47
47
|
protected readonly outputKeyNodes: {
|
|
48
48
|
Items: {
|
|
49
|
-
|
|
49
|
+
'*': import("../commands/utils").KeyNodeChildren;
|
|
50
50
|
};
|
|
51
51
|
LastEvaluatedKey: import("../commands/utils").KeyNodeChildren;
|
|
52
52
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { TransactGetItemsCommand as __TransactGetItemsCommand } from "@aws-sdk/client-dynamodb";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types";
|
|
4
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
5
4
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
5
|
+
import { TransactGetItemsCommand as __TransactGetItemsCommand } from "@aws-sdk/client-dynamodb";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -10,18 +10,18 @@ export { DynamoDBDocumentClientCommand, $Command };
|
|
|
10
10
|
/**
|
|
11
11
|
* @public
|
|
12
12
|
*/
|
|
13
|
-
export type TransactGetCommandInput = Omit<__TransactGetItemsCommandInput,
|
|
14
|
-
TransactItems: (Omit<TransactGetItem,
|
|
15
|
-
Get:
|
|
13
|
+
export type TransactGetCommandInput = Omit<__TransactGetItemsCommandInput, 'TransactItems'> & {
|
|
14
|
+
TransactItems: (Omit<TransactGetItem, 'Get'> & {
|
|
15
|
+
Get: Omit<Get, 'Key'> & {
|
|
16
16
|
Key: Record<string, NativeAttributeValue> | undefined;
|
|
17
|
-
}
|
|
17
|
+
} | undefined;
|
|
18
18
|
})[] | undefined;
|
|
19
19
|
};
|
|
20
20
|
/**
|
|
21
21
|
* @public
|
|
22
22
|
*/
|
|
23
|
-
export type TransactGetCommandOutput = Omit<__TransactGetItemsCommandOutput,
|
|
24
|
-
Responses?: (Omit<ItemResponse,
|
|
23
|
+
export type TransactGetCommandOutput = Omit<__TransactGetItemsCommandOutput, 'Responses'> & {
|
|
24
|
+
Responses?: (Omit<ItemResponse, 'Item'> & {
|
|
25
25
|
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
26
26
|
})[] | undefined;
|
|
27
27
|
};
|
|
@@ -38,7 +38,7 @@ export declare class TransactGetCommand extends DynamoDBDocumentClientCommand<Tr
|
|
|
38
38
|
readonly input: TransactGetCommandInput;
|
|
39
39
|
protected readonly inputKeyNodes: {
|
|
40
40
|
TransactItems: {
|
|
41
|
-
|
|
41
|
+
'*': {
|
|
42
42
|
Get: {
|
|
43
43
|
Key: import("../commands/utils").KeyNodeChildren;
|
|
44
44
|
};
|
|
@@ -47,7 +47,7 @@ export declare class TransactGetCommand extends DynamoDBDocumentClientCommand<Tr
|
|
|
47
47
|
};
|
|
48
48
|
protected readonly outputKeyNodes: {
|
|
49
49
|
Responses: {
|
|
50
|
-
|
|
50
|
+
'*': {
|
|
51
51
|
Item: import("../commands/utils").KeyNodeChildren;
|
|
52
52
|
};
|
|
53
53
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { TransactWriteItemsCommand as __TransactWriteItemsCommand } from "@aws-sdk/client-dynamodb";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types";
|
|
4
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
5
4
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
5
|
+
import { TransactWriteItemsCommand as __TransactWriteItemsCommand } from "@aws-sdk/client-dynamodb";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -10,31 +10,31 @@ export { DynamoDBDocumentClientCommand, $Command };
|
|
|
10
10
|
/**
|
|
11
11
|
* @public
|
|
12
12
|
*/
|
|
13
|
-
export type TransactWriteCommandInput = Omit<__TransactWriteItemsCommandInput,
|
|
14
|
-
TransactItems: (Omit<TransactWriteItem,
|
|
15
|
-
ConditionCheck?:
|
|
13
|
+
export type TransactWriteCommandInput = Omit<__TransactWriteItemsCommandInput, 'TransactItems'> & {
|
|
14
|
+
TransactItems: (Omit<TransactWriteItem, 'ConditionCheck' | 'Put' | 'Delete' | 'Update'> & {
|
|
15
|
+
ConditionCheck?: Omit<ConditionCheck, 'Key' | 'ExpressionAttributeValues'> & {
|
|
16
16
|
Key: Record<string, NativeAttributeValue> | undefined;
|
|
17
17
|
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
18
|
-
}
|
|
19
|
-
Put?:
|
|
18
|
+
} | undefined;
|
|
19
|
+
Put?: Omit<Put, 'Item' | 'ExpressionAttributeValues'> & {
|
|
20
20
|
Item: Record<string, NativeAttributeValue> | undefined;
|
|
21
21
|
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
22
|
-
}
|
|
23
|
-
Delete?:
|
|
22
|
+
} | undefined;
|
|
23
|
+
Delete?: Omit<Delete, 'Key' | 'ExpressionAttributeValues'> & {
|
|
24
24
|
Key: Record<string, NativeAttributeValue> | undefined;
|
|
25
25
|
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
26
|
-
}
|
|
27
|
-
Update?:
|
|
26
|
+
} | undefined;
|
|
27
|
+
Update?: Omit<Update, 'Key' | 'ExpressionAttributeValues'> & {
|
|
28
28
|
Key: Record<string, NativeAttributeValue> | undefined;
|
|
29
29
|
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
30
|
-
}
|
|
30
|
+
} | undefined;
|
|
31
31
|
})[] | undefined;
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
34
34
|
* @public
|
|
35
35
|
*/
|
|
36
|
-
export type TransactWriteCommandOutput = Omit<__TransactWriteItemsCommandOutput,
|
|
37
|
-
ItemCollectionMetrics?: Record<string, (Omit<ItemCollectionMetrics,
|
|
36
|
+
export type TransactWriteCommandOutput = Omit<__TransactWriteItemsCommandOutput, 'ItemCollectionMetrics'> & {
|
|
37
|
+
ItemCollectionMetrics?: Record<string, (Omit<ItemCollectionMetrics, 'ItemCollectionKey'> & {
|
|
38
38
|
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
39
39
|
})[]> | undefined;
|
|
40
40
|
};
|
|
@@ -51,7 +51,7 @@ export declare class TransactWriteCommand extends DynamoDBDocumentClientCommand<
|
|
|
51
51
|
readonly input: TransactWriteCommandInput;
|
|
52
52
|
protected readonly inputKeyNodes: {
|
|
53
53
|
TransactItems: {
|
|
54
|
-
|
|
54
|
+
'*': {
|
|
55
55
|
ConditionCheck: {
|
|
56
56
|
Key: import("../commands/utils").KeyNodeChildren;
|
|
57
57
|
ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren;
|
|
@@ -73,8 +73,8 @@ export declare class TransactWriteCommand extends DynamoDBDocumentClientCommand<
|
|
|
73
73
|
};
|
|
74
74
|
protected readonly outputKeyNodes: {
|
|
75
75
|
ItemCollectionMetrics: {
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
'*': {
|
|
77
|
+
'*': {
|
|
78
78
|
ItemCollectionKey: import("../commands/utils").KeyNodeChildren;
|
|
79
79
|
};
|
|
80
80
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { UpdateItemCommand as __UpdateItemCommand } from "@aws-sdk/client-dynamodb";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import { type HttpHandlerOptions as __HttpHandlerOptions, Handler, MiddlewareStack } from "@smithy/types";
|
|
4
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
5
4
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
5
|
+
import { UpdateItemCommand as __UpdateItemCommand } from "@aws-sdk/client-dynamodb";
|
|
6
6
|
/**
|
|
7
7
|
* @public
|
|
8
8
|
*/
|
|
@@ -10,25 +10,25 @@ export { DynamoDBDocumentClientCommand, $Command };
|
|
|
10
10
|
/**
|
|
11
11
|
* @public
|
|
12
12
|
*/
|
|
13
|
-
export type UpdateCommandInput = Omit<__UpdateItemCommandInput,
|
|
13
|
+
export type UpdateCommandInput = Omit<__UpdateItemCommandInput, 'Key' | 'AttributeUpdates' | 'Expected' | 'ExpressionAttributeValues'> & {
|
|
14
14
|
Key: Record<string, NativeAttributeValue> | undefined;
|
|
15
|
-
AttributeUpdates?: Record<string, Omit<AttributeValueUpdate,
|
|
15
|
+
AttributeUpdates?: Record<string, Omit<AttributeValueUpdate, 'Value'> & {
|
|
16
16
|
Value?: NativeAttributeValue | undefined;
|
|
17
17
|
}> | undefined;
|
|
18
|
-
Expected?: Record<string, Omit<ExpectedAttributeValue,
|
|
18
|
+
Expected?: Record<string, Omit<ExpectedAttributeValue, 'Value' | 'AttributeValueList'> & {
|
|
19
19
|
Value?: NativeAttributeValue | undefined;
|
|
20
|
-
AttributeValueList?: NativeAttributeValue[] | undefined;
|
|
20
|
+
AttributeValueList?: (NativeAttributeValue)[] | undefined;
|
|
21
21
|
}> | undefined;
|
|
22
22
|
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
23
23
|
};
|
|
24
24
|
/**
|
|
25
25
|
* @public
|
|
26
26
|
*/
|
|
27
|
-
export type UpdateCommandOutput = Omit<__UpdateItemCommandOutput,
|
|
27
|
+
export type UpdateCommandOutput = Omit<__UpdateItemCommandOutput, 'Attributes' | 'ItemCollectionMetrics'> & {
|
|
28
28
|
Attributes?: Record<string, NativeAttributeValue> | undefined;
|
|
29
|
-
ItemCollectionMetrics?:
|
|
29
|
+
ItemCollectionMetrics?: Omit<ItemCollectionMetrics, 'ItemCollectionKey'> & {
|
|
30
30
|
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
31
|
-
}
|
|
31
|
+
} | undefined;
|
|
32
32
|
};
|
|
33
33
|
/**
|
|
34
34
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
@@ -44,12 +44,12 @@ export declare class UpdateCommand extends DynamoDBDocumentClientCommand<UpdateC
|
|
|
44
44
|
protected readonly inputKeyNodes: {
|
|
45
45
|
Key: import("../commands/utils").KeyNodeChildren;
|
|
46
46
|
AttributeUpdates: {
|
|
47
|
-
|
|
47
|
+
'*': {
|
|
48
48
|
Value: null;
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
51
|
Expected: {
|
|
52
|
-
|
|
52
|
+
'*': {
|
|
53
53
|
Value: null;
|
|
54
54
|
AttributeValueList: import("../commands/utils").KeyNodeChildren;
|
|
55
55
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
1
|
+
export * from './BatchExecuteStatementCommand';
|
|
2
|
+
export * from './BatchGetCommand';
|
|
3
|
+
export * from './BatchWriteCommand';
|
|
4
|
+
export * from './DeleteCommand';
|
|
5
|
+
export * from './ExecuteStatementCommand';
|
|
6
|
+
export * from './ExecuteTransactionCommand';
|
|
7
|
+
export * from './GetCommand';
|
|
8
|
+
export * from './PutCommand';
|
|
9
|
+
export * from './QueryCommand';
|
|
10
|
+
export * from './ScanCommand';
|
|
11
|
+
export * from './TransactGetCommand';
|
|
12
|
+
export * from './TransactWriteCommand';
|
|
13
|
+
export * from './UpdateCommand';
|
package/dist-types/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
1
|
+
export * from './commands';
|
|
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";
|