@aws-sdk/lib-dynamodb 3.338.0 → 3.341.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 +2 -1
- package/dist-cjs/commands/BatchExecuteStatementCommand.js +4 -1
- package/dist-cjs/commands/BatchGetCommand.js +4 -1
- package/dist-cjs/commands/BatchWriteCommand.js +4 -1
- package/dist-cjs/commands/DeleteCommand.js +4 -1
- package/dist-cjs/commands/ExecuteStatementCommand.js +4 -1
- package/dist-cjs/commands/ExecuteTransactionCommand.js +4 -1
- package/dist-cjs/commands/GetCommand.js +4 -1
- package/dist-cjs/commands/PutCommand.js +4 -1
- package/dist-cjs/commands/QueryCommand.js +4 -1
- package/dist-cjs/commands/ScanCommand.js +4 -1
- package/dist-cjs/commands/TransactGetCommand.js +4 -1
- package/dist-cjs/commands/TransactWriteCommand.js +4 -1
- package/dist-cjs/commands/UpdateCommand.js +4 -1
- package/dist-es/DynamoDBDocumentClient.js +1 -0
- package/dist-es/commands/BatchExecuteStatementCommand.js +2 -0
- package/dist-es/commands/BatchGetCommand.js +2 -0
- package/dist-es/commands/BatchWriteCommand.js +2 -0
- package/dist-es/commands/DeleteCommand.js +2 -0
- package/dist-es/commands/ExecuteStatementCommand.js +2 -0
- package/dist-es/commands/ExecuteTransactionCommand.js +2 -0
- package/dist-es/commands/GetCommand.js +2 -0
- package/dist-es/commands/PutCommand.js +2 -0
- package/dist-es/commands/QueryCommand.js +2 -0
- package/dist-es/commands/ScanCommand.js +2 -0
- package/dist-es/commands/TransactGetCommand.js +2 -0
- package/dist-es/commands/TransactWriteCommand.js +2 -0
- package/dist-es/commands/UpdateCommand.js +2 -0
- package/dist-types/DynamoDBDocument.d.ts +14 -14
- package/dist-types/DynamoDBDocumentClient.d.ts +19 -1
- package/dist-types/baseCommand/DynamoDBDocumentClientCommand.d.ts +2 -0
- package/dist-types/commands/BatchExecuteStatementCommand.d.ts +14 -1
- package/dist-types/commands/BatchGetCommand.d.ts +14 -1
- package/dist-types/commands/BatchWriteCommand.d.ts +14 -1
- package/dist-types/commands/DeleteCommand.d.ts +14 -1
- package/dist-types/commands/ExecuteStatementCommand.d.ts +14 -1
- package/dist-types/commands/ExecuteTransactionCommand.d.ts +14 -1
- package/dist-types/commands/GetCommand.d.ts +14 -1
- package/dist-types/commands/PutCommand.d.ts +14 -1
- package/dist-types/commands/QueryCommand.d.ts +14 -1
- package/dist-types/commands/ScanCommand.d.ts +14 -1
- package/dist-types/commands/TransactGetCommand.d.ts +14 -1
- package/dist-types/commands/TransactWriteCommand.d.ts +14 -1
- package/dist-types/commands/UpdateCommand.d.ts +14 -1
- package/dist-types/pagination/Interfaces.d.ts +7 -0
- package/dist-types/pagination/QueryPaginator.d.ts +11 -0
- package/dist-types/pagination/ScanPaginator.d.ts +11 -0
- package/dist-types/ts3.4/DynamoDBDocumentClient.d.ts +1 -0
- package/dist-types/ts3.4/commands/BatchExecuteStatementCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/BatchGetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/BatchWriteCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/DeleteCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ExecuteStatementCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ExecuteTransactionCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/GetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/PutCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/QueryCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/ScanCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TransactGetCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/TransactWriteCommand.d.ts +2 -0
- package/dist-types/ts3.4/commands/UpdateCommand.d.ts +2 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -0
- package/dist-types/ts3.4/pagination/QueryPaginator.d.ts +1 -0
- package/dist-types/ts3.4/pagination/ScanPaginator.d.ts +1 -0
- package/package.json +5 -5
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DynamoDBDocumentClient = void 0;
|
|
3
|
+
exports.DynamoDBDocumentClient = exports.__Client = void 0;
|
|
4
4
|
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
Object.defineProperty(exports, "__Client", { enumerable: true, get: function () { return smithy_client_1.Client; } });
|
|
5
6
|
class DynamoDBDocumentClient extends smithy_client_1.Client {
|
|
6
7
|
constructor(client, translateConfig) {
|
|
7
8
|
super(client.config);
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BatchExecuteStatementCommand = void 0;
|
|
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("@aws-sdk/smithy-client");
|
|
6
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
5
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
|
+
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
6
9
|
class BatchExecuteStatementCommand extends DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand {
|
|
7
10
|
constructor(input) {
|
|
8
11
|
super();
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BatchGetCommand = void 0;
|
|
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("@aws-sdk/smithy-client");
|
|
6
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
5
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
|
+
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
6
9
|
class BatchGetCommand extends DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand {
|
|
7
10
|
constructor(input) {
|
|
8
11
|
super();
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BatchWriteCommand = void 0;
|
|
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("@aws-sdk/smithy-client");
|
|
6
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
5
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
|
+
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
6
9
|
class BatchWriteCommand extends DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand {
|
|
7
10
|
constructor(input) {
|
|
8
11
|
super();
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DeleteCommand = void 0;
|
|
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("@aws-sdk/smithy-client");
|
|
6
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
5
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
|
+
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
6
9
|
class DeleteCommand extends DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand {
|
|
7
10
|
constructor(input) {
|
|
8
11
|
super();
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ExecuteStatementCommand = void 0;
|
|
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("@aws-sdk/smithy-client");
|
|
6
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
5
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
|
+
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
6
9
|
class ExecuteStatementCommand extends DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand {
|
|
7
10
|
constructor(input) {
|
|
8
11
|
super();
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ExecuteTransactionCommand = void 0;
|
|
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("@aws-sdk/smithy-client");
|
|
6
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
5
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
|
+
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
6
9
|
class ExecuteTransactionCommand extends DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand {
|
|
7
10
|
constructor(input) {
|
|
8
11
|
super();
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GetCommand = void 0;
|
|
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("@aws-sdk/smithy-client");
|
|
6
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
5
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
|
+
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
6
9
|
class GetCommand extends DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand {
|
|
7
10
|
constructor(input) {
|
|
8
11
|
super();
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.PutCommand = void 0;
|
|
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("@aws-sdk/smithy-client");
|
|
6
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
5
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
|
+
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
6
9
|
class PutCommand extends DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand {
|
|
7
10
|
constructor(input) {
|
|
8
11
|
super();
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.QueryCommand = void 0;
|
|
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("@aws-sdk/smithy-client");
|
|
6
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
5
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
|
+
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
6
9
|
class QueryCommand extends DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand {
|
|
7
10
|
constructor(input) {
|
|
8
11
|
super();
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ScanCommand = void 0;
|
|
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("@aws-sdk/smithy-client");
|
|
6
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
5
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
|
+
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
6
9
|
class ScanCommand extends DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand {
|
|
7
10
|
constructor(input) {
|
|
8
11
|
super();
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TransactGetCommand = void 0;
|
|
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("@aws-sdk/smithy-client");
|
|
6
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
5
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
|
+
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
6
9
|
class TransactGetCommand extends DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand {
|
|
7
10
|
constructor(input) {
|
|
8
11
|
super();
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TransactWriteCommand = void 0;
|
|
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("@aws-sdk/smithy-client");
|
|
6
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
5
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
|
+
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
6
9
|
class TransactWriteCommand extends DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand {
|
|
7
10
|
constructor(input) {
|
|
8
11
|
super();
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateCommand = void 0;
|
|
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("@aws-sdk/smithy-client");
|
|
6
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
5
7
|
const DynamoDBDocumentClientCommand_1 = require("../baseCommand/DynamoDBDocumentClientCommand");
|
|
8
|
+
Object.defineProperty(exports, "DynamoDBDocumentClientCommand", { enumerable: true, get: function () { return DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand; } });
|
|
6
9
|
class UpdateCommand extends DynamoDBDocumentClientCommand_1.DynamoDBDocumentClientCommand {
|
|
7
10
|
constructor(input) {
|
|
8
11
|
super();
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { BatchExecuteStatementCommand as __BatchExecuteStatementCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
3
5
|
export class BatchExecuteStatementCommand extends DynamoDBDocumentClientCommand {
|
|
4
6
|
constructor(input) {
|
|
5
7
|
super();
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { BatchGetItemCommand as __BatchGetItemCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
3
5
|
export class BatchGetCommand extends DynamoDBDocumentClientCommand {
|
|
4
6
|
constructor(input) {
|
|
5
7
|
super();
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { BatchWriteItemCommand as __BatchWriteItemCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
3
5
|
export class BatchWriteCommand extends DynamoDBDocumentClientCommand {
|
|
4
6
|
constructor(input) {
|
|
5
7
|
super();
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { DeleteItemCommand as __DeleteItemCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
3
5
|
export class DeleteCommand extends DynamoDBDocumentClientCommand {
|
|
4
6
|
constructor(input) {
|
|
5
7
|
super();
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ExecuteStatementCommand as __ExecuteStatementCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
3
5
|
export class ExecuteStatementCommand extends DynamoDBDocumentClientCommand {
|
|
4
6
|
constructor(input) {
|
|
5
7
|
super();
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ExecuteTransactionCommand as __ExecuteTransactionCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
3
5
|
export class ExecuteTransactionCommand extends DynamoDBDocumentClientCommand {
|
|
4
6
|
constructor(input) {
|
|
5
7
|
super();
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { GetItemCommand as __GetItemCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
3
5
|
export class GetCommand extends DynamoDBDocumentClientCommand {
|
|
4
6
|
constructor(input) {
|
|
5
7
|
super();
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { PutItemCommand as __PutItemCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
3
5
|
export class PutCommand extends DynamoDBDocumentClientCommand {
|
|
4
6
|
constructor(input) {
|
|
5
7
|
super();
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { QueryCommand as __QueryCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
3
5
|
export class QueryCommand extends DynamoDBDocumentClientCommand {
|
|
4
6
|
constructor(input) {
|
|
5
7
|
super();
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { ScanCommand as __ScanCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
3
5
|
export class ScanCommand extends DynamoDBDocumentClientCommand {
|
|
4
6
|
constructor(input) {
|
|
5
7
|
super();
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { TransactGetItemsCommand as __TransactGetItemsCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
3
5
|
export class TransactGetCommand extends DynamoDBDocumentClientCommand {
|
|
4
6
|
constructor(input) {
|
|
5
7
|
super();
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { TransactWriteItemsCommand as __TransactWriteItemsCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
3
5
|
export class TransactWriteCommand extends DynamoDBDocumentClientCommand {
|
|
4
6
|
constructor(input) {
|
|
5
7
|
super();
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import { UpdateItemCommand as __UpdateItemCommand, } from "@aws-sdk/client-dynamodb";
|
|
2
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
3
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
4
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
3
5
|
export class UpdateCommand extends DynamoDBDocumentClientCommand {
|
|
4
6
|
constructor(input) {
|
|
5
7
|
super();
|
|
@@ -58,13 +58,13 @@ import { DynamoDBDocumentClient, TranslateConfig } from "./DynamoDBDocumentClien
|
|
|
58
58
|
* [null, false, 1, "two"]
|
|
59
59
|
* ```
|
|
60
60
|
*
|
|
61
|
-
* @see {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}
|
|
61
|
+
* @see {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb | @aws-sdk/client-dynamodb}
|
|
62
62
|
*/
|
|
63
63
|
export declare class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
64
64
|
static from(client: DynamoDBClient, translateConfig?: TranslateConfig): DynamoDBDocument;
|
|
65
65
|
/**
|
|
66
66
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
67
|
-
* BatchExecuteStatementCommand operation from {@link
|
|
67
|
+
* BatchExecuteStatementCommand operation from {@link @aws-sdk/client-dynamodb#BatchExecuteStatementCommand}.
|
|
68
68
|
*
|
|
69
69
|
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
70
70
|
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
@@ -74,7 +74,7 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
74
74
|
batchExecuteStatement(args: BatchExecuteStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchExecuteStatementCommandOutput) => void): void;
|
|
75
75
|
/**
|
|
76
76
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
77
|
-
* BatchGetItemCommand operation from {@link
|
|
77
|
+
* BatchGetItemCommand operation from {@link @aws-sdk/client-dynamodb#BatchGetItemCommand}.
|
|
78
78
|
*
|
|
79
79
|
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
80
80
|
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
@@ -84,7 +84,7 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
84
84
|
batchGet(args: BatchGetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchGetCommandOutput) => void): void;
|
|
85
85
|
/**
|
|
86
86
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
87
|
-
* BatchWriteItemCommand operation from {@link
|
|
87
|
+
* BatchWriteItemCommand operation from {@link @aws-sdk/client-dynamodb#BatchWriteItemCommand}.
|
|
88
88
|
*
|
|
89
89
|
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
90
90
|
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
@@ -94,7 +94,7 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
94
94
|
batchWrite(args: BatchWriteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: BatchWriteCommandOutput) => void): void;
|
|
95
95
|
/**
|
|
96
96
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
97
|
-
* DeleteItemCommand operation from {@link
|
|
97
|
+
* DeleteItemCommand operation from {@link @aws-sdk/client-dynamodb#DeleteItemCommand}.
|
|
98
98
|
*
|
|
99
99
|
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
100
100
|
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
@@ -104,7 +104,7 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
104
104
|
delete(args: DeleteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteCommandOutput) => void): void;
|
|
105
105
|
/**
|
|
106
106
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
107
|
-
* ExecuteStatementCommand operation from {@link
|
|
107
|
+
* ExecuteStatementCommand operation from {@link @aws-sdk/client-dynamodb#ExecuteStatementCommand}.
|
|
108
108
|
*
|
|
109
109
|
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
110
110
|
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
@@ -114,7 +114,7 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
114
114
|
executeStatement(args: ExecuteStatementCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteStatementCommandOutput) => void): void;
|
|
115
115
|
/**
|
|
116
116
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
117
|
-
* ExecuteTransactionCommand operation from {@link
|
|
117
|
+
* ExecuteTransactionCommand operation from {@link @aws-sdk/client-dynamodb#ExecuteTransactionCommand}.
|
|
118
118
|
*
|
|
119
119
|
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
120
120
|
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
@@ -124,7 +124,7 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
124
124
|
executeTransaction(args: ExecuteTransactionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ExecuteTransactionCommandOutput) => void): void;
|
|
125
125
|
/**
|
|
126
126
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
127
|
-
* GetItemCommand operation from {@link
|
|
127
|
+
* GetItemCommand operation from {@link @aws-sdk/client-dynamodb#GetItemCommand}.
|
|
128
128
|
*
|
|
129
129
|
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
130
130
|
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
@@ -134,7 +134,7 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
134
134
|
get(args: GetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetCommandOutput) => void): void;
|
|
135
135
|
/**
|
|
136
136
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
137
|
-
* PutItemCommand operation from {@link
|
|
137
|
+
* PutItemCommand operation from {@link @aws-sdk/client-dynamodb#PutItemCommand}.
|
|
138
138
|
*
|
|
139
139
|
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
140
140
|
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
@@ -144,7 +144,7 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
144
144
|
put(args: PutCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutCommandOutput) => void): void;
|
|
145
145
|
/**
|
|
146
146
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
147
|
-
* QueryCommand operation from {@link
|
|
147
|
+
* QueryCommand operation from {@link @aws-sdk/client-dynamodb#QueryCommand}.
|
|
148
148
|
*
|
|
149
149
|
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
150
150
|
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
@@ -154,7 +154,7 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
154
154
|
query(args: QueryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: QueryCommandOutput) => void): void;
|
|
155
155
|
/**
|
|
156
156
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
157
|
-
* ScanCommand operation from {@link
|
|
157
|
+
* ScanCommand operation from {@link @aws-sdk/client-dynamodb#ScanCommand}.
|
|
158
158
|
*
|
|
159
159
|
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
160
160
|
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
@@ -164,7 +164,7 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
164
164
|
scan(args: ScanCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ScanCommandOutput) => void): void;
|
|
165
165
|
/**
|
|
166
166
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
167
|
-
* TransactGetItemsCommand operation from {@link
|
|
167
|
+
* TransactGetItemsCommand operation from {@link @aws-sdk/client-dynamodb#TransactGetItemsCommand}.
|
|
168
168
|
*
|
|
169
169
|
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
170
170
|
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
@@ -174,7 +174,7 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
174
174
|
transactGet(args: TransactGetCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TransactGetCommandOutput) => void): void;
|
|
175
175
|
/**
|
|
176
176
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
177
|
-
* TransactWriteItemsCommand operation from {@link
|
|
177
|
+
* TransactWriteItemsCommand operation from {@link @aws-sdk/client-dynamodb#TransactWriteItemsCommand}.
|
|
178
178
|
*
|
|
179
179
|
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
180
180
|
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
@@ -184,7 +184,7 @@ export declare class DynamoDBDocument extends DynamoDBDocumentClient {
|
|
|
184
184
|
transactWrite(args: TransactWriteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TransactWriteCommandOutput) => void): void;
|
|
185
185
|
/**
|
|
186
186
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
187
|
-
* UpdateItemCommand operation from {@link
|
|
187
|
+
* UpdateItemCommand operation from {@link @aws-sdk/client-dynamodb#UpdateItemCommand}.
|
|
188
188
|
*
|
|
189
189
|
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
190
190
|
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
@@ -15,12 +15,28 @@ import { ScanCommandInput, ScanCommandOutput } from "./commands/ScanCommand";
|
|
|
15
15
|
import { TransactGetCommandInput, TransactGetCommandOutput } from "./commands/TransactGetCommand";
|
|
16
16
|
import { TransactWriteCommandInput, TransactWriteCommandOutput } from "./commands/TransactWriteCommand";
|
|
17
17
|
import { UpdateCommandInput, UpdateCommandOutput } from "./commands/UpdateCommand";
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
*/
|
|
21
|
+
export { __Client };
|
|
22
|
+
/**
|
|
23
|
+
* @public
|
|
24
|
+
*/
|
|
18
25
|
export type ServiceInputTypes = __ServiceInputTypes | BatchExecuteStatementCommandInput | BatchGetCommandInput | BatchWriteCommandInput | DeleteCommandInput | ExecuteStatementCommandInput | ExecuteTransactionCommandInput | GetCommandInput | PutCommandInput | QueryCommandInput | ScanCommandInput | TransactGetCommandInput | TransactWriteCommandInput | UpdateCommandInput;
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
19
29
|
export type ServiceOutputTypes = __ServiceOutputTypes | BatchExecuteStatementCommandOutput | BatchGetCommandOutput | BatchWriteCommandOutput | DeleteCommandOutput | ExecuteStatementCommandOutput | ExecuteTransactionCommandOutput | GetCommandOutput | PutCommandOutput | QueryCommandOutput | ScanCommandOutput | TransactGetCommandOutput | TransactWriteCommandOutput | UpdateCommandOutput;
|
|
30
|
+
/**
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
20
33
|
export type TranslateConfig = {
|
|
21
34
|
marshallOptions?: marshallOptions;
|
|
22
35
|
unmarshallOptions?: unmarshallOptions;
|
|
23
36
|
};
|
|
37
|
+
/**
|
|
38
|
+
* @public
|
|
39
|
+
*/
|
|
24
40
|
export type DynamoDBDocumentClientResolvedConfig = DynamoDBClientResolvedConfig & {
|
|
25
41
|
translateConfig?: TranslateConfig;
|
|
26
42
|
};
|
|
@@ -68,7 +84,9 @@ export type DynamoDBDocumentClientResolvedConfig = DynamoDBClientResolvedConfig
|
|
|
68
84
|
* [null, false, 1, "two"]
|
|
69
85
|
* ```
|
|
70
86
|
*
|
|
71
|
-
* @see {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}
|
|
87
|
+
* @see {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb | @aws-sdk/client-dynamodb}
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
72
90
|
*/
|
|
73
91
|
export declare class DynamoDBDocumentClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, DynamoDBDocumentClientResolvedConfig> {
|
|
74
92
|
readonly config: DynamoDBDocumentClientResolvedConfig;
|
|
@@ -5,6 +5,8 @@ import { DynamoDBDocumentClientResolvedConfig } from "../DynamoDBDocumentClient"
|
|
|
5
5
|
/**
|
|
6
6
|
* Base class for Commands in lib-dynamodb used to pass middleware to
|
|
7
7
|
* the underlying DynamoDBClient Commands.
|
|
8
|
+
*
|
|
9
|
+
* @public
|
|
8
10
|
*/
|
|
9
11
|
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> {
|
|
10
12
|
protected abstract readonly inputKeyNodes: KeyNode[];
|
|
@@ -1,13 +1,24 @@
|
|
|
1
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";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
4
5
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
5
6
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
6
14
|
export type BatchExecuteStatementCommandInput = Omit<__BatchExecuteStatementCommandInput, "Statements"> & {
|
|
7
15
|
Statements: (Omit<BatchStatementRequest, "Parameters"> & {
|
|
8
16
|
Parameters?: NativeAttributeValue[];
|
|
9
17
|
})[] | undefined;
|
|
10
18
|
};
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
11
22
|
export type BatchExecuteStatementCommandOutput = Omit<__BatchExecuteStatementCommandOutput, "Responses"> & {
|
|
12
23
|
Responses?: (Omit<BatchStatementResponse, "Item"> & {
|
|
13
24
|
Item?: Record<string, NativeAttributeValue>;
|
|
@@ -15,10 +26,12 @@ export type BatchExecuteStatementCommandOutput = Omit<__BatchExecuteStatementCom
|
|
|
15
26
|
};
|
|
16
27
|
/**
|
|
17
28
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
18
|
-
* BatchExecuteStatementCommand operation from {@link
|
|
29
|
+
* BatchExecuteStatementCommand operation from {@link @aws-sdk/client-dynamodb#BatchExecuteStatementCommand}.
|
|
19
30
|
*
|
|
20
31
|
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
21
32
|
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
33
|
+
*
|
|
34
|
+
* @public
|
|
22
35
|
*/
|
|
23
36
|
export declare class BatchExecuteStatementCommand extends DynamoDBDocumentClientCommand<BatchExecuteStatementCommandInput, BatchExecuteStatementCommandOutput, __BatchExecuteStatementCommandInput, __BatchExecuteStatementCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
24
37
|
readonly input: BatchExecuteStatementCommandInput;
|
|
@@ -1,13 +1,24 @@
|
|
|
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";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
4
5
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
5
6
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
6
14
|
export type BatchGetCommandInput = Omit<__BatchGetItemCommandInput, "RequestItems"> & {
|
|
7
15
|
RequestItems: Record<string, Omit<KeysAndAttributes, "Keys"> & {
|
|
8
16
|
Keys: Record<string, NativeAttributeValue>[] | undefined;
|
|
9
17
|
}> | undefined;
|
|
10
18
|
};
|
|
19
|
+
/**
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
11
22
|
export type BatchGetCommandOutput = Omit<__BatchGetItemCommandOutput, "Responses" | "UnprocessedKeys"> & {
|
|
12
23
|
Responses?: Record<string, Record<string, NativeAttributeValue>[]>;
|
|
13
24
|
UnprocessedKeys?: Record<string, Omit<KeysAndAttributes, "Keys"> & {
|
|
@@ -16,10 +27,12 @@ export type BatchGetCommandOutput = Omit<__BatchGetItemCommandOutput, "Responses
|
|
|
16
27
|
};
|
|
17
28
|
/**
|
|
18
29
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
19
|
-
* BatchGetItemCommand operation from {@link
|
|
30
|
+
* BatchGetItemCommand operation from {@link @aws-sdk/client-dynamodb#BatchGetItemCommand}.
|
|
20
31
|
*
|
|
21
32
|
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
22
33
|
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
34
|
+
*
|
|
35
|
+
* @public
|
|
23
36
|
*/
|
|
24
37
|
export declare class BatchGetCommand extends DynamoDBDocumentClientCommand<BatchGetCommandInput, BatchGetCommandOutput, __BatchGetItemCommandInput, __BatchGetItemCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
25
38
|
readonly input: BatchGetCommandInput;
|
|
@@ -1,8 +1,16 @@
|
|
|
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";
|
|
2
3
|
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MiddlewareStack } from "@aws-sdk/types";
|
|
3
4
|
import { NativeAttributeValue } from "@aws-sdk/util-dynamodb";
|
|
4
5
|
import { DynamoDBDocumentClientCommand } from "../baseCommand/DynamoDBDocumentClientCommand";
|
|
5
6
|
import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DynamoDBDocumentClient";
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export { DynamoDBDocumentClientCommand, $Command };
|
|
11
|
+
/**
|
|
12
|
+
* @public
|
|
13
|
+
*/
|
|
6
14
|
export type BatchWriteCommandInput = Omit<__BatchWriteItemCommandInput, "RequestItems"> & {
|
|
7
15
|
RequestItems: Record<string, (Omit<WriteRequest, "PutRequest" | "DeleteRequest"> & {
|
|
8
16
|
PutRequest?: Omit<PutRequest, "Item"> & {
|
|
@@ -13,6 +21,9 @@ export type BatchWriteCommandInput = Omit<__BatchWriteItemCommandInput, "Request
|
|
|
13
21
|
};
|
|
14
22
|
})[]> | undefined;
|
|
15
23
|
};
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
16
27
|
export type BatchWriteCommandOutput = Omit<__BatchWriteItemCommandOutput, "UnprocessedItems" | "ItemCollectionMetrics"> & {
|
|
17
28
|
UnprocessedItems?: Record<string, (Omit<WriteRequest, "PutRequest" | "DeleteRequest"> & {
|
|
18
29
|
PutRequest?: Omit<PutRequest, "Item"> & {
|
|
@@ -28,10 +39,12 @@ export type BatchWriteCommandOutput = Omit<__BatchWriteItemCommandOutput, "Unpro
|
|
|
28
39
|
};
|
|
29
40
|
/**
|
|
30
41
|
* Accepts native JavaScript types instead of `AttributeValue`s, and calls
|
|
31
|
-
* BatchWriteItemCommand operation from {@link
|
|
42
|
+
* BatchWriteItemCommand operation from {@link @aws-sdk/client-dynamodb#BatchWriteItemCommand}.
|
|
32
43
|
*
|
|
33
44
|
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes
|
|
34
45
|
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects.
|
|
46
|
+
*
|
|
47
|
+
* @public
|
|
35
48
|
*/
|
|
36
49
|
export declare class BatchWriteCommand extends DynamoDBDocumentClientCommand<BatchWriteCommandInput, BatchWriteCommandOutput, __BatchWriteItemCommandInput, __BatchWriteItemCommandOutput, DynamoDBDocumentClientResolvedConfig> {
|
|
37
50
|
readonly input: BatchWriteCommandInput;
|