@aws-sdk/lib-dynamodb 3.971.0 → 3.974.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/dist-cjs/index.js +155 -155
- package/dist-es/DynamoDBDocumentClient.js +2 -2
- package/dist-es/commands/BatchExecuteStatementCommand.js +11 -11
- package/dist-es/commands/BatchGetCommand.js +15 -15
- package/dist-es/commands/BatchWriteCommand.js +25 -25
- package/dist-es/commands/DeleteCommand.js +11 -11
- package/dist-es/commands/ExecuteStatementCommand.js +5 -5
- package/dist-es/commands/ExecuteTransactionCommand.js +9 -9
- package/dist-es/commands/GetCommand.js +3 -3
- package/dist-es/commands/PutCommand.js +11 -11
- package/dist-es/commands/QueryCommand.js +14 -14
- package/dist-es/commands/ScanCommand.js +10 -10
- package/dist-es/commands/TransactGetCommand.js +10 -10
- package/dist-es/commands/TransactWriteCommand.js +22 -22
- package/dist-es/commands/UpdateCommand.js +15 -15
- package/dist-es/commands/index.js +13 -13
- package/dist-es/index.js +4 -4
- package/dist-es/pagination/index.js +3 -3
- package/dist-types/DynamoDBDocument.d.ts +1 -1
- package/dist-types/DynamoDBDocumentClient.d.ts +2 -2
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +10 -10
- package/dist-types/commands/BatchGetCommand.d.ts +14 -14
- package/dist-types/commands/BatchWriteCommand.d.ts +20 -20
- package/dist-types/commands/DeleteCommand.d.ts +8 -8
- package/dist-types/commands/ExecuteStatementCommand.d.ts +6 -6
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +8 -8
- package/dist-types/commands/GetCommand.d.ts +3 -3
- package/dist-types/commands/PutCommand.d.ts +8 -8
- package/dist-types/commands/QueryCommand.d.ts +11 -11
- package/dist-types/commands/ScanCommand.d.ts +8 -8
- package/dist-types/commands/TransactGetCommand.d.ts +9 -9
- package/dist-types/commands/TransactWriteCommand.d.ts +16 -16
- package/dist-types/commands/UpdateCommand.d.ts +10 -10
- package/dist-types/commands/index.d.ts +13 -13
- package/dist-types/index.d.ts +4 -4
- package/dist-types/pagination/index.d.ts +3 -3
- package/dist-types/ts3.4/DynamoDBDocument.d.ts +1 -1
- package/dist-types/ts3.4/DynamoDBDocumentClient.d.ts +7 -7
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchGetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/BatchWriteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/PutCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ScanCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TransactGetCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/TransactWriteCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCommand.d.ts +1 -1
- package/dist-types/ts3.4/index.d.ts +2 -2
- package/package.json +9 -9
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
1
|
+
export * from './Interfaces';
|
|
2
|
+
export * from './QueryPaginator';
|
|
3
|
+
export * from './ScanPaginator';
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { DynamoDBClient } from "@aws-sdk/client-dynamodb";
|
|
2
1
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
3
2
|
import {
|
|
4
3
|
BatchExecuteStatementCommandInput,
|
|
@@ -44,6 +43,7 @@ import {
|
|
|
44
43
|
DynamoDBDocumentClient,
|
|
45
44
|
TranslateConfig,
|
|
46
45
|
} from "./DynamoDBDocumentClient";
|
|
46
|
+
import { DynamoDBClient } from "@aws-sdk/client-dynamodb";
|
|
47
47
|
export declare class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
48
48
|
static from(
|
|
49
49
|
client: DynamoDBClient,
|
|
@@ -1,10 +1,3 @@
|
|
|
1
|
-
import {
|
|
2
|
-
DynamoDBClient,
|
|
3
|
-
DynamoDBClientResolvedConfig,
|
|
4
|
-
ServiceInputTypes as __ServiceInputTypes,
|
|
5
|
-
ServiceOutputTypes as __ServiceOutputTypes,
|
|
6
|
-
} from "@aws-sdk/client-dynamodb";
|
|
7
|
-
import { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb";
|
|
8
1
|
import { Client as __Client } from "@smithy/smithy-client";
|
|
9
2
|
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
10
3
|
import {
|
|
@@ -47,6 +40,13 @@ import {
|
|
|
47
40
|
UpdateCommandInput,
|
|
48
41
|
UpdateCommandOutput,
|
|
49
42
|
} from "./commands/UpdateCommand";
|
|
43
|
+
import {
|
|
44
|
+
DynamoDBClient,
|
|
45
|
+
DynamoDBClientResolvedConfig,
|
|
46
|
+
ServiceInputTypes as __ServiceInputTypes,
|
|
47
|
+
ServiceOutputTypes as __ServiceOutputTypes,
|
|
48
|
+
} from "@aws-sdk/client-dynamodb";
|
|
49
|
+
import { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb";
|
|
50
50
|
export { __Client };
|
|
51
51
|
export type ServiceInputTypes =
|
|
52
52
|
| __ServiceInputTypes
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { BatchExecuteStatementCommand as __BatchExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import {
|
|
4
3
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
@@ -11,6 +10,7 @@ import {
|
|
|
11
10
|
ServiceInputTypes,
|
|
12
11
|
ServiceOutputTypes,
|
|
13
12
|
} from "../DynamoDBDocumentClient";
|
|
13
|
+
import { BatchExecuteStatementCommand as __BatchExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
|
|
14
14
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
15
15
|
export type BatchExecuteStatementCommandInput = Pick<
|
|
16
16
|
__BatchExecuteStatementCommandInput,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { BatchGetItemCommand as __BatchGetItemCommand } from "@aws-sdk/client-dynamodb";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import {
|
|
4
3
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
@@ -11,6 +10,7 @@ import {
|
|
|
11
10
|
ServiceInputTypes,
|
|
12
11
|
ServiceOutputTypes,
|
|
13
12
|
} from "../DynamoDBDocumentClient";
|
|
13
|
+
import { BatchGetItemCommand as __BatchGetItemCommand } from "@aws-sdk/client-dynamodb";
|
|
14
14
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
15
15
|
export type BatchGetCommandInput = Pick<
|
|
16
16
|
__BatchGetItemCommandInput,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { BatchWriteItemCommand as __BatchWriteItemCommand } from "@aws-sdk/client-dynamodb";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import {
|
|
4
3
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
@@ -11,6 +10,7 @@ import {
|
|
|
11
10
|
ServiceInputTypes,
|
|
12
11
|
ServiceOutputTypes,
|
|
13
12
|
} from "../DynamoDBDocumentClient";
|
|
13
|
+
import { BatchWriteItemCommand as __BatchWriteItemCommand } from "@aws-sdk/client-dynamodb";
|
|
14
14
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
15
15
|
export type BatchWriteCommandInput = Pick<
|
|
16
16
|
__BatchWriteItemCommandInput,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { DeleteItemCommand as __DeleteItemCommand } from "@aws-sdk/client-dynamodb";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import {
|
|
4
3
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
@@ -11,6 +10,7 @@ import {
|
|
|
11
10
|
ServiceInputTypes,
|
|
12
11
|
ServiceOutputTypes,
|
|
13
12
|
} from "../DynamoDBDocumentClient";
|
|
13
|
+
import { DeleteItemCommand as __DeleteItemCommand } from "@aws-sdk/client-dynamodb";
|
|
14
14
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
15
15
|
export type DeleteCommandInput = Pick<
|
|
16
16
|
__DeleteItemCommandInput,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ExecuteStatementCommand as __ExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import {
|
|
4
3
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
@@ -11,6 +10,7 @@ import {
|
|
|
11
10
|
ServiceInputTypes,
|
|
12
11
|
ServiceOutputTypes,
|
|
13
12
|
} from "../DynamoDBDocumentClient";
|
|
13
|
+
import { ExecuteStatementCommand as __ExecuteStatementCommand } from "@aws-sdk/client-dynamodb";
|
|
14
14
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
15
15
|
export type ExecuteStatementCommandInput = Pick<
|
|
16
16
|
__ExecuteStatementCommandInput,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ExecuteTransactionCommand as __ExecuteTransactionCommand } from "@aws-sdk/client-dynamodb";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import {
|
|
4
3
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
@@ -11,6 +10,7 @@ import {
|
|
|
11
10
|
ServiceInputTypes,
|
|
12
11
|
ServiceOutputTypes,
|
|
13
12
|
} from "../DynamoDBDocumentClient";
|
|
13
|
+
import { ExecuteTransactionCommand as __ExecuteTransactionCommand } from "@aws-sdk/client-dynamodb";
|
|
14
14
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
15
15
|
export type ExecuteTransactionCommandInput = Pick<
|
|
16
16
|
__ExecuteTransactionCommandInput,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { GetItemCommand as __GetItemCommand } from "@aws-sdk/client-dynamodb";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import {
|
|
4
3
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
@@ -11,6 +10,7 @@ import {
|
|
|
11
10
|
ServiceInputTypes,
|
|
12
11
|
ServiceOutputTypes,
|
|
13
12
|
} from "../DynamoDBDocumentClient";
|
|
13
|
+
import { GetItemCommand as __GetItemCommand } from "@aws-sdk/client-dynamodb";
|
|
14
14
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
15
15
|
export type GetCommandInput = Pick<
|
|
16
16
|
__GetItemCommandInput,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { PutItemCommand as __PutItemCommand } from "@aws-sdk/client-dynamodb";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import {
|
|
4
3
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
@@ -11,6 +10,7 @@ import {
|
|
|
11
10
|
ServiceInputTypes,
|
|
12
11
|
ServiceOutputTypes,
|
|
13
12
|
} from "../DynamoDBDocumentClient";
|
|
13
|
+
import { PutItemCommand as __PutItemCommand } from "@aws-sdk/client-dynamodb";
|
|
14
14
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
15
15
|
export type PutCommandInput = Pick<
|
|
16
16
|
__PutItemCommandInput,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { QueryCommand as __QueryCommand } from "@aws-sdk/client-dynamodb";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import {
|
|
4
3
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
@@ -11,6 +10,7 @@ import {
|
|
|
11
10
|
ServiceInputTypes,
|
|
12
11
|
ServiceOutputTypes,
|
|
13
12
|
} from "../DynamoDBDocumentClient";
|
|
13
|
+
import { QueryCommand as __QueryCommand } from "@aws-sdk/client-dynamodb";
|
|
14
14
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
15
15
|
export type QueryCommandInput = Pick<
|
|
16
16
|
__QueryCommandInput,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { ScanCommand as __ScanCommand } from "@aws-sdk/client-dynamodb";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import {
|
|
4
3
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
@@ -11,6 +10,7 @@ import {
|
|
|
11
10
|
ServiceInputTypes,
|
|
12
11
|
ServiceOutputTypes,
|
|
13
12
|
} from "../DynamoDBDocumentClient";
|
|
13
|
+
import { ScanCommand as __ScanCommand } from "@aws-sdk/client-dynamodb";
|
|
14
14
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
15
15
|
export type ScanCommandInput = Pick<
|
|
16
16
|
__ScanCommandInput,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { TransactGetItemsCommand as __TransactGetItemsCommand } from "@aws-sdk/client-dynamodb";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import {
|
|
4
3
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
@@ -11,6 +10,7 @@ import {
|
|
|
11
10
|
ServiceInputTypes,
|
|
12
11
|
ServiceOutputTypes,
|
|
13
12
|
} from "../DynamoDBDocumentClient";
|
|
13
|
+
import { TransactGetItemsCommand as __TransactGetItemsCommand } from "@aws-sdk/client-dynamodb";
|
|
14
14
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
15
15
|
export type TransactGetCommandInput = Pick<
|
|
16
16
|
__TransactGetItemsCommandInput,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { TransactWriteItemsCommand as __TransactWriteItemsCommand } from "@aws-sdk/client-dynamodb";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import {
|
|
4
3
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
@@ -11,6 +10,7 @@ import {
|
|
|
11
10
|
ServiceInputTypes,
|
|
12
11
|
ServiceOutputTypes,
|
|
13
12
|
} from "../DynamoDBDocumentClient";
|
|
13
|
+
import { TransactWriteItemsCommand as __TransactWriteItemsCommand } from "@aws-sdk/client-dynamodb";
|
|
14
14
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
15
15
|
export type TransactWriteCommandInput = Pick<
|
|
16
16
|
__TransactWriteItemsCommandInput,
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { UpdateItemCommand as __UpdateItemCommand } from "@aws-sdk/client-dynamodb";
|
|
2
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
2
|
import {
|
|
4
3
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
@@ -11,6 +10,7 @@ import {
|
|
|
11
10
|
ServiceInputTypes,
|
|
12
11
|
ServiceOutputTypes,
|
|
13
12
|
} from "../DynamoDBDocumentClient";
|
|
13
|
+
import { UpdateItemCommand as __UpdateItemCommand } from "@aws-sdk/client-dynamodb";
|
|
14
14
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
15
15
|
export type UpdateCommandInput = Pick<
|
|
16
16
|
__UpdateItemCommandInput,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
export * from "./DynamoDBDocument";
|
|
2
|
-
export * from "./DynamoDBDocumentClient";
|
|
3
1
|
export * from "./commands";
|
|
4
2
|
export * from "./pagination";
|
|
3
|
+
export * from "./DynamoDBDocumentClient";
|
|
4
|
+
export * from "./DynamoDBDocument";
|
|
5
5
|
export { NumberValueImpl as NumberValue } from "@aws-sdk/util-dynamodb";
|
|
6
6
|
export { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb";
|
|
7
7
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/lib-dynamodb",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.974.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",
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
"build:include:deps": "yarn g:turbo run build -F=\"$npm_package_name\"",
|
|
13
13
|
"build:types": "tsc -p tsconfig.types.json",
|
|
14
14
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
15
|
-
"clean": "
|
|
15
|
+
"clean": "premove dist-cjs dist-es dist-types tsconfig.cjs.tsbuildinfo tsconfig.es.tsbuildinfo tsconfig.types.tsbuildinfo",
|
|
16
16
|
"extract:docs": "api-extractor run --local",
|
|
17
17
|
"test": "yarn g:vitest run",
|
|
18
18
|
"test:watch": "yarn g:vitest watch",
|
|
@@ -30,23 +30,23 @@
|
|
|
30
30
|
},
|
|
31
31
|
"license": "Apache-2.0",
|
|
32
32
|
"dependencies": {
|
|
33
|
-
"@aws-sdk/core": "3.
|
|
34
|
-
"@aws-sdk/util-dynamodb": "3.
|
|
35
|
-
"@smithy/core": "^3.
|
|
36
|
-
"@smithy/smithy-client": "^4.10.
|
|
33
|
+
"@aws-sdk/core": "^3.973.0",
|
|
34
|
+
"@aws-sdk/util-dynamodb": "3.974.0",
|
|
35
|
+
"@smithy/core": "^3.21.0",
|
|
36
|
+
"@smithy/smithy-client": "^4.10.11",
|
|
37
37
|
"@smithy/types": "^4.12.0",
|
|
38
38
|
"tslib": "^2.6.2"
|
|
39
39
|
},
|
|
40
40
|
"peerDependencies": {
|
|
41
|
-
"@aws-sdk/client-dynamodb": "3.
|
|
41
|
+
"@aws-sdk/client-dynamodb": "3.974.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@aws-sdk/client-dynamodb": "3.
|
|
44
|
+
"@aws-sdk/client-dynamodb": "3.974.0",
|
|
45
45
|
"@tsconfig/recommended": "1.0.1",
|
|
46
46
|
"@types/node": "^20.14.8",
|
|
47
47
|
"concurrently": "7.0.0",
|
|
48
48
|
"downlevel-dts": "0.10.1",
|
|
49
|
-
"
|
|
49
|
+
"premove": "4.0.0",
|
|
50
50
|
"typescript": "~5.8.3"
|
|
51
51
|
},
|
|
52
52
|
"typesVersions": {
|