@aws-sdk/lib-dynamodb 3.169.0 → 3.171.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 +16 -0
- package/dist-types/ts3.4/DynamoDBDocument.d.ts +221 -72
- package/dist-types/ts3.4/DynamoDBDocumentClient.d.ts +104 -33
- package/dist-types/ts3.4/baseCommand/DynamoDBDocumentClientCommand.d.ts +30 -12
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +78 -36
- package/dist-types/ts3.4/commands/BatchGetCommand.d.ts +87 -46
- package/dist-types/ts3.4/commands/BatchWriteCommand.d.ts +131 -66
- package/dist-types/ts3.4/commands/DeleteCommand.d.ts +100 -48
- package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +56 -27
- package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +72 -36
- package/dist-types/ts3.4/commands/GetCommand.d.ts +55 -26
- package/dist-types/ts3.4/commands/PutCommand.d.ts +97 -48
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +87 -42
- package/dist-types/ts3.4/commands/ScanCommand.d.ts +78 -39
- package/dist-types/ts3.4/commands/TransactGetCommand.d.ts +77 -41
- package/dist-types/ts3.4/commands/TransactWriteCommand.d.ts +117 -56
- package/dist-types/ts3.4/commands/UpdateCommand.d.ts +107 -51
- package/dist-types/ts3.4/commands/index.d.ts +13 -13
- package/dist-types/ts3.4/commands/utils.d.ts +18 -10
- package/dist-types/ts3.4/index.d.ts +4 -4
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +7 -6
- package/dist-types/ts3.4/pagination/QueryPaginator.d.ts +11 -4
- package/dist-types/ts3.4/pagination/ScanPaginator.d.ts +8 -4
- package/dist-types/ts3.4/pagination/index.d.ts +3 -3
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.171.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.170.0...v3.171.0) (2022-09-14)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/lib-dynamodb
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/lib-dynamodb
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
# [3.169.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.168.0...v3.169.0) (2022-09-12)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @aws-sdk/lib-dynamodb
|
|
@@ -1,72 +1,221 @@
|
|
|
1
|
-
import { DynamoDBClient } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
1
|
+
import { DynamoDBClient } from "@aws-sdk/client-dynamodb";
|
|
2
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
3
|
+
import {
|
|
4
|
+
BatchExecuteStatementCommandInput,
|
|
5
|
+
BatchExecuteStatementCommandOutput,
|
|
6
|
+
} from "./commands/BatchExecuteStatementCommand";
|
|
7
|
+
import {
|
|
8
|
+
BatchGetCommandInput,
|
|
9
|
+
BatchGetCommandOutput,
|
|
10
|
+
} from "./commands/BatchGetCommand";
|
|
11
|
+
import {
|
|
12
|
+
BatchWriteCommandInput,
|
|
13
|
+
BatchWriteCommandOutput,
|
|
14
|
+
} from "./commands/BatchWriteCommand";
|
|
15
|
+
import {
|
|
16
|
+
DeleteCommandInput,
|
|
17
|
+
DeleteCommandOutput,
|
|
18
|
+
} from "./commands/DeleteCommand";
|
|
19
|
+
import {
|
|
20
|
+
ExecuteStatementCommandInput,
|
|
21
|
+
ExecuteStatementCommandOutput,
|
|
22
|
+
} from "./commands/ExecuteStatementCommand";
|
|
23
|
+
import {
|
|
24
|
+
ExecuteTransactionCommandInput,
|
|
25
|
+
ExecuteTransactionCommandOutput,
|
|
26
|
+
} from "./commands/ExecuteTransactionCommand";
|
|
27
|
+
import { GetCommandInput, GetCommandOutput } from "./commands/GetCommand";
|
|
28
|
+
import { PutCommandInput, PutCommandOutput } from "./commands/PutCommand";
|
|
29
|
+
import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
|
|
30
|
+
import { ScanCommandInput, ScanCommandOutput } from "./commands/ScanCommand";
|
|
31
|
+
import {
|
|
32
|
+
TransactGetCommandInput,
|
|
33
|
+
TransactGetCommandOutput,
|
|
34
|
+
} from "./commands/TransactGetCommand";
|
|
35
|
+
import {
|
|
36
|
+
TransactWriteCommandInput,
|
|
37
|
+
TransactWriteCommandOutput,
|
|
38
|
+
} from "./commands/TransactWriteCommand";
|
|
39
|
+
import {
|
|
40
|
+
UpdateCommandInput,
|
|
41
|
+
UpdateCommandOutput,
|
|
42
|
+
} from "./commands/UpdateCommand";
|
|
43
|
+
import {
|
|
44
|
+
DynamoDBDocumentClient,
|
|
45
|
+
TranslateConfig,
|
|
46
|
+
} from "./DynamoDBDocumentClient";
|
|
47
|
+
export declare class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
48
|
+
static from(
|
|
49
|
+
client: DynamoDBClient,
|
|
50
|
+
translateConfig?: TranslateConfig
|
|
51
|
+
): DynamoDBDocument;
|
|
52
|
+
batchExecuteStatement(
|
|
53
|
+
args: BatchExecuteStatementCommandInput,
|
|
54
|
+
options?: __HttpHandlerOptions
|
|
55
|
+
): Promise<BatchExecuteStatementCommandOutput>;
|
|
56
|
+
batchExecuteStatement(
|
|
57
|
+
args: BatchExecuteStatementCommandInput,
|
|
58
|
+
cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void
|
|
59
|
+
): void;
|
|
60
|
+
batchExecuteStatement(
|
|
61
|
+
args: BatchExecuteStatementCommandInput,
|
|
62
|
+
options: __HttpHandlerOptions,
|
|
63
|
+
cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void
|
|
64
|
+
): void;
|
|
65
|
+
batchGet(
|
|
66
|
+
args: BatchGetCommandInput,
|
|
67
|
+
options?: __HttpHandlerOptions
|
|
68
|
+
): Promise<BatchGetCommandOutput>;
|
|
69
|
+
batchGet(
|
|
70
|
+
args: BatchGetCommandInput,
|
|
71
|
+
cb: (err: any, data?: BatchGetCommandOutput) => void
|
|
72
|
+
): void;
|
|
73
|
+
batchGet(
|
|
74
|
+
args: BatchGetCommandInput,
|
|
75
|
+
options: __HttpHandlerOptions,
|
|
76
|
+
cb: (err: any, data?: BatchGetCommandOutput) => void
|
|
77
|
+
): void;
|
|
78
|
+
batchWrite(
|
|
79
|
+
args: BatchWriteCommandInput,
|
|
80
|
+
options?: __HttpHandlerOptions
|
|
81
|
+
): Promise<BatchWriteCommandOutput>;
|
|
82
|
+
batchWrite(
|
|
83
|
+
args: BatchWriteCommandInput,
|
|
84
|
+
cb: (err: any, data?: BatchWriteCommandOutput) => void
|
|
85
|
+
): void;
|
|
86
|
+
batchWrite(
|
|
87
|
+
args: BatchWriteCommandInput,
|
|
88
|
+
options: __HttpHandlerOptions,
|
|
89
|
+
cb: (err: any, data?: BatchWriteCommandOutput) => void
|
|
90
|
+
): void;
|
|
91
|
+
delete(
|
|
92
|
+
args: DeleteCommandInput,
|
|
93
|
+
options?: __HttpHandlerOptions
|
|
94
|
+
): Promise<DeleteCommandOutput>;
|
|
95
|
+
delete(
|
|
96
|
+
args: DeleteCommandInput,
|
|
97
|
+
cb: (err: any, data?: DeleteCommandOutput) => void
|
|
98
|
+
): void;
|
|
99
|
+
delete(
|
|
100
|
+
args: DeleteCommandInput,
|
|
101
|
+
options: __HttpHandlerOptions,
|
|
102
|
+
cb: (err: any, data?: DeleteCommandOutput) => void
|
|
103
|
+
): void;
|
|
104
|
+
executeStatement(
|
|
105
|
+
args: ExecuteStatementCommandInput,
|
|
106
|
+
options?: __HttpHandlerOptions
|
|
107
|
+
): Promise<ExecuteStatementCommandOutput>;
|
|
108
|
+
executeStatement(
|
|
109
|
+
args: ExecuteStatementCommandInput,
|
|
110
|
+
cb: (err: any, data?: ExecuteStatementCommandOutput) => void
|
|
111
|
+
): void;
|
|
112
|
+
executeStatement(
|
|
113
|
+
args: ExecuteStatementCommandInput,
|
|
114
|
+
options: __HttpHandlerOptions,
|
|
115
|
+
cb: (err: any, data?: ExecuteStatementCommandOutput) => void
|
|
116
|
+
): void;
|
|
117
|
+
executeTransaction(
|
|
118
|
+
args: ExecuteTransactionCommandInput,
|
|
119
|
+
options?: __HttpHandlerOptions
|
|
120
|
+
): Promise<ExecuteTransactionCommandOutput>;
|
|
121
|
+
executeTransaction(
|
|
122
|
+
args: ExecuteTransactionCommandInput,
|
|
123
|
+
cb: (err: any, data?: ExecuteTransactionCommandOutput) => void
|
|
124
|
+
): void;
|
|
125
|
+
executeTransaction(
|
|
126
|
+
args: ExecuteTransactionCommandInput,
|
|
127
|
+
options: __HttpHandlerOptions,
|
|
128
|
+
cb: (err: any, data?: ExecuteTransactionCommandOutput) => void
|
|
129
|
+
): void;
|
|
130
|
+
get(
|
|
131
|
+
args: GetCommandInput,
|
|
132
|
+
options?: __HttpHandlerOptions
|
|
133
|
+
): Promise<GetCommandOutput>;
|
|
134
|
+
get(
|
|
135
|
+
args: GetCommandInput,
|
|
136
|
+
cb: (err: any, data?: GetCommandOutput) => void
|
|
137
|
+
): void;
|
|
138
|
+
get(
|
|
139
|
+
args: GetCommandInput,
|
|
140
|
+
options: __HttpHandlerOptions,
|
|
141
|
+
cb: (err: any, data?: GetCommandOutput) => void
|
|
142
|
+
): void;
|
|
143
|
+
put(
|
|
144
|
+
args: PutCommandInput,
|
|
145
|
+
options?: __HttpHandlerOptions
|
|
146
|
+
): Promise<PutCommandOutput>;
|
|
147
|
+
put(
|
|
148
|
+
args: PutCommandInput,
|
|
149
|
+
cb: (err: any, data?: PutCommandOutput) => void
|
|
150
|
+
): void;
|
|
151
|
+
put(
|
|
152
|
+
args: PutCommandInput,
|
|
153
|
+
options: __HttpHandlerOptions,
|
|
154
|
+
cb: (err: any, data?: PutCommandOutput) => void
|
|
155
|
+
): void;
|
|
156
|
+
query(
|
|
157
|
+
args: QueryCommandInput,
|
|
158
|
+
options?: __HttpHandlerOptions
|
|
159
|
+
): Promise<QueryCommandOutput>;
|
|
160
|
+
query(
|
|
161
|
+
args: QueryCommandInput,
|
|
162
|
+
cb: (err: any, data?: QueryCommandOutput) => void
|
|
163
|
+
): void;
|
|
164
|
+
query(
|
|
165
|
+
args: QueryCommandInput,
|
|
166
|
+
options: __HttpHandlerOptions,
|
|
167
|
+
cb: (err: any, data?: QueryCommandOutput) => void
|
|
168
|
+
): void;
|
|
169
|
+
scan(
|
|
170
|
+
args: ScanCommandInput,
|
|
171
|
+
options?: __HttpHandlerOptions
|
|
172
|
+
): Promise<ScanCommandOutput>;
|
|
173
|
+
scan(
|
|
174
|
+
args: ScanCommandInput,
|
|
175
|
+
cb: (err: any, data?: ScanCommandOutput) => void
|
|
176
|
+
): void;
|
|
177
|
+
scan(
|
|
178
|
+
args: ScanCommandInput,
|
|
179
|
+
options: __HttpHandlerOptions,
|
|
180
|
+
cb: (err: any, data?: ScanCommandOutput) => void
|
|
181
|
+
): void;
|
|
182
|
+
transactGet(
|
|
183
|
+
args: TransactGetCommandInput,
|
|
184
|
+
options?: __HttpHandlerOptions
|
|
185
|
+
): Promise<TransactGetCommandOutput>;
|
|
186
|
+
transactGet(
|
|
187
|
+
args: TransactGetCommandInput,
|
|
188
|
+
cb: (err: any, data?: TransactGetCommandOutput) => void
|
|
189
|
+
): void;
|
|
190
|
+
transactGet(
|
|
191
|
+
args: TransactGetCommandInput,
|
|
192
|
+
options: __HttpHandlerOptions,
|
|
193
|
+
cb: (err: any, data?: TransactGetCommandOutput) => void
|
|
194
|
+
): void;
|
|
195
|
+
transactWrite(
|
|
196
|
+
args: TransactWriteCommandInput,
|
|
197
|
+
options?: __HttpHandlerOptions
|
|
198
|
+
): Promise<TransactWriteCommandOutput>;
|
|
199
|
+
transactWrite(
|
|
200
|
+
args: TransactWriteCommandInput,
|
|
201
|
+
cb: (err: any, data?: TransactWriteCommandOutput) => void
|
|
202
|
+
): void;
|
|
203
|
+
transactWrite(
|
|
204
|
+
args: TransactWriteCommandInput,
|
|
205
|
+
options: __HttpHandlerOptions,
|
|
206
|
+
cb: (err: any, data?: TransactWriteCommandOutput) => void
|
|
207
|
+
): void;
|
|
208
|
+
update(
|
|
209
|
+
args: UpdateCommandInput,
|
|
210
|
+
options?: __HttpHandlerOptions
|
|
211
|
+
): Promise<UpdateCommandOutput>;
|
|
212
|
+
update(
|
|
213
|
+
args: UpdateCommandInput,
|
|
214
|
+
cb: (err: any, data?: UpdateCommandOutput) => void
|
|
215
|
+
): void;
|
|
216
|
+
update(
|
|
217
|
+
args: UpdateCommandInput,
|
|
218
|
+
options: __HttpHandlerOptions,
|
|
219
|
+
cb: (err: any, data?: UpdateCommandOutput) => void
|
|
220
|
+
): void;
|
|
221
|
+
}
|
|
@@ -1,33 +1,104 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
}
|
|
1
|
+
import {
|
|
2
|
+
DynamoDBClient,
|
|
3
|
+
DynamoDBClientResolvedConfig,
|
|
4
|
+
ServiceInputTypes as __ServiceInputTypes,
|
|
5
|
+
ServiceOutputTypes as __ServiceOutputTypes,
|
|
6
|
+
} from "@aws-sdk/client-dynamodb";
|
|
7
|
+
import { Client as __Client } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@aws-sdk/types";
|
|
9
|
+
import { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb";
|
|
10
|
+
import {
|
|
11
|
+
BatchExecuteStatementCommandInput,
|
|
12
|
+
BatchExecuteStatementCommandOutput,
|
|
13
|
+
} from "./commands/BatchExecuteStatementCommand";
|
|
14
|
+
import {
|
|
15
|
+
BatchGetCommandInput,
|
|
16
|
+
BatchGetCommandOutput,
|
|
17
|
+
} from "./commands/BatchGetCommand";
|
|
18
|
+
import {
|
|
19
|
+
BatchWriteCommandInput,
|
|
20
|
+
BatchWriteCommandOutput,
|
|
21
|
+
} from "./commands/BatchWriteCommand";
|
|
22
|
+
import {
|
|
23
|
+
DeleteCommandInput,
|
|
24
|
+
DeleteCommandOutput,
|
|
25
|
+
} from "./commands/DeleteCommand";
|
|
26
|
+
import {
|
|
27
|
+
ExecuteStatementCommandInput,
|
|
28
|
+
ExecuteStatementCommandOutput,
|
|
29
|
+
} from "./commands/ExecuteStatementCommand";
|
|
30
|
+
import {
|
|
31
|
+
ExecuteTransactionCommandInput,
|
|
32
|
+
ExecuteTransactionCommandOutput,
|
|
33
|
+
} from "./commands/ExecuteTransactionCommand";
|
|
34
|
+
import { GetCommandInput, GetCommandOutput } from "./commands/GetCommand";
|
|
35
|
+
import { PutCommandInput, PutCommandOutput } from "./commands/PutCommand";
|
|
36
|
+
import { QueryCommandInput, QueryCommandOutput } from "./commands/QueryCommand";
|
|
37
|
+
import { ScanCommandInput, ScanCommandOutput } from "./commands/ScanCommand";
|
|
38
|
+
import {
|
|
39
|
+
TransactGetCommandInput,
|
|
40
|
+
TransactGetCommandOutput,
|
|
41
|
+
} from "./commands/TransactGetCommand";
|
|
42
|
+
import {
|
|
43
|
+
TransactWriteCommandInput,
|
|
44
|
+
TransactWriteCommandOutput,
|
|
45
|
+
} from "./commands/TransactWriteCommand";
|
|
46
|
+
import {
|
|
47
|
+
UpdateCommandInput,
|
|
48
|
+
UpdateCommandOutput,
|
|
49
|
+
} from "./commands/UpdateCommand";
|
|
50
|
+
export declare type ServiceInputTypes =
|
|
51
|
+
| __ServiceInputTypes
|
|
52
|
+
| BatchExecuteStatementCommandInput
|
|
53
|
+
| BatchGetCommandInput
|
|
54
|
+
| BatchWriteCommandInput
|
|
55
|
+
| DeleteCommandInput
|
|
56
|
+
| ExecuteStatementCommandInput
|
|
57
|
+
| ExecuteTransactionCommandInput
|
|
58
|
+
| GetCommandInput
|
|
59
|
+
| PutCommandInput
|
|
60
|
+
| QueryCommandInput
|
|
61
|
+
| ScanCommandInput
|
|
62
|
+
| TransactGetCommandInput
|
|
63
|
+
| TransactWriteCommandInput
|
|
64
|
+
| UpdateCommandInput;
|
|
65
|
+
export declare type ServiceOutputTypes =
|
|
66
|
+
| __ServiceOutputTypes
|
|
67
|
+
| BatchExecuteStatementCommandOutput
|
|
68
|
+
| BatchGetCommandOutput
|
|
69
|
+
| BatchWriteCommandOutput
|
|
70
|
+
| DeleteCommandOutput
|
|
71
|
+
| ExecuteStatementCommandOutput
|
|
72
|
+
| ExecuteTransactionCommandOutput
|
|
73
|
+
| GetCommandOutput
|
|
74
|
+
| PutCommandOutput
|
|
75
|
+
| QueryCommandOutput
|
|
76
|
+
| ScanCommandOutput
|
|
77
|
+
| TransactGetCommandOutput
|
|
78
|
+
| TransactWriteCommandOutput
|
|
79
|
+
| UpdateCommandOutput;
|
|
80
|
+
export declare type TranslateConfig = {
|
|
81
|
+
marshallOptions?: marshallOptions;
|
|
82
|
+
unmarshallOptions?: unmarshallOptions;
|
|
83
|
+
};
|
|
84
|
+
export declare type DynamoDBDocumentClientResolvedConfig =
|
|
85
|
+
DynamoDBClientResolvedConfig & {
|
|
86
|
+
translateConfig?: TranslateConfig;
|
|
87
|
+
};
|
|
88
|
+
export declare class DynamoDBDocumentClient extends __Client<
|
|
89
|
+
__HttpHandlerOptions,
|
|
90
|
+
ServiceInputTypes,
|
|
91
|
+
ServiceOutputTypes,
|
|
92
|
+
DynamoDBDocumentClientResolvedConfig
|
|
93
|
+
> {
|
|
94
|
+
readonly config: DynamoDBDocumentClientResolvedConfig;
|
|
95
|
+
protected constructor(
|
|
96
|
+
client: DynamoDBClient,
|
|
97
|
+
translateConfig?: TranslateConfig
|
|
98
|
+
);
|
|
99
|
+
static from(
|
|
100
|
+
client: DynamoDBClient,
|
|
101
|
+
translateConfig?: TranslateConfig
|
|
102
|
+
): DynamoDBDocumentClient;
|
|
103
|
+
destroy(): void;
|
|
104
|
+
}
|
|
@@ -1,12 +1,30 @@
|
|
|
1
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
-
import { MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
-
import { KeyNode } from "../commands/utils";
|
|
4
|
-
import { DynamoDBDocumentClientResolvedConfig } from "../DynamoDBDocumentClient";
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { KeyNode } from "../commands/utils";
|
|
4
|
+
import { DynamoDBDocumentClientResolvedConfig } from "../DynamoDBDocumentClient";
|
|
5
|
+
export declare abstract class DynamoDBDocumentClientCommand<
|
|
6
|
+
Input extends object,
|
|
7
|
+
Output extends object,
|
|
8
|
+
BaseInput extends object,
|
|
9
|
+
BaseOutput extends object,
|
|
10
|
+
ResolvedClientConfiguration
|
|
11
|
+
> extends $Command<
|
|
12
|
+
Input | BaseInput,
|
|
13
|
+
Output | BaseOutput,
|
|
14
|
+
ResolvedClientConfiguration
|
|
15
|
+
> {
|
|
16
|
+
protected abstract readonly inputKeyNodes: KeyNode[];
|
|
17
|
+
protected abstract readonly outputKeyNodes: KeyNode[];
|
|
18
|
+
protected abstract clientCommand: $Command<
|
|
19
|
+
Input | BaseInput,
|
|
20
|
+
Output | BaseOutput,
|
|
21
|
+
ResolvedClientConfiguration
|
|
22
|
+
>;
|
|
23
|
+
abstract middlewareStack: MiddlewareStack<
|
|
24
|
+
Input | BaseInput,
|
|
25
|
+
Output | BaseOutput
|
|
26
|
+
>;
|
|
27
|
+
protected addMarshallingMiddleware(
|
|
28
|
+
configuration: DynamoDBDocumentClientResolvedConfig
|
|
29
|
+
): void;
|
|
30
|
+
}
|
|
@@ -1,36 +1,78 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
1
|
+
import {
|
|
2
|
+
BatchExecuteStatementCommand as __BatchExecuteStatementCommand,
|
|
3
|
+
BatchExecuteStatementCommandInput as __BatchExecuteStatementCommandInput,
|
|
4
|
+
BatchExecuteStatementCommandOutput as __BatchExecuteStatementCommandOutput,
|
|
5
|
+
BatchStatementRequest,
|
|
6
|
+
BatchStatementResponse,
|
|
7
|
+
} from "@aws-sdk/client-dynamodb";
|
|
8
|
+
import {
|
|
9
|
+
Handler,
|
|
10
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
11
|
+
MiddlewareStack,
|
|
12
|
+
} from "@aws-sdk/types";
|
|
13
|
+
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
14
|
+
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
15
|
+
import {
|
|
16
|
+
DynamoDBDocumentClientResolvedConfig,
|
|
17
|
+
ServiceInputTypes,
|
|
18
|
+
ServiceOutputTypes,
|
|
19
|
+
} from "../DynamoDBDocumentClient";
|
|
20
|
+
export declare type BatchExecuteStatementCommandInput = Pick<
|
|
21
|
+
__BatchExecuteStatementCommandInput,
|
|
22
|
+
Exclude<keyof __BatchExecuteStatementCommandInput, "Statements">
|
|
23
|
+
> & {
|
|
24
|
+
Statements:
|
|
25
|
+
| (Pick<
|
|
26
|
+
BatchStatementRequest,
|
|
27
|
+
Exclude<keyof BatchStatementRequest, "Parameters">
|
|
28
|
+
> & {
|
|
29
|
+
Parameters?: NativeAttributeValue[];
|
|
30
|
+
})[]
|
|
31
|
+
| undefined;
|
|
32
|
+
};
|
|
33
|
+
export declare type BatchExecuteStatementCommandOutput = Pick<
|
|
34
|
+
__BatchExecuteStatementCommandOutput,
|
|
35
|
+
Exclude<keyof __BatchExecuteStatementCommandOutput, "Responses">
|
|
36
|
+
> & {
|
|
37
|
+
Responses?: (Pick<
|
|
38
|
+
BatchStatementResponse,
|
|
39
|
+
Exclude<keyof BatchStatementResponse, "Item">
|
|
40
|
+
> & {
|
|
41
|
+
Item?: Record<string, NativeAttributeValue>;
|
|
42
|
+
})[];
|
|
43
|
+
};
|
|
44
|
+
export declare class BatchExecuteStatementCommand extends DynamoDBDocumentClientCommand<
|
|
45
|
+
BatchExecuteStatementCommandInput,
|
|
46
|
+
BatchExecuteStatementCommandOutput,
|
|
47
|
+
__BatchExecuteStatementCommandInput,
|
|
48
|
+
__BatchExecuteStatementCommandOutput,
|
|
49
|
+
DynamoDBDocumentClientResolvedConfig
|
|
50
|
+
> {
|
|
51
|
+
readonly input: BatchExecuteStatementCommandInput;
|
|
52
|
+
protected readonly inputKeyNodes: {
|
|
53
|
+
key: string;
|
|
54
|
+
children: {
|
|
55
|
+
key: string;
|
|
56
|
+
}[];
|
|
57
|
+
}[];
|
|
58
|
+
protected readonly outputKeyNodes: {
|
|
59
|
+
key: string;
|
|
60
|
+
children: {
|
|
61
|
+
key: string;
|
|
62
|
+
}[];
|
|
63
|
+
}[];
|
|
64
|
+
protected readonly clientCommand: __BatchExecuteStatementCommand;
|
|
65
|
+
readonly middlewareStack: MiddlewareStack<
|
|
66
|
+
BatchExecuteStatementCommandInput | __BatchExecuteStatementCommandInput,
|
|
67
|
+
BatchExecuteStatementCommandOutput | __BatchExecuteStatementCommandOutput
|
|
68
|
+
>;
|
|
69
|
+
constructor(input: BatchExecuteStatementCommandInput);
|
|
70
|
+
resolveMiddleware(
|
|
71
|
+
clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
|
|
72
|
+
configuration: DynamoDBDocumentClientResolvedConfig,
|
|
73
|
+
options?: __HttpHandlerOptions
|
|
74
|
+
): Handler<
|
|
75
|
+
BatchExecuteStatementCommandInput,
|
|
76
|
+
BatchExecuteStatementCommandOutput
|
|
77
|
+
>;
|
|
78
|
+
}
|