@aws-sdk/lib-dynamodb 3.34.0 → 3.37.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/CHANGELOG.md +38 -0
- package/dist-cjs/DynamoDBDocument.js +205 -0
- package/dist-cjs/DynamoDBDocumentClient.js +18 -0
- package/dist-cjs/commands/BatchExecuteStatementCommand.js +27 -0
- package/dist-cjs/commands/BatchGetCommand.js +42 -0
- package/dist-cjs/commands/BatchWriteCommand.js +53 -0
- package/dist-cjs/commands/DeleteCommand.js +39 -0
- package/dist-cjs/commands/ExecuteStatementCommand.js +27 -0
- package/dist-cjs/commands/ExecuteTransactionCommand.js +27 -0
- package/dist-cjs/commands/GetCommand.js +27 -0
- package/dist-cjs/commands/PutCommand.js +39 -0
- package/dist-cjs/commands/QueryCommand.js +42 -0
- package/dist-cjs/commands/ScanCommand.js +36 -0
- package/dist-cjs/commands/TransactGetCommand.js +27 -0
- package/dist-cjs/commands/TransactWriteCommand.js +44 -0
- package/dist-cjs/commands/UpdateCommand.js +45 -0
- package/dist-cjs/commands/utils.js +44 -0
- package/dist-cjs/index.js +18 -0
- package/dist-es/DynamoDBDocument.js +208 -0
- package/dist-es/DynamoDBDocumentClient.js +19 -0
- package/dist-es/commands/BatchExecuteStatementCommand.js +33 -0
- package/dist-es/commands/BatchGetCommand.js +48 -0
- package/dist-es/commands/BatchWriteCommand.js +59 -0
- package/dist-es/commands/DeleteCommand.js +45 -0
- package/dist-es/commands/ExecuteStatementCommand.js +33 -0
- package/dist-es/commands/ExecuteTransactionCommand.js +33 -0
- package/dist-es/commands/GetCommand.js +33 -0
- package/dist-es/commands/PutCommand.js +45 -0
- package/dist-es/commands/QueryCommand.js +48 -0
- package/dist-es/commands/ScanCommand.js +42 -0
- package/dist-es/commands/TransactGetCommand.js +33 -0
- package/dist-es/commands/TransactWriteCommand.js +50 -0
- package/dist-es/commands/UpdateCommand.js +51 -0
- package/dist-es/commands/utils.js +46 -0
- package/{dist/types/index.d.ts → dist-es/index.js} +0 -0
- package/{dist/types → dist-types}/DynamoDBDocument.d.ts +3 -3
- package/{dist/types → dist-types}/DynamoDBDocumentClient.d.ts +4 -4
- package/{dist/types → dist-types}/commands/BatchExecuteStatementCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/BatchGetCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/BatchWriteCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/DeleteCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/ExecuteStatementCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ExecuteTransactionCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/GetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/PutCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/QueryCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/ScanCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TransactGetCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/TransactWriteCommand.d.ts +3 -3
- package/{dist/types → dist-types}/commands/UpdateCommand.d.ts +2 -2
- package/{dist/types → dist-types}/commands/utils.d.ts +0 -0
- package/dist-types/index.d.ts +15 -0
- package/dist-types/ts3.4/DynamoDBDocument.d.ts +72 -0
- package/{dist/types → dist-types}/ts3.4/DynamoDBDocumentClient.d.ts +5 -50
- package/{dist/types → dist-types}/ts3.4/commands/BatchExecuteStatementCommand.d.ts +5 -13
- package/{dist/types → dist-types}/ts3.4/commands/BatchGetCommand.d.ts +5 -13
- package/{dist/types → dist-types}/ts3.4/commands/BatchWriteCommand.d.ts +5 -13
- package/{dist/types → dist-types}/ts3.4/commands/DeleteCommand.d.ts +5 -13
- package/{dist/types → dist-types}/ts3.4/commands/ExecuteStatementCommand.d.ts +4 -12
- package/{dist/types → dist-types}/ts3.4/commands/ExecuteTransactionCommand.d.ts +5 -13
- package/{dist/types → dist-types}/ts3.4/commands/GetCommand.d.ts +4 -12
- package/{dist/types → dist-types}/ts3.4/commands/PutCommand.d.ts +4 -12
- package/{dist/types → dist-types}/ts3.4/commands/QueryCommand.d.ts +4 -12
- package/{dist/types → dist-types}/ts3.4/commands/ScanCommand.d.ts +4 -12
- package/{dist/types → dist-types}/ts3.4/commands/TransactGetCommand.d.ts +4 -12
- package/{dist/types → dist-types}/ts3.4/commands/TransactWriteCommand.d.ts +5 -13
- package/{dist/types → dist-types}/ts3.4/commands/UpdateCommand.d.ts +4 -12
- package/{dist/types → dist-types}/ts3.4/commands/utils.d.ts +0 -0
- package/{dist/types → dist-types}/ts3.4/index.d.ts +0 -0
- package/package.json +14 -11
- package/dist/cjs/DynamoDBDocument.js +0 -206
- package/dist/cjs/DynamoDBDocumentClient.js +0 -19
- package/dist/cjs/commands/BatchExecuteStatementCommand.js +0 -28
- package/dist/cjs/commands/BatchGetCommand.js +0 -43
- package/dist/cjs/commands/BatchWriteCommand.js +0 -54
- package/dist/cjs/commands/DeleteCommand.js +0 -40
- package/dist/cjs/commands/ExecuteStatementCommand.js +0 -28
- package/dist/cjs/commands/ExecuteTransactionCommand.js +0 -28
- package/dist/cjs/commands/GetCommand.js +0 -28
- package/dist/cjs/commands/PutCommand.js +0 -40
- package/dist/cjs/commands/QueryCommand.js +0 -43
- package/dist/cjs/commands/ScanCommand.js +0 -37
- package/dist/cjs/commands/TransactGetCommand.js +0 -28
- package/dist/cjs/commands/TransactWriteCommand.js +0 -45
- package/dist/cjs/commands/UpdateCommand.js +0 -46
- package/dist/cjs/commands/utils.js +0 -45
- package/dist/cjs/index.js +0 -19
- package/dist/es/DynamoDBDocument.js +0 -255
- package/dist/es/DynamoDBDocumentClient.js +0 -67
- package/dist/es/commands/BatchExecuteStatementCommand.js +0 -44
- package/dist/es/commands/BatchGetCommand.js +0 -59
- package/dist/es/commands/BatchWriteCommand.js +0 -70
- package/dist/es/commands/DeleteCommand.js +0 -56
- package/dist/es/commands/ExecuteStatementCommand.js +0 -44
- package/dist/es/commands/ExecuteTransactionCommand.js +0 -44
- package/dist/es/commands/GetCommand.js +0 -44
- package/dist/es/commands/PutCommand.js +0 -56
- package/dist/es/commands/QueryCommand.js +0 -59
- package/dist/es/commands/ScanCommand.js +0 -53
- package/dist/es/commands/TransactGetCommand.js +0 -44
- package/dist/es/commands/TransactWriteCommand.js +0 -61
- package/dist/es/commands/UpdateCommand.js +0 -62
- package/dist/es/commands/utils.js +0 -51
- package/dist/es/index.js +0 -16
- package/dist/types/ts3.4/DynamoDBDocument.d.ts +0 -195
- package/jest.config.js +0 -5
- package/tsconfig.cjs.json +0 -9
- package/tsconfig.es.json +0 -10
- package/tsconfig.types.json +0 -9
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
import { DynamoDBClient } from "@aws-sdk/client-dynamodb";
|
|
2
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
3
|
+
import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
|
|
4
|
+
import { BatchGetCommandInput, BatchGetCommandOutput } from "./commands/BatchGetCommand";
|
|
5
|
+
import { BatchWriteCommandInput, BatchWriteCommandOutput } from "./commands/BatchWriteCommand";
|
|
6
|
+
import { DeleteCommandInput, DeleteCommandOutput } from "./commands/DeleteCommand";
|
|
7
|
+
import { ExecuteStatementCommandInput, ExecuteStatementCommandOutput } from "./commands/ExecuteStatementCommand";
|
|
8
|
+
import { ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput } from "./commands/ExecuteTransactionCommand";
|
|
9
|
+
import { GetCommandInput, GetCommandOutput } from "./commands/GetCommand";
|
|
10
|
+
import { PutCommandInput, PutCommandOutput } from "./commands/PutCommand";
|
|
11
|
+
import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
|
|
12
|
+
import { ScanCommandInput, ScanCommandOutput } from "./commands/ScanCommand";
|
|
13
|
+
import { TransactGetCommandInput, TransactGetCommandOutput } from "./commands/TransactGetCommand";
|
|
14
|
+
import { TransactWriteCommandInput, TransactWriteCommandOutput } from "./commands/TransactWriteCommand";
|
|
15
|
+
import { UpdateCommandInput, UpdateCommandOutput } from "./commands/UpdateCommand";
|
|
16
|
+
import { DynamoDBDocumentClient, TranslateConfig } from "./DynamoDBDocumentClient";
|
|
17
|
+
|
|
18
|
+
export declare class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
19
|
+
static from(client: DynamoDBClient, translateConfig?: TranslateConfig): DynamoDBDocument;
|
|
20
|
+
|
|
21
|
+
batchExecuteStatement(args: BatchExecuteStatementCommandInput, options?: __HttpHandlerOptions): Promise<BatchExecuteStatementCommandOutput>;
|
|
22
|
+
batchExecuteStatement(args: BatchExecuteStatementCommandInput, cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void): void;
|
|
23
|
+
batchExecuteStatement(args: BatchExecuteStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void): void;
|
|
24
|
+
|
|
25
|
+
batchGet(args: BatchGetCommandInput, options?: __HttpHandlerOptions): Promise<BatchGetCommandOutput>;
|
|
26
|
+
batchGet(args: BatchGetCommandInput, cb: (err: any, data?: BatchGetCommandOutput) => void): void;
|
|
27
|
+
batchGet(args: BatchGetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetCommandOutput) => void): void;
|
|
28
|
+
|
|
29
|
+
batchWrite(args: BatchWriteCommandInput, options?: __HttpHandlerOptions): Promise<BatchWriteCommandOutput>;
|
|
30
|
+
batchWrite(args: BatchWriteCommandInput, cb: (err: any, data?: BatchWriteCommandOutput) => void): void;
|
|
31
|
+
batchWrite(args: BatchWriteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchWriteCommandOutput) => void): void;
|
|
32
|
+
|
|
33
|
+
delete(args: DeleteCommandInput, options?: __HttpHandlerOptions): Promise<DeleteCommandOutput>;
|
|
34
|
+
delete(args: DeleteCommandInput, cb: (err: any, data?: DeleteCommandOutput) => void): void;
|
|
35
|
+
delete(args: DeleteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCommandOutput) => void): void;
|
|
36
|
+
|
|
37
|
+
executeStatement(args: ExecuteStatementCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteStatementCommandOutput>;
|
|
38
|
+
executeStatement(args: ExecuteStatementCommandInput, cb: (err: any, data?: ExecuteStatementCommandOutput) => void): void;
|
|
39
|
+
executeStatement(args: ExecuteStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteStatementCommandOutput) => void): void;
|
|
40
|
+
|
|
41
|
+
executeTransaction(args: ExecuteTransactionCommandInput, options?: __HttpHandlerOptions): Promise<ExecuteTransactionCommandOutput>;
|
|
42
|
+
executeTransaction(args: ExecuteTransactionCommandInput, cb: (err: any, data?: ExecuteTransactionCommandOutput) => void): void;
|
|
43
|
+
executeTransaction(args: ExecuteTransactionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteTransactionCommandOutput) => void): void;
|
|
44
|
+
|
|
45
|
+
get(args: GetCommandInput, options?: __HttpHandlerOptions): Promise<GetCommandOutput>;
|
|
46
|
+
get(args: GetCommandInput, cb: (err: any, data?: GetCommandOutput) => void): void;
|
|
47
|
+
get(args: GetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCommandOutput) => void): void;
|
|
48
|
+
|
|
49
|
+
put(args: PutCommandInput, options?: __HttpHandlerOptions): Promise<PutCommandOutput>;
|
|
50
|
+
put(args: PutCommandInput, cb: (err: any, data?: PutCommandOutput) => void): void;
|
|
51
|
+
put(args: PutCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutCommandOutput) => void): void;
|
|
52
|
+
|
|
53
|
+
query(args: QueryCommandInput, options?: __HttpHandlerOptions): Promise<QueryCommandOutput>;
|
|
54
|
+
query(args: QueryCommandInput, cb: (err: any, data?: QueryCommandOutput) => void): void;
|
|
55
|
+
query(args: QueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: QueryCommandOutput) => void): void;
|
|
56
|
+
|
|
57
|
+
scan(args: ScanCommandInput, options?: __HttpHandlerOptions): Promise<ScanCommandOutput>;
|
|
58
|
+
scan(args: ScanCommandInput, cb: (err: any, data?: ScanCommandOutput) => void): void;
|
|
59
|
+
scan(args: ScanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ScanCommandOutput) => void): void;
|
|
60
|
+
|
|
61
|
+
transactGet(args: TransactGetCommandInput, options?: __HttpHandlerOptions): Promise<TransactGetCommandOutput>;
|
|
62
|
+
transactGet(args: TransactGetCommandInput, cb: (err: any, data?: TransactGetCommandOutput) => void): void;
|
|
63
|
+
transactGet(args: TransactGetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TransactGetCommandOutput) => void): void;
|
|
64
|
+
|
|
65
|
+
transactWrite(args: TransactWriteCommandInput, options?: __HttpHandlerOptions): Promise<TransactWriteCommandOutput>;
|
|
66
|
+
transactWrite(args: TransactWriteCommandInput, cb: (err: any, data?: TransactWriteCommandOutput) => void): void;
|
|
67
|
+
transactWrite(args: TransactWriteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TransactWriteCommandOutput) => void): void;
|
|
68
|
+
|
|
69
|
+
update(args: UpdateCommandInput, options?: __HttpHandlerOptions): Promise<UpdateCommandOutput>;
|
|
70
|
+
update(args: UpdateCommandInput, cb: (err: any, data?: UpdateCommandOutput) => void): void;
|
|
71
|
+
update(args: UpdateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateCommandOutput) => void): void;
|
|
72
|
+
}
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import { DynamoDBClient, DynamoDBClientResolvedConfig, ServiceInputTypes as __ServiceInputTypes, ServiceOutputTypes as __ServiceOutputTypes } from "@aws-sdk/client-dynamodb";
|
|
2
|
+
import { Client as __Client } from "@aws-sdk/smithy-client";
|
|
3
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
4
|
+
import { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb";
|
|
1
5
|
import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
|
|
2
6
|
import { BatchGetCommandInput, BatchGetCommandOutput } from "./commands/BatchGetCommand";
|
|
3
7
|
import { BatchWriteCommandInput, BatchWriteCommandOutput } from "./commands/BatchWriteCommand";
|
|
@@ -11,10 +15,6 @@ import { ScanCommandInput, ScanCommandOutput } from "./commands/ScanCommand";
|
|
|
11
15
|
import { TransactGetCommandInput, TransactGetCommandOutput } from "./commands/TransactGetCommand";
|
|
12
16
|
import { TransactWriteCommandInput, TransactWriteCommandOutput } from "./commands/TransactWriteCommand";
|
|
13
17
|
import { UpdateCommandInput, UpdateCommandOutput } from "./commands/UpdateCommand";
|
|
14
|
-
import { DynamoDBClient, DynamoDBClientResolvedConfig, ServiceInputTypes as __ServiceInputTypes, ServiceOutputTypes as __ServiceOutputTypes } from "@aws-sdk/client-dynamodb";
|
|
15
|
-
import { Client as __Client } from "@aws-sdk/smithy-client";
|
|
16
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
17
|
-
import { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb";
|
|
18
18
|
export declare type ServiceInputTypes = __ServiceInputTypes | BatchExecuteStatementCommandInput | BatchGetCommandInput | BatchWriteCommandInput | DeleteCommandInput | ExecuteStatementCommandInput | ExecuteTransactionCommandInput | GetCommandInput | PutCommandInput | QueryCommandInput | ScanCommandInput | TransactGetCommandInput | TransactWriteCommandInput | UpdateCommandInput;
|
|
19
19
|
export declare type ServiceOutputTypes = __ServiceOutputTypes | BatchExecuteStatementCommandOutput | BatchGetCommandOutput | BatchWriteCommandOutput | DeleteCommandOutput | ExecuteStatementCommandOutput | ExecuteTransactionCommandOutput | GetCommandOutput | PutCommandOutput | QueryCommandOutput | ScanCommandOutput | TransactGetCommandOutput | TransactWriteCommandOutput | UpdateCommandOutput;
|
|
20
20
|
export declare type TranslateConfig = {
|
|
@@ -24,52 +24,7 @@ export declare type TranslateConfig = {
|
|
|
24
24
|
export declare type DynamoDBDocumentClientResolvedConfig = DynamoDBClientResolvedConfig & {
|
|
25
25
|
translateConfig?: TranslateConfig;
|
|
26
26
|
};
|
|
27
|
-
|
|
28
|
-
* The document client simplifies working with items in Amazon DynamoDB by
|
|
29
|
-
* abstracting away the notion of attribute values. This abstraction annotates native
|
|
30
|
-
* JavaScript types supplied as input parameters, as well as converts annotated
|
|
31
|
-
* response data to native JavaScript types.
|
|
32
|
-
*
|
|
33
|
-
* ## Marshalling Input and Unmarshalling Response Data
|
|
34
|
-
*
|
|
35
|
-
* The document client affords developers the use of native JavaScript types
|
|
36
|
-
* instead of `AttributeValue`s to simplify the JavaScript development
|
|
37
|
-
* experience with Amazon DynamoDB. JavaScript objects passed in as parameters
|
|
38
|
-
* are marshalled into `AttributeValue` shapes required by Amazon DynamoDB.
|
|
39
|
-
* Responses from DynamoDB are unmarshalled into plain JavaScript objects
|
|
40
|
-
* by the `DocumentClient`. The `DocumentClient` does not accept
|
|
41
|
-
* `AttributeValue`s in favor of native JavaScript types.
|
|
42
|
-
*
|
|
43
|
-
* | JavaScript Type | DynamoDB AttributeValue |
|
|
44
|
-
* | :-------------------------------: | ----------------------- |
|
|
45
|
-
* | String | S |
|
|
46
|
-
* | Number / BigInt | N |
|
|
47
|
-
* | Boolean | BOOL |
|
|
48
|
-
* | null | NULL |
|
|
49
|
-
* | Array | L |
|
|
50
|
-
* | Object | M |
|
|
51
|
-
* | Set\<Uint8Array, Blob, ...\> | BS |
|
|
52
|
-
* | Set\<Number, BigInt\> | NS |
|
|
53
|
-
* | Set\<String\> | SS |
|
|
54
|
-
* | Uint8Array, Buffer, File, Blob... | B |
|
|
55
|
-
*
|
|
56
|
-
* ### Example
|
|
57
|
-
*
|
|
58
|
-
* Here is an example list which is sent to DynamoDB client in an operation:
|
|
59
|
-
*
|
|
60
|
-
* ```json
|
|
61
|
-
* { "L": [{ "NULL": true }, { "BOOL": false }, { "N": 1 }, { "S": "two" }] }
|
|
62
|
-
* ```
|
|
63
|
-
*
|
|
64
|
-
* The DynamoDB document client abstracts the attribute values as follows in
|
|
65
|
-
* both input and output:
|
|
66
|
-
*
|
|
67
|
-
* ```json
|
|
68
|
-
* [null, false, 1, "two"]
|
|
69
|
-
* ```
|
|
70
|
-
*
|
|
71
|
-
* @see {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}
|
|
72
|
-
*/
|
|
27
|
+
|
|
73
28
|
export declare class DynamoDBDocumentClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, DynamoDBDocumentClientResolvedConfig> {
|
|
74
29
|
readonly config: DynamoDBDocumentClientResolvedConfig;
|
|
75
30
|
protected constructor(client: DynamoDBClient, translateConfig?: TranslateConfig);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BatchStatementRequest, BatchStatementResponse, BatchExecuteStatementCommandInput as __BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput as __BatchExecuteStatementCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
1
|
+
import { BatchExecuteStatementCommandInput as __BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput as __BatchExecuteStatementCommandOutput, BatchStatementRequest, BatchStatementResponse } from "@aws-sdk/client-dynamodb";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
5
4
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
5
|
+
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
6
6
|
export declare type BatchExecuteStatementCommandInput = Pick<__BatchExecuteStatementCommandInput, Exclude<keyof __BatchExecuteStatementCommandInput, "Statements">> & {
|
|
7
7
|
Statements: (Pick<BatchStatementRequest, Exclude<keyof BatchStatementRequest, "Parameters">> & {
|
|
8
8
|
Parameters?: NativeAttributeValue[];
|
|
@@ -15,20 +15,12 @@ export declare type BatchExecuteStatementCommandOutput = Pick<__BatchExecuteStat
|
|
|
15
15
|
};
|
|
16
16
|
})[];
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
20
|
-
* BatchExecuteStatementCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}.
|
|
21
|
-
*
|
|
22
|
-
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
23
|
-
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
24
|
-
*/
|
|
18
|
+
|
|
25
19
|
export declare class BatchExecuteStatementCommand extends $Command<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
26
20
|
readonly input: BatchExecuteStatementCommandInput;
|
|
27
21
|
private readonly inputKeyNodes;
|
|
28
22
|
private readonly outputKeyNodes;
|
|
29
23
|
constructor(input: BatchExecuteStatementCommandInput);
|
|
30
|
-
|
|
31
|
-
* @internal
|
|
32
|
-
*/
|
|
24
|
+
|
|
33
25
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput>;
|
|
34
26
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { KeysAndAttributes, BatchGetItemCommandInput as __BatchGetItemCommandInput, BatchGetItemCommandOutput as __BatchGetItemCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
1
|
+
import { BatchGetItemCommandInput as __BatchGetItemCommandInput, BatchGetItemCommandOutput as __BatchGetItemCommandOutput, KeysAndAttributes } from "@aws-sdk/client-dynamodb";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
5
4
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
5
|
+
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
6
6
|
export declare type BatchGetCommandInput = Pick<__BatchGetItemCommandInput, Exclude<keyof __BatchGetItemCommandInput, "RequestItems">> & {
|
|
7
7
|
RequestItems: {
|
|
8
8
|
[key: string]: Pick<KeysAndAttributes, Exclude<keyof KeysAndAttributes, "Keys">> & {
|
|
@@ -26,20 +26,12 @@ export declare type BatchGetCommandOutput = Pick<__BatchGetItemCommandOutput, Ex
|
|
|
26
26
|
};
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
|
-
|
|
30
|
-
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
31
|
-
* BatchGetItemCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}.
|
|
32
|
-
*
|
|
33
|
-
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
34
|
-
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
35
|
-
*/
|
|
29
|
+
|
|
36
30
|
export declare class BatchGetCommand extends $Command<BatchGetCommandInput, BatchGetCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
37
31
|
readonly input: BatchGetCommandInput;
|
|
38
32
|
private readonly inputKeyNodes;
|
|
39
33
|
private readonly outputKeyNodes;
|
|
40
34
|
constructor(input: BatchGetCommandInput);
|
|
41
|
-
|
|
42
|
-
* @internal
|
|
43
|
-
*/
|
|
35
|
+
|
|
44
36
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchGetCommandInput, BatchGetCommandOutput>;
|
|
45
37
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { DeleteRequest, ItemCollectionMetrics, PutRequest, WriteRequest, BatchWriteItemCommandInput as __BatchWriteItemCommandInput, BatchWriteItemCommandOutput as __BatchWriteItemCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
1
|
+
import { BatchWriteItemCommandInput as __BatchWriteItemCommandInput, BatchWriteItemCommandOutput as __BatchWriteItemCommandOutput, DeleteRequest, ItemCollectionMetrics, PutRequest, WriteRequest } from "@aws-sdk/client-dynamodb";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
5
4
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
5
|
+
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
6
6
|
export declare type BatchWriteCommandInput = Pick<__BatchWriteItemCommandInput, Exclude<keyof __BatchWriteItemCommandInput, "RequestItems">> & {
|
|
7
7
|
RequestItems: {
|
|
8
8
|
[key: string]: (Pick<WriteRequest, Exclude<keyof WriteRequest, "PutRequest" | "DeleteRequest">> & {
|
|
@@ -42,20 +42,12 @@ export declare type BatchWriteCommandOutput = Pick<__BatchWriteItemCommandOutput
|
|
|
42
42
|
})[];
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
|
-
|
|
46
|
-
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
47
|
-
* BatchWriteItemCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}.
|
|
48
|
-
*
|
|
49
|
-
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
50
|
-
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
51
|
-
*/
|
|
45
|
+
|
|
52
46
|
export declare class BatchWriteCommand extends $Command<BatchWriteCommandInput, BatchWriteCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
53
47
|
readonly input: BatchWriteCommandInput;
|
|
54
48
|
private readonly inputKeyNodes;
|
|
55
49
|
private readonly outputKeyNodes;
|
|
56
50
|
constructor(input: BatchWriteCommandInput);
|
|
57
|
-
|
|
58
|
-
* @internal
|
|
59
|
-
*/
|
|
51
|
+
|
|
60
52
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BatchWriteCommandInput, BatchWriteCommandOutput>;
|
|
61
53
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ExpectedAttributeValue, ItemCollectionMetrics, DeleteItemCommandInput as __DeleteItemCommandInput, DeleteItemCommandOutput as __DeleteItemCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
1
|
+
import { DeleteItemCommandInput as __DeleteItemCommandInput, DeleteItemCommandOutput as __DeleteItemCommandOutput, ExpectedAttributeValue, ItemCollectionMetrics } from "@aws-sdk/client-dynamodb";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
5
4
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
5
|
+
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
6
6
|
export declare type DeleteCommandInput = Pick<__DeleteItemCommandInput, Exclude<keyof __DeleteItemCommandInput, "Key" | "Expected" | "ExpressionAttributeValues">> & {
|
|
7
7
|
Key: {
|
|
8
8
|
[key: string]: NativeAttributeValue;
|
|
@@ -27,20 +27,12 @@ export declare type DeleteCommandOutput = Pick<__DeleteItemCommandOutput, Exclud
|
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
|
-
|
|
31
|
-
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
32
|
-
* DeleteItemCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}.
|
|
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
|
-
*/
|
|
30
|
+
|
|
37
31
|
export declare class DeleteCommand extends $Command<DeleteCommandInput, DeleteCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
38
32
|
readonly input: DeleteCommandInput;
|
|
39
33
|
private readonly inputKeyNodes;
|
|
40
34
|
private readonly outputKeyNodes;
|
|
41
35
|
constructor(input: DeleteCommandInput);
|
|
42
|
-
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
36
|
+
|
|
45
37
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DeleteCommandInput, DeleteCommandOutput>;
|
|
46
38
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
2
1
|
import { ExecuteStatementCommandInput as __ExecuteStatementCommandInput, ExecuteStatementCommandOutput as __ExecuteStatementCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
5
4
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
5
|
+
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
6
6
|
export declare type ExecuteStatementCommandInput = Pick<__ExecuteStatementCommandInput, Exclude<keyof __ExecuteStatementCommandInput, "Parameters">> & {
|
|
7
7
|
Parameters?: NativeAttributeValue[];
|
|
8
8
|
};
|
|
@@ -11,20 +11,12 @@ export declare type ExecuteStatementCommandOutput = Pick<__ExecuteStatementComma
|
|
|
11
11
|
[key: string]: NativeAttributeValue;
|
|
12
12
|
}[];
|
|
13
13
|
};
|
|
14
|
-
|
|
15
|
-
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
16
|
-
* ExecuteStatementCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}.
|
|
17
|
-
*
|
|
18
|
-
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
19
|
-
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
20
|
-
*/
|
|
14
|
+
|
|
21
15
|
export declare class ExecuteStatementCommand extends $Command<ExecuteStatementCommandInput, ExecuteStatementCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
22
16
|
readonly input: ExecuteStatementCommandInput;
|
|
23
17
|
private readonly inputKeyNodes;
|
|
24
18
|
private readonly outputKeyNodes;
|
|
25
19
|
constructor(input: ExecuteStatementCommandInput);
|
|
26
|
-
|
|
27
|
-
* @internal
|
|
28
|
-
*/
|
|
20
|
+
|
|
29
21
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExecuteStatementCommandInput, ExecuteStatementCommandOutput>;
|
|
30
22
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ItemResponse, ParameterizedStatement, ExecuteTransactionCommandInput as __ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput as __ExecuteTransactionCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
1
|
+
import { ExecuteTransactionCommandInput as __ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput as __ExecuteTransactionCommandOutput, ItemResponse, ParameterizedStatement } from "@aws-sdk/client-dynamodb";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
5
4
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
5
|
+
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
6
6
|
export declare type ExecuteTransactionCommandInput = Pick<__ExecuteTransactionCommandInput, Exclude<keyof __ExecuteTransactionCommandInput, "TransactStatements">> & {
|
|
7
7
|
TransactStatements: (Pick<ParameterizedStatement, Exclude<keyof ParameterizedStatement, "Parameters">> & {
|
|
8
8
|
Parameters?: NativeAttributeValue[];
|
|
@@ -15,20 +15,12 @@ export declare type ExecuteTransactionCommandOutput = Pick<__ExecuteTransactionC
|
|
|
15
15
|
};
|
|
16
16
|
})[];
|
|
17
17
|
};
|
|
18
|
-
|
|
19
|
-
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
20
|
-
* ExecuteTransactionCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}.
|
|
21
|
-
*
|
|
22
|
-
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
23
|
-
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
24
|
-
*/
|
|
18
|
+
|
|
25
19
|
export declare class ExecuteTransactionCommand extends $Command<ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
26
20
|
readonly input: ExecuteTransactionCommandInput;
|
|
27
21
|
private readonly inputKeyNodes;
|
|
28
22
|
private readonly outputKeyNodes;
|
|
29
23
|
constructor(input: ExecuteTransactionCommandInput);
|
|
30
|
-
|
|
31
|
-
* @internal
|
|
32
|
-
*/
|
|
24
|
+
|
|
33
25
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput>;
|
|
34
26
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
2
1
|
import { GetItemCommandInput as __GetItemCommandInput, GetItemCommandOutput as __GetItemCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
5
4
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
5
|
+
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
6
6
|
export declare type GetCommandInput = Pick<__GetItemCommandInput, Exclude<keyof __GetItemCommandInput, "Key">> & {
|
|
7
7
|
Key: {
|
|
8
8
|
[key: string]: NativeAttributeValue;
|
|
@@ -13,20 +13,12 @@ export declare type GetCommandOutput = Pick<__GetItemCommandOutput, Exclude<keyo
|
|
|
13
13
|
[key: string]: NativeAttributeValue;
|
|
14
14
|
};
|
|
15
15
|
};
|
|
16
|
-
|
|
17
|
-
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
18
|
-
* GetItemCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}.
|
|
19
|
-
*
|
|
20
|
-
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
21
|
-
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
22
|
-
*/
|
|
16
|
+
|
|
23
17
|
export declare class GetCommand extends $Command<GetCommandInput, GetCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
24
18
|
readonly input: GetCommandInput;
|
|
25
19
|
private readonly inputKeyNodes;
|
|
26
20
|
private readonly outputKeyNodes;
|
|
27
21
|
constructor(input: GetCommandInput);
|
|
28
|
-
|
|
29
|
-
* @internal
|
|
30
|
-
*/
|
|
22
|
+
|
|
31
23
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<GetCommandInput, GetCommandOutput>;
|
|
32
24
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
2
1
|
import { ExpectedAttributeValue, ItemCollectionMetrics, PutItemCommandInput as __PutItemCommandInput, PutItemCommandOutput as __PutItemCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
5
4
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
5
|
+
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
6
6
|
export declare type PutCommandInput = Pick<__PutItemCommandInput, Exclude<keyof __PutItemCommandInput, "Item" | "Expected" | "ExpressionAttributeValues">> & {
|
|
7
7
|
Item: {
|
|
8
8
|
[key: string]: NativeAttributeValue;
|
|
@@ -27,20 +27,12 @@ export declare type PutCommandOutput = Pick<__PutItemCommandOutput, Exclude<keyo
|
|
|
27
27
|
};
|
|
28
28
|
};
|
|
29
29
|
};
|
|
30
|
-
|
|
31
|
-
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
32
|
-
* PutItemCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}.
|
|
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
|
-
*/
|
|
30
|
+
|
|
37
31
|
export declare class PutCommand extends $Command<PutCommandInput, PutCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
38
32
|
readonly input: PutCommandInput;
|
|
39
33
|
private readonly inputKeyNodes;
|
|
40
34
|
private readonly outputKeyNodes;
|
|
41
35
|
constructor(input: PutCommandInput);
|
|
42
|
-
|
|
43
|
-
* @internal
|
|
44
|
-
*/
|
|
36
|
+
|
|
45
37
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<PutCommandInput, PutCommandOutput>;
|
|
46
38
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
2
1
|
import { Condition, QueryCommandInput as __QueryCommandInput, QueryCommandOutput as __QueryCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
5
4
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
5
|
+
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
6
6
|
export declare type QueryCommandInput = Pick<__QueryCommandInput, Exclude<keyof __QueryCommandInput, "KeyConditions" | "QueryFilter" | "ExclusiveStartKey" | "ExpressionAttributeValues">> & {
|
|
7
7
|
KeyConditions?: {
|
|
8
8
|
[key: string]: Pick<Condition, Exclude<keyof Condition, "AttributeValueList">> & {
|
|
@@ -29,20 +29,12 @@ export declare type QueryCommandOutput = Pick<__QueryCommandOutput, Exclude<keyo
|
|
|
29
29
|
[key: string]: NativeAttributeValue;
|
|
30
30
|
};
|
|
31
31
|
};
|
|
32
|
-
|
|
33
|
-
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
34
|
-
* QueryCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}.
|
|
35
|
-
*
|
|
36
|
-
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
37
|
-
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
38
|
-
*/
|
|
32
|
+
|
|
39
33
|
export declare class QueryCommand extends $Command<QueryCommandInput, QueryCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
40
34
|
readonly input: QueryCommandInput;
|
|
41
35
|
private readonly inputKeyNodes;
|
|
42
36
|
private readonly outputKeyNodes;
|
|
43
37
|
constructor(input: QueryCommandInput);
|
|
44
|
-
|
|
45
|
-
* @internal
|
|
46
|
-
*/
|
|
38
|
+
|
|
47
39
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<QueryCommandInput, QueryCommandOutput>;
|
|
48
40
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
2
1
|
import { Condition, ScanCommandInput as __ScanCommandInput, ScanCommandOutput as __ScanCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
5
4
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
5
|
+
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
6
6
|
export declare type ScanCommandInput = Pick<__ScanCommandInput, Exclude<keyof __ScanCommandInput, "ScanFilter" | "ExclusiveStartKey" | "ExpressionAttributeValues">> & {
|
|
7
7
|
ScanFilter?: {
|
|
8
8
|
[key: string]: Pick<Condition, Exclude<keyof Condition, "AttributeValueList">> & {
|
|
@@ -24,20 +24,12 @@ export declare type ScanCommandOutput = Pick<__ScanCommandOutput, Exclude<keyof
|
|
|
24
24
|
[key: string]: NativeAttributeValue;
|
|
25
25
|
};
|
|
26
26
|
};
|
|
27
|
-
|
|
28
|
-
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
29
|
-
* ScanCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}.
|
|
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
|
-
*/
|
|
27
|
+
|
|
34
28
|
export declare class ScanCommand extends $Command<ScanCommandInput, ScanCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
35
29
|
readonly input: ScanCommandInput;
|
|
36
30
|
private readonly inputKeyNodes;
|
|
37
31
|
private readonly outputKeyNodes;
|
|
38
32
|
constructor(input: ScanCommandInput);
|
|
39
|
-
|
|
40
|
-
* @internal
|
|
41
|
-
*/
|
|
33
|
+
|
|
42
34
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ScanCommandInput, ScanCommandOutput>;
|
|
43
35
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
2
1
|
import { Get, ItemResponse, TransactGetItem, TransactGetItemsCommandInput as __TransactGetItemsCommandInput, TransactGetItemsCommandOutput as __TransactGetItemsCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
5
4
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
5
|
+
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
6
6
|
export declare type TransactGetCommandInput = Pick<__TransactGetItemsCommandInput, Exclude<keyof __TransactGetItemsCommandInput, "TransactItems">> & {
|
|
7
7
|
TransactItems: (Pick<TransactGetItem, Exclude<keyof TransactGetItem, "Get">> & {
|
|
8
8
|
Get: (Pick<Get, Exclude<keyof Get, "Key">> & {
|
|
@@ -19,20 +19,12 @@ export declare type TransactGetCommandOutput = Pick<__TransactGetItemsCommandOut
|
|
|
19
19
|
};
|
|
20
20
|
})[];
|
|
21
21
|
};
|
|
22
|
-
|
|
23
|
-
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
24
|
-
* TransactGetItemsCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}.
|
|
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
|
-
*/
|
|
22
|
+
|
|
29
23
|
export declare class TransactGetCommand extends $Command<TransactGetCommandInput, TransactGetCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
30
24
|
readonly input: TransactGetCommandInput;
|
|
31
25
|
private readonly inputKeyNodes;
|
|
32
26
|
private readonly outputKeyNodes;
|
|
33
27
|
constructor(input: TransactGetCommandInput);
|
|
34
|
-
|
|
35
|
-
* @internal
|
|
36
|
-
*/
|
|
28
|
+
|
|
37
29
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TransactGetCommandInput, TransactGetCommandOutput>;
|
|
38
30
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ConditionCheck, Delete, ItemCollectionMetrics, Put, TransactWriteItem, Update, TransactWriteItemsCommandInput as __TransactWriteItemsCommandInput, TransactWriteItemsCommandOutput as __TransactWriteItemsCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
1
|
+
import { ConditionCheck, Delete, ItemCollectionMetrics, Put, TransactWriteItem, TransactWriteItemsCommandInput as __TransactWriteItemsCommandInput, TransactWriteItemsCommandOutput as __TransactWriteItemsCommandOutput, Update } from "@aws-sdk/client-dynamodb";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
5
4
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
5
|
+
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
6
6
|
export declare type TransactWriteCommandInput = Pick<__TransactWriteItemsCommandInput, Exclude<keyof __TransactWriteItemsCommandInput, "TransactItems">> & {
|
|
7
7
|
TransactItems: (Pick<TransactWriteItem, Exclude<keyof TransactWriteItem, "ConditionCheck" | "Put" | "Delete" | "Update">> & {
|
|
8
8
|
ConditionCheck?: Pick<ConditionCheck, Exclude<keyof ConditionCheck, "Key" | "ExpressionAttributeValues">> & {
|
|
@@ -48,20 +48,12 @@ export declare type TransactWriteCommandOutput = Pick<__TransactWriteItemsComman
|
|
|
48
48
|
})[];
|
|
49
49
|
};
|
|
50
50
|
};
|
|
51
|
-
|
|
52
|
-
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
53
|
-
* TransactWriteItemsCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}.
|
|
54
|
-
*
|
|
55
|
-
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
56
|
-
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
57
|
-
*/
|
|
51
|
+
|
|
58
52
|
export declare class TransactWriteCommand extends $Command<TransactWriteCommandInput, TransactWriteCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
59
53
|
readonly input: TransactWriteCommandInput;
|
|
60
54
|
private readonly inputKeyNodes;
|
|
61
55
|
private readonly outputKeyNodes;
|
|
62
56
|
constructor(input: TransactWriteCommandInput);
|
|
63
|
-
|
|
64
|
-
* @internal
|
|
65
|
-
*/
|
|
57
|
+
|
|
66
58
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<TransactWriteCommandInput, TransactWriteCommandOutput>;
|
|
67
59
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
2
1
|
import { AttributeValueUpdate, ExpectedAttributeValue, ItemCollectionMetrics, UpdateItemCommandInput as __UpdateItemCommandInput, UpdateItemCommandOutput as __UpdateItemCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
3
2
|
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
-
import { Handler,
|
|
3
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
5
4
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
5
|
+
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
6
6
|
export declare type UpdateCommandInput = Pick<__UpdateItemCommandInput, Exclude<keyof __UpdateItemCommandInput, "Key" | "AttributeUpdates" | "Expected" | "ExpressionAttributeValues">> & {
|
|
7
7
|
Key: {
|
|
8
8
|
[key: string]: NativeAttributeValue;
|
|
@@ -32,20 +32,12 @@ export declare type UpdateCommandOutput = Pick<__UpdateItemCommandOutput, Exclud
|
|
|
32
32
|
};
|
|
33
33
|
};
|
|
34
34
|
};
|
|
35
|
-
|
|
36
|
-
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
37
|
-
* UpdateItemCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}.
|
|
38
|
-
*
|
|
39
|
-
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
40
|
-
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
41
|
-
*/
|
|
35
|
+
|
|
42
36
|
export declare class UpdateCommand extends $Command<UpdateCommandInput, UpdateCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
43
37
|
readonly input: UpdateCommandInput;
|
|
44
38
|
private readonly inputKeyNodes;
|
|
45
39
|
private readonly outputKeyNodes;
|
|
46
40
|
constructor(input: UpdateCommandInput);
|
|
47
|
-
|
|
48
|
-
* @internal
|
|
49
|
-
*/
|
|
41
|
+
|
|
50
42
|
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DynamoDBDocumentClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateCommandInput, UpdateCommandOutput>;
|
|
51
43
|
}
|
|
File without changes
|
|
File without changes
|