@aws-sdk/lib-dynamodb
Advanced tools
Comparing version 3.33.0 to 3.34.0
@@ -6,2 +6,13 @@ # Change Log | ||
# [3.34.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.33.0...v3.34.0) (2021-09-24) | ||
### Features | ||
* **non-clients:** remove comments from transpiled JS files ([#2813](https://github.com/aws/aws-sdk-js-v3/issues/2813)) ([e6fc7f3](https://github.com/aws/aws-sdk-js-v3/commit/e6fc7f3e0fa74785590ac19e7ed143c916bb9b6e)) | ||
# [3.33.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.32.0...v3.33.0) (2021-09-21) | ||
@@ -8,0 +19,0 @@ |
@@ -7,9 +7,2 @@ "use strict"; | ||
const smithy_client_1 = require("@aws-sdk/smithy-client"); | ||
/** | ||
* Accepts native JavaScript types instead of `AttributeValue`s, and calls | ||
* BatchExecuteStatementCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}. | ||
* | ||
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes | ||
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. | ||
*/ | ||
class BatchExecuteStatementCommand extends smithy_client_1.Command { | ||
@@ -22,5 +15,2 @@ constructor(input) { | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -40,2 +30,2 @@ const { marshallOptions, unmarshallOptions } = configuration.translateConfig || {}; | ||
exports.BatchExecuteStatementCommand = BatchExecuteStatementCommand; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQmF0Y2hFeGVjdXRlU3RhdGVtZW50Q29tbWFuZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21tYW5kcy9CYXRjaEV4ZWN1dGVTdGF0ZW1lbnRDb21tYW5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7O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IHVubWFyc2hhbGxPcHRpb25zKSxcbiAgICAgIH07XG4gICAgfTtcbiAgfVxufVxuIl19 |
@@ -7,9 +7,2 @@ "use strict"; | ||
const smithy_client_1 = require("@aws-sdk/smithy-client"); | ||
/** | ||
* Accepts native JavaScript types instead of `AttributeValue`s, and calls | ||
* BatchGetItemCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}. | ||
* | ||
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes | ||
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. | ||
*/ | ||
class BatchGetCommand extends smithy_client_1.Command { | ||
@@ -37,5 +30,2 @@ constructor(input) { | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -55,2 +45,2 @@ const { marshallOptions, unmarshallOptions } = configuration.translateConfig || {}; | ||
exports.BatchGetCommand = BatchGetCommand; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiQmF0Y2hHZXRDb21tYW5kLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2NvbW1hbmRzL0JhdGNoR2V0Q29tbWFuZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFDQSw2Q0FBb0U7QUFDcEUsOERBS2tDO0FBQ2xDLDBEQUE2RDtBQW1DN0Q7Ozs7OztHQU1HO0FBQ0gsTUFBYSxlQUFnQixTQUFRLHVCQUlwQztJQW1CQyxZQUFxQixLQUEyQjtRQUM5QyxLQUFLLEVBQUUsQ0FBQztRQURXLFVBQUssR0FBTCxLQUFLLENBQXNCO1FBbEIvQixrQkFBYSxHQUFHO1lBQy9CO2dCQUNFLEdBQUcsRUFBRSxjQUFjO2dCQUNuQixRQUFRLEVBQUU7b0JBQ1IsUUFBUSxFQUFFLENBQUMsRUFBRSxHQUFHLEVBQUUsTU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mFuc2xhdGVDb25maWcgfHwge307XG4gICAgY29uc3QgY29tbWFuZCA9IG5ldyBfX0JhdGNoR2V0SXRlbUNvbW1hbmQobWFyc2hhbGxJbnB1dCh0aGlzLmlucHV0LCB0aGlzLmlucHV0S2V5Tm9kZXMsIG1hcnNoYWxsT3B0aW9ucykpO1xuICAgIGNvbnN0IGhhbmRsZXIgPSBjb21tYW5kLnJlc29sdmVNaWRkbGV3YXJlKGNsaWVudFN0YWNrLCBjb25maWd1cmF0aW9uLCBvcHRpb25zKTtcblxuICAgIHJldHVybiBhc3luYyAoKSA9PiB7XG4gICAgICBjb25zdCBkYXRhID0gYXdhaXQgaGFuZGxlcihjb21tYW5kKTtcbiAgICAgIHJldHVybiB7XG4gICAgICAgIC4uLmRhdGEsXG4gICAgICAgIG91dHB1dDogdW5tYXJzaGFsbE91dHB1dChkYXRhLm91dHB1dCwgdGhpcy5vdXRwdXRLZXlOb2RlcywgdW5tYXJzaGFsbE9wdGlvbnMpLFxuICAgICAgfTtcbiAgICB9O1xuICB9XG59XG4iXX0= |
@@ -7,9 +7,2 @@ "use strict"; | ||
const smithy_client_1 = require("@aws-sdk/smithy-client"); | ||
/** | ||
* Accepts native JavaScript types instead of `AttributeValue`s, and calls | ||
* BatchWriteItemCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}. | ||
* | ||
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes | ||
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. | ||
*/ | ||
class BatchWriteCommand extends smithy_client_1.Command { | ||
@@ -48,5 +41,2 @@ constructor(input) { | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -66,2 +56,2 @@ const { marshallOptions, unmarshallOptions } = configuration.translateConfig || {}; | ||
exports.BatchWriteCommand = BatchWriteCommand; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozL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tbWFuZCk7XG4gICAgICByZXR1cm4ge1xuICAgICAgICAuLi5kYXRhLFxuICAgICAgICBvdXRwdXQ6IHVubWFyc2hhbGxPdXRwdXQoZGF0YS5vdXRwdXQsIHRoaXMub3V0cHV0S2V5Tm9kZXMsIHVubWFyc2hhbGxPcHRpb25zKSxcbiAgICAgIH07XG4gICAgfTtcbiAgfVxufVxuIl19 |
@@ -7,9 +7,2 @@ "use strict"; | ||
const smithy_client_1 = require("@aws-sdk/smithy-client"); | ||
/** | ||
* Accepts native JavaScript types instead of `AttributeValue`s, and calls | ||
* DeleteItemCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}. | ||
* | ||
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes | ||
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. | ||
*/ | ||
class DeleteCommand extends smithy_client_1.Command { | ||
@@ -34,5 +27,2 @@ constructor(input) { | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -52,2 +42,2 @@ const { marshallOptions, unmarshallOptions } = configuration.translateConfig || {}; | ||
exports.DeleteCommand = DeleteCommand; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRGVsZXRlQ29tbWFuZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21tYW5kcy9EZWxldGVDb21tYW5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUNBLDZDQUFvRTtBQUNwRSw4REFNa0M7QUFDbEMsMERBQTZEO0FBc0I3RDs7Ozs7O0dBTUc7QUFDSCxNQUFhLGFBQWMsU0FBUSx1QkFJbEM7SUFnQkMsWUFBcUIsS0FBeUI7UUFDNUMsS0FBSyxFQUFFLENBQUM7UUFEVyxVQUFLLEdBQUwsS0FBSyxDQUFvQjtRQWY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ChkYXRhLm91dHB1dCwgdGhpcy5vdXRwdXRLZXlOb2RlcywgdW5tYXJzaGFsbE9wdGlvbnMpLFxuICAgICAgfTtcbiAgICB9O1xuICB9XG59XG4iXX0= |
@@ -7,9 +7,2 @@ "use strict"; | ||
const smithy_client_1 = require("@aws-sdk/smithy-client"); | ||
/** | ||
* Accepts native JavaScript types instead of `AttributeValue`s, and calls | ||
* ExecuteStatementCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}. | ||
* | ||
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes | ||
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. | ||
*/ | ||
class ExecuteStatementCommand extends smithy_client_1.Command { | ||
@@ -22,5 +15,2 @@ constructor(input) { | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -40,2 +30,2 @@ const { marshallOptions, unmarshallOptions } = configuration.translateConfig || {}; | ||
exports.ExecuteStatementCommand = ExecuteStatementCommand; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRXhlY3V0ZVN0YXRlbWVudENvbW1hbmQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29tbWFuZHMvRXhlY3V0ZVN0YXRlbWVudENvbW1hbmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQ0EsNkNBQW9FO0FBQ3BFLDhEQUlrQztBQUNsQywwREFBNkQ7QUFjN0Q7Ozs7OztHQU1HO0FBQ0gsTUFBYSx1QkFBd0IsU0FBUSx1QkFJNUM7SUFJQyxZQUFxQixLQUFtQztRQUN0RCxLQUFLLEVBQUUsQ0FBQztRQURXLFVBQUssR0FBTCxLQUFLLENBQThCO1FBSHZDLGtCQUFhLEdBQUcsQ0FBQyxFQUFFLEdBQUcsRUFBRSxZQUFZLEVBQU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aGFsbE9wdGlvbnMgfSA9IGNvbmZpZ3VyYXRpb24udHJhbnNsYXRlQ29uZmlnIHx8IHt9O1xuICAgIGNvbnN0IGNvbW1hbmQgPSBuZXcgX19FeGVjdXRlU3RhdGVtZW50Q29tbWFuZChtYXJzaGFsbElucHV0KHRoaXMuaW5wdXQsIHRoaXMuaW5wdXRLZXlOb2RlcywgbWFyc2hhbGxPcHRpb25zKSk7XG4gICAgY29uc3QgaGFuZGxlciA9IGNvbW1hbmQucmVzb2x2ZU1pZGRsZXdhcmUoY2xpZW50U3RhY2ssIGNvbmZpZ3VyYXRpb24sIG9wdGlvbnMpO1xuXG4gICAgcmV0dXJuIGFzeW5jICgpID0+IHtcbiAgICAgIGNvbnN0IGRhdGEgPSBhd2FpdCBoYW5kbGVyKGNvbW1hbmQpO1xuICAgICAgcmV0dXJuIHtcbiAgICAgICAgLi4uZGF0YSxcbiAgICAgICAgb3V0cHV0OiB1bm1hcnNoYWxsT3V0cHV0KGRhdGEub3V0cHV0LCB0aGlzLm91dHB1dEtleU5vZGVzLCB1bm1hcnNoYWxsT3B0aW9ucyksXG4gICAgICB9O1xuICAgIH07XG4gIH1cbn1cbiJdfQ== |
@@ -7,9 +7,2 @@ "use strict"; | ||
const smithy_client_1 = require("@aws-sdk/smithy-client"); | ||
/** | ||
* Accepts native JavaScript types instead of `AttributeValue`s, and calls | ||
* ExecuteTransactionCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}. | ||
* | ||
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes | ||
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. | ||
*/ | ||
class ExecuteTransactionCommand extends smithy_client_1.Command { | ||
@@ -22,5 +15,2 @@ constructor(input) { | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -40,2 +30,2 @@ const { marshallOptions, unmarshallOptions } = configuration.translateConfig || {};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ID0gYXdhaXQgaGFuZGxlcihjb21tYW5kKTtcbiAgICAgIHJldHVybiB7XG4gICAgICAgIC4uLmRhdGEsXG4gICAgICAgIG91dHB1dDogdW5tYXJzaGFsbE91dHB1dChkYXRhLm91dHB1dCwgdGhpcy5vdXRwdXRLZXlOb2RlcywgdW5tYXJzaGFsbE9wdGlvbnMpLFxuICAgICAgfTtcbiAgICB9O1xuICB9XG59XG4iXX0= |
@@ -7,9 +7,2 @@ "use strict"; | ||
const smithy_client_1 = require("@aws-sdk/smithy-client"); | ||
/** | ||
* Accepts native JavaScript types instead of `AttributeValue`s, and calls | ||
* GetItemCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}. | ||
* | ||
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes | ||
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. | ||
*/ | ||
class GetCommand extends smithy_client_1.Command { | ||
@@ -22,5 +15,2 @@ constructor(input) { | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -40,2 +30,2 @@ const { marshallOptions, unmarshallOptions } = configuration.translateConfig || {}; | ||
exports.GetCommand = GetCommand; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiR2V0Q29tbWFuZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21tYW5kcy9HZXRDb21tYW5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUNBLDZDQUFvRTtBQUNwRSw4REFJa0M7QUFDbEMsMERBQTZEO0FBWTdEOzs7Ozs7R0FNRztBQUNILE1BQWEsVUFBVyxTQUFRLHVCQUFpRjtJQUkvRyxZQUFxQixLQUFzQjtRQUN6QyxLQUFLLEVBQUUsQ0FBQztRQURXLFVBQUssR0FBTCxLQUFLLENBQWlCO1FBSD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1xuICAgIH07XG4gIH1cbn1cbiJdfQ== |
@@ -7,9 +7,2 @@ "use strict"; | ||
const smithy_client_1 = require("@aws-sdk/smithy-client"); | ||
/** | ||
* Accepts native JavaScript types instead of `AttributeValue`s, and calls | ||
* PutItemCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}. | ||
* | ||
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes | ||
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. | ||
*/ | ||
class PutCommand extends smithy_client_1.Command { | ||
@@ -34,5 +27,2 @@ constructor(input) { | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -52,2 +42,2 @@ const { marshallOptions, unmarshallOptions } = configuration.translateConfig || {}; | ||
exports.PutCommand = PutCommand; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUHV0Q29tbWFuZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21tYW5kcy9QdXRDb21tYW5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUNBLDZDQUFvRTtBQUNwRSw4REFNa0M7QUFDbEMsMERBQTZEO0FBc0I3RDs7Ozs7O0dBTUc7QUFDSCxNQUFhLFVBQVcsU0FBUSx1QkFBaUY7SUFnQi9HLFlBQXFCLEtBQXNCO1FBQ3pDLEtBQUssRUFBRSxDQUFDO1FBRFcsVUFBSyxHQUFMLEtBQUssQ0FBaUI7UUFmMUIsa0JBQWEsR0FBRztZQUMvQixFQUFFLEdBQUcsRUFBRSxNQUFNLEVBQUU7WUFDZjtnQkFDRSxHQUFHLEVBQUUsVUFBVTtnQkFDZixRQUFRLEVBQUU7b0JBQ1IsUUFBUSxFQUFFLENBQUMsRUFBRSxHQUFHLEVBQUUsT0FBTyxFQUFFLEVBQUUsR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bWVudENsaWVudFJlc29sdmVkQ29uZmlnLFxuICAgIG9wdGlvbnM/OiBfX0h0dHBIYW5kbGVyT3B0aW9uc1xuICApOiBIYW5kbGVyPFB1dENvbW1hbmRJbnB1dCwgUHV0Q29tbWFuZE91dHB1dD4ge1xuICAgIGNvbnN0IHsgbWFyc2hhbGxPcHRpb25zLCB1bm1hcnNoYWxsT3B0aW9ucyB9ID0gY29uZmlndXJhdGlvbi50cmFuc2xhdGVDb25maWcgfHwge307XG4gICAgY29uc3QgY29tbWFuZCA9IG5ldyBfX1B1dEl0ZW1Db21tYW5kKG1hcnNoYWxsSW5wdXQodGhpcy5pbnB1dCwgdGhpcy5pbnB1dEtleU5vZGVzLCBtYXJzaGFsbE9wdGlvbnMpKTtcbiAgICBjb25zdCBoYW5kbGVyID0gY29tbWFuZC5yZXNvbHZlTWlkZGxld2FyZShjbGllbnRTdGFjaywgY29uZmlndXJhdGlvbiwgb3B0aW9ucyk7XG5cbiAgICByZXR1cm4gYXN5bmMgKCkgPT4ge1xuICAgICAgY29uc3QgZGF0YSA9IGF3YWl0IGhhbmRsZXIoY29tbWFuZCk7XG4gICAgICByZXR1cm4ge1xuICAgICAgICAuLi5kYXRhLFxuICAgICAgICBvdXRwdXQ6IHVubWFyc2hhbGxPdXRwdXQoZGF0YS5vdXRwdXQsIHRoaXMub3V0cHV0S2V5Tm9kZXMsIHVubWFyc2hhbGxPcHRpb25zKSxcbiAgICAgIH07XG4gICAgfTtcbiAgfVxufVxuIl19 |
@@ -7,9 +7,2 @@ "use strict"; | ||
const smithy_client_1 = require("@aws-sdk/smithy-client"); | ||
/** | ||
* Accepts native JavaScript types instead of `AttributeValue`s, and calls | ||
* QueryCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}. | ||
* | ||
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes | ||
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. | ||
*/ | ||
class QueryCommand extends smithy_client_1.Command { | ||
@@ -37,5 +30,2 @@ constructor(input) { | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -55,2 +45,2 @@ const { marshallOptions, unmarshallOptions } = configuration.translateConfig || {}; | ||
exports.QueryCommand = QueryCommand; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiUXVlcnlDb21tYW5kLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vc3JjL2NvbW1hbmRzL1F1ZXJ5Q29tbWFuZC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7QUFDQSw2Q0FBb0U7QUFDcEUsOERBS2tDO0FBQ2xDLDBEQUE2RDtBQTZCN0Q7Ozs7OztHQU1HO0FBQ0gsTUFBYSxZQUFhLFNBQVEsdUJBSWpDO0lBbUJDLFlBQXFCLEtBQXdCO1FBQzNDLEtBQUssRUFBRSxDQUFDO1FBRFcsVUFBSyxHQUFMLEtBQUssQ0FBbUI7UUFsQjVCLGtCQUFhLEdBQUc7WUFDL0I7Z0JBQ0UsR0FBRyxFQUFFLGVBQWU7Z0JBQ3BCLFFBQVEsRUFBRTtvQkFDUixRQUFRLEVBQUUsQ0FBQyxFQUFFLEdBQUcsRUFBRSxvQkFBb0IsRUFBRSxDQUFDO2lCQUMxQzthQUNGO1lBQ0Q7Z0JBQ0UsR0FBRyxFQUFFLGFBQWE7Z0JBQ2xCLFFBQVEsRUFBRTtvQkFDUixRQUFRLEVBQUUsQ0FBQyxFQUFFLEdBQUcsRUFBRSxvQkFBb0IsRUFBRSxDQUFDO2lCQUMxQzthQUNGO1lBQ0QsRUFBRSxHQUFHLEVBQUUsbUJBQW1CLEVBQUU7WUFDNUIsRUFBRSxHQUFHLEVBQUUsMkJBQTJCLEVBQUU7U0FDckMsQ0FBQztRQUNlLG1CQUFjLEdBQUcsQ0FBQyxFQUFFLEdB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b0RCRG9jdW1lbnRDbGllbnRSZXNvbHZlZENvbmZpZyxcbiAgICBvcHRpb25zPzogX19IdHRwSGFuZGxlck9wdGlvbnNcbiAgKTogSGFuZGxlcjxRdWVyeUNvbW1hbmRJbnB1dCwgUXVlcnlDb21tYW5kT3V0cHV0PiB7XG4gICAgY29uc3QgeyBtYXJzaGFsbE9wdGlvbnMsIHVubWFyc2hhbGxPcHRpb25zIH0gPSBjb25maWd1cmF0aW9uLnRyYW5zbGF0ZUNvbmZpZyB8fCB7fTtcbiAgICBjb25zdCBjb21tYW5kID0gbmV3IF9fUXVlcnlDb21tYW5kKG1hcnNoYWxsSW5wdXQodGhpcy5pbnB1dCwgdGhpcy5pbnB1dEtleU5vZGVzLCBtYXJzaGFsbE9wdGlvbnMpKTtcbiAgICBjb25zdCBoYW5kbGVyID0gY29tbWFuZC5yZXNvbHZlTWlkZGxld2FyZShjbGllbnRTdGFjaywgY29uZmlndXJhdGlvbiwgb3B0aW9ucyk7XG5cbiAgICByZXR1cm4gYXN5bmMgKCkgPT4ge1xuICAgICAgY29uc3QgZGF0YSA9IGF3YWl0IGhhbmRsZXIoY29tbWFuZCk7XG4gICAgICByZXR1cm4ge1xuICAgICAgICAuLi5kYXRhLFxuICAgICAgICBvdXRwdXQ6IHVubWFyc2hhbGxPdXRwdXQoZGF0YS5vdXRwdXQsIHRoaXMub3V0cHV0S2V5Tm9kZXMsIHVubWFyc2hhbGxPcHRpb25zKSxcbiAgICAgIH07XG4gICAgfTtcbiAgfVxufVxuIl19 |
@@ -7,9 +7,2 @@ "use strict"; | ||
const smithy_client_1 = require("@aws-sdk/smithy-client"); | ||
/** | ||
* Accepts native JavaScript types instead of `AttributeValue`s, and calls | ||
* ScanCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}. | ||
* | ||
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes | ||
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. | ||
*/ | ||
class ScanCommand extends smithy_client_1.Command { | ||
@@ -31,5 +24,2 @@ constructor(input) { | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -49,2 +39,2 @@ const { marshallOptions, unmarshallOptions } = configuration.translateConfig || {}; | ||
exports.ScanCommand = ScanCommand; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiU2NhbkNvbW1hbmQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29tbWFuZHMvU2NhbkNvbW1hbmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQ0EsNkNBQW9FO0FBQ3BFLDhEQUtrQztBQUNsQywwREFBNkQ7QUF3QjdEOzs7Ozs7R0FNRztBQUNILE1BQWEsV0FBWSxTQUFRLHVCQUFtRjtJQWFsSCxZQUFxQixLQUF1QjtRQUMxQyxLQUFLLEVBQUUsQ0FBQztRQURXLFVBQUssR0FBTCxLQUFLLENBQWtCO1FBWjNCLGtCQUFhLEdBQUc7WUFDL0I7Z0JBQ0UsR0FBRyxFQUFFLFlBQVk7Z0JBQ2pCLFFBQVEsRUFBRTtvQkFDUixRQUFRLEVBQUUsQ0FBQyxFQUFFLEdBQUcsRUFBRSxvQkFBb0IsRUFBRSxDQUFDO2lCQUMxQzthQUNGO1lBQ0QsRUFBRSxHQUFHLEVBQUUsbUJBQW1CLEVBQUU7WUFDNUIsRUFBRSxHQUFHLEVBQUUsMkJBQTJCLEVBQUU7U0FDckMsQ0FBQztRQUNlLG1CQUFjLEdBQUcsQ0FBQyxFQUFFLEdBQUcsRUFBRSxPQUFPLEVBQUUsRUFBRSxFQUFFLEdBQUcsRUFBRSxrQkFBa0IsRUFBRSxDQUFDLENBQUM7SUFJbEYsQ0FBQztJQUVEOztPQUVHO0lBQ0gsaUJBQWlCLENBQ2YsV0FBbUUsRUFDbkUsYU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bGxPcHRpb25zLCB1bm1hcnNoYWxsT3B0aW9ucyB9ID0gY29uZmlndXJhdGlvbi50cmFuc2xhdGVDb25maWcgfHwge307XG4gICAgY29uc3QgY29tbWFuZCA9IG5ldyBfX1NjYW5Db21tYW5kKG1hcnNoYWxsSW5wdXQodGhpcy5pbnB1dCwgdGhpcy5pbnB1dEtleU5vZGVzLCBtYXJzaGFsbE9wdGlvbnMpKTtcbiAgICBjb25zdCBoYW5kbGVyID0gY29tbWFuZC5yZXNvbHZlTWlkZGxld2FyZShjbGllbnRTdGFjaywgY29uZmlndXJhdGlvbiwgb3B0aW9ucyk7XG5cbiAgICByZXR1cm4gYXN5bmMgKCkgPT4ge1xuICAgICAgY29uc3QgZGF0YSA9IGF3YWl0IGhhbmRsZXIoY29tbWFuZCk7XG4gICAgICByZXR1cm4ge1xuICAgICAgICAuLi5kYXRhLFxuICAgICAgICBvdXRwdXQ6IHVubWFyc2hhbGxPdXRwdXQoZGF0YS5vdXRwdXQsIHRoaXMub3V0cHV0S2V5Tm9kZXMsIHVubWFyc2hhbGxPcHRpb25zKSxcbiAgICAgIH07XG4gICAgfTtcbiAgfVxufVxuIl19 |
@@ -7,9 +7,2 @@ "use strict"; | ||
const smithy_client_1 = require("@aws-sdk/smithy-client"); | ||
/** | ||
* Accepts native JavaScript types instead of `AttributeValue`s, and calls | ||
* TransactGetItemsCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}. | ||
* | ||
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes | ||
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. | ||
*/ | ||
class TransactGetCommand extends smithy_client_1.Command { | ||
@@ -22,5 +15,2 @@ constructor(input) { | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -40,2 +30,2 @@ const { marshallOptions, unmarshallOptions } = configuration.translateConfig || {}; | ||
exports.TransactGetCommand =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GNvbmZpZ3VyYXRpb24sIG9wdGlvbnMpO1xuXG4gICAgcmV0dXJuIGFzeW5jICgpID0+IHtcbiAgICAgIGNvbnN0IGRhdGEgPSBhd2FpdCBoYW5kbGVyKGNvbW1hbmQpO1xuICAgICAgcmV0dXJuIHtcbiAgICAgICAgLi4uZGF0YSxcbiAgICAgICAgb3V0cHV0OiB1bm1hcnNoYWxsT3V0cHV0KGRhdGEub3V0cHV0LCB0aGlzLm91dHB1dEtleU5vZGVzLCB1bm1hcnNoYWxsT3B0aW9ucyksXG4gICAgICB9O1xuICAgIH07XG4gIH1cbn1cbiJdfQ== |
@@ -7,9 +7,2 @@ "use strict"; | ||
const smithy_client_1 = require("@aws-sdk/smithy-client"); | ||
/** | ||
* Accepts native JavaScript types instead of `AttributeValue`s, and calls | ||
* TransactWriteItemsCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}. | ||
* | ||
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes | ||
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. | ||
*/ | ||
class TransactWriteCommand extends smithy_client_1.Command { | ||
@@ -39,5 +32,2 @@ constructor(input) { | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -57,2 +47,2 @@ const { marshallOptions, unmarshallOptions } = configuration.translateConfig || {}; | ||
exports.TransactWriteCommand = TransactWriteCommand; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVHJhbnNhY3RXcml0ZUNvbW1hbmQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29tbWFuZHMvVHJhbnNhY3RXcml0ZUNvbW1hbmQudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQ0EsNkNBQW9FO0FBQ3BFLDhEQVVrQztBQUNsQywwREFBNkQ7QUFt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RsZXdhcmVTdGFjazxTZXJ2aWNlSW5wdXRUeXBlcywgU2VydmljZU91dHB1dFR5cGVzPixcbiAgICBjb25maWd1cmF0aW9uOiBEeW5hbW9EQkRvY3VtZW50Q2xpZW50UmVzb2x2ZWRDb25maWcsXG4gICAgb3B0aW9ucz86IF9fSHR0cEhhbmRsZXJPcHRpb25zXG4gICk6IEhhbmRsZXI8VHJhbnNhY3RXcml0ZUNvbW1hbmRJbnB1dCwgVHJhbnNhY3RXcml0ZUNvbW1hbmRPdXRwdXQ+IHtcbiAgICBjb25zdCB7IG1hcnNoYWxsT3B0aW9ucywgdW5tYXJzaGFsbE9wdGlvbnMgfSA9IGNvbmZpZ3VyYXRpb24udHJhbnNsYXRlQ29uZmlnIHx8IHt9O1xuICAgIGNvbnN0IGNvbW1hbmQgPSBuZXcgX19UcmFuc2FjdFdyaXRlSXRlbXNDb21tYW5kKG1hcnNoYWxsSW5wdXQodGhpcy5pbnB1dCwgdGhpcy5pbnB1dEtleU5vZGVzLCBtYXJzaGFsbE9wdGlvbnMpKTtcbiAgICBjb25zdCBoYW5kbGVyID0gY29tbWFuZC5yZXNvbHZlTWlkZGxld2FyZShjbGllbnRTdGFjaywgY29uZmlndXJhdGlvbiwgb3B0aW9ucyk7XG5cbiAgICByZXR1cm4gYXN5bmMgKCkgPT4ge1xuICAgICAgY29uc3QgZGF0YSA9IGF3YWl0IGhhbmRsZXIoY29tbWFuZCk7XG4gICAgICByZXR1cm4ge1xuICAgICAgICAuLi5kYXRhLFxuICAgICAgICBvdXRwdXQ6IHVubWFyc2hhbGxPdXRwdXQoZGF0YS5vdXRwdXQsIHRoaXMub3V0cHV0S2V5Tm9kZXMsIHVubWFyc2hhbGxPcHRpb25zKSxcbiAgICAgIH07XG4gICAgfTtcbiAgfVxufVxuIl19 |
@@ -7,9 +7,2 @@ "use strict"; | ||
const smithy_client_1 = require("@aws-sdk/smithy-client"); | ||
/** | ||
* Accepts native JavaScript types instead of `AttributeValue`s, and calls | ||
* UpdateItemCommand operation from {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb}. | ||
* | ||
* JavaScript objects passed in as parameters are marshalled into `AttributeValue` shapes | ||
* required by Amazon DynamoDB. Responses from DynamoDB are unmarshalled into plain JavaScript objects. | ||
*/ | ||
class UpdateCommand extends smithy_client_1.Command { | ||
@@ -40,5 +33,2 @@ constructor(input) { | ||
} | ||
/** | ||
* @internal | ||
*/ | ||
resolveMiddleware(clientStack, configuration, options) { | ||
@@ -58,2 +48,2 @@ const { marshallOptions, unmarshallOptions } = configuration.translateConfig || {}; | ||
exports.UpdateCommand = UpdateCommand; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiVXBkYXRlQ29tbWFuZC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uL3NyYy9jb21tYW5kcy9VcGRhdGVDb21tYW5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUNBLDZDQUFvRTtBQUNwRSw4REFPa0M7QUFDbEMsMERBQTZEO0FBOEI3RDs7Ozs7O0dBTUc7QUFDSCxNQUFhLGFBQWMsU0FBUSx1QkFJbEM7SUFzQkMsWUFBcUIsS0FBeUI7UUFDNUMsS0FBSyxFQUFFLENBQUM7UUFEVyxVQUFLLEdBQUwsS0FBSyxDQUFvQjtRQXJCN0Isa0JBQWEsR0FBRztZQUMvQixFQUFFLEdBQUcsRUFBRSxLQUFLLEVBQUU7WUFDZDtnQkFDRSxHQUFHLEVBQUUsa0JBQWtCO2dCQUN2QixRQUFRLEVBQUU7b0JBQ1IsUUFBUSxFQUFFLENBQUMsRUFBRSxHQUFHLEVBQUUsT0FBTyxFQUFFLENBQUM7aUJBQzdCO2FBQ0Y7WUFDRDtnQkFDRSxHQUFHLEVBQUUsVUFBVTtnQkFDZixRQUFRLEVBQUU7b0JBQ1IsUUFBUSxFQUFFLENBQUMsRUFBRSxHQU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ZGxld2FyZVN0YWNrPFNlcnZpY2VJbnB1dFR5cGVzLCBTZXJ2aWNlT3V0cHV0VHlwZXM+LFxuICAgIGNvbmZpZ3VyYXRpb246IER5bmFtb0RCRG9jdW1lbnRDbGllbnRSZXNvbHZlZENvbmZpZyxcbiAgICBvcHRpb25zPzogX19IdHRwSGFuZGxlck9wdGlvbnNcbiAgKTogSGFuZGxlcjxVcGRhdGVDb21tYW5kSW5wdXQsIFVwZGF0ZUNvbW1hbmRPdXRwdXQ+IHtcbiAgICBjb25zdCB7IG1hcnNoYWxsT3B0aW9ucywgdW5tYXJzaGFsbE9wdGlvbnMgfSA9IGNvbmZpZ3VyYXRpb24udHJhbnNsYXRlQ29uZmlnIHx8IHt9O1xuICAgIGNvbnN0IGNvbW1hbmQgPSBuZXcgX19VcGRhdGVJdGVtQ29tbWFuZChtYXJzaGFsbElucHV0KHRoaXMuaW5wdXQsIHRoaXMuaW5wdXRLZXlOb2RlcywgbWFyc2hhbGxPcHRpb25zKSk7XG4gICAgY29uc3QgaGFuZGxlciA9IGNvbW1hbmQucmVzb2x2ZU1pZGRsZXdhcmUoY2xpZW50U3RhY2ssIGNvbmZpZ3VyYXRpb24sIG9wdGlvbnMpO1xuXG4gICAgcmV0dXJuIGFzeW5jICgpID0+IHtcbiAgICAgIGNvbnN0IGRhdGEgPSBhd2FpdCBoYW5kbGVyKGNvbW1hbmQpO1xuICAgICAgcmV0dXJuIHtcbiAgICAgICAgLi4uZGF0YSxcbiAgICAgICAgb3V0cHV0OiB1bm1hcnNoYWxsT3V0cHV0KGRhdGEub3V0cHV0LCB0aGlzLm91dHB1dEtleU5vZGVzLCB1bm1hcnNoYWxsT3B0aW9ucyksXG4gICAgICB9O1xuICAgIH07XG4gIH1cbn1cbiJdfQ== |
@@ -8,13 +8,9 @@ "use strict"; | ||
if (!children || (Array.isArray(children) && children.length === 0)) { | ||
// Leaf of KeyNode, process the object. | ||
return processFunc(obj); | ||
} | ||
else { | ||
// Not leaf node, process the children. | ||
if (Array.isArray(children)) { | ||
// Specific keys of children need to be processed. | ||
return processKeysInObj(obj, processFunc, children); | ||
} | ||
else { | ||
// All children require processing. | ||
return processAllKeysInObj(obj, processFunc, children.children); | ||
@@ -50,2 +46,2 @@ } | ||
exports.unmarshallOutput = unmarshallOutput; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoidXRpbHMuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY29tbWFuZHMvdXRpbHMudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O0FBQUEsMERBQWtHO0FBV2xHLE1BQU0sVUFBVSxHQUFHLENBQUMsR0FBUSxFQUFFLFdBQXFCLEVBQUUsUUFBK0IsRUFBTyxFQUFFO0lBQzNGLElBQUksR0FBRyxFQUFFO1FBQ1AsSUFBSSxDQUFDLFFBQVEsSUFBSSxDQUFDLEtBQUssQ0FBQyxPQUFPLENBQUMsUUFBUSxDQUFDLElBQUksUUFBUSxDQUFDLE1BQU0sS0FBSyxDQUFDLENBQUMsRUFBRTtZQUNuRSx1Q0FBdUM7WUFDdkMsT0FBTyxXQUFXLENBQUMsR0FBRyxDQUFDLENBQUM7U0FDekI7YUFBTTtZQUNMLHVDQUF1QztZQUN2QyxJQUFJLEtBQUssQ0FBQyxPQUFPLENBQUMsUUFBUSxDQUFDLEVBQUU7Z0JBQzNCLGtEQUFrRDtnQkFDbEQsT0FBTyxnQkFBZ0IsQ0FBQyxHQUFHLEVBQUUsV0FBVyxFQUFFLFFBQVEsQ0FBQyxDQUFDO2FBQ3JEO2lCQUFNO2dCQUNMLG1DQUFtQztnQkFDbkMsT0FBTyxtQkFBbUIsQ0FBQyxHQUFHLEVBQUUsV0FBVyxFQUFFLFFBQVEsQ0FBQyxRQUFRLENBQUMsQ0FBQzthQUNqRTtTQUNGO0tBQ0Y7SUFDRCxPQUFPLFNBQVMsQ0FBQztBQUNuQixDQUFDLENB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xcbiAgICAgIFtrZXldOiBwcm9jZXNzS2V5SW5PYmoodmFsdWUsIHByb2Nlc3NGdW5jLCBjaGlsZHJlbiksXG4gICAgfSksXG4gICAge31cbiAgKTtcblxuZXhwb3J0IGNvbnN0IG1hcnNoYWxsSW5wdXQgPSAob2JqOiBhbnksIGtleU5vZGVzOiBLZXlOb2RlW10sIG9wdGlvbnM/OiBtYXJzaGFsbE9wdGlvbnMpID0+IHtcbiAgY29uc3QgbWFyc2hhbGxGdW5jID0gKHRvTWFyc2hhbGw6IGFueSkgPT4gbWFyc2hhbGwodG9NYXJzaGFsbCwgb3B0aW9ucyk7XG4gIHJldHVybiBwcm9jZXNzS2V5c0luT2JqKG9iaiwgbWFyc2hhbGxGdW5jLCBrZXlOb2Rlcyk7XG59O1xuXG5leHBvcnQgY29uc3QgdW5tYXJzaGFsbE91dHB1dCA9IChvYmo6IGFueSwga2V5Tm9kZXM6IEtleU5vZGVbXSwgb3B0aW9ucz86IHVubWFyc2hhbGxPcHRpb25zKSA9PiB7XG4gIGNvbnN0IHVubWFyc2hhbGxGdW5jID0gKHRvTWFyc2hhbGw6IGFueSkgPT4gdW5tYXJzaGFsbCh0b01hcnNoYWxsLCBvcHRpb25zKTtcbiAgcmV0dXJuIHByb2Nlc3NLZXlzSW5PYmoob2JqLCB1bm1hcnNoYWxsRnVuYywga2V5Tm9kZXMpO1xufTtcbiJdfQ== |
@@ -18,48 +18,2 @@ "use strict"; | ||
const UpdateCommand_1 = require("./commands/UpdateCommand"); | ||
/** | ||
* The document client simplifies working with items in Amazon DynamoDB by | ||
* abstracting away the notion of attribute values. This abstraction annotates native | ||
* JavaScript types supplied as input parameters, as well as converts annotated | ||
* response data to native JavaScript types. | ||
* | ||
* ## Marshalling Input and Unmarshalling Response Data | ||
* | ||
* The document client affords developers the use of native JavaScript types | ||
* instead of `AttributeValue`s to simplify the JavaScript development | ||
* experience with Amazon DynamoDB. JavaScript objects passed in as parameters | ||
* are marshalled into `AttributeValue` shapes required by Amazon DynamoDB. | ||
* Responses from DynamoDB are unmarshalled into plain JavaScript objects | ||
* by the `DocumentClient`. The `DocumentClient` does not accept | ||
* `AttributeValue`s in favor of native JavaScript types. | ||
* | ||
* | JavaScript Type | DynamoDB AttributeValue | | ||
* | :-------------------------------: | ----------------------- | | ||
* | String | S | | ||
* | Number / BigInt | N | | ||
* | Boolean | BOOL | | ||
* | null | NULL | | ||
* | Array | L | | ||
* | Object | M | | ||
* | Set\<Uint8Array, Blob, ...\> | BS | | ||
* | Set\<Number, BigInt\> | NS | | ||
* | Set\<String\> | SS | | ||
* | Uint8Array, Buffer, File, Blob... | B | | ||
* | ||
* ### Example | ||
* | ||
* Here is an example list which is sent to DynamoDB client in an operation: | ||
* | ||
* ```json | ||
* { "L": [{ "NULL": true }, { "BOOL": false }, { "N": 1 }, { "S": "two" }] } | ||
* ``` | ||
* | ||
* The DynamoDB document client abstracts the attribute values as follows in | ||
* both input and output: | ||
* | ||
* ```json | ||
* [null, false, 1, "two"] | ||
* ``` | ||
* | ||
* @see {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb} | ||
*/ | ||
class DynamoDBDocument extends DynamoDBDocumentClient_1.DynamoDBDocumentClient { | ||
@@ -253,2 +207,2 @@ static from(client, translateConfig) { | ||
exports.DynamoDBDocument = DynamoDBDocument; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRHluYW1vREJEb2N1bWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9EeW5hbW9EQkRvY3VtZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQUFBLHFFQUFtRjtBQUNuRiwwRkFJaUQ7QUFDakQsZ0VBQTBHO0FBQzFHLG9FQUFrSDtBQUNsSCw0REFBa0c7QUFDbEcsZ0ZBSTRDO0FBQzVDLG9GQUk4QztBQUM5QyxzREFBc0Y7QUFDdEYsc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AgICAgQXJyYXkgICAgICAgICAgICAgICB8IEwgICAgICAgICAgICAgICAgICAgICAgIHxcbiAqIHwgICAgICAgICAgICAgIE9iamVjdCAgICAgICAgICAgICAgIHwgTSAgICAgICAgICAgICAgICAgICAgICAgfFxuICogfCAgIFNldFxcPFVpbnQ4QXJyYXksIEJsb2IsIC4uLlxcPiAgICB8IEJTICAgICAgICAgICAgICAgICAgICAgIHxcbiAqIHwgICAgICAgU2V0XFw8TnVtYmVyLCBCaWdJbnRcXD4gICAgICAgfCBOUyAgICAgICAgICAgICAgICAgICAgICB8XG4gKiB8ICAgICAgICAgICBTZXRcXDxTdHJpbmdcXD4gICAgICAgICAgIHwgU1MgICAgICAgICAgICAgICAgICAgICAgfFxuICogfCBVaW50OEFycmF5LCBCdWZmZXIsIEZpbGUsIEJsb2IuLi4gfCBCICAgICAgICAgICAgICAgICAgICAgICB8XG4gKlxuICogIyMjIEV4YW1wbGVcbiAqXG4gKiBIZXJlIGlzIGFuIGV4YW1wbGUgbGlzdCB3aGljaCBpcyBzZW50IHRvIER5bmFtb0RCIGNsaWVudCBpbiBhbiBvcGVyYXRpb246XG4gKlxuICogYGBganNvblxuICogeyBcIkxcIjogW3sgXCJOVUxMXCI6IHRydWUgfSwgeyBcIkJPT0xcIjogZmFsc2UgfSwgeyBcIk5cIjogMSB9LCB7IFwiU1wiOiBcInR3b1wiIH1dIH1cbiAqIGBgYFxuICpcbiAqIFRoZSBEeW5hbW9EQiBkb2N1bWVudCBjbGllbnQgYWJzdHJhY3RzIHRoZSBhdHRyaWJ1dGUgdmFsdWVzIGFzIGZvbGxvd3MgaW5cbiAqIGJvdGggaW5wdXQgYW5kIG91dHB1dDpcbiAqXG4gKiBgYGBqc29uXG4gKiBbbnVsbCwgZmFsc2UsIDEsIFwidHdvXCJdXG4gKiBgYGBcbiAqXG4gKiBAc2VlIHtAbGluayBodHRwczovL3d3dy5ucG1qcy5jb20vcGFja2FnZS9AYXdzLXNkay9jbGllbnQtZHluYW1vZG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N0cyBwYXNzZWQgaW4gYXMgcGFyYW1ldGVyc1xuICogYXJlIG1hcnNoYWxsZWQgaW50byBgQXR0cmlidXRlVmFsdWVgIHNoYXBlcyByZXF1aXJlZCBieSBBbWF6b24gRHluYW1vREIuXG4gKiBSZXNwb25zZXMgZnJvbSBEeW5hbW9EQiBhcmUgdW5tYXJzaGFsbGVkIGludG8gcGxhaW4gSmF2YVNjcmlwdCBvYmplY3RzXG4gKiBieSB0aGUgYERvY3VtZW50Q2xpZW50YC4gVGhlIGBEb2N1bWVudENsaWVudGAgZG9lcyBub3QgYWNjZXB0XG4gKiBgQXR0cmlidXRlVmFsdWVgcyBpbiBmYXZvciBvZiBuYXRpdmUgSmF2YVNjcmlwdCB0eXBlcy5cbiAqXG4gKiB8ICAgICAgICAgIEphdmFTY3JpcHQgVHlwZSAgICAgICAgICB8IER5bmFtb0RCIEF0dHJpYnV0ZVZhbHVlIHxcbiAqIHwgOi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS06IHwgLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0gfFxuICogfCAgICAgICAgICAgICAgU3RyaW5nICAgICAgICAgICAgICAgfCBTICAgICAgICAgICAgICAgICAgICAgICB8XG4gKiB8ICAgICAgICAgIE51bWJlciAvIEJpZ0ludCAgICAgICAgICB8IE4gICAgICAgICAgICAgICAgICAgICAgIHxcbiAqIHwgICAgICAgICAgICAgIEJvb2xlYW4gICAgICAgICAgICAgIHwgQk9PTCAgICAgICAgICAgICAgICAgICAgfFxuICogfCAgICAgICAgICAgICAgIG51bGwgICAgICAgICAgICAgICAgfCBOVUxMICAgICAgICAgICAgICAgICAgICB8XG4gKiB8ICAgICAgICAgICAgICAgQXJyYXkgICAgICAgICAgICAgICB8IEwgICAgICAgICAgICAgICAgICAgICAgIHxcbiAqIHwgICAgICAgICAgICAgIE9iamVjdCAgICAgICAgICAgICAgIHwgTSAgICAgICAgICAgICAgICAgICAgICAgfFxuICogfCAgIFNldFxcP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gIGlmICh0eXBlb2Ygb3B0aW9uc09yQ2IgPT09IFwiZnVuY3Rpb25cIikge1xuICAgICAgdGhpcy5zZW5kKGNvbW1hbmQsIG9wdGlvbnNPckNiKTtcbiAgICB9IGVsc2UgaWYgKHR5cGVvZiBjYiA9PT0gXCJmdW5jdGlvblwiKSB7XG4gICAgICBpZiAodHlwZW9mIG9wdGlvbnNPckNiICE9PSBcIm9iamVjdFwiKSB0aHJvdyBuZXcgRXJyb3IoYEV4cGVjdCBodHRwIG9wdGlvbnMgYnV0IGdldCAke3R5cGVvZiBvcHRpb25zT3JDYn1gKTtcbiAgICAgIHRoaXMuc2VuZChjb21tYW5kLCBvcHRpb25zT3JDYiB8fCB7fSwgY2IpO1xuICAgIH0gZWxzZSB7XG4gICAgICByZXR1cm4gdGhpcy5zZW5kKGNvbW1hbmQsIG9wdGlvbnNPckNiKTtcbiAgICB9XG4gIH1cbn1cbiJdfQ== |
@@ -5,48 +5,2 @@ "use strict"; | ||
const smithy_client_1 = require("@aws-sdk/smithy-client"); | ||
/** | ||
* The document client simplifies working with items in Amazon DynamoDB by | ||
* abstracting away the notion of attribute values. This abstraction annotates native | ||
* JavaScript types supplied as input parameters, as well as converts annotated | ||
* response data to native JavaScript types. | ||
* | ||
* ## Marshalling Input and Unmarshalling Response Data | ||
* | ||
* The document client affords developers the use of native JavaScript types | ||
* instead of `AttributeValue`s to simplify the JavaScript development | ||
* experience with Amazon DynamoDB. JavaScript objects passed in as parameters | ||
* are marshalled into `AttributeValue` shapes required by Amazon DynamoDB. | ||
* Responses from DynamoDB are unmarshalled into plain JavaScript objects | ||
* by the `DocumentClient`. The `DocumentClient` does not accept | ||
* `AttributeValue`s in favor of native JavaScript types. | ||
* | ||
* | JavaScript Type | DynamoDB AttributeValue | | ||
* | :-------------------------------: | ----------------------- | | ||
* | String | S | | ||
* | Number / BigInt | N | | ||
* | Boolean | BOOL | | ||
* | null | NULL | | ||
* | Array | L | | ||
* | Object | M | | ||
* | Set\<Uint8Array, Blob, ...\> | BS | | ||
* | Set\<Number, BigInt\> | NS | | ||
* | Set\<String\> | SS | | ||
* | Uint8Array, Buffer, File, Blob... | B | | ||
* | ||
* ### Example | ||
* | ||
* Here is an example list which is sent to DynamoDB client in an operation: | ||
* | ||
* ```json | ||
* { "L": [{ "NULL": true }, { "BOOL": false }, { "N": 1 }, { "S": "two" }] } | ||
* ``` | ||
* | ||
* The DynamoDB document client abstracts the attribute values as follows in | ||
* both input and output: | ||
* | ||
* ```json | ||
* [null, false, 1, "two"] | ||
* ``` | ||
* | ||
* @see {@link https://www.npmjs.com/package/@aws-sdk/client-dynamodb @aws-sdk/client-dynamodb} | ||
*/ | ||
class DynamoDBDocumentClient extends smithy_client_1.Client { | ||
@@ -63,6 +17,5 @@ constructor(client, translateConfig) { | ||
destroy() { | ||
// A no-op, since client is passed in constructor | ||
} | ||
} | ||
exports.DynamoDBDocumentClient = DynamoDBDocumentClient; | ||
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiRHluYW1vREJEb2N1bWVudENsaWVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9EeW5hbW9EQkRvY3VtZW50Q2xpZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztBQXNCQSwwREFBNEQ7QUE2QzVEOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7R0E2Q0c7QUFDSCxNQUFhLHNCQUF1QixTQUFRLHNCQUszQztJQUdDLFlBQXNCLE1BQXNCLEVBQUUsZUFBaUM7UUFDN0UsS0FBSyxDQUFDLE1BQU0sQ0FBQyxNQUFNLENBQUMsQ0FBQztRQUNyQixJQUFJLENBQUMsTUFBTSxHQUFHLE1BQU0sQ0FBQyxNQUFNLENBQUM7UUFDNUIsSUFBSSxDQUFDLE1BQU0sQ0FBQyxlQUFlLEdBQUcs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IEF0dHJpYnV0ZVZhbHVlIHxcbiAqIHwgOi0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS06IHwgLS0tLS0tLS0tLS0tLS0tLS0tLS0tLS0gfFxuICogfCAgICAgICAgICAgICAgU3RyaW5nICAgICAgICAgICAgICAgfCBTICAgICAgICAgICAgICAgICAgICAgICB8XG4gKiB8ICAgICAgICAgIE51bWJlciAvIEJpZ0ludCAgICAgICAgICB8IE4gICAgICAgICAgICAgICAgICAgICAgIHxcbiAqIHwgICAgICAgICAgICAgIEJvb2xlYW4gICAgICAgICAgICAgIHwgQk9PTCAgICAgICAgICAgICAgICAgICAgfFxuICogfCAgICAgICAgICAgICAgIG51bGwgICAgICAgICAgICAgICAgfCBOVUxMICAgICAgICAgICAgICAgICAgICB8XG4gKiB8ICAgICAgICAgICAgICAgQXJyYXkgICAgICAgICAgICAgICB8IEwgICAgICAgICAgICAgICAgICAgICAgIHxcbiAqIHwgICAgICAgICAgICAgIE9iamVjdCAgICAgICAgICAgICAgIHwgTSAgICAgICAgICAgICAgICAgICAgICAgfFxuICogfCAgIFNldFxcPFVpbnQ4QXJyYXksIEJsb2IsIC4uLlxcPiAgICB8IEJTICAgICAgICAgICAgICAgICAgICAgIHxcbiAqIHwgICAgICAgU2V0XFw8TnVtYmVyLCBCaWdJbnRcXD4gICAgICAgfCBOUyAgICAgICAgICAgICAgICAgICAgICB8XG4gKiB8ICAgICAgICAgICBTZXRcXDxTdHJpbmdcXD4gICAgICAgICAgIHwgU1MgICAgICAgICAgICAgICAgICAgICAgfFxuICogfCBVaW50OEFycmF5LCBCdWZmZXIsIEZpbGUsIEJsb2IuLi4gfCBCICAgICAgICAgICAgICAgICAgICAgICB8XG4gKlxuICogIyMjIEV4YW1wbGVcbiAqXG4gKiBIZXJlIGlzIGFuIGV4YW1wbGUgbGlzdCB3aGljaCBpcyBzZW50IHRvIER5bmFtb0RCIGNsaWVudCBpbiBhbiBvcGVyYXRpb246XG4gKlxuICogYGB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ICAgICAgICB8XG4gKiB8ICAgICAgICAgICAgICBCb29sZWFuICAgICAgICAgICAgICB8IEJPT0wgICAgICAgICAgICAgICAgICAgIHxcbiAqIHwgICAgICAgICAgICAgICBudWxsICAgICAgICAgICAgICAgIHwgTlVMTCAgICAgICAgICAgICAgICAgICAgfFxuICogfCAgICAgICAgICAgICAgIEFycmF5ICAgICAgICAgICAgICAgfCBMICAgICAgICAgICAgICAgICAgICAgICB8XG4gKiB8ICAgICAgICAgICAgICBPYmplY3QgICAgICAgICAgICAgICB8IE0gICAgICAgICAgICAgICAgICAgICAgIHxcbiAqIHwgICBTZXRcXDxVaW50OEFycmF5LCBCbG9iLCAuLi5cXD4gICAgfCBCUyAgICAgICAgICAgICAgICAgICAgICB8XG4gKiB8ICAgICAgIFNldFxcPE51bWJlciwgQmlnSW50XFw+ICAgICAgIHwgTlMgICAgICAgICAgICAgICAgICAgICAgfFxuICogfCAgICAgICAgICAgU2V0XFw8U3RyaW5nXFw+ICAgICAgICAgICB8IFNTICAgICAgICAgICAgICAgICAgICAgIHxcbiAqIHwgVWludDhBcnJheSwgQnVmZmVyLCBGaWxlLCBCbG9iLi4uIHwgQiAgICAgICAgICAgICAgICAgICAgICAgfFxuICpcbiAqICMjIyBFeGFtcGxlXG4gKlxuICogSGVyZSBpcyBhbiBleGFtcGxlIGxpc3Qgd2hpY2ggaXMgc2VudCB0byBEeW5hbW9EQiBjbGllbnQgaW4gYW4gb3BlcmF0aW9uOlxuICpcbiAqIGBgYGpzb25cbiAqIHsgXCJMXCI6IFt7IFwiTlVMTFwiOiB0cnVlIH0sIHsgXCJCT09MXCI6IGZhbHNlIH0sIHsgXCJOXCI6IDEgfSwgeyBcIlNcIjogXCJ0d29cIiB9XSB9XG4gKiBgYGBcbiAqXG4gKiBUaGUgRHluYW1vREIgZG9jdW1lbnQgY2xpZW50IGFic3RyYWN0cyB0aGUgYXR0cmlidXRlIHZhbHVlcyBhcyBmb2xsb3dzIGluXG4gKiBib3RoIGlucHV0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HZvaWQge1xuICAgIC8vIEEgbm8tb3AsIHNpbmNlIGNsaWVudCBpcyBwYXNzZWQgaW4gY29uc3RydWN0b3JcbiAgfVxufVxuIl19 |
{ | ||
"name": "@aws-sdk/lib-dynamodb", | ||
"version": "3.33.0", | ||
"version": "3.34.0", | ||
"description": "The document client simplifies working with items in Amazon DynamoDB by abstracting away the notion of attribute values.", | ||
@@ -9,5 +9,6 @@ "main": "./dist/cjs/index.js", | ||
"scripts": { | ||
"build": "yarn build:cjs && yarn build:es && yarn build:types", | ||
"build:cjs": "tsc -p tsconfig.cjs.json", | ||
"build:es": "tsc -p tsconfig.es.json", | ||
"build": "yarn build:es && yarn build:cjs", | ||
"build:types": "tsc -p tsconfig.types.json", | ||
"downlevel-dts": "downlevel-dts dist/types dist/types/ts3.4", | ||
@@ -25,3 +26,3 @@ "test": "jest" | ||
"dependencies": { | ||
"@aws-sdk/util-dynamodb": "3.33.0", | ||
"@aws-sdk/util-dynamodb": "3.34.0", | ||
"tslib": "^2.3.0" | ||
@@ -35,5 +36,5 @@ }, | ||
"devDependencies": { | ||
"@aws-sdk/client-dynamodb": "3.33.0", | ||
"@aws-sdk/smithy-client": "3.32.0", | ||
"@aws-sdk/types": "3.32.0", | ||
"@aws-sdk/client-dynamodb": "3.34.0", | ||
"@aws-sdk/smithy-client": "3.34.0", | ||
"@aws-sdk/types": "3.34.0", | ||
"@types/jest": "^26.0.4", | ||
@@ -40,0 +41,0 @@ "@types/node": "^14.11.2", |
{ | ||
"compilerOptions": { | ||
"declarationDir": "./dist/types", | ||
"rootDir": "./src", | ||
"outDir": "./dist/cjs", | ||
"baseUrl": "." | ||
"baseUrl": ".", | ||
"outDir": "dist/cjs", | ||
"rootDir": "src" | ||
}, | ||
@@ -8,0 +7,0 @@ "extends": "../../tsconfig.cjs.json", |
{ | ||
"compilerOptions": { | ||
"baseUrl": ".", | ||
"lib": ["es5", "es2015.collection", "dom"], | ||
"strict": true, | ||
"sourceMap": false, | ||
"declaration": true, | ||
"declarationDir": "./dist/types", | ||
"rootDir": "./src", | ||
"outDir": "./dist/es", | ||
"importHelpers": true, | ||
"noEmitHelpers": true, | ||
"inlineSourceMap": true, | ||
"inlineSources": true, | ||
"baseUrl": "." | ||
"outDir": "dist/es", | ||
"rootDir": "src" | ||
}, | ||
@@ -16,0 +8,0 @@ "extends": "../../tsconfig.es.json", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
76
483073
3610
+ Added@aws-sdk/client-dynamodb@3.687.0(transitive)
+ Added@aws-sdk/client-sso@3.687.0(transitive)
+ Added@aws-sdk/client-sso-oidc@3.687.0(transitive)
+ Added@aws-sdk/client-sts@3.687.0(transitive)
+ Added@aws-sdk/core@3.686.0(transitive)
+ Added@aws-sdk/credential-provider-env@3.686.0(transitive)
+ Added@aws-sdk/credential-provider-http@3.686.0(transitive)
+ Added@aws-sdk/credential-provider-ini@3.687.0(transitive)
+ Added@aws-sdk/credential-provider-node@3.687.0(transitive)
+ Added@aws-sdk/credential-provider-process@3.686.0(transitive)
+ Added@aws-sdk/credential-provider-sso@3.687.0(transitive)
+ Added@aws-sdk/credential-provider-web-identity@3.686.0(transitive)
+ Added@aws-sdk/middleware-endpoint-discovery@3.686.0(transitive)
+ Added@aws-sdk/middleware-host-header@3.686.0(transitive)
+ Added@aws-sdk/middleware-logger@3.686.0(transitive)
+ Added@aws-sdk/middleware-recursion-detection@3.686.0(transitive)
+ Added@aws-sdk/middleware-user-agent@3.687.0(transitive)
+ Added@aws-sdk/region-config-resolver@3.686.0(transitive)
+ Added@aws-sdk/token-providers@3.686.0(transitive)
+ Added@aws-sdk/types@3.686.0(transitive)
+ Added@aws-sdk/util-dynamodb@3.34.0(transitive)
+ Added@aws-sdk/util-endpoints@3.686.0(transitive)
+ Added@aws-sdk/util-user-agent-browser@3.686.0(transitive)
+ Added@aws-sdk/util-user-agent-node@3.687.0(transitive)
- Removed@aws-sdk/client-dynamodb@3.682.0(transitive)
- Removed@aws-sdk/client-sso@3.682.0(transitive)
- Removed@aws-sdk/client-sso-oidc@3.682.0(transitive)
- Removed@aws-sdk/client-sts@3.682.0(transitive)
- Removed@aws-sdk/core@3.679.0(transitive)
- Removed@aws-sdk/credential-provider-env@3.679.0(transitive)
- Removed@aws-sdk/credential-provider-http@3.679.0(transitive)
- Removed@aws-sdk/credential-provider-ini@3.682.0(transitive)
- Removed@aws-sdk/credential-provider-node@3.682.0(transitive)
- Removed@aws-sdk/credential-provider-process@3.679.0(transitive)
- Removed@aws-sdk/credential-provider-sso@3.682.0(transitive)
- Removed@aws-sdk/credential-provider-web-identity@3.679.0(transitive)
- Removed@aws-sdk/middleware-endpoint-discovery@3.679.0(transitive)
- Removed@aws-sdk/middleware-host-header@3.679.0(transitive)
- Removed@aws-sdk/middleware-logger@3.679.0(transitive)
- Removed@aws-sdk/middleware-recursion-detection@3.679.0(transitive)
- Removed@aws-sdk/middleware-user-agent@3.682.0(transitive)
- Removed@aws-sdk/region-config-resolver@3.679.0(transitive)
- Removed@aws-sdk/token-providers@3.679.0(transitive)
- Removed@aws-sdk/types@3.679.0(transitive)
- Removed@aws-sdk/util-dynamodb@3.33.0(transitive)
- Removed@aws-sdk/util-endpoints@3.679.0(transitive)
- Removed@aws-sdk/util-user-agent-browser@3.679.0(transitive)
- Removed@aws-sdk/util-user-agent-node@3.682.0(transitive)
- Removed@smithy/fetch-http-handler@3.2.9(transitive)