@aws-sdk/lib-dynamodb 3.51.0 → 3.54.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/CHANGELOG.md CHANGED
@@ -3,6 +3,33 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.54.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.53.1...v3.54.0) (2022-03-11)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/lib-dynamodb
9
+
10
+
11
+
12
+
13
+
14
+ # [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
15
+
16
+
17
+ ### Features
18
+
19
+ * **clients:** update clients as of 2022/02/23 ([#3356](https://github.com/aws/aws-sdk-js-v3/issues/3356)) ([b6b2e25](https://github.com/aws/aws-sdk-js-v3/commit/b6b2e258add12c73d807483ca078401a6d84a12b))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
26
+
27
+ **Note:** Version bump only for package @aws-sdk/lib-dynamodb
28
+
29
+
30
+
31
+
32
+
6
33
  # [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
7
34
 
8
35
  **Note:** Version bump only for package @aws-sdk/lib-dynamodb
@@ -9,7 +9,7 @@ class ExecuteStatementCommand extends smithy_client_1.Command {
9
9
  super();
10
10
  this.input = input;
11
11
  this.inputKeyNodes = [{ key: "Parameters" }];
12
- this.outputKeyNodes = [{ key: "Items" }];
12
+ this.outputKeyNodes = [{ key: "Items" }, { key: "LastEvaluatedKey" }];
13
13
  }
14
14
  resolveMiddleware(clientStack, configuration, options) {
15
15
  const { marshallOptions, unmarshallOptions } = configuration.translateConfig || {};
@@ -8,7 +8,7 @@ var ExecuteStatementCommand = (function (_super) {
8
8
  var _this = _super.call(this) || this;
9
9
  _this.input = input;
10
10
  _this.inputKeyNodes = [{ key: "Parameters" }];
11
- _this.outputKeyNodes = [{ key: "Items" }];
11
+ _this.outputKeyNodes = [{ key: "Items" }, { key: "LastEvaluatedKey" }];
12
12
  return _this;
13
13
  }
14
14
  ExecuteStatementCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
@@ -6,10 +6,13 @@ import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputT
6
6
  export declare type ExecuteStatementCommandInput = Omit<__ExecuteStatementCommandInput, "Parameters"> & {
7
7
  Parameters?: NativeAttributeValue[];
8
8
  };
9
- export declare type ExecuteStatementCommandOutput = Omit<__ExecuteStatementCommandOutput, "Items"> & {
9
+ export declare type ExecuteStatementCommandOutput = Omit<__ExecuteStatementCommandOutput, "Items" | "LastEvaluatedKey"> & {
10
10
  Items?: {
11
11
  [key: string]: NativeAttributeValue;
12
12
  }[];
13
+ LastEvaluatedKey?: {
14
+ [key: string]: NativeAttributeValue;
15
+ };
13
16
  };
14
17
  /**
15
18
  * Accepts native JavaScript types instead of `AttributeValue`s, and calls
@@ -6,10 +6,13 @@ import { DynamoDBDocumentClientResolvedConfig, ServiceInputTypes, ServiceOutputT
6
6
  export declare type ExecuteStatementCommandInput = Pick<__ExecuteStatementCommandInput, Exclude<keyof __ExecuteStatementCommandInput, "Parameters">> & {
7
7
  Parameters?: NativeAttributeValue[];
8
8
  };
9
- export declare type ExecuteStatementCommandOutput = Pick<__ExecuteStatementCommandOutput, Exclude<keyof __ExecuteStatementCommandOutput, "Items">> & {
9
+ export declare type ExecuteStatementCommandOutput = Pick<__ExecuteStatementCommandOutput, Exclude<keyof __ExecuteStatementCommandOutput, "Items" | "LastEvaluatedKey">> & {
10
10
  Items?: {
11
11
  [key: string]: NativeAttributeValue;
12
12
  }[];
13
+ LastEvaluatedKey?: {
14
+ [key: string]: NativeAttributeValue;
15
+ };
13
16
  };
14
17
 
15
18
  export declare class ExecuteStatementCommand extends $Command<ExecuteStatementCommandInput, ExecuteStatementCommandOutput, DynamoDBDocumentClientResolvedConfig> {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/lib-dynamodb",
3
- "version": "3.51.0",
3
+ "version": "3.54.0",
4
4
  "description": "The document client simplifies working with items in Amazon DynamoDB by abstracting away the notion of attribute values.",
5
5
  "main": "./dist-cjs/index.js",
6
6
  "module": "./dist-es/index.js",
@@ -11,7 +11,7 @@
11
11
  "build:es": "tsc -p tsconfig.es.json",
12
12
  "build:types": "tsc -p tsconfig.types.json",
13
13
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
14
- "clean": "rimraf ./dist-*",
14
+ "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
15
15
  "test": "jest"
16
16
  },
17
17
  "engines": {
@@ -23,7 +23,7 @@
23
23
  },
24
24
  "license": "Apache-2.0",
25
25
  "dependencies": {
26
- "@aws-sdk/util-dynamodb": "3.51.0",
26
+ "@aws-sdk/util-dynamodb": "3.54.0",
27
27
  "tslib": "^2.3.0"
28
28
  },
29
29
  "peerDependencies": {
@@ -32,9 +32,9 @@
32
32
  "@aws-sdk/types": "^3.0.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@aws-sdk/client-dynamodb": "3.51.0",
36
- "@aws-sdk/smithy-client": "3.50.0",
37
- "@aws-sdk/types": "3.50.0",
35
+ "@aws-sdk/client-dynamodb": "3.54.0",
36
+ "@aws-sdk/smithy-client": "3.54.0",
37
+ "@aws-sdk/types": "3.54.0",
38
38
  "@tsconfig/recommended": "1.0.1",
39
39
  "@types/node": "^14.11.2",
40
40
  "concurrently": "7.0.0",