@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.
Files changed (25) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/dist-types/ts3.4/DynamoDBDocument.d.ts +221 -72
  3. package/dist-types/ts3.4/DynamoDBDocumentClient.d.ts +104 -33
  4. package/dist-types/ts3.4/baseCommand/DynamoDBDocumentClientCommand.d.ts +30 -12
  5. package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +78 -36
  6. package/dist-types/ts3.4/commands/BatchGetCommand.d.ts +87 -46
  7. package/dist-types/ts3.4/commands/BatchWriteCommand.d.ts +131 -66
  8. package/dist-types/ts3.4/commands/DeleteCommand.d.ts +100 -48
  9. package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +56 -27
  10. package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +72 -36
  11. package/dist-types/ts3.4/commands/GetCommand.d.ts +55 -26
  12. package/dist-types/ts3.4/commands/PutCommand.d.ts +97 -48
  13. package/dist-types/ts3.4/commands/QueryCommand.d.ts +87 -42
  14. package/dist-types/ts3.4/commands/ScanCommand.d.ts +78 -39
  15. package/dist-types/ts3.4/commands/TransactGetCommand.d.ts +77 -41
  16. package/dist-types/ts3.4/commands/TransactWriteCommand.d.ts +117 -56
  17. package/dist-types/ts3.4/commands/UpdateCommand.d.ts +107 -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.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 { 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
+ 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 { 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
+ 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
- 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
+ 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 { 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
+ 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
+ }