@aws-sdk/lib-dynamodb 3.362.0 → 3.365.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/DynamoDBDocumentClient.js +1 -1
- package/dist-cjs/baseCommand/DynamoDBDocumentClientCommand.js +1 -1
- package/dist-cjs/commands/BatchExecuteStatementCommand.js +4 -2
- package/dist-cjs/commands/BatchGetCommand.js +1 -1
- package/dist-cjs/commands/BatchWriteCommand.js +1 -1
- package/dist-cjs/commands/DeleteCommand.js +1 -1
- package/dist-cjs/commands/ExecuteStatementCommand.js +1 -1
- package/dist-cjs/commands/ExecuteTransactionCommand.js +1 -1
- package/dist-cjs/commands/GetCommand.js +1 -1
- package/dist-cjs/commands/PutCommand.js +1 -1
- package/dist-cjs/commands/QueryCommand.js +1 -1
- package/dist-cjs/commands/ScanCommand.js +1 -1
- package/dist-cjs/commands/TransactGetCommand.js +1 -1
- package/dist-cjs/commands/TransactWriteCommand.js +1 -1
- package/dist-cjs/commands/UpdateCommand.js +1 -1
- package/dist-es/DynamoDBDocumentClient.js +1 -1
- package/dist-es/baseCommand/DynamoDBDocumentClientCommand.js +1 -1
- package/dist-es/commands/BatchExecuteStatementCommand.js +4 -2
- package/dist-es/commands/BatchGetCommand.js +1 -1
- package/dist-es/commands/BatchWriteCommand.js +1 -1
- package/dist-es/commands/DeleteCommand.js +1 -1
- package/dist-es/commands/ExecuteStatementCommand.js +1 -1
- package/dist-es/commands/ExecuteTransactionCommand.js +1 -1
- package/dist-es/commands/GetCommand.js +1 -1
- package/dist-es/commands/PutCommand.js +1 -1
- package/dist-es/commands/QueryCommand.js +1 -1
- package/dist-es/commands/ScanCommand.js +1 -1
- package/dist-es/commands/TransactGetCommand.js +1 -1
- package/dist-es/commands/TransactWriteCommand.js +1 -1
- package/dist-es/commands/UpdateCommand.js +1 -1
- package/dist-types/DynamoDBDocument.d.ts +1 -1
- package/dist-types/DynamoDBDocumentClient.d.ts +2 -2
- package/dist-types/baseCommand/DynamoDBDocumentClientCommand.d.ts +2 -2
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +15 -6
- package/dist-types/commands/BatchGetCommand.d.ts +2 -2
- package/dist-types/commands/BatchWriteCommand.d.ts +2 -2
- package/dist-types/commands/DeleteCommand.d.ts +2 -2
- package/dist-types/commands/ExecuteStatementCommand.d.ts +2 -2
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +2 -2
- package/dist-types/commands/GetCommand.d.ts +2 -2
- package/dist-types/commands/PutCommand.d.ts +2 -2
- package/dist-types/commands/QueryCommand.d.ts +2 -2
- package/dist-types/commands/ScanCommand.d.ts +2 -2
- package/dist-types/commands/TransactGetCommand.d.ts +2 -2
- package/dist-types/commands/TransactWriteCommand.d.ts +2 -2
- package/dist-types/commands/UpdateCommand.d.ts +2 -2
- package/dist-types/pagination/Interfaces.d.ts +1 -1
- package/dist-types/pagination/QueryPaginator.d.ts +1 -1
- package/dist-types/pagination/ScanPaginator.d.ts +1 -1
- package/dist-types/ts3.4/DynamoDBDocument.d.ts +1 -1
- package/dist-types/ts3.4/DynamoDBDocumentClient.d.ts +2 -2
- package/dist-types/ts3.4/baseCommand/DynamoDBDocumentClientCommand.d.ts +2 -2
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +23 -7
- package/dist-types/ts3.4/commands/BatchGetCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/BatchWriteCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/DeleteCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/GetCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/PutCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/ScanCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/TransactGetCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/TransactWriteCommand.d.ts +3 -3
- package/dist-types/ts3.4/commands/UpdateCommand.d.ts +3 -3
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -1
- package/dist-types/ts3.4/pagination/QueryPaginator.d.ts +1 -1
- package/dist-types/ts3.4/pagination/ScanPaginator.d.ts +1 -1
- package/package.json +5 -5
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DynamoDBDocumentClient = exports.__Client = void 0;
|
|
4
|
-
const smithy_client_1 = require("@
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
6
6
|
class DynamoDBDocumentClient extends smithy_client_1.Client {
|
|
7
7
|
constructor(client, translateConfig) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DynamoDBDocumentClientCommand = void 0;
|
|
4
|
-
const smithy_client_1 = require("@
|
|
4
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
5
|
const utils_1 = require("../commands/utils");
|
|
6
6
|
class DynamoDBDocumentClientCommand extends smithy_client_1.Command {
|
|
7
7
|
addMarshallingMiddleware(configuration) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BatchExecuteStatementCommand = exports.$Command = exports.DynamoDBDocumentClientCommand = void 0;
|
|
4
4
|
const client_dynamodb_1 = require("@aws-sdk/client-dynamodb");
|
|
5
|
-
const smithy_client_1 = require("@
|
|
5
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
8
|
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
@@ -11,7 +11,9 @@ class BatchExecuteStatementCommand extends DynamoDBDocumentClientCommand_1.Dynam
|
|
|
11
11
|
super();
|
|
12
12
|
this.input = input;
|
|
13
13
|
this.inputKeyNodes = [{ key: "Statements", children: [{ key: "Parameters" }] }];
|
|
14
|
-
this.outputKeyNodes = [
|
|
14
|
+
this.outputKeyNodes = [
|
|
15
|
+
{ key: "Responses", children: [{ key: "Error", children: [{ key: "Item" }] }, { key: "Item" }] },
|
|
16
|
+
];
|
|
15
17
|
this.clientCommand = new client_dynamodb_1.BatchExecuteStatementCommand(this.input);
|
|
16
18
|
this.middlewareStack = this.clientCommand.middlewareStack;
|
|
17
19
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BatchGetCommand = exports.$Command = exports.DynamoDBDocumentClientCommand = void 0;
|
|
4
4
|
const client_dynamodb_1 = require("@aws-sdk/client-dynamodb");
|
|
5
|
-
const smithy_client_1 = require("@
|
|
5
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
8
|
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.BatchWriteCommand = exports.$Command = exports.DynamoDBDocumentClientCommand = void 0;
|
|
4
4
|
const client_dynamodb_1 = require("@aws-sdk/client-dynamodb");
|
|
5
|
-
const smithy_client_1 = require("@
|
|
5
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
8
|
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.DeleteCommand = exports.$Command = exports.DynamoDBDocumentClientCommand = void 0;
|
|
4
4
|
const client_dynamodb_1 = require("@aws-sdk/client-dynamodb");
|
|
5
|
-
const smithy_client_1 = require("@
|
|
5
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
8
|
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ExecuteStatementCommand = exports.$Command = exports.DynamoDBDocumentClientCommand = void 0;
|
|
4
4
|
const client_dynamodb_1 = require("@aws-sdk/client-dynamodb");
|
|
5
|
-
const smithy_client_1 = require("@
|
|
5
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
8
|
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ExecuteTransactionCommand = exports.$Command = exports.DynamoDBDocumentClientCommand = void 0;
|
|
4
4
|
const client_dynamodb_1 = require("@aws-sdk/client-dynamodb");
|
|
5
|
-
const smithy_client_1 = require("@
|
|
5
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
8
|
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GetCommand = exports.$Command = exports.DynamoDBDocumentClientCommand = void 0;
|
|
4
4
|
const client_dynamodb_1 = require("@aws-sdk/client-dynamodb");
|
|
5
|
-
const smithy_client_1 = require("@
|
|
5
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
8
|
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.PutCommand = exports.$Command = exports.DynamoDBDocumentClientCommand = void 0;
|
|
4
4
|
const client_dynamodb_1 = require("@aws-sdk/client-dynamodb");
|
|
5
|
-
const smithy_client_1 = require("@
|
|
5
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
8
|
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.QueryCommand = exports.$Command = exports.DynamoDBDocumentClientCommand = void 0;
|
|
4
4
|
const client_dynamodb_1 = require("@aws-sdk/client-dynamodb");
|
|
5
|
-
const smithy_client_1 = require("@
|
|
5
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
8
|
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ScanCommand = exports.$Command = exports.DynamoDBDocumentClientCommand = void 0;
|
|
4
4
|
const client_dynamodb_1 = require("@aws-sdk/client-dynamodb");
|
|
5
|
-
const smithy_client_1 = require("@
|
|
5
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
8
|
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TransactGetCommand = exports.$Command = exports.DynamoDBDocumentClientCommand = void 0;
|
|
4
4
|
const client_dynamodb_1 = require("@aws-sdk/client-dynamodb");
|
|
5
|
-
const smithy_client_1 = require("@
|
|
5
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
8
|
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TransactWriteCommand = exports.$Command = exports.DynamoDBDocumentClientCommand = void 0;
|
|
4
4
|
const client_dynamodb_1 = require("@aws-sdk/client-dynamodb");
|
|
5
|
-
const smithy_client_1 = require("@
|
|
5
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
8
|
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UpdateCommand = exports.$Command = exports.DynamoDBDocumentClientCommand = void 0;
|
|
4
4
|
const client_dynamodb_1 = require("@aws-sdk/client-dynamodb");
|
|
5
|
-
const smithy_client_1 = require("@
|
|
5
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
6
|
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
7
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
8
|
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Command as $Command } from "@
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { marshallInput, unmarshallOutput } from "../commands/utils";
|
|
3
3
|
export class DynamoDBDocumentClientCommand extends $Command {
|
|
4
4
|
addMarshallingMiddleware(configuration) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BatchExecuteStatementCommand as __BatchExecuteStatementCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
4
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
5
5
|
export class BatchExecuteStatementCommand extends DynamoDBDocumentClientCommand {
|
|
@@ -7,7 +7,9 @@ export class BatchExecuteStatementCommand extends DynamoDBDocumentClientCommand
|
|
|
7
7
|
super();
|
|
8
8
|
this.input = input;
|
|
9
9
|
this.inputKeyNodes = [{ key: "Statements", children: [{ key: "Parameters" }] }];
|
|
10
|
-
this.outputKeyNodes = [
|
|
10
|
+
this.outputKeyNodes = [
|
|
11
|
+
{ key: "Responses", children: [{ key: "Error", children: [{ key: "Item" }] }, { key: "Item" }] },
|
|
12
|
+
];
|
|
11
13
|
this.clientCommand = new __BatchExecuteStatementCommand(this.input);
|
|
12
14
|
this.middlewareStack = this.clientCommand.middlewareStack;
|
|
13
15
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BatchGetItemCommand as __BatchGetItemCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
4
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
5
5
|
export class BatchGetCommand extends DynamoDBDocumentClientCommand {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BatchWriteItemCommand as __BatchWriteItemCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
4
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
5
5
|
export class BatchWriteCommand extends DynamoDBDocumentClientCommand {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DeleteItemCommand as __DeleteItemCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
4
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
5
5
|
export class DeleteCommand extends DynamoDBDocumentClientCommand {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExecuteStatementCommand as __ExecuteStatementCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
4
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
5
5
|
export class ExecuteStatementCommand extends DynamoDBDocumentClientCommand {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ExecuteTransactionCommand as __ExecuteTransactionCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
4
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
5
5
|
export class ExecuteTransactionCommand extends DynamoDBDocumentClientCommand {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { GetItemCommand as __GetItemCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
4
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
5
5
|
export class GetCommand extends DynamoDBDocumentClientCommand {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PutItemCommand as __PutItemCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
4
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
5
5
|
export class PutCommand extends DynamoDBDocumentClientCommand {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { QueryCommand as __QueryCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
4
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
5
5
|
export class QueryCommand extends DynamoDBDocumentClientCommand {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ScanCommand as __ScanCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
4
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
5
5
|
export class ScanCommand extends DynamoDBDocumentClientCommand {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TransactGetItemsCommand as __TransactGetItemsCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
4
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
5
5
|
export class TransactGetCommand extends DynamoDBDocumentClientCommand {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TransactWriteItemsCommand as __TransactWriteItemsCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
4
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
5
5
|
export class TransactWriteCommand extends DynamoDBDocumentClientCommand {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { UpdateItemCommand as __UpdateItemCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@
|
|
2
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
3
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
4
|
export { DynamoDBDocumentClientCommand, $Command };
|
|
5
5
|
export class UpdateCommand extends DynamoDBDocumentClientCommand {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DynamoDBClient } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@
|
|
2
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
3
3
|
import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
|
|
4
4
|
import { BatchGetCommandInput, BatchGetCommandOutput } from "./commands/BatchGetCommand";
|
|
5
5
|
import { BatchWriteCommandInput, BatchWriteCommandOutput } from "./commands/BatchWriteCommand";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
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
2
|
import { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb";
|
|
3
|
+
import { Client as __Client } from "@smithy/smithy-client";
|
|
4
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
5
5
|
import { BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput } from "./commands/BatchExecuteStatementCommand";
|
|
6
6
|
import { BatchGetCommandInput, BatchGetCommandOutput } from "./commands/BatchGetCommand";
|
|
7
7
|
import { BatchWriteCommandInput, BatchWriteCommandOutput } from "./commands/BatchWriteCommand";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Command as $Command } from "@
|
|
2
|
-
import { MiddlewareStack } from "@
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MiddlewareStack } from "@smithy/types";
|
|
3
3
|
import { KeyNode } from "../commands/utils";
|
|
4
4
|
import { DynamoDBDocumentClientResolvedConfig } from "../DynamoDBDocumentClient";
|
|
5
5
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { BatchExecuteStatementCommand as __BatchExecuteStatementCommand, BatchExecuteStatementCommandInput as __BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput as __BatchExecuteStatementCommandOutput, BatchStatementRequest, BatchStatementResponse } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
1
|
+
import { BatchExecuteStatementCommand as __BatchExecuteStatementCommand, BatchExecuteStatementCommandInput as __BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput as __BatchExecuteStatementCommandOutput, BatchStatementError, BatchStatementRequest, BatchStatementResponse } from "@aws-sdk/client-dynamodb";
|
|
4
2
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
|
|
5
5
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
6
6
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
7
7
|
/**
|
|
@@ -20,7 +20,10 @@ export type BatchExecuteStatementCommandInput = Omit<__BatchExecuteStatementComm
|
|
|
20
20
|
* @public
|
|
21
21
|
*/
|
|
22
22
|
export type BatchExecuteStatementCommandOutput = Omit<__BatchExecuteStatementCommandOutput, "Responses"> & {
|
|
23
|
-
Responses?: (Omit<BatchStatementResponse, "Item"> & {
|
|
23
|
+
Responses?: (Omit<BatchStatementResponse, "Error" | "Item"> & {
|
|
24
|
+
Error?: Omit<BatchStatementError, "Item"> & {
|
|
25
|
+
Item?: Record<string, NativeAttributeValue>;
|
|
26
|
+
};
|
|
24
27
|
Item?: Record<string, NativeAttributeValue>;
|
|
25
28
|
})[];
|
|
26
29
|
};
|
|
@@ -43,9 +46,15 @@ export declare class BatchExecuteStatementCommand extends DynamoDBDocumentClient
|
|
|
43
46
|
}[];
|
|
44
47
|
protected readonly outputKeyNodes: {
|
|
45
48
|
key: string;
|
|
46
|
-
children: {
|
|
49
|
+
children: ({
|
|
47
50
|
key: string;
|
|
48
|
-
|
|
51
|
+
children: {
|
|
52
|
+
key: string;
|
|
53
|
+
}[];
|
|
54
|
+
} | {
|
|
55
|
+
key: string;
|
|
56
|
+
children?: undefined;
|
|
57
|
+
})[];
|
|
49
58
|
}[];
|
|
50
59
|
protected readonly clientCommand: __BatchExecuteStatementCommand;
|
|
51
60
|
readonly middlewareStack: MiddlewareStack<BatchExecuteStatementCommandInput | __BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput | __BatchExecuteStatementCommandOutput>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BatchGetItemCommand as __BatchGetItemCommand, BatchGetItemCommandInput as __BatchGetItemCommandInput, BatchGetItemCommandOutput as __BatchGetItemCommandOutput, KeysAndAttributes } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
4
2
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
|
|
5
5
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
6
6
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { BatchWriteItemCommand as __BatchWriteItemCommand, BatchWriteItemCommandInput as __BatchWriteItemCommandInput, BatchWriteItemCommandOutput as __BatchWriteItemCommandOutput, DeleteRequest, ItemCollectionMetrics, PutRequest, WriteRequest } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
4
2
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
|
|
5
5
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
6
6
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { DeleteItemCommand as __DeleteItemCommand, DeleteItemCommandInput as __DeleteItemCommandInput, DeleteItemCommandOutput as __DeleteItemCommandOutput, ExpectedAttributeValue, ItemCollectionMetrics } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
4
2
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
|
|
5
5
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
6
6
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExecuteStatementCommand as __ExecuteStatementCommand, ExecuteStatementCommandInput as __ExecuteStatementCommandInput, ExecuteStatementCommandOutput as __ExecuteStatementCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
4
2
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
|
|
5
5
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
6
6
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExecuteTransactionCommand as __ExecuteTransactionCommand, ExecuteTransactionCommandInput as __ExecuteTransactionCommandInput, ExecuteTransactionCommandOutput as __ExecuteTransactionCommandOutput, ItemResponse, ParameterizedStatement } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
4
2
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
|
|
5
5
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
6
6
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { GetItemCommand as __GetItemCommand, GetItemCommandInput as __GetItemCommandInput, GetItemCommandOutput as __GetItemCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
4
2
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
|
|
5
5
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
6
6
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ExpectedAttributeValue, ItemCollectionMetrics, PutItemCommand as __PutItemCommand, PutItemCommandInput as __PutItemCommandInput, PutItemCommandOutput as __PutItemCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
4
2
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
|
|
5
5
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
6
6
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Condition, QueryCommand as __QueryCommand, QueryCommandInput as __QueryCommandInput, QueryCommandOutput as __QueryCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
4
2
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
|
|
5
5
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
6
6
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Condition, ScanCommand as __ScanCommand, ScanCommandInput as __ScanCommandInput, ScanCommandOutput as __ScanCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
4
2
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
|
|
5
5
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
6
6
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Get, ItemResponse, TransactGetItem, TransactGetItemsCommand as __TransactGetItemsCommand, TransactGetItemsCommandInput as __TransactGetItemsCommandInput, TransactGetItemsCommandOutput as __TransactGetItemsCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
4
2
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
|
|
5
5
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
6
6
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ConditionCheck, Delete, ItemCollectionMetrics, Put, TransactWriteItem, TransactWriteItemsCommand as __TransactWriteItemsCommand, TransactWriteItemsCommandInput as __TransactWriteItemsCommandInput, TransactWriteItemsCommandOutput as __TransactWriteItemsCommandOutput, Update } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
4
2
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
|
|
5
5
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
6
6
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
7
7
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { AttributeValueUpdate, ExpectedAttributeValue, ItemCollectionMetrics, UpdateItemCommand as __UpdateItemCommand, UpdateItemCommandInput as __UpdateItemCommandInput, UpdateItemCommandOutput as __UpdateItemCommandOutput } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
3
|
-
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
4
2
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@smithy/types";
|
|
5
5
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
6
6
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
7
7
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DynamoDBClient } from "@aws-sdk/client-dynamodb";
|
|
2
|
-
import { HttpHandlerOptions as __HttpHandlerOptions } from "@
|
|
2
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
3
3
|
import {
|
|
4
4
|
BatchExecuteStatementCommandInput,
|
|
5
5
|
BatchExecuteStatementCommandOutput,
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
ServiceInputTypes as __ServiceInputTypes,
|
|
5
5
|
ServiceOutputTypes as __ServiceOutputTypes,
|
|
6
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
7
|
import { marshallOptions, unmarshallOptions } from "@aws-sdk/util-dynamodb";
|
|
8
|
+
import { Client as __Client } from "@smithy/smithy-client";
|
|
9
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
10
10
|
import {
|
|
11
11
|
BatchExecuteStatementCommandInput,
|
|
12
12
|
BatchExecuteStatementCommandOutput,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Command as $Command } from "@
|
|
2
|
-
import { MiddlewareStack } from "@
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MiddlewareStack } from "@smithy/types";
|
|
3
3
|
import { KeyNode } from "../commands/utils";
|
|
4
4
|
import { DynamoDBDocumentClientResolvedConfig } from "../DynamoDBDocumentClient";
|
|
5
5
|
export declare abstract class DynamoDBDocumentClientCommand<
|
|
@@ -2,16 +2,17 @@ import {
|
|
|
2
2
|
BatchExecuteStatementCommand as __BatchExecuteStatementCommand,
|
|
3
3
|
BatchExecuteStatementCommandInput as __BatchExecuteStatementCommandInput,
|
|
4
4
|
BatchExecuteStatementCommandOutput as __BatchExecuteStatementCommandOutput,
|
|
5
|
+
BatchStatementError,
|
|
5
6
|
BatchStatementRequest,
|
|
6
7
|
BatchStatementResponse,
|
|
7
8
|
} from "@aws-sdk/client-dynamodb";
|
|
8
|
-
import {
|
|
9
|
+
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
10
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
9
11
|
import {
|
|
10
12
|
Handler,
|
|
11
13
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
12
14
|
MiddlewareStack,
|
|
13
|
-
} from "@
|
|
14
|
-
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
15
|
+
} from "@smithy/types";
|
|
15
16
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
16
17
|
import {
|
|
17
18
|
DynamoDBDocumentClientResolvedConfig,
|
|
@@ -38,8 +39,14 @@ export type BatchExecuteStatementCommandOutput = Pick<
|
|
|
38
39
|
> & {
|
|
39
40
|
Responses?: (Pick<
|
|
40
41
|
BatchStatementResponse,
|
|
41
|
-
Exclude<keyof BatchStatementResponse, "Item">
|
|
42
|
+
Exclude<keyof BatchStatementResponse, "Error" | "Item">
|
|
42
43
|
> & {
|
|
44
|
+
Error?: Pick<
|
|
45
|
+
BatchStatementError,
|
|
46
|
+
Exclude<keyof BatchStatementError, "Item">
|
|
47
|
+
> & {
|
|
48
|
+
Item?: Record<string, NativeAttributeValue>;
|
|
49
|
+
};
|
|
43
50
|
Item?: Record<string, NativeAttributeValue>;
|
|
44
51
|
})[];
|
|
45
52
|
};
|
|
@@ -59,9 +66,18 @@ export declare class BatchExecuteStatementCommand extends DynamoDBDocumentClient
|
|
|
59
66
|
}[];
|
|
60
67
|
protected readonly outputKeyNodes: {
|
|
61
68
|
key: string;
|
|
62
|
-
children:
|
|
63
|
-
|
|
64
|
-
|
|
69
|
+
children: (
|
|
70
|
+
| {
|
|
71
|
+
key: string;
|
|
72
|
+
children: {
|
|
73
|
+
key: string;
|
|
74
|
+
}[];
|
|
75
|
+
}
|
|
76
|
+
| {
|
|
77
|
+
key: string;
|
|
78
|
+
children?: undefined;
|
|
79
|
+
}
|
|
80
|
+
)[];
|
|
65
81
|
}[];
|
|
66
82
|
protected readonly clientCommand: __BatchExecuteStatementCommand;
|
|
67
83
|
readonly middlewareStack: MiddlewareStack<
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
BatchGetItemCommandOutput as __BatchGetItemCommandOutput,
|
|
5
5
|
KeysAndAttributes,
|
|
6
6
|
} from "@aws-sdk/client-dynamodb";
|
|
7
|
-
import {
|
|
7
|
+
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
8
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
8
9
|
import {
|
|
9
10
|
Handler,
|
|
10
11
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
11
12
|
MiddlewareStack,
|
|
12
|
-
} from "@
|
|
13
|
-
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
13
|
+
} from "@smithy/types";
|
|
14
14
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
15
15
|
import {
|
|
16
16
|
DynamoDBDocumentClientResolvedConfig,
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
PutRequest,
|
|
8
8
|
WriteRequest,
|
|
9
9
|
} from "@aws-sdk/client-dynamodb";
|
|
10
|
-
import {
|
|
10
|
+
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
11
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
11
12
|
import {
|
|
12
13
|
Handler,
|
|
13
14
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
14
15
|
MiddlewareStack,
|
|
15
|
-
} from "@
|
|
16
|
-
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
16
|
+
} from "@smithy/types";
|
|
17
17
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
18
18
|
import {
|
|
19
19
|
DynamoDBDocumentClientResolvedConfig,
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
ExpectedAttributeValue,
|
|
6
6
|
ItemCollectionMetrics,
|
|
7
7
|
} from "@aws-sdk/client-dynamodb";
|
|
8
|
-
import {
|
|
8
|
+
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
9
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
9
10
|
import {
|
|
10
11
|
Handler,
|
|
11
12
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
12
13
|
MiddlewareStack,
|
|
13
|
-
} from "@
|
|
14
|
-
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
14
|
+
} from "@smithy/types";
|
|
15
15
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
16
16
|
import {
|
|
17
17
|
DynamoDBDocumentClientResolvedConfig,
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
ExecuteStatementCommandInput as __ExecuteStatementCommandInput,
|
|
4
4
|
ExecuteStatementCommandOutput as __ExecuteStatementCommandOutput,
|
|
5
5
|
} from "@aws-sdk/client-dynamodb";
|
|
6
|
-
import {
|
|
6
|
+
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
7
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
7
8
|
import {
|
|
8
9
|
Handler,
|
|
9
10
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
10
11
|
MiddlewareStack,
|
|
11
|
-
} from "@
|
|
12
|
-
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
12
|
+
} from "@smithy/types";
|
|
13
13
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
14
14
|
import {
|
|
15
15
|
DynamoDBDocumentClientResolvedConfig,
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
ItemResponse,
|
|
6
6
|
ParameterizedStatement,
|
|
7
7
|
} from "@aws-sdk/client-dynamodb";
|
|
8
|
-
import {
|
|
8
|
+
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
9
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
9
10
|
import {
|
|
10
11
|
Handler,
|
|
11
12
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
12
13
|
MiddlewareStack,
|
|
13
|
-
} from "@
|
|
14
|
-
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
14
|
+
} from "@smithy/types";
|
|
15
15
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
16
16
|
import {
|
|
17
17
|
DynamoDBDocumentClientResolvedConfig,
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
GetItemCommandInput as __GetItemCommandInput,
|
|
4
4
|
GetItemCommandOutput as __GetItemCommandOutput,
|
|
5
5
|
} from "@aws-sdk/client-dynamodb";
|
|
6
|
-
import {
|
|
6
|
+
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
7
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
7
8
|
import {
|
|
8
9
|
Handler,
|
|
9
10
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
10
11
|
MiddlewareStack,
|
|
11
|
-
} from "@
|
|
12
|
-
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
12
|
+
} from "@smithy/types";
|
|
13
13
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
14
14
|
import {
|
|
15
15
|
DynamoDBDocumentClientResolvedConfig,
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
PutItemCommandInput as __PutItemCommandInput,
|
|
6
6
|
PutItemCommandOutput as __PutItemCommandOutput,
|
|
7
7
|
} from "@aws-sdk/client-dynamodb";
|
|
8
|
-
import {
|
|
8
|
+
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
9
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
9
10
|
import {
|
|
10
11
|
Handler,
|
|
11
12
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
12
13
|
MiddlewareStack,
|
|
13
|
-
} from "@
|
|
14
|
-
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
14
|
+
} from "@smithy/types";
|
|
15
15
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
16
16
|
import {
|
|
17
17
|
DynamoDBDocumentClientResolvedConfig,
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
QueryCommandInput as __QueryCommandInput,
|
|
5
5
|
QueryCommandOutput as __QueryCommandOutput,
|
|
6
6
|
} from "@aws-sdk/client-dynamodb";
|
|
7
|
-
import {
|
|
7
|
+
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
8
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
8
9
|
import {
|
|
9
10
|
Handler,
|
|
10
11
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
11
12
|
MiddlewareStack,
|
|
12
|
-
} from "@
|
|
13
|
-
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
13
|
+
} from "@smithy/types";
|
|
14
14
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
15
15
|
import {
|
|
16
16
|
DynamoDBDocumentClientResolvedConfig,
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
ScanCommandInput as __ScanCommandInput,
|
|
5
5
|
ScanCommandOutput as __ScanCommandOutput,
|
|
6
6
|
} from "@aws-sdk/client-dynamodb";
|
|
7
|
-
import {
|
|
7
|
+
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
8
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
8
9
|
import {
|
|
9
10
|
Handler,
|
|
10
11
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
11
12
|
MiddlewareStack,
|
|
12
|
-
} from "@
|
|
13
|
-
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
13
|
+
} from "@smithy/types";
|
|
14
14
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
15
15
|
import {
|
|
16
16
|
DynamoDBDocumentClientResolvedConfig,
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
TransactGetItemsCommandInput as __TransactGetItemsCommandInput,
|
|
7
7
|
TransactGetItemsCommandOutput as __TransactGetItemsCommandOutput,
|
|
8
8
|
} from "@aws-sdk/client-dynamodb";
|
|
9
|
-
import {
|
|
9
|
+
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
10
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
10
11
|
import {
|
|
11
12
|
Handler,
|
|
12
13
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
13
14
|
MiddlewareStack,
|
|
14
|
-
} from "@
|
|
15
|
-
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
15
|
+
} from "@smithy/types";
|
|
16
16
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
17
17
|
import {
|
|
18
18
|
DynamoDBDocumentClientResolvedConfig,
|
|
@@ -9,13 +9,13 @@ import {
|
|
|
9
9
|
TransactWriteItemsCommandOutput as __TransactWriteItemsCommandOutput,
|
|
10
10
|
Update,
|
|
11
11
|
} from "@aws-sdk/client-dynamodb";
|
|
12
|
-
import {
|
|
12
|
+
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
13
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
13
14
|
import {
|
|
14
15
|
Handler,
|
|
15
16
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
16
17
|
MiddlewareStack,
|
|
17
|
-
} from "@
|
|
18
|
-
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
18
|
+
} from "@smithy/types";
|
|
19
19
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
20
20
|
import {
|
|
21
21
|
DynamoDBDocumentClientResolvedConfig,
|
|
@@ -6,13 +6,13 @@ import {
|
|
|
6
6
|
UpdateItemCommandInput as __UpdateItemCommandInput,
|
|
7
7
|
UpdateItemCommandOutput as __UpdateItemCommandOutput,
|
|
8
8
|
} from "@aws-sdk/client-dynamodb";
|
|
9
|
-
import {
|
|
9
|
+
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
10
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
10
11
|
import {
|
|
11
12
|
Handler,
|
|
12
13
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
13
14
|
MiddlewareStack,
|
|
14
|
-
} from "@
|
|
15
|
-
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
15
|
+
} from "@smithy/types";
|
|
16
16
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
17
17
|
import {
|
|
18
18
|
DynamoDBDocumentClientResolvedConfig,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { PaginationConfiguration } from "@
|
|
1
|
+
import { PaginationConfiguration } from "@smithy/types";
|
|
2
2
|
import { DynamoDBDocument } from "../DynamoDBDocument";
|
|
3
3
|
import { DynamoDBDocumentClient } from "../DynamoDBDocumentClient";
|
|
4
4
|
export { PaginationConfiguration };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/lib-dynamodb",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.365.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",
|
|
@@ -25,18 +25,18 @@
|
|
|
25
25
|
},
|
|
26
26
|
"license": "Apache-2.0",
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@aws-sdk/util-dynamodb": "3.
|
|
28
|
+
"@aws-sdk/util-dynamodb": "3.365.0",
|
|
29
29
|
"tslib": "^2.5.0"
|
|
30
30
|
},
|
|
31
31
|
"peerDependencies": {
|
|
32
32
|
"@aws-sdk/client-dynamodb": "^3.0.0",
|
|
33
|
-
"@aws-sdk/smithy-client": "^3.0.0",
|
|
34
33
|
"@aws-sdk/types": "^3.0.0"
|
|
35
34
|
},
|
|
36
35
|
"devDependencies": {
|
|
37
|
-
"@aws-sdk/client-dynamodb": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.360.0",
|
|
36
|
+
"@aws-sdk/client-dynamodb": "3.363.0",
|
|
39
37
|
"@aws-sdk/types": "3.357.0",
|
|
38
|
+
"@smithy/smithy-client": "^1.0.3",
|
|
39
|
+
"@smithy/types": "^1.1.0",
|
|
40
40
|
"@tsconfig/recommended": "1.0.1",
|
|
41
41
|
"@types/node": "^14.11.2",
|
|
42
42
|
"concurrently": "7.0.0",
|