New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@aws-sdk/lib-dynamodb

Package Overview
Dependencies
Maintainers
5
Versions
402
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@aws-sdk/lib-dynamodb - npm Package Compare versions

Comparing version 3.721.0 to 3.723.0

722

dist-cjs/index.js

@@ -140,3 +140,12 @@ "use strict";

// src/baseCommand/DynamoDBDocumentClientCommand.ts
var _DynamoDBDocumentClientCommand = class _DynamoDBDocumentClientCommand extends import_smithy_client.Command {
var DynamoDBDocumentClientCommand = class _DynamoDBDocumentClientCommand extends import_smithy_client.Command {
static {
__name(this, "DynamoDBDocumentClientCommand");
}
static defaultLogFilterOverrides = {
overrideInputFilterSensitiveLog(...args) {
},
overrideOutputFilterSensitiveLog(...args) {
}
};
addMarshallingMiddleware(configuration) {

@@ -153,4 +162,3 @@ const { marshallOptions: marshallOptions3 = {}, unmarshallOptions: unmarshallOptions3 = {} } = configuration.translateConfig || {};

context.dynamoDbDocumentClientOptions.overrideInputFilterSensitiveLog = () => {
var _a;
return (_a = context.inputFilterSensitiveLog) == null ? void 0 : _a.call(context, input);
return context.inputFilterSensitiveLog?.(input);
};

@@ -172,4 +180,3 @@ return next(args);

context.dynamoDbDocumentClientOptions.overrideOutputFilterSensitiveLog = () => {
var _a;
return (_a = context.outputFilterSensitiveLog) == null ? void 0 : _a.call(context, output);
return context.outputFilterSensitiveLog?.(output);
};

@@ -188,39 +195,36 @@ deserialized.output = unmarshallOutput(deserialized.output, this.outputKeyNodes, unmarshallOptions3);

};
__name(_DynamoDBDocumentClientCommand, "DynamoDBDocumentClientCommand");
_DynamoDBDocumentClientCommand.defaultLogFilterOverrides = {
overrideInputFilterSensitiveLog(...args) {
},
overrideOutputFilterSensitiveLog(...args) {
}
};
var DynamoDBDocumentClientCommand = _DynamoDBDocumentClientCommand;
// src/commands/BatchExecuteStatementCommand.ts
var _BatchExecuteStatementCommand = class _BatchExecuteStatementCommand extends DynamoDBDocumentClientCommand {
var BatchExecuteStatementCommand = class extends DynamoDBDocumentClientCommand {
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
Statements: {
"*": {
Parameters: ALL_MEMBERS
// set/list of AttributeValue
}
this.clientCommand = new import_client_dynamodb.BatchExecuteStatementCommand(this.input);
this.middlewareStack = this.clientCommand.middlewareStack;
}
static {
__name(this, "BatchExecuteStatementCommand");
}
inputKeyNodes = {
Statements: {
"*": {
Parameters: ALL_MEMBERS
// set/list of AttributeValue
}
};
this.outputKeyNodes = {
Responses: {
"*": {
Error: {
Item: ALL_VALUES
// map with AttributeValue
},
}
};
outputKeyNodes = {
Responses: {
"*": {
Error: {
Item: ALL_VALUES
// map with AttributeValue
}
},
Item: ALL_VALUES
// map with AttributeValue
}
};
this.clientCommand = new import_client_dynamodb.BatchExecuteStatementCommand(this.input);
this.middlewareStack = this.clientCommand.middlewareStack;
}
}
};
clientCommand;
middlewareStack;
/**

@@ -236,4 +240,2 @@ * @internal

};
__name(_BatchExecuteStatementCommand, "BatchExecuteStatementCommand");
var BatchExecuteStatementCommand = _BatchExecuteStatementCommand;

@@ -243,35 +245,40 @@ // src/commands/BatchGetCommand.ts

var _BatchGetCommand = class _BatchGetCommand extends DynamoDBDocumentClientCommand {
var BatchGetCommand = class extends DynamoDBDocumentClientCommand {
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
RequestItems: {
"*": {
Keys: {
"*": ALL_VALUES
// map with AttributeValue
}
this.clientCommand = new import_client_dynamodb.BatchGetItemCommand(this.input);
this.middlewareStack = this.clientCommand.middlewareStack;
}
static {
__name(this, "BatchGetCommand");
}
inputKeyNodes = {
RequestItems: {
"*": {
Keys: {
"*": ALL_VALUES
// map with AttributeValue
}
}
};
this.outputKeyNodes = {
Responses: {
"*": {
}
};
outputKeyNodes = {
Responses: {
"*": {
"*": ALL_VALUES
// map with AttributeValue
}
},
UnprocessedKeys: {
"*": {
Keys: {
"*": ALL_VALUES
// map with AttributeValue
}
},
UnprocessedKeys: {
"*": {
Keys: {
"*": ALL_VALUES
// map with AttributeValue
}
}
}
};
this.clientCommand = new import_client_dynamodb.BatchGetItemCommand(this.input);
this.middlewareStack = this.clientCommand.middlewareStack;
}
}
};
clientCommand;
middlewareStack;
/**

@@ -287,4 +294,2 @@ * @internal

};
__name(_BatchGetCommand, "BatchGetCommand");
var BatchGetCommand = _BatchGetCommand;

@@ -294,49 +299,54 @@ // src/commands/BatchWriteCommand.ts

var _BatchWriteCommand = class _BatchWriteCommand extends DynamoDBDocumentClientCommand {
var BatchWriteCommand = class extends DynamoDBDocumentClientCommand {
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
RequestItems: {
this.clientCommand = new import_client_dynamodb.BatchWriteItemCommand(this.input);
this.middlewareStack = this.clientCommand.middlewareStack;
}
static {
__name(this, "BatchWriteCommand");
}
inputKeyNodes = {
RequestItems: {
"*": {
"*": {
"*": {
PutRequest: {
Item: ALL_VALUES
// map with AttributeValue
},
DeleteRequest: {
Key: ALL_VALUES
// map with AttributeValue
}
PutRequest: {
Item: ALL_VALUES
// map with AttributeValue
},
DeleteRequest: {
Key: ALL_VALUES
// map with AttributeValue
}
}
}
};
this.outputKeyNodes = {
UnprocessedItems: {
}
};
outputKeyNodes = {
UnprocessedItems: {
"*": {
"*": {
"*": {
PutRequest: {
Item: ALL_VALUES
// map with AttributeValue
},
DeleteRequest: {
Key: ALL_VALUES
// map with AttributeValue
}
PutRequest: {
Item: ALL_VALUES
// map with AttributeValue
},
DeleteRequest: {
Key: ALL_VALUES
// map with AttributeValue
}
}
},
ItemCollectionMetrics: {
}
},
ItemCollectionMetrics: {
"*": {
"*": {
"*": {
ItemCollectionKey: ALL_VALUES
// map with AttributeValue
}
ItemCollectionKey: ALL_VALUES
// map with AttributeValue
}
}
};
this.clientCommand = new import_client_dynamodb.BatchWriteItemCommand(this.input);
this.middlewareStack = this.clientCommand.middlewareStack;
}
}
};
clientCommand;
middlewareStack;
/**

@@ -352,4 +362,2 @@ * @internal

};
__name(_BatchWriteCommand, "BatchWriteCommand");
var BatchWriteCommand = _BatchWriteCommand;

@@ -359,30 +367,35 @@ // src/commands/DeleteCommand.ts

var _DeleteCommand = class _DeleteCommand extends DynamoDBDocumentClientCommand {
var DeleteCommand = class extends DynamoDBDocumentClientCommand {
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
Key: ALL_VALUES,
// map with AttributeValue
Expected: {
"*": {
Value: SELF,
AttributeValueList: ALL_MEMBERS
// set/list of AttributeValue
}
},
ExpressionAttributeValues: ALL_VALUES
// map with AttributeValue
};
this.outputKeyNodes = {
Attributes: ALL_VALUES,
// map with AttributeValue
ItemCollectionMetrics: {
ItemCollectionKey: ALL_VALUES
// map with AttributeValue
}
};
this.clientCommand = new import_client_dynamodb.DeleteItemCommand(this.input);
this.middlewareStack = this.clientCommand.middlewareStack;
}
static {
__name(this, "DeleteCommand");
}
inputKeyNodes = {
Key: ALL_VALUES,
// map with AttributeValue
Expected: {
"*": {
Value: SELF,
AttributeValueList: ALL_MEMBERS
// set/list of AttributeValue
}
},
ExpressionAttributeValues: ALL_VALUES
// map with AttributeValue
};
outputKeyNodes = {
Attributes: ALL_VALUES,
// map with AttributeValue
ItemCollectionMetrics: {
ItemCollectionKey: ALL_VALUES
// map with AttributeValue
}
};
clientCommand;
middlewareStack;
/**

@@ -398,4 +411,2 @@ * @internal

};
__name(_DeleteCommand, "DeleteCommand");
var DeleteCommand = _DeleteCommand;

@@ -405,21 +416,26 @@ // src/commands/ExecuteStatementCommand.ts

var _ExecuteStatementCommand = class _ExecuteStatementCommand extends DynamoDBDocumentClientCommand {
var ExecuteStatementCommand = class extends DynamoDBDocumentClientCommand {
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
Parameters: ALL_MEMBERS
// set/list of AttributeValue
};
this.outputKeyNodes = {
Items: {
"*": ALL_VALUES
// map with AttributeValue
},
LastEvaluatedKey: ALL_VALUES
// map with AttributeValue
};
this.clientCommand = new import_client_dynamodb.ExecuteStatementCommand(this.input);
this.middlewareStack = this.clientCommand.middlewareStack;
}
static {
__name(this, "ExecuteStatementCommand");
}
inputKeyNodes = {
Parameters: ALL_MEMBERS
// set/list of AttributeValue
};
outputKeyNodes = {
Items: {
"*": ALL_VALUES
// map with AttributeValue
},
LastEvaluatedKey: ALL_VALUES
// map with AttributeValue
};
clientCommand;
middlewareStack;
/**

@@ -435,4 +451,2 @@ * @internal

};
__name(_ExecuteStatementCommand, "ExecuteStatementCommand");
var ExecuteStatementCommand = _ExecuteStatementCommand;

@@ -442,25 +456,30 @@ // src/commands/ExecuteTransactionCommand.ts

var _ExecuteTransactionCommand = class _ExecuteTransactionCommand extends DynamoDBDocumentClientCommand {
var ExecuteTransactionCommand = class extends DynamoDBDocumentClientCommand {
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
TransactStatements: {
"*": {
Parameters: ALL_MEMBERS
// set/list of AttributeValue
}
}
};
this.outputKeyNodes = {
Responses: {
"*": {
Item: ALL_VALUES
// map with AttributeValue
}
}
};
this.clientCommand = new import_client_dynamodb.ExecuteTransactionCommand(this.input);
this.middlewareStack = this.clientCommand.middlewareStack;
}
static {
__name(this, "ExecuteTransactionCommand");
}
inputKeyNodes = {
TransactStatements: {
"*": {
Parameters: ALL_MEMBERS
// set/list of AttributeValue
}
}
};
outputKeyNodes = {
Responses: {
"*": {
Item: ALL_VALUES
// map with AttributeValue
}
}
};
clientCommand;
middlewareStack;
/**

@@ -476,4 +495,2 @@ * @internal

};
__name(_ExecuteTransactionCommand, "ExecuteTransactionCommand");
var ExecuteTransactionCommand = _ExecuteTransactionCommand;

@@ -483,17 +500,22 @@ // src/commands/GetCommand.ts

var _GetCommand = class _GetCommand extends DynamoDBDocumentClientCommand {
var GetCommand = class extends DynamoDBDocumentClientCommand {
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
Key: ALL_VALUES
// map with AttributeValue
};
this.outputKeyNodes = {
Item: ALL_VALUES
// map with AttributeValue
};
this.clientCommand = new import_client_dynamodb.GetItemCommand(this.input);
this.middlewareStack = this.clientCommand.middlewareStack;
}
static {
__name(this, "GetCommand");
}
inputKeyNodes = {
Key: ALL_VALUES
// map with AttributeValue
};
outputKeyNodes = {
Item: ALL_VALUES
// map with AttributeValue
};
clientCommand;
middlewareStack;
/**

@@ -509,4 +531,2 @@ * @internal

};
__name(_GetCommand, "GetCommand");
var GetCommand = _GetCommand;

@@ -516,30 +536,35 @@ // src/commands/PutCommand.ts

var _PutCommand = class _PutCommand extends DynamoDBDocumentClientCommand {
var PutCommand = class extends DynamoDBDocumentClientCommand {
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
Item: ALL_VALUES,
// map with AttributeValue
Expected: {
"*": {
Value: SELF,
AttributeValueList: ALL_MEMBERS
// set/list of AttributeValue
}
},
ExpressionAttributeValues: ALL_VALUES
// map with AttributeValue
};
this.outputKeyNodes = {
Attributes: ALL_VALUES,
// map with AttributeValue
ItemCollectionMetrics: {
ItemCollectionKey: ALL_VALUES
// map with AttributeValue
}
};
this.clientCommand = new import_client_dynamodb.PutItemCommand(this.input);
this.middlewareStack = this.clientCommand.middlewareStack;
}
static {
__name(this, "PutCommand");
}
inputKeyNodes = {
Item: ALL_VALUES,
// map with AttributeValue
Expected: {
"*": {
Value: SELF,
AttributeValueList: ALL_MEMBERS
// set/list of AttributeValue
}
},
ExpressionAttributeValues: ALL_VALUES
// map with AttributeValue
};
outputKeyNodes = {
Attributes: ALL_VALUES,
// map with AttributeValue
ItemCollectionMetrics: {
ItemCollectionKey: ALL_VALUES
// map with AttributeValue
}
};
clientCommand;
middlewareStack;
/**

@@ -555,4 +580,2 @@ * @internal

};
__name(_PutCommand, "PutCommand");
var PutCommand = _PutCommand;

@@ -562,35 +585,40 @@ // src/commands/QueryCommand.ts

var _QueryCommand = class _QueryCommand extends DynamoDBDocumentClientCommand {
var QueryCommand = class extends DynamoDBDocumentClientCommand {
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
KeyConditions: {
"*": {
AttributeValueList: ALL_MEMBERS
// set/list of AttributeValue
}
},
QueryFilter: {
"*": {
AttributeValueList: ALL_MEMBERS
// set/list of AttributeValue
}
},
ExclusiveStartKey: ALL_VALUES,
// map with AttributeValue
ExpressionAttributeValues: ALL_VALUES
// map with AttributeValue
};
this.outputKeyNodes = {
Items: {
"*": ALL_VALUES
// map with AttributeValue
},
LastEvaluatedKey: ALL_VALUES
// map with AttributeValue
};
this.clientCommand = new import_client_dynamodb.QueryCommand(this.input);
this.middlewareStack = this.clientCommand.middlewareStack;
}
static {
__name(this, "QueryCommand");
}
inputKeyNodes = {
KeyConditions: {
"*": {
AttributeValueList: ALL_MEMBERS
// set/list of AttributeValue
}
},
QueryFilter: {
"*": {
AttributeValueList: ALL_MEMBERS
// set/list of AttributeValue
}
},
ExclusiveStartKey: ALL_VALUES,
// map with AttributeValue
ExpressionAttributeValues: ALL_VALUES
// map with AttributeValue
};
outputKeyNodes = {
Items: {
"*": ALL_VALUES
// map with AttributeValue
},
LastEvaluatedKey: ALL_VALUES
// map with AttributeValue
};
clientCommand;
middlewareStack;
/**

@@ -606,4 +634,2 @@ * @internal

};
__name(_QueryCommand, "QueryCommand");
var QueryCommand = _QueryCommand;

@@ -613,29 +639,34 @@ // src/commands/ScanCommand.ts

var _ScanCommand = class _ScanCommand extends DynamoDBDocumentClientCommand {
var ScanCommand = class extends DynamoDBDocumentClientCommand {
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
ScanFilter: {
"*": {
AttributeValueList: ALL_MEMBERS
// set/list of AttributeValue
}
},
ExclusiveStartKey: ALL_VALUES,
// map with AttributeValue
ExpressionAttributeValues: ALL_VALUES
// map with AttributeValue
};
this.outputKeyNodes = {
Items: {
"*": ALL_VALUES
// map with AttributeValue
},
LastEvaluatedKey: ALL_VALUES
// map with AttributeValue
};
this.clientCommand = new import_client_dynamodb.ScanCommand(this.input);
this.middlewareStack = this.clientCommand.middlewareStack;
}
static {
__name(this, "ScanCommand");
}
inputKeyNodes = {
ScanFilter: {
"*": {
AttributeValueList: ALL_MEMBERS
// set/list of AttributeValue
}
},
ExclusiveStartKey: ALL_VALUES,
// map with AttributeValue
ExpressionAttributeValues: ALL_VALUES
// map with AttributeValue
};
outputKeyNodes = {
Items: {
"*": ALL_VALUES
// map with AttributeValue
},
LastEvaluatedKey: ALL_VALUES
// map with AttributeValue
};
clientCommand;
middlewareStack;
/**

@@ -651,4 +682,2 @@ * @internal

};
__name(_ScanCommand, "ScanCommand");
var ScanCommand = _ScanCommand;

@@ -658,27 +687,32 @@ // src/commands/TransactGetCommand.ts

var _TransactGetCommand = class _TransactGetCommand extends DynamoDBDocumentClientCommand {
var TransactGetCommand = class extends DynamoDBDocumentClientCommand {
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
TransactItems: {
"*": {
Get: {
Key: ALL_VALUES
// map with AttributeValue
}
}
}
};
this.outputKeyNodes = {
Responses: {
"*": {
Item: ALL_VALUES
this.clientCommand = new import_client_dynamodb.TransactGetItemsCommand(this.input);
this.middlewareStack = this.clientCommand.middlewareStack;
}
static {
__name(this, "TransactGetCommand");
}
inputKeyNodes = {
TransactItems: {
"*": {
Get: {
Key: ALL_VALUES
// map with AttributeValue
}
}
};
this.clientCommand = new import_client_dynamodb.TransactGetItemsCommand(this.input);
this.middlewareStack = this.clientCommand.middlewareStack;
}
}
};
outputKeyNodes = {
Responses: {
"*": {
Item: ALL_VALUES
// map with AttributeValue
}
}
};
clientCommand;
middlewareStack;
/**

@@ -694,4 +728,2 @@ * @internal

};
__name(_TransactGetCommand, "TransactGetCommand");
var TransactGetCommand = _TransactGetCommand;

@@ -701,49 +733,54 @@ // src/commands/TransactWriteCommand.ts

var _TransactWriteCommand = class _TransactWriteCommand extends DynamoDBDocumentClientCommand {
var TransactWriteCommand = class extends DynamoDBDocumentClientCommand {
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
TransactItems: {
"*": {
ConditionCheck: {
Key: ALL_VALUES,
// map with AttributeValue
ExpressionAttributeValues: ALL_VALUES
// map with AttributeValue
},
Put: {
Item: ALL_VALUES,
// map with AttributeValue
ExpressionAttributeValues: ALL_VALUES
// map with AttributeValue
},
Delete: {
Key: ALL_VALUES,
// map with AttributeValue
ExpressionAttributeValues: ALL_VALUES
// map with AttributeValue
},
Update: {
Key: ALL_VALUES,
// map with AttributeValue
ExpressionAttributeValues: ALL_VALUES
// map with AttributeValue
}
this.clientCommand = new import_client_dynamodb.TransactWriteItemsCommand(this.input);
this.middlewareStack = this.clientCommand.middlewareStack;
}
static {
__name(this, "TransactWriteCommand");
}
inputKeyNodes = {
TransactItems: {
"*": {
ConditionCheck: {
Key: ALL_VALUES,
// map with AttributeValue
ExpressionAttributeValues: ALL_VALUES
// map with AttributeValue
},
Put: {
Item: ALL_VALUES,
// map with AttributeValue
ExpressionAttributeValues: ALL_VALUES
// map with AttributeValue
},
Delete: {
Key: ALL_VALUES,
// map with AttributeValue
ExpressionAttributeValues: ALL_VALUES
// map with AttributeValue
},
Update: {
Key: ALL_VALUES,
// map with AttributeValue
ExpressionAttributeValues: ALL_VALUES
// map with AttributeValue
}
}
};
this.outputKeyNodes = {
ItemCollectionMetrics: {
}
};
outputKeyNodes = {
ItemCollectionMetrics: {
"*": {
"*": {
"*": {
ItemCollectionKey: ALL_VALUES
// map with AttributeValue
}
ItemCollectionKey: ALL_VALUES
// map with AttributeValue
}
}
};
this.clientCommand = new import_client_dynamodb.TransactWriteItemsCommand(this.input);
this.middlewareStack = this.clientCommand.middlewareStack;
}
}
};
clientCommand;
middlewareStack;
/**

@@ -759,4 +796,2 @@ * @internal

};
__name(_TransactWriteCommand, "TransactWriteCommand");
var TransactWriteCommand = _TransactWriteCommand;

@@ -766,35 +801,40 @@ // src/commands/UpdateCommand.ts

var _UpdateCommand = class _UpdateCommand extends DynamoDBDocumentClientCommand {
var UpdateCommand = class extends DynamoDBDocumentClientCommand {
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
Key: ALL_VALUES,
// map with AttributeValue
AttributeUpdates: {
"*": {
Value: SELF
}
},
Expected: {
"*": {
Value: SELF,
AttributeValueList: ALL_MEMBERS
// set/list of AttributeValue
}
},
ExpressionAttributeValues: ALL_VALUES
// map with AttributeValue
};
this.outputKeyNodes = {
Attributes: ALL_VALUES,
// map with AttributeValue
ItemCollectionMetrics: {
ItemCollectionKey: ALL_VALUES
// map with AttributeValue
}
};
this.clientCommand = new import_client_dynamodb.UpdateItemCommand(this.input);
this.middlewareStack = this.clientCommand.middlewareStack;
}
static {
__name(this, "UpdateCommand");
}
inputKeyNodes = {
Key: ALL_VALUES,
// map with AttributeValue
AttributeUpdates: {
"*": {
Value: SELF
}
},
Expected: {
"*": {
Value: SELF,
AttributeValueList: ALL_MEMBERS
// set/list of AttributeValue
}
},
ExpressionAttributeValues: ALL_VALUES
// map with AttributeValue
};
outputKeyNodes = {
Attributes: ALL_VALUES,
// map with AttributeValue
ItemCollectionMetrics: {
ItemCollectionKey: ALL_VALUES
// map with AttributeValue
}
};
clientCommand;
middlewareStack;
/**

@@ -810,10 +850,11 @@ * @internal

};
__name(_UpdateCommand, "UpdateCommand");
var UpdateCommand = _UpdateCommand;
// src/DynamoDBDocumentClient.ts
var _DynamoDBDocumentClient = class _DynamoDBDocumentClient extends import_smithy_client.Client {
var DynamoDBDocumentClient = class _DynamoDBDocumentClient extends import_smithy_client.Client {
static {
__name(this, "DynamoDBDocumentClient");
}
config;
constructor(client, translateConfig) {
var _a;
super(client.config);

@@ -823,3 +864,3 @@ this.config = client.config;

this.middlewareStack = client.middlewareStack;
if ((_a = this.config) == null ? void 0 : _a.cacheMiddleware) {
if (this.config?.cacheMiddleware) {
throw new Error(

@@ -836,7 +877,8 @@ "@aws-sdk/lib-dynamodb - cacheMiddleware=true is not compatible with the DynamoDBDocumentClient. This option must be set to false."

};
__name(_DynamoDBDocumentClient, "DynamoDBDocumentClient");
var DynamoDBDocumentClient = _DynamoDBDocumentClient;
// src/DynamoDBDocument.ts
var _DynamoDBDocument = class _DynamoDBDocument extends DynamoDBDocumentClient {
var DynamoDBDocument = class _DynamoDBDocument extends DynamoDBDocumentClient {
static {
__name(this, "DynamoDBDocument");
}
static from(client, translateConfig) {

@@ -1015,4 +1057,2 @@ return new _DynamoDBDocument(client, translateConfig);

};
__name(_DynamoDBDocument, "DynamoDBDocument");
var DynamoDBDocument = _DynamoDBDocument;

@@ -1019,0 +1059,0 @@ // src/pagination/Interfaces.ts

@@ -5,2 +5,6 @@ import { setFeature } from "@aws-sdk/core";

export class DynamoDBDocumentClientCommand extends $Command {
static defaultLogFilterOverrides = {
overrideInputFilterSensitiveLog(...args) { },
overrideOutputFilterSensitiveLog(...args) { },
};
addMarshallingMiddleware(configuration) {

@@ -44,5 +48,1 @@ const { marshallOptions = {}, unmarshallOptions = {} } = configuration.translateConfig || {};

}
DynamoDBDocumentClientCommand.defaultLogFilterOverrides = {
overrideInputFilterSensitiveLog(...args) { },
overrideOutputFilterSensitiveLog(...args) { },
};

@@ -7,22 +7,25 @@ import { BatchExecuteStatementCommand as __BatchExecuteStatementCommand } from "@aws-sdk/client-dynamodb";

export class BatchExecuteStatementCommand extends DynamoDBDocumentClientCommand {
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
Statements: {
"*": {
Parameters: ALL_MEMBERS,
},
input;
inputKeyNodes = {
Statements: {
"*": {
Parameters: ALL_MEMBERS,
},
};
this.outputKeyNodes = {
Responses: {
"*": {
Error: {
Item: ALL_VALUES,
},
},
};
outputKeyNodes = {
Responses: {
"*": {
Error: {
Item: ALL_VALUES,
},
Item: ALL_VALUES,
},
};
},
};
clientCommand;
middlewareStack;
constructor(input) {
super();
this.input = input;
this.clientCommand = new __BatchExecuteStatementCommand(this.input);

@@ -29,0 +32,0 @@ this.middlewareStack = this.clientCommand.middlewareStack;

@@ -7,28 +7,31 @@ import { BatchGetItemCommand as __BatchGetItemCommand } from "@aws-sdk/client-dynamodb";

export class BatchGetCommand extends DynamoDBDocumentClientCommand {
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
RequestItems: {
"*": {
Keys: {
"*": ALL_VALUES,
},
input;
inputKeyNodes = {
RequestItems: {
"*": {
Keys: {
"*": ALL_VALUES,
},
},
};
this.outputKeyNodes = {
Responses: {
"*": {
},
};
outputKeyNodes = {
Responses: {
"*": {
"*": ALL_VALUES,
},
},
UnprocessedKeys: {
"*": {
Keys: {
"*": ALL_VALUES,
},
},
UnprocessedKeys: {
"*": {
Keys: {
"*": ALL_VALUES,
},
},
},
};
},
};
clientCommand;
middlewareStack;
constructor(input) {
super();
this.input = input;
this.clientCommand = new __BatchGetItemCommand(this.input);

@@ -35,0 +38,0 @@ this.middlewareStack = this.clientCommand.middlewareStack;

@@ -7,40 +7,43 @@ import { BatchWriteItemCommand as __BatchWriteItemCommand } from "@aws-sdk/client-dynamodb";

export class BatchWriteCommand extends DynamoDBDocumentClientCommand {
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
RequestItems: {
input;
inputKeyNodes = {
RequestItems: {
"*": {
"*": {
"*": {
PutRequest: {
Item: ALL_VALUES,
},
DeleteRequest: {
Key: ALL_VALUES,
},
PutRequest: {
Item: ALL_VALUES,
},
DeleteRequest: {
Key: ALL_VALUES,
},
},
},
};
this.outputKeyNodes = {
UnprocessedItems: {
},
};
outputKeyNodes = {
UnprocessedItems: {
"*": {
"*": {
"*": {
PutRequest: {
Item: ALL_VALUES,
},
DeleteRequest: {
Key: ALL_VALUES,
},
PutRequest: {
Item: ALL_VALUES,
},
DeleteRequest: {
Key: ALL_VALUES,
},
},
},
ItemCollectionMetrics: {
},
ItemCollectionMetrics: {
"*": {
"*": {
"*": {
ItemCollectionKey: ALL_VALUES,
},
ItemCollectionKey: ALL_VALUES,
},
},
};
},
};
clientCommand;
middlewareStack;
constructor(input) {
super();
this.input = input;
this.clientCommand = new __BatchWriteItemCommand(this.input);

@@ -47,0 +50,0 @@ this.middlewareStack = this.clientCommand.middlewareStack;

@@ -7,21 +7,24 @@ import { DeleteItemCommand as __DeleteItemCommand } from "@aws-sdk/client-dynamodb";

export class DeleteCommand extends DynamoDBDocumentClientCommand {
input;
inputKeyNodes = {
Key: ALL_VALUES,
Expected: {
"*": {
Value: SELF,
AttributeValueList: ALL_MEMBERS,
},
},
ExpressionAttributeValues: ALL_VALUES,
};
outputKeyNodes = {
Attributes: ALL_VALUES,
ItemCollectionMetrics: {
ItemCollectionKey: ALL_VALUES,
},
};
clientCommand;
middlewareStack;
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
Key: ALL_VALUES,
Expected: {
"*": {
Value: SELF,
AttributeValueList: ALL_MEMBERS,
},
},
ExpressionAttributeValues: ALL_VALUES,
};
this.outputKeyNodes = {
Attributes: ALL_VALUES,
ItemCollectionMetrics: {
ItemCollectionKey: ALL_VALUES,
},
};
this.clientCommand = new __DeleteItemCommand(this.input);

@@ -28,0 +31,0 @@ this.middlewareStack = this.clientCommand.middlewareStack;

@@ -7,14 +7,17 @@ import { ExecuteStatementCommand as __ExecuteStatementCommand } from "@aws-sdk/client-dynamodb";

export class ExecuteStatementCommand extends DynamoDBDocumentClientCommand {
input;
inputKeyNodes = {
Parameters: ALL_MEMBERS,
};
outputKeyNodes = {
Items: {
"*": ALL_VALUES,
},
LastEvaluatedKey: ALL_VALUES,
};
clientCommand;
middlewareStack;
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
Parameters: ALL_MEMBERS,
};
this.outputKeyNodes = {
Items: {
"*": ALL_VALUES,
},
LastEvaluatedKey: ALL_VALUES,
};
this.clientCommand = new __ExecuteStatementCommand(this.input);

@@ -21,0 +24,0 @@ this.middlewareStack = this.clientCommand.middlewareStack;

@@ -7,19 +7,22 @@ import { ExecuteTransactionCommand as __ExecuteTransactionCommand } from "@aws-sdk/client-dynamodb";

export class ExecuteTransactionCommand extends DynamoDBDocumentClientCommand {
input;
inputKeyNodes = {
TransactStatements: {
"*": {
Parameters: ALL_MEMBERS,
},
},
};
outputKeyNodes = {
Responses: {
"*": {
Item: ALL_VALUES,
},
},
};
clientCommand;
middlewareStack;
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
TransactStatements: {
"*": {
Parameters: ALL_MEMBERS,
},
},
};
this.outputKeyNodes = {
Responses: {
"*": {
Item: ALL_VALUES,
},
},
};
this.clientCommand = new __ExecuteTransactionCommand(this.input);

@@ -26,0 +29,0 @@ this.middlewareStack = this.clientCommand.middlewareStack;

@@ -7,11 +7,14 @@ import { GetItemCommand as __GetItemCommand } from "@aws-sdk/client-dynamodb";

export class GetCommand extends DynamoDBDocumentClientCommand {
input;
inputKeyNodes = {
Key: ALL_VALUES,
};
outputKeyNodes = {
Item: ALL_VALUES,
};
clientCommand;
middlewareStack;
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
Key: ALL_VALUES,
};
this.outputKeyNodes = {
Item: ALL_VALUES,
};
this.clientCommand = new __GetItemCommand(this.input);

@@ -18,0 +21,0 @@ this.middlewareStack = this.clientCommand.middlewareStack;

@@ -7,21 +7,24 @@ import { PutItemCommand as __PutItemCommand } from "@aws-sdk/client-dynamodb";

export class PutCommand extends DynamoDBDocumentClientCommand {
input;
inputKeyNodes = {
Item: ALL_VALUES,
Expected: {
"*": {
Value: SELF,
AttributeValueList: ALL_MEMBERS,
},
},
ExpressionAttributeValues: ALL_VALUES,
};
outputKeyNodes = {
Attributes: ALL_VALUES,
ItemCollectionMetrics: {
ItemCollectionKey: ALL_VALUES,
},
};
clientCommand;
middlewareStack;
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
Item: ALL_VALUES,
Expected: {
"*": {
Value: SELF,
AttributeValueList: ALL_MEMBERS,
},
},
ExpressionAttributeValues: ALL_VALUES,
};
this.outputKeyNodes = {
Attributes: ALL_VALUES,
ItemCollectionMetrics: {
ItemCollectionKey: ALL_VALUES,
},
};
this.clientCommand = new __PutItemCommand(this.input);

@@ -28,0 +31,0 @@ this.middlewareStack = this.clientCommand.middlewareStack;

@@ -7,25 +7,28 @@ import { QueryCommand as __QueryCommand } from "@aws-sdk/client-dynamodb";

export class QueryCommand extends DynamoDBDocumentClientCommand {
input;
inputKeyNodes = {
KeyConditions: {
"*": {
AttributeValueList: ALL_MEMBERS,
},
},
QueryFilter: {
"*": {
AttributeValueList: ALL_MEMBERS,
},
},
ExclusiveStartKey: ALL_VALUES,
ExpressionAttributeValues: ALL_VALUES,
};
outputKeyNodes = {
Items: {
"*": ALL_VALUES,
},
LastEvaluatedKey: ALL_VALUES,
};
clientCommand;
middlewareStack;
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
KeyConditions: {
"*": {
AttributeValueList: ALL_MEMBERS,
},
},
QueryFilter: {
"*": {
AttributeValueList: ALL_MEMBERS,
},
},
ExclusiveStartKey: ALL_VALUES,
ExpressionAttributeValues: ALL_VALUES,
};
this.outputKeyNodes = {
Items: {
"*": ALL_VALUES,
},
LastEvaluatedKey: ALL_VALUES,
};
this.clientCommand = new __QueryCommand(this.input);

@@ -32,0 +35,0 @@ this.middlewareStack = this.clientCommand.middlewareStack;

@@ -7,20 +7,23 @@ import { ScanCommand as __ScanCommand } from "@aws-sdk/client-dynamodb";

export class ScanCommand extends DynamoDBDocumentClientCommand {
input;
inputKeyNodes = {
ScanFilter: {
"*": {
AttributeValueList: ALL_MEMBERS,
},
},
ExclusiveStartKey: ALL_VALUES,
ExpressionAttributeValues: ALL_VALUES,
};
outputKeyNodes = {
Items: {
"*": ALL_VALUES,
},
LastEvaluatedKey: ALL_VALUES,
};
clientCommand;
middlewareStack;
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
ScanFilter: {
"*": {
AttributeValueList: ALL_MEMBERS,
},
},
ExclusiveStartKey: ALL_VALUES,
ExpressionAttributeValues: ALL_VALUES,
};
this.outputKeyNodes = {
Items: {
"*": ALL_VALUES,
},
LastEvaluatedKey: ALL_VALUES,
};
this.clientCommand = new __ScanCommand(this.input);

@@ -27,0 +30,0 @@ this.middlewareStack = this.clientCommand.middlewareStack;

@@ -7,21 +7,24 @@ import { TransactGetItemsCommand as __TransactGetItemsCommand } from "@aws-sdk/client-dynamodb";

export class TransactGetCommand extends DynamoDBDocumentClientCommand {
input;
inputKeyNodes = {
TransactItems: {
"*": {
Get: {
Key: ALL_VALUES,
},
},
},
};
outputKeyNodes = {
Responses: {
"*": {
Item: ALL_VALUES,
},
},
};
clientCommand;
middlewareStack;
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
TransactItems: {
"*": {
Get: {
Key: ALL_VALUES,
},
},
},
};
this.outputKeyNodes = {
Responses: {
"*": {
Item: ALL_VALUES,
},
},
};
this.clientCommand = new __TransactGetItemsCommand(this.input);

@@ -28,0 +31,0 @@ this.middlewareStack = this.clientCommand.middlewareStack;

@@ -7,36 +7,39 @@ import { TransactWriteItemsCommand as __TransactWriteItemsCommand } from "@aws-sdk/client-dynamodb";

export class TransactWriteCommand extends DynamoDBDocumentClientCommand {
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
TransactItems: {
"*": {
ConditionCheck: {
Key: ALL_VALUES,
ExpressionAttributeValues: ALL_VALUES,
},
Put: {
Item: ALL_VALUES,
ExpressionAttributeValues: ALL_VALUES,
},
Delete: {
Key: ALL_VALUES,
ExpressionAttributeValues: ALL_VALUES,
},
Update: {
Key: ALL_VALUES,
ExpressionAttributeValues: ALL_VALUES,
},
input;
inputKeyNodes = {
TransactItems: {
"*": {
ConditionCheck: {
Key: ALL_VALUES,
ExpressionAttributeValues: ALL_VALUES,
},
Put: {
Item: ALL_VALUES,
ExpressionAttributeValues: ALL_VALUES,
},
Delete: {
Key: ALL_VALUES,
ExpressionAttributeValues: ALL_VALUES,
},
Update: {
Key: ALL_VALUES,
ExpressionAttributeValues: ALL_VALUES,
},
},
};
this.outputKeyNodes = {
ItemCollectionMetrics: {
},
};
outputKeyNodes = {
ItemCollectionMetrics: {
"*": {
"*": {
"*": {
ItemCollectionKey: ALL_VALUES,
},
ItemCollectionKey: ALL_VALUES,
},
},
};
},
};
clientCommand;
middlewareStack;
constructor(input) {
super();
this.input = input;
this.clientCommand = new __TransactWriteItemsCommand(this.input);

@@ -43,0 +46,0 @@ this.middlewareStack = this.clientCommand.middlewareStack;

@@ -7,26 +7,29 @@ import { UpdateItemCommand as __UpdateItemCommand } from "@aws-sdk/client-dynamodb";

export class UpdateCommand extends DynamoDBDocumentClientCommand {
input;
inputKeyNodes = {
Key: ALL_VALUES,
AttributeUpdates: {
"*": {
Value: SELF,
},
},
Expected: {
"*": {
Value: SELF,
AttributeValueList: ALL_MEMBERS,
},
},
ExpressionAttributeValues: ALL_VALUES,
};
outputKeyNodes = {
Attributes: ALL_VALUES,
ItemCollectionMetrics: {
ItemCollectionKey: ALL_VALUES,
},
};
clientCommand;
middlewareStack;
constructor(input) {
super();
this.input = input;
this.inputKeyNodes = {
Key: ALL_VALUES,
AttributeUpdates: {
"*": {
Value: SELF,
},
},
Expected: {
"*": {
Value: SELF,
AttributeValueList: ALL_MEMBERS,
},
},
ExpressionAttributeValues: ALL_VALUES,
};
this.outputKeyNodes = {
Attributes: ALL_VALUES,
ItemCollectionMetrics: {
ItemCollectionKey: ALL_VALUES,
},
};
this.clientCommand = new __UpdateItemCommand(this.input);

@@ -33,0 +36,0 @@ this.middlewareStack = this.clientCommand.middlewareStack;

import { Client as __Client } from "@smithy/smithy-client";
export { __Client };
export class DynamoDBDocumentClient extends __Client {
config;
constructor(client, translateConfig) {

@@ -5,0 +6,0 @@ super(client.config);

{
"name": "@aws-sdk/lib-dynamodb",
"version": "3.721.0",
"version": "3.723.0",
"description": "The document client simplifies working with items in Amazon DynamoDB by abstracting away the notion of attribute values.",

@@ -23,3 +23,3 @@ "main": "./dist-cjs/index.js",

"engines": {
"node": ">=16.0.0"
"node": ">=18.0.0"
},

@@ -32,20 +32,20 @@ "author": {

"dependencies": {
"@aws-sdk/core": "3.716.0",
"@aws-sdk/util-dynamodb": "3.721.0",
"@smithy/core": "^2.5.5",
"@smithy/smithy-client": "^3.5.1",
"@smithy/types": "^3.7.2",
"@aws-sdk/core": "3.723.0",
"@aws-sdk/util-dynamodb": "3.723.0",
"@smithy/core": "^3.0.0",
"@smithy/smithy-client": "^4.0.0",
"@smithy/types": "^4.0.0",
"tslib": "^2.6.2"
},
"peerDependencies": {
"@aws-sdk/client-dynamodb": "^3.721.0"
"@aws-sdk/client-dynamodb": "^3.723.0"
},
"devDependencies": {
"@aws-sdk/client-dynamodb": "3.721.0",
"@aws-sdk/client-dynamodb": "3.723.0",
"@tsconfig/recommended": "1.0.1",
"@types/node": "^16.18.96",
"@types/node": "^18.19.69",
"concurrently": "7.0.0",
"downlevel-dts": "0.10.1",
"rimraf": "3.0.2",
"typescript": "~4.9.5"
"typescript": "~5.2.2"
},

@@ -52,0 +52,0 @@ "typesVersions": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc