@aws-sdk/lib-dynamodb 3.168.0 → 3.170.0

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