@depup/aws-sdk__lib-dynamodb 3.1005.0-depup.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/LICENSE +201 -0
- package/README.md +31 -0
- package/dist-cjs/index.js +836 -0
- package/dist-es/DynamoDBDocument.js +214 -0
- package/dist-es/DynamoDBDocumentClient.js +20 -0
- package/dist-es/baseCommand/DynamoDBDocumentClientCommand.js +32 -0
- package/dist-es/commands/BatchExecuteStatementCommand.js +39 -0
- package/dist-es/commands/BatchGetCommand.js +45 -0
- package/dist-es/commands/BatchWriteCommand.js +57 -0
- package/dist-es/commands/DeleteCommand.js +38 -0
- package/dist-es/commands/ExecuteStatementCommand.js +31 -0
- package/dist-es/commands/ExecuteTransactionCommand.js +36 -0
- package/dist-es/commands/GetCommand.js +28 -0
- package/dist-es/commands/PutCommand.js +38 -0
- package/dist-es/commands/QueryCommand.js +42 -0
- package/dist-es/commands/ScanCommand.js +37 -0
- package/dist-es/commands/TransactGetCommand.js +38 -0
- package/dist-es/commands/TransactWriteCommand.js +53 -0
- package/dist-es/commands/UpdateCommand.js +43 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/commands/utils.js +80 -0
- package/dist-es/index.js +5 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/QueryPaginator.js +4 -0
- package/dist-es/pagination/ScanPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-types/DynamoDBDocument.d.ts +195 -0
- package/dist-types/DynamoDBDocumentClient.d.ts +96 -0
- package/dist-types/baseCommand/DynamoDBDocumentClientCommand.d.ts +17 -0
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +66 -0
- package/dist-types/commands/BatchGetCommand.d.ts +70 -0
- package/dist-types/commands/BatchWriteCommand.d.ts +94 -0
- package/dist-types/commands/DeleteCommand.d.ts +66 -0
- package/dist-types/commands/ExecuteStatementCommand.d.ts +52 -0
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +60 -0
- package/dist-types/commands/GetCommand.d.ts +48 -0
- package/dist-types/commands/PutCommand.d.ts +66 -0
- package/dist-types/commands/QueryCommand.d.ts +70 -0
- package/dist-types/commands/ScanCommand.d.ts +62 -0
- package/dist-types/commands/TransactGetCommand.d.ts +64 -0
- package/dist-types/commands/TransactWriteCommand.d.ts +92 -0
- package/dist-types/commands/UpdateCommand.d.ts +74 -0
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/commands/utils.d.ts +33 -0
- package/dist-types/index.d.ts +7 -0
- package/dist-types/pagination/Interfaces.d.ts +13 -0
- package/dist-types/pagination/QueryPaginator.d.ts +11 -0
- package/dist-types/pagination/ScanPaginator.d.ts +11 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/DynamoDBDocument.d.ts +221 -0
- package/dist-types/ts3.4/DynamoDBDocumentClient.d.ts +105 -0
- package/dist-types/ts3.4/baseCommand/DynamoDBDocumentClientCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +96 -0
- package/dist-types/ts3.4/commands/BatchGetCommand.d.ts +92 -0
- package/dist-types/ts3.4/commands/BatchWriteCommand.d.ts +142 -0
- package/dist-types/ts3.4/commands/DeleteCommand.d.ts +96 -0
- package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +61 -0
- package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +78 -0
- package/dist-types/ts3.4/commands/GetCommand.d.ts +57 -0
- package/dist-types/ts3.4/commands/PutCommand.d.ts +93 -0
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +96 -0
- package/dist-types/ts3.4/commands/ScanCommand.d.ts +80 -0
- package/dist-types/ts3.4/commands/TransactGetCommand.d.ts +82 -0
- package/dist-types/ts3.4/commands/TransactWriteCommand.d.ts +151 -0
- package/dist-types/ts3.4/commands/UpdateCommand.d.ts +113 -0
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/commands/utils.d.ts +17 -0
- package/dist-types/ts3.4/index.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +8 -0
- package/dist-types/ts3.4/pagination/QueryPaginator.d.ts +12 -0
- package/dist-types/ts3.4/pagination/ScanPaginator.d.ts +9 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/package.json +87 -0
|
@@ -0,0 +1,70 @@
|
|
|
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
|
+
import { BatchGetItemCommand as __BatchGetItemCommand } from "@aws-sdk/client-dynamodb";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type BatchGetCommandInput = Omit<__BatchGetItemCommandInput, 'RequestItems'> & {
|
|
14
|
+
RequestItems: Record<string, Omit<KeysAndAttributes, 'Keys'> & {
|
|
15
|
+
Keys: (Record<string, NativeAttributeValue>)[] | undefined;
|
|
16
|
+
}> | undefined;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
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;
|
|
25
|
+
}> | undefined;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
29
|
+
* BatchGetItemCommand operation from {@link @aws-sdk/client-dynamodb#BatchGetItemCommand}.
|
|
30
|
+
*
|
|
31
|
+
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
32
|
+
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
33
|
+
*
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export declare class BatchGetCommand extends DynamoDBDocumentClientCommand<BatchGetCommandInput, BatchGetCommandOutput, __BatchGetItemCommandInput, __BatchGetItemCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
37
|
+
readonly input: BatchGetCommandInput;
|
|
38
|
+
protected readonly inputKeyNodes: {
|
|
39
|
+
RequestItems: {
|
|
40
|
+
'*': {
|
|
41
|
+
Keys: {
|
|
42
|
+
'*': import("../commands/utils").KeyNodeChildren;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
protected readonly outputKeyNodes: {
|
|
48
|
+
Responses: {
|
|
49
|
+
'*': {
|
|
50
|
+
'*': import("../commands/utils").KeyNodeChildren;
|
|
51
|
+
};
|
|
52
|
+
};
|
|
53
|
+
UnprocessedKeys: {
|
|
54
|
+
'*': {
|
|
55
|
+
Keys: {
|
|
56
|
+
'*': import("../commands/utils").KeyNodeChildren;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
protected readonly clientCommand: __BatchGetItemCommand;
|
|
62
|
+
readonly middlewareStack: MiddlewareStack<BatchGetCommandInput | __BatchGetItemCommandInput, BatchGetCommandOutput | __BatchGetItemCommandOutput>;
|
|
63
|
+
constructor(input: BatchGetCommandInput);
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetCommandInput, BatchGetCommandOutput>;
|
|
68
|
+
}
|
|
69
|
+
import type { BatchGetItemCommandInput as __BatchGetItemCommandInput, BatchGetItemCommandOutput as __BatchGetItemCommandOutput, KeysAndAttributes } from "@aws-sdk/client-dynamodb";
|
|
70
|
+
import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
@@ -0,0 +1,94 @@
|
|
|
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
|
+
import { BatchWriteItemCommand as __BatchWriteItemCommand } from "@aws-sdk/client-dynamodb";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type BatchWriteCommandInput = Omit<__BatchWriteItemCommandInput, 'RequestItems'> & {
|
|
14
|
+
RequestItems: Record<string, (Omit<WriteRequest, 'PutRequest' | 'DeleteRequest'> & {
|
|
15
|
+
PutRequest?: Omit<PutRequest, 'Item'> & {
|
|
16
|
+
Item: Record<string, NativeAttributeValue> | undefined;
|
|
17
|
+
} | undefined;
|
|
18
|
+
DeleteRequest?: Omit<DeleteRequest, 'Key'> & {
|
|
19
|
+
Key: Record<string, NativeAttributeValue> | undefined;
|
|
20
|
+
} | undefined;
|
|
21
|
+
})[]> | undefined;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export type BatchWriteCommandOutput = Omit<__BatchWriteItemCommandOutput, 'UnprocessedItems' | 'ItemCollectionMetrics'> & {
|
|
27
|
+
UnprocessedItems?: Record<string, (Omit<WriteRequest, 'PutRequest' | 'DeleteRequest'> & {
|
|
28
|
+
PutRequest?: Omit<PutRequest, 'Item'> & {
|
|
29
|
+
Item: Record<string, NativeAttributeValue> | undefined;
|
|
30
|
+
} | undefined;
|
|
31
|
+
DeleteRequest?: Omit<DeleteRequest, 'Key'> & {
|
|
32
|
+
Key: Record<string, NativeAttributeValue> | undefined;
|
|
33
|
+
} | undefined;
|
|
34
|
+
})[]> | undefined;
|
|
35
|
+
ItemCollectionMetrics?: Record<string, (Omit<ItemCollectionMetrics, 'ItemCollectionKey'> & {
|
|
36
|
+
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
37
|
+
})[]> | undefined;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
41
|
+
* BatchWriteItemCommand operation from {@link @aws-sdk/client-dynamodb#BatchWriteItemCommand}.
|
|
42
|
+
*
|
|
43
|
+
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
44
|
+
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
45
|
+
*
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
export declare class BatchWriteCommand extends DynamoDBDocumentClientCommand<BatchWriteCommandInput, BatchWriteCommandOutput, __BatchWriteItemCommandInput, __BatchWriteItemCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
49
|
+
readonly input: BatchWriteCommandInput;
|
|
50
|
+
protected readonly inputKeyNodes: {
|
|
51
|
+
RequestItems: {
|
|
52
|
+
'*': {
|
|
53
|
+
'*': {
|
|
54
|
+
PutRequest: {
|
|
55
|
+
Item: import("../commands/utils").KeyNodeChildren;
|
|
56
|
+
};
|
|
57
|
+
DeleteRequest: {
|
|
58
|
+
Key: import("../commands/utils").KeyNodeChildren;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
};
|
|
64
|
+
protected readonly outputKeyNodes: {
|
|
65
|
+
UnprocessedItems: {
|
|
66
|
+
'*': {
|
|
67
|
+
'*': {
|
|
68
|
+
PutRequest: {
|
|
69
|
+
Item: import("../commands/utils").KeyNodeChildren;
|
|
70
|
+
};
|
|
71
|
+
DeleteRequest: {
|
|
72
|
+
Key: import("../commands/utils").KeyNodeChildren;
|
|
73
|
+
};
|
|
74
|
+
};
|
|
75
|
+
};
|
|
76
|
+
};
|
|
77
|
+
ItemCollectionMetrics: {
|
|
78
|
+
'*': {
|
|
79
|
+
'*': {
|
|
80
|
+
ItemCollectionKey: import("../commands/utils").KeyNodeChildren;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
};
|
|
84
|
+
};
|
|
85
|
+
protected readonly clientCommand: __BatchWriteItemCommand;
|
|
86
|
+
readonly middlewareStack: MiddlewareStack<BatchWriteCommandInput | __BatchWriteItemCommandInput, BatchWriteCommandOutput | __BatchWriteItemCommandOutput>;
|
|
87
|
+
constructor(input: BatchWriteCommandInput);
|
|
88
|
+
/**
|
|
89
|
+
* @internal
|
|
90
|
+
*/
|
|
91
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchWriteCommandInput, BatchWriteCommandOutput>;
|
|
92
|
+
}
|
|
93
|
+
import type { BatchWriteItemCommandInput as __BatchWriteItemCommandInput, BatchWriteItemCommandOutput as __BatchWriteItemCommandOutput, DeleteRequest, ItemCollectionMetrics, PutRequest, WriteRequest } from "@aws-sdk/client-dynamodb";
|
|
94
|
+
import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
import { DeleteItemCommand as __DeleteItemCommand } from "@aws-sdk/client-dynamodb";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type DeleteCommandInput = Omit<__DeleteItemCommandInput, 'Key' | 'Expected' | 'ExpressionAttributeValues'> & {
|
|
14
|
+
Key: Record<string, NativeAttributeValue> | undefined;
|
|
15
|
+
Expected?: Record<string, Omit<ExpectedAttributeValue, 'Value' | 'AttributeValueList'> & {
|
|
16
|
+
Value?: NativeAttributeValue | undefined;
|
|
17
|
+
AttributeValueList?: (NativeAttributeValue)[] | undefined;
|
|
18
|
+
}> | undefined;
|
|
19
|
+
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export type DeleteCommandOutput = Omit<__DeleteItemCommandOutput, 'Attributes' | 'ItemCollectionMetrics'> & {
|
|
25
|
+
Attributes?: Record<string, NativeAttributeValue> | undefined;
|
|
26
|
+
ItemCollectionMetrics?: Omit<ItemCollectionMetrics, 'ItemCollectionKey'> & {
|
|
27
|
+
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
28
|
+
} | undefined;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
32
|
+
* DeleteItemCommand operation from {@link @aws-sdk/client-dynamodb#DeleteItemCommand}.
|
|
33
|
+
*
|
|
34
|
+
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
35
|
+
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
36
|
+
*
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export declare class DeleteCommand extends DynamoDBDocumentClientCommand<DeleteCommandInput, DeleteCommandOutput, __DeleteItemCommandInput, __DeleteItemCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
40
|
+
readonly input: DeleteCommandInput;
|
|
41
|
+
protected readonly inputKeyNodes: {
|
|
42
|
+
Key: import("../commands/utils").KeyNodeChildren;
|
|
43
|
+
Expected: {
|
|
44
|
+
'*': {
|
|
45
|
+
Value: null;
|
|
46
|
+
AttributeValueList: import("../commands/utils").KeyNodeChildren;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren;
|
|
50
|
+
};
|
|
51
|
+
protected readonly outputKeyNodes: {
|
|
52
|
+
Attributes: import("../commands/utils").KeyNodeChildren;
|
|
53
|
+
ItemCollectionMetrics: {
|
|
54
|
+
ItemCollectionKey: import("../commands/utils").KeyNodeChildren;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
protected readonly clientCommand: __DeleteItemCommand;
|
|
58
|
+
readonly middlewareStack: MiddlewareStack<DeleteCommandInput | __DeleteItemCommandInput, DeleteCommandOutput | __DeleteItemCommandOutput>;
|
|
59
|
+
constructor(input: DeleteCommandInput);
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
63
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteCommandInput, DeleteCommandOutput>;
|
|
64
|
+
}
|
|
65
|
+
import type { DeleteItemCommandInput as __DeleteItemCommandInput, DeleteItemCommandOutput as __DeleteItemCommandOutput, ExpectedAttributeValue, ItemCollectionMetrics } from "@aws-sdk/client-dynamodb";
|
|
66
|
+
import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
@@ -0,0 +1,52 @@
|
|
|
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
|
+
import { ExecuteStatementCommand as __ExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type ExecuteStatementCommandInput = Omit<__ExecuteStatementCommandInput, 'Parameters'> & {
|
|
14
|
+
Parameters?: (NativeAttributeValue)[] | undefined;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export type ExecuteStatementCommandOutput = Omit<__ExecuteStatementCommandOutput, 'Items' | 'LastEvaluatedKey'> & {
|
|
20
|
+
Items?: (Record<string, NativeAttributeValue>)[] | undefined;
|
|
21
|
+
LastEvaluatedKey?: Record<string, NativeAttributeValue> | undefined;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
25
|
+
* ExecuteStatementCommand operation from {@link @aws-sdk/client-dynamodb#ExecuteStatementCommand}.
|
|
26
|
+
*
|
|
27
|
+
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
28
|
+
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
29
|
+
*
|
|
30
|
+
* @public
|
|
31
|
+
*/
|
|
32
|
+
export declare class ExecuteStatementCommand extends DynamoDBDocumentClientCommand<ExecuteStatementCommandInput, ExecuteStatementCommandOutput, __ExecuteStatementCommandInput, __ExecuteStatementCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
33
|
+
readonly input: ExecuteStatementCommandInput;
|
|
34
|
+
protected readonly inputKeyNodes: {
|
|
35
|
+
Parameters: import("../commands/utils").KeyNodeChildren;
|
|
36
|
+
};
|
|
37
|
+
protected readonly outputKeyNodes: {
|
|
38
|
+
Items: {
|
|
39
|
+
'*': import("../commands/utils").KeyNodeChildren;
|
|
40
|
+
};
|
|
41
|
+
LastEvaluatedKey: import("../commands/utils").KeyNodeChildren;
|
|
42
|
+
};
|
|
43
|
+
protected readonly clientCommand: __ExecuteStatementCommand;
|
|
44
|
+
readonly middlewareStack: MiddlewareStack<ExecuteStatementCommandInput | __ExecuteStatementCommandInput, ExecuteStatementCommandOutput | __ExecuteStatementCommandOutput>;
|
|
45
|
+
constructor(input: ExecuteStatementCommandInput);
|
|
46
|
+
/**
|
|
47
|
+
* @internal
|
|
48
|
+
*/
|
|
49
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExecuteStatementCommandInput, ExecuteStatementCommandOutput>;
|
|
50
|
+
}
|
|
51
|
+
import type { ExecuteStatementCommandInput as __ExecuteStatementCommandInput, ExecuteStatementCommandOutput as __ExecuteStatementCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
52
|
+
import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
@@ -0,0 +1,60 @@
|
|
|
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
|
+
import { ExecuteTransactionCommand as __ExecuteTransactionCommand } from "@aws-sdk/client-dynamodb";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type ExecuteTransactionCommandInput = Omit<__ExecuteTransactionCommandInput, 'TransactStatements'> & {
|
|
14
|
+
TransactStatements: (Omit<ParameterizedStatement, 'Parameters'> & {
|
|
15
|
+
Parameters?: (NativeAttributeValue)[] | undefined;
|
|
16
|
+
})[] | undefined;
|
|
17
|
+
};
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export type ExecuteTransactionCommandOutput = Omit<__ExecuteTransactionCommandOutput, 'Responses'> & {
|
|
22
|
+
Responses?: (Omit<ItemResponse, 'Item'> & {
|
|
23
|
+
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
24
|
+
})[] | undefined;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
28
|
+
* ExecuteTransactionCommand operation from {@link @aws-sdk/client-dynamodb#ExecuteTransactionCommand}.
|
|
29
|
+
*
|
|
30
|
+
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
31
|
+
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
32
|
+
*
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export declare class ExecuteTransactionCommand extends DynamoDBDocumentClientCommand<ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput, __ExecuteTransactionCommandInput, __ExecuteTransactionCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
36
|
+
readonly input: ExecuteTransactionCommandInput;
|
|
37
|
+
protected readonly inputKeyNodes: {
|
|
38
|
+
TransactStatements: {
|
|
39
|
+
'*': {
|
|
40
|
+
Parameters: import("../commands/utils").KeyNodeChildren;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
protected readonly outputKeyNodes: {
|
|
45
|
+
Responses: {
|
|
46
|
+
'*': {
|
|
47
|
+
Item: import("../commands/utils").KeyNodeChildren;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
protected readonly clientCommand: __ExecuteTransactionCommand;
|
|
52
|
+
readonly middlewareStack: MiddlewareStack<ExecuteTransactionCommandInput | __ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput | __ExecuteTransactionCommandOutput>;
|
|
53
|
+
constructor(input: ExecuteTransactionCommandInput);
|
|
54
|
+
/**
|
|
55
|
+
* @internal
|
|
56
|
+
*/
|
|
57
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput>;
|
|
58
|
+
}
|
|
59
|
+
import type { ExecuteTransactionCommandInput as __ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput as __ExecuteTransactionCommandOutput, ItemResponse, ParameterizedStatement } from "@aws-sdk/client-dynamodb";
|
|
60
|
+
import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
@@ -0,0 +1,48 @@
|
|
|
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
|
+
import { GetItemCommand as __GetItemCommand } from "@aws-sdk/client-dynamodb";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type GetCommandInput = Omit<__GetItemCommandInput, 'Key'> & {
|
|
14
|
+
Key: Record<string, NativeAttributeValue> | undefined;
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* @public
|
|
18
|
+
*/
|
|
19
|
+
export type GetCommandOutput = Omit<__GetItemCommandOutput, 'Item'> & {
|
|
20
|
+
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
21
|
+
};
|
|
22
|
+
/**
|
|
23
|
+
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
24
|
+
* GetItemCommand operation from {@link @aws-sdk/client-dynamodb#GetItemCommand}.
|
|
25
|
+
*
|
|
26
|
+
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
27
|
+
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
28
|
+
*
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export declare class GetCommand extends DynamoDBDocumentClientCommand<GetCommandInput, GetCommandOutput, __GetItemCommandInput, __GetItemCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
32
|
+
readonly input: GetCommandInput;
|
|
33
|
+
protected readonly inputKeyNodes: {
|
|
34
|
+
Key: import("../commands/utils").KeyNodeChildren;
|
|
35
|
+
};
|
|
36
|
+
protected readonly outputKeyNodes: {
|
|
37
|
+
Item: import("../commands/utils").KeyNodeChildren;
|
|
38
|
+
};
|
|
39
|
+
protected readonly clientCommand: __GetItemCommand;
|
|
40
|
+
readonly middlewareStack: MiddlewareStack<GetCommandInput | __GetItemCommandInput, GetCommandOutput | __GetItemCommandOutput>;
|
|
41
|
+
constructor(input: GetCommandInput);
|
|
42
|
+
/**
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
45
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCommandInput, GetCommandOutput>;
|
|
46
|
+
}
|
|
47
|
+
import type { GetItemCommandInput as __GetItemCommandInput, GetItemCommandOutput as __GetItemCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
48
|
+
import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
@@ -0,0 +1,66 @@
|
|
|
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
|
+
import { PutItemCommand as __PutItemCommand } from "@aws-sdk/client-dynamodb";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type PutCommandInput = Omit<__PutItemCommandInput, 'Item' | 'Expected' | 'ExpressionAttributeValues'> & {
|
|
14
|
+
Item: Record<string, NativeAttributeValue> | undefined;
|
|
15
|
+
Expected?: Record<string, Omit<ExpectedAttributeValue, 'Value' | 'AttributeValueList'> & {
|
|
16
|
+
Value?: NativeAttributeValue | undefined;
|
|
17
|
+
AttributeValueList?: (NativeAttributeValue)[] | undefined;
|
|
18
|
+
}> | undefined;
|
|
19
|
+
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
20
|
+
};
|
|
21
|
+
/**
|
|
22
|
+
* @public
|
|
23
|
+
*/
|
|
24
|
+
export type PutCommandOutput = Omit<__PutItemCommandOutput, 'Attributes' | 'ItemCollectionMetrics'> & {
|
|
25
|
+
Attributes?: Record<string, NativeAttributeValue> | undefined;
|
|
26
|
+
ItemCollectionMetrics?: Omit<ItemCollectionMetrics, 'ItemCollectionKey'> & {
|
|
27
|
+
ItemCollectionKey?: Record<string, NativeAttributeValue> | undefined;
|
|
28
|
+
} | undefined;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
32
|
+
* PutItemCommand operation from {@link @aws-sdk/client-dynamodb#PutItemCommand}.
|
|
33
|
+
*
|
|
34
|
+
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
35
|
+
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
36
|
+
*
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export declare class PutCommand extends DynamoDBDocumentClientCommand<PutCommandInput, PutCommandOutput, __PutItemCommandInput, __PutItemCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
40
|
+
readonly input: PutCommandInput;
|
|
41
|
+
protected readonly inputKeyNodes: {
|
|
42
|
+
Item: import("../commands/utils").KeyNodeChildren;
|
|
43
|
+
Expected: {
|
|
44
|
+
'*': {
|
|
45
|
+
Value: null;
|
|
46
|
+
AttributeValueList: import("../commands/utils").KeyNodeChildren;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren;
|
|
50
|
+
};
|
|
51
|
+
protected readonly outputKeyNodes: {
|
|
52
|
+
Attributes: import("../commands/utils").KeyNodeChildren;
|
|
53
|
+
ItemCollectionMetrics: {
|
|
54
|
+
ItemCollectionKey: import("../commands/utils").KeyNodeChildren;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
protected readonly clientCommand: __PutItemCommand;
|
|
58
|
+
readonly middlewareStack: MiddlewareStack<PutCommandInput | __PutItemCommandInput, PutCommandOutput | __PutItemCommandOutput>;
|
|
59
|
+
constructor(input: PutCommandInput);
|
|
60
|
+
/**
|
|
61
|
+
* @internal
|
|
62
|
+
*/
|
|
63
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutCommandInput, PutCommandOutput>;
|
|
64
|
+
}
|
|
65
|
+
import type { ExpectedAttributeValue, ItemCollectionMetrics, PutItemCommandInput as __PutItemCommandInput, PutItemCommandOutput as __PutItemCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
66
|
+
import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
@@ -0,0 +1,70 @@
|
|
|
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
|
+
import { QueryCommand as __QueryCommand } from "@aws-sdk/client-dynamodb";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type QueryCommandInput = Omit<__QueryCommandInput, 'KeyConditions' | 'QueryFilter' | 'ExclusiveStartKey' | 'ExpressionAttributeValues'> & {
|
|
14
|
+
KeyConditions?: Record<string, Omit<Condition, 'AttributeValueList'> & {
|
|
15
|
+
AttributeValueList?: (NativeAttributeValue)[] | undefined;
|
|
16
|
+
}> | undefined;
|
|
17
|
+
QueryFilter?: Record<string, Omit<Condition, 'AttributeValueList'> & {
|
|
18
|
+
AttributeValueList?: (NativeAttributeValue)[] | undefined;
|
|
19
|
+
}> | undefined;
|
|
20
|
+
ExclusiveStartKey?: Record<string, NativeAttributeValue> | undefined;
|
|
21
|
+
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* @public
|
|
25
|
+
*/
|
|
26
|
+
export type QueryCommandOutput = Omit<__QueryCommandOutput, 'Items' | 'LastEvaluatedKey'> & {
|
|
27
|
+
Items?: (Record<string, NativeAttributeValue>)[] | undefined;
|
|
28
|
+
LastEvaluatedKey?: Record<string, NativeAttributeValue> | undefined;
|
|
29
|
+
};
|
|
30
|
+
/**
|
|
31
|
+
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
32
|
+
* QueryCommand operation from {@link @aws-sdk/client-dynamodb#QueryCommand}.
|
|
33
|
+
*
|
|
34
|
+
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
35
|
+
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
36
|
+
*
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
export declare class QueryCommand extends DynamoDBDocumentClientCommand<QueryCommandInput, QueryCommandOutput, __QueryCommandInput, __QueryCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
40
|
+
readonly input: QueryCommandInput;
|
|
41
|
+
protected readonly inputKeyNodes: {
|
|
42
|
+
KeyConditions: {
|
|
43
|
+
'*': {
|
|
44
|
+
AttributeValueList: import("../commands/utils").KeyNodeChildren;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
QueryFilter: {
|
|
48
|
+
'*': {
|
|
49
|
+
AttributeValueList: import("../commands/utils").KeyNodeChildren;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
ExclusiveStartKey: import("../commands/utils").KeyNodeChildren;
|
|
53
|
+
ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren;
|
|
54
|
+
};
|
|
55
|
+
protected readonly outputKeyNodes: {
|
|
56
|
+
Items: {
|
|
57
|
+
'*': import("../commands/utils").KeyNodeChildren;
|
|
58
|
+
};
|
|
59
|
+
LastEvaluatedKey: import("../commands/utils").KeyNodeChildren;
|
|
60
|
+
};
|
|
61
|
+
protected readonly clientCommand: __QueryCommand;
|
|
62
|
+
readonly middlewareStack: MiddlewareStack<QueryCommandInput | __QueryCommandInput, QueryCommandOutput | __QueryCommandOutput>;
|
|
63
|
+
constructor(input: QueryCommandInput);
|
|
64
|
+
/**
|
|
65
|
+
* @internal
|
|
66
|
+
*/
|
|
67
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<QueryCommandInput, QueryCommandOutput>;
|
|
68
|
+
}
|
|
69
|
+
import type { Condition, QueryCommandInput as __QueryCommandInput, QueryCommandOutput as __QueryCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
70
|
+
import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
import { ScanCommand as __ScanCommand } from "@aws-sdk/client-dynamodb";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type ScanCommandInput = Omit<__ScanCommandInput, 'ScanFilter' | 'ExclusiveStartKey' | 'ExpressionAttributeValues'> & {
|
|
14
|
+
ScanFilter?: Record<string, Omit<Condition, 'AttributeValueList'> & {
|
|
15
|
+
AttributeValueList?: (NativeAttributeValue)[] | undefined;
|
|
16
|
+
}> | undefined;
|
|
17
|
+
ExclusiveStartKey?: Record<string, NativeAttributeValue> | undefined;
|
|
18
|
+
ExpressionAttributeValues?: Record<string, NativeAttributeValue> | undefined;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export type ScanCommandOutput = Omit<__ScanCommandOutput, 'Items' | 'LastEvaluatedKey'> & {
|
|
24
|
+
Items?: (Record<string, NativeAttributeValue>)[] | undefined;
|
|
25
|
+
LastEvaluatedKey?: Record<string, NativeAttributeValue> | undefined;
|
|
26
|
+
};
|
|
27
|
+
/**
|
|
28
|
+
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
29
|
+
* ScanCommand operation from {@link @aws-sdk/client-dynamodb#ScanCommand}.
|
|
30
|
+
*
|
|
31
|
+
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
32
|
+
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
33
|
+
*
|
|
34
|
+
* @public
|
|
35
|
+
*/
|
|
36
|
+
export declare class ScanCommand extends DynamoDBDocumentClientCommand<ScanCommandInput, ScanCommandOutput, __ScanCommandInput, __ScanCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
37
|
+
readonly input: ScanCommandInput;
|
|
38
|
+
protected readonly inputKeyNodes: {
|
|
39
|
+
ScanFilter: {
|
|
40
|
+
'*': {
|
|
41
|
+
AttributeValueList: import("../commands/utils").KeyNodeChildren;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
ExclusiveStartKey: import("../commands/utils").KeyNodeChildren;
|
|
45
|
+
ExpressionAttributeValues: import("../commands/utils").KeyNodeChildren;
|
|
46
|
+
};
|
|
47
|
+
protected readonly outputKeyNodes: {
|
|
48
|
+
Items: {
|
|
49
|
+
'*': import("../commands/utils").KeyNodeChildren;
|
|
50
|
+
};
|
|
51
|
+
LastEvaluatedKey: import("../commands/utils").KeyNodeChildren;
|
|
52
|
+
};
|
|
53
|
+
protected readonly clientCommand: __ScanCommand;
|
|
54
|
+
readonly middlewareStack: MiddlewareStack<ScanCommandInput | __ScanCommandInput, ScanCommandOutput | __ScanCommandOutput>;
|
|
55
|
+
constructor(input: ScanCommandInput);
|
|
56
|
+
/**
|
|
57
|
+
* @internal
|
|
58
|
+
*/
|
|
59
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ScanCommandInput, ScanCommandOutput>;
|
|
60
|
+
}
|
|
61
|
+
import type { Condition, ScanCommandInput as __ScanCommandInput, ScanCommandOutput as __ScanCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
62
|
+
import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
@@ -0,0 +1,64 @@
|
|
|
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
|
+
import { TransactGetItemsCommand as __TransactGetItemsCommand } from "@aws-sdk/client-dynamodb";
|
|
6
|
+
/**
|
|
7
|
+
* @public
|
|
8
|
+
*/
|
|
9
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*/
|
|
13
|
+
export type TransactGetCommandInput = Omit<__TransactGetItemsCommandInput, 'TransactItems'> & {
|
|
14
|
+
TransactItems: (Omit<TransactGetItem, 'Get'> & {
|
|
15
|
+
Get: Omit<Get, 'Key'> & {
|
|
16
|
+
Key: Record<string, NativeAttributeValue> | undefined;
|
|
17
|
+
} | undefined;
|
|
18
|
+
})[] | undefined;
|
|
19
|
+
};
|
|
20
|
+
/**
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export type TransactGetCommandOutput = Omit<__TransactGetItemsCommandOutput, 'Responses'> & {
|
|
24
|
+
Responses?: (Omit<ItemResponse, 'Item'> & {
|
|
25
|
+
Item?: Record<string, NativeAttributeValue> | undefined;
|
|
26
|
+
})[] | undefined;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
30
|
+
* TransactGetItemsCommand operation from {@link @aws-sdk/client-dynamodb#TransactGetItemsCommand}.
|
|
31
|
+
*
|
|
32
|
+
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
33
|
+
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
34
|
+
*
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
export declare class TransactGetCommand extends DynamoDBDocumentClientCommand<TransactGetCommandInput, TransactGetCommandOutput, __TransactGetItemsCommandInput, __TransactGetItemsCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
38
|
+
readonly input: TransactGetCommandInput;
|
|
39
|
+
protected readonly inputKeyNodes: {
|
|
40
|
+
TransactItems: {
|
|
41
|
+
'*': {
|
|
42
|
+
Get: {
|
|
43
|
+
Key: import("../commands/utils").KeyNodeChildren;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
protected readonly outputKeyNodes: {
|
|
49
|
+
Responses: {
|
|
50
|
+
'*': {
|
|
51
|
+
Item: import("../commands/utils").KeyNodeChildren;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
};
|
|
55
|
+
protected readonly clientCommand: __TransactGetItemsCommand;
|
|
56
|
+
readonly middlewareStack: MiddlewareStack<TransactGetCommandInput | __TransactGetItemsCommandInput, TransactGetCommandOutput | __TransactGetItemsCommandOutput>;
|
|
57
|
+
constructor(input: TransactGetCommandInput);
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TransactGetCommandInput, TransactGetCommandOutput>;
|
|
62
|
+
}
|
|
63
|
+
import type { Get, ItemResponse, TransactGetItem, TransactGetItemsCommandInput as __TransactGetItemsCommandInput, TransactGetItemsCommandOutput as __TransactGetItemsCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
64
|
+
import type { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|