@aws-sdk/lib-dynamodb 3.170.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 CHANGED
@@ -3,6 +3,14 @@
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
+
6
14
  # [3.170.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.169.0...v3.170.0) (2022-09-13)
7
15
 
8
16
  **Note:** Version bump only for package @aws-sdk/lib-dynamodb
@@ -44,13 +44,11 @@ import {
44
44
  DynamoDBDocumentClient,
45
45
  TranslateConfig,
46
46
  } from "./DynamoDBDocumentClient";
47
-
48
47
  export declare class DynamoDBDocument extends DynamoDBDocumentClient {
49
48
  static from(
50
49
  client: DynamoDBClient,
51
50
  translateConfig?: TranslateConfig
52
51
  ): DynamoDBDocument;
53
-
54
52
  batchExecuteStatement(
55
53
  args: BatchExecuteStatementCommandInput,
56
54
  options?: __HttpHandlerOptions
@@ -64,7 +62,6 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
64
62
  options: __HttpHandlerOptions,
65
63
  cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void
66
64
  ): void;
67
-
68
65
  batchGet(
69
66
  args: BatchGetCommandInput,
70
67
  options?: __HttpHandlerOptions
@@ -78,7 +75,6 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
78
75
  options: __HttpHandlerOptions,
79
76
  cb: (err: any, data?: BatchGetCommandOutput) => void
80
77
  ): void;
81
-
82
78
  batchWrite(
83
79
  args: BatchWriteCommandInput,
84
80
  options?: __HttpHandlerOptions
@@ -92,7 +88,6 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
92
88
  options: __HttpHandlerOptions,
93
89
  cb: (err: any, data?: BatchWriteCommandOutput) => void
94
90
  ): void;
95
-
96
91
  delete(
97
92
  args: DeleteCommandInput,
98
93
  options?: __HttpHandlerOptions
@@ -106,7 +101,6 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
106
101
  options: __HttpHandlerOptions,
107
102
  cb: (err: any, data?: DeleteCommandOutput) => void
108
103
  ): void;
109
-
110
104
  executeStatement(
111
105
  args: ExecuteStatementCommandInput,
112
106
  options?: __HttpHandlerOptions
@@ -120,7 +114,6 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
120
114
  options: __HttpHandlerOptions,
121
115
  cb: (err: any, data?: ExecuteStatementCommandOutput) => void
122
116
  ): void;
123
-
124
117
  executeTransaction(
125
118
  args: ExecuteTransactionCommandInput,
126
119
  options?: __HttpHandlerOptions
@@ -134,7 +127,6 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
134
127
  options: __HttpHandlerOptions,
135
128
  cb: (err: any, data?: ExecuteTransactionCommandOutput) => void
136
129
  ): void;
137
-
138
130
  get(
139
131
  args: GetCommandInput,
140
132
  options?: __HttpHandlerOptions
@@ -148,7 +140,6 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
148
140
  options: __HttpHandlerOptions,
149
141
  cb: (err: any, data?: GetCommandOutput) => void
150
142
  ): void;
151
-
152
143
  put(
153
144
  args: PutCommandInput,
154
145
  options?: __HttpHandlerOptions
@@ -162,7 +153,6 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
162
153
  options: __HttpHandlerOptions,
163
154
  cb: (err: any, data?: PutCommandOutput) => void
164
155
  ): void;
165
-
166
156
  query(
167
157
  args: QueryCommandInput,
168
158
  options?: __HttpHandlerOptions
@@ -176,7 +166,6 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
176
166
  options: __HttpHandlerOptions,
177
167
  cb: (err: any, data?: QueryCommandOutput) => void
178
168
  ): void;
179
-
180
169
  scan(
181
170
  args: ScanCommandInput,
182
171
  options?: __HttpHandlerOptions
@@ -190,7 +179,6 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
190
179
  options: __HttpHandlerOptions,
191
180
  cb: (err: any, data?: ScanCommandOutput) => void
192
181
  ): void;
193
-
194
182
  transactGet(
195
183
  args: TransactGetCommandInput,
196
184
  options?: __HttpHandlerOptions
@@ -204,7 +192,6 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
204
192
  options: __HttpHandlerOptions,
205
193
  cb: (err: any, data?: TransactGetCommandOutput) => void
206
194
  ): void;
207
-
208
195
  transactWrite(
209
196
  args: TransactWriteCommandInput,
210
197
  options?: __HttpHandlerOptions
@@ -218,7 +205,6 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
218
205
  options: __HttpHandlerOptions,
219
206
  cb: (err: any, data?: TransactWriteCommandOutput) => void
220
207
  ): void;
221
-
222
208
  update(
223
209
  args: UpdateCommandInput,
224
210
  options?: __HttpHandlerOptions
@@ -85,7 +85,6 @@ export declare type DynamoDBDocumentClientResolvedConfig =
85
85
  DynamoDBClientResolvedConfig & {
86
86
  translateConfig?: TranslateConfig;
87
87
  };
88
-
89
88
  export declare class DynamoDBDocumentClient extends __Client<
90
89
  __HttpHandlerOptions,
91
90
  ServiceInputTypes,
@@ -2,7 +2,6 @@ import { Command as $Command } from "@aws-sdk/smithy-client";
2
2
  import { MiddlewareStack } from "@aws-sdk/types";
3
3
  import { KeyNode } from "../commands/utils";
4
4
  import { DynamoDBDocumentClientResolvedConfig } from "../DynamoDBDocumentClient";
5
-
6
5
  export declare abstract class DynamoDBDocumentClientCommand<
7
6
  Input extends object,
8
7
  Output extends object,
@@ -41,7 +41,6 @@ export declare type BatchExecuteStatementCommandOutput = Pick<
41
41
  Item?: Record<string, NativeAttributeValue>;
42
42
  })[];
43
43
  };
44
-
45
44
  export declare class BatchExecuteStatementCommand extends DynamoDBDocumentClientCommand<
46
45
  BatchExecuteStatementCommandInput,
47
46
  BatchExecuteStatementCommandOutput,
@@ -68,7 +67,6 @@ export declare class BatchExecuteStatementCommand extends DynamoDBDocumentClient
68
67
  BatchExecuteStatementCommandOutput | __BatchExecuteStatementCommandOutput
69
68
  >;
70
69
  constructor(input: BatchExecuteStatementCommandInput);
71
-
72
70
  resolveMiddleware(
73
71
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
74
72
  configuration: DynamoDBDocumentClientResolvedConfig,
@@ -41,7 +41,6 @@ export declare type BatchGetCommandOutput = Pick<
41
41
  }
42
42
  >;
43
43
  };
44
-
45
44
  export declare class BatchGetCommand extends DynamoDBDocumentClientCommand<
46
45
  BatchGetCommandInput,
47
46
  BatchGetCommandOutput,
@@ -80,7 +79,6 @@ export declare class BatchGetCommand extends DynamoDBDocumentClientCommand<
80
79
  BatchGetCommandOutput | __BatchGetItemCommandOutput
81
80
  >;
82
81
  constructor(input: BatchGetCommandInput);
83
-
84
82
  resolveMiddleware(
85
83
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
86
84
  configuration: DynamoDBDocumentClientResolvedConfig,
@@ -77,7 +77,6 @@ export declare type BatchWriteCommandOutput = Pick<
77
77
  })[]
78
78
  >;
79
79
  };
80
-
81
80
  export declare class BatchWriteCommand extends DynamoDBDocumentClientCommand<
82
81
  BatchWriteCommandInput,
83
82
  BatchWriteCommandOutput,
@@ -124,7 +123,6 @@ export declare class BatchWriteCommand extends DynamoDBDocumentClientCommand<
124
123
  BatchWriteCommandOutput | __BatchWriteItemCommandOutput
125
124
  >;
126
125
  constructor(input: BatchWriteCommandInput);
127
-
128
126
  resolveMiddleware(
129
127
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
130
128
  configuration: DynamoDBDocumentClientResolvedConfig,
@@ -52,7 +52,6 @@ export declare type DeleteCommandOutput = Pick<
52
52
  ItemCollectionKey?: Record<string, NativeAttributeValue>;
53
53
  };
54
54
  };
55
-
56
55
  export declare class DeleteCommand extends DynamoDBDocumentClientCommand<
57
56
  DeleteCommandInput,
58
57
  DeleteCommandOutput,
@@ -93,7 +92,6 @@ export declare class DeleteCommand extends DynamoDBDocumentClientCommand<
93
92
  DeleteCommandOutput | __DeleteItemCommandOutput
94
93
  >;
95
94
  constructor(input: DeleteCommandInput);
96
-
97
95
  resolveMiddleware(
98
96
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
99
97
  configuration: DynamoDBDocumentClientResolvedConfig,
@@ -28,7 +28,6 @@ export declare type ExecuteStatementCommandOutput = Pick<
28
28
  Items?: Record<string, NativeAttributeValue>[];
29
29
  LastEvaluatedKey?: Record<string, NativeAttributeValue>;
30
30
  };
31
-
32
31
  export declare class ExecuteStatementCommand extends DynamoDBDocumentClientCommand<
33
32
  ExecuteStatementCommandInput,
34
33
  ExecuteStatementCommandOutput,
@@ -49,7 +48,6 @@ export declare class ExecuteStatementCommand extends DynamoDBDocumentClientComma
49
48
  ExecuteStatementCommandOutput | __ExecuteStatementCommandOutput
50
49
  >;
51
50
  constructor(input: ExecuteStatementCommandInput);
52
-
53
51
  resolveMiddleware(
54
52
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
55
53
  configuration: DynamoDBDocumentClientResolvedConfig,
@@ -38,7 +38,6 @@ export declare type ExecuteTransactionCommandOutput = Pick<
38
38
  Item?: Record<string, NativeAttributeValue>;
39
39
  })[];
40
40
  };
41
-
42
41
  export declare class ExecuteTransactionCommand extends DynamoDBDocumentClientCommand<
43
42
  ExecuteTransactionCommandInput,
44
43
  ExecuteTransactionCommandOutput,
@@ -65,7 +64,6 @@ export declare class ExecuteTransactionCommand extends DynamoDBDocumentClientCom
65
64
  ExecuteTransactionCommandOutput | __ExecuteTransactionCommandOutput
66
65
  >;
67
66
  constructor(input: ExecuteTransactionCommandInput);
68
-
69
67
  resolveMiddleware(
70
68
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
71
69
  configuration: DynamoDBDocumentClientResolvedConfig,
@@ -27,7 +27,6 @@ export declare type GetCommandOutput = Pick<
27
27
  > & {
28
28
  Item?: Record<string, NativeAttributeValue>;
29
29
  };
30
-
31
30
  export declare class GetCommand extends DynamoDBDocumentClientCommand<
32
31
  GetCommandInput,
33
32
  GetCommandOutput,
@@ -48,7 +47,6 @@ export declare class GetCommand extends DynamoDBDocumentClientCommand<
48
47
  GetCommandOutput | __GetItemCommandOutput
49
48
  >;
50
49
  constructor(input: GetCommandInput);
51
-
52
50
  resolveMiddleware(
53
51
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
54
52
  configuration: DynamoDBDocumentClientResolvedConfig,
@@ -49,7 +49,6 @@ export declare type PutCommandOutput = Pick<
49
49
  ItemCollectionKey?: Record<string, NativeAttributeValue>;
50
50
  };
51
51
  };
52
-
53
52
  export declare class PutCommand extends DynamoDBDocumentClientCommand<
54
53
  PutCommandInput,
55
54
  PutCommandOutput,
@@ -90,7 +89,6 @@ export declare class PutCommand extends DynamoDBDocumentClientCommand<
90
89
  PutCommandOutput | __PutItemCommandOutput
91
90
  >;
92
91
  constructor(input: PutCommandInput);
93
-
94
92
  resolveMiddleware(
95
93
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
96
94
  configuration: DynamoDBDocumentClientResolvedConfig,
@@ -48,7 +48,6 @@ export declare type QueryCommandOutput = Pick<
48
48
  Items?: Record<string, NativeAttributeValue>[];
49
49
  LastEvaluatedKey?: Record<string, NativeAttributeValue>;
50
50
  };
51
-
52
51
  export declare class QueryCommand extends DynamoDBDocumentClientCommand<
53
52
  QueryCommandInput,
54
53
  QueryCommandOutput,
@@ -80,7 +79,6 @@ export declare class QueryCommand extends DynamoDBDocumentClientCommand<
80
79
  QueryCommandOutput | __QueryCommandOutput
81
80
  >;
82
81
  constructor(input: QueryCommandInput);
83
-
84
82
  resolveMiddleware(
85
83
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
86
84
  configuration: DynamoDBDocumentClientResolvedConfig,
@@ -39,7 +39,6 @@ export declare type ScanCommandOutput = Pick<
39
39
  Items?: Record<string, NativeAttributeValue>[];
40
40
  LastEvaluatedKey?: Record<string, NativeAttributeValue>;
41
41
  };
42
-
43
42
  export declare class ScanCommand extends DynamoDBDocumentClientCommand<
44
43
  ScanCommandInput,
45
44
  ScanCommandOutput,
@@ -71,7 +70,6 @@ export declare class ScanCommand extends DynamoDBDocumentClientCommand<
71
70
  ScanCommandOutput | __ScanCommandOutput
72
71
  >;
73
72
  constructor(input: ScanCommandInput);
74
-
75
73
  resolveMiddleware(
76
74
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
77
75
  configuration: DynamoDBDocumentClientResolvedConfig,
@@ -40,7 +40,6 @@ export declare type TransactGetCommandOutput = Pick<
40
40
  Item?: Record<string, NativeAttributeValue>;
41
41
  })[];
42
42
  };
43
-
44
43
  export declare class TransactGetCommand extends DynamoDBDocumentClientCommand<
45
44
  TransactGetCommandInput,
46
45
  TransactGetCommandOutput,
@@ -70,7 +69,6 @@ export declare class TransactGetCommand extends DynamoDBDocumentClientCommand<
70
69
  TransactGetCommandOutput | __TransactGetItemsCommandOutput
71
70
  >;
72
71
  constructor(input: TransactGetCommandInput);
73
-
74
72
  resolveMiddleware(
75
73
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
76
74
  configuration: DynamoDBDocumentClientResolvedConfig,
@@ -78,7 +78,6 @@ export declare type TransactWriteCommandOutput = Pick<
78
78
  })[]
79
79
  >;
80
80
  };
81
-
82
81
  export declare class TransactWriteCommand extends DynamoDBDocumentClientCommand<
83
82
  TransactWriteCommandInput,
84
83
  TransactWriteCommandOutput,
@@ -110,7 +109,6 @@ export declare class TransactWriteCommand extends DynamoDBDocumentClientCommand<
110
109
  TransactWriteCommandOutput | __TransactWriteItemsCommandOutput
111
110
  >;
112
111
  constructor(input: TransactWriteCommandInput);
113
-
114
112
  resolveMiddleware(
115
113
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
116
114
  configuration: DynamoDBDocumentClientResolvedConfig,
@@ -59,7 +59,6 @@ export declare type UpdateCommandOutput = Pick<
59
59
  ItemCollectionKey?: Record<string, NativeAttributeValue>;
60
60
  };
61
61
  };
62
-
63
62
  export declare class UpdateCommand extends DynamoDBDocumentClientCommand<
64
63
  UpdateCommandInput,
65
64
  UpdateCommandOutput,
@@ -100,7 +99,6 @@ export declare class UpdateCommand extends DynamoDBDocumentClientCommand<
100
99
  UpdateCommandOutput | __UpdateItemCommandOutput
101
100
  >;
102
101
  constructor(input: UpdateCommandInput);
103
-
104
102
  resolveMiddleware(
105
103
  clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>,
106
104
  configuration: DynamoDBDocumentClientResolvedConfig,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/lib-dynamodb",
3
- "version": "3.170.0",
3
+ "version": "3.171.0",
4
4
  "description": "The document client simplifies working with items in Amazon DynamoDB by abstracting away the notion of attribute values.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -24,7 +24,7 @@
24
24
  },
25
25
  "license": "Apache-2.0",
26
26
  "dependencies": {
27
- "@aws-sdk/util-dynamodb": "3.170.0",
27
+ "@aws-sdk/util-dynamodb": "3.171.0",
28
28
  "tslib": "^2.3.1"
29
29
  },
30
30
  "peerDependencies": {
@@ -33,9 +33,9 @@
33
33
  "@aws-sdk/types": "^3.0.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@aws-sdk/client-dynamodb": "3.170.0",
37
- "@aws-sdk/smithy-client": "3.170.0",
38
- "@aws-sdk/types": "3.170.0",
36
+ "@aws-sdk/client-dynamodb": "3.171.0",
37
+ "@aws-sdk/smithy-client": "3.171.0",
38
+ "@aws-sdk/types": "3.171.0",
39
39
  "@tsconfig/recommended": "1.0.1",
40
40
  "@types/node": "^14.11.2",
41
41
  "concurrently": "7.0.0",