@aws-sdk/client-dynamodb-streams 3.100.0 → 3.105.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,17 @@
|
|
|
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.105.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.104.0...v3.105.0) (2022-06-06)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** support recursion detection in Lambda ([#3654](https://github.com/aws/aws-sdk-js-v3/issues/3654)) ([ecfe46e](https://github.com/aws/aws-sdk-js-v3/commit/ecfe46ea1fd8b6e3812b75b3dc6c03554fb4b3fa))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
6
17
|
# [3.100.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.99.0...v3.100.0) (2022-05-26)
|
|
7
18
|
|
|
8
19
|
**Note:** Version bump only for package @aws-sdk/client-dynamodb-streams
|
|
@@ -5,6 +5,7 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const middleware_content_length_1 = require("@aws-sdk/middleware-content-length");
|
|
6
6
|
const middleware_host_header_1 = require("@aws-sdk/middleware-host-header");
|
|
7
7
|
const middleware_logger_1 = require("@aws-sdk/middleware-logger");
|
|
8
|
+
const middleware_recursion_detection_1 = require("@aws-sdk/middleware-recursion-detection");
|
|
8
9
|
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
9
10
|
const middleware_signing_1 = require("@aws-sdk/middleware-signing");
|
|
10
11
|
const middleware_user_agent_1 = require("@aws-sdk/middleware-user-agent");
|
|
@@ -25,6 +26,7 @@ class DynamoDBStreamsClient extends smithy_client_1.Client {
|
|
|
25
26
|
this.middlewareStack.use((0, middleware_content_length_1.getContentLengthPlugin)(this.config));
|
|
26
27
|
this.middlewareStack.use((0, middleware_host_header_1.getHostHeaderPlugin)(this.config));
|
|
27
28
|
this.middlewareStack.use((0, middleware_logger_1.getLoggerPlugin)(this.config));
|
|
29
|
+
this.middlewareStack.use((0, middleware_recursion_detection_1.getRecursionDetectionPlugin)(this.config));
|
|
28
30
|
this.middlewareStack.use((0, middleware_signing_1.getAwsAuthPlugin)(this.config));
|
|
29
31
|
this.middlewareStack.use((0, middleware_user_agent_1.getUserAgentPlugin)(this.config));
|
|
30
32
|
}
|
|
@@ -3,6 +3,7 @@ import { resolveEndpointsConfig, resolveRegionConfig, } from "@aws-sdk/config-re
|
|
|
3
3
|
import { getContentLengthPlugin } from "@aws-sdk/middleware-content-length";
|
|
4
4
|
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
5
5
|
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
6
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
6
7
|
import { getRetryPlugin, resolveRetryConfig } from "@aws-sdk/middleware-retry";
|
|
7
8
|
import { getAwsAuthPlugin, resolveAwsAuthConfig, } from "@aws-sdk/middleware-signing";
|
|
8
9
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
@@ -25,6 +26,7 @@ var DynamoDBStreamsClient = (function (_super) {
|
|
|
25
26
|
_this.middlewareStack.use(getContentLengthPlugin(_this.config));
|
|
26
27
|
_this.middlewareStack.use(getHostHeaderPlugin(_this.config));
|
|
27
28
|
_this.middlewareStack.use(getLoggerPlugin(_this.config));
|
|
29
|
+
_this.middlewareStack.use(getRecursionDetectionPlugin(_this.config));
|
|
28
30
|
_this.middlewareStack.use(getAwsAuthPlugin(_this.config));
|
|
29
31
|
_this.middlewareStack.use(getUserAgentPlugin(_this.config));
|
|
30
32
|
return _this;
|
|
@@ -648,9 +648,7 @@ export declare namespace AttributeValue {
|
|
|
648
648
|
SS?: never;
|
|
649
649
|
NS?: never;
|
|
650
650
|
BS?: never;
|
|
651
|
-
M:
|
|
652
|
-
[key: string]: AttributeValue;
|
|
653
|
-
};
|
|
651
|
+
M: Record<string, AttributeValue>;
|
|
654
652
|
L?: never;
|
|
655
653
|
NULL?: never;
|
|
656
654
|
BOOL?: never;
|
|
@@ -733,9 +731,7 @@ export declare namespace AttributeValue {
|
|
|
733
731
|
SS: (value: string[]) => T;
|
|
734
732
|
NS: (value: string[]) => T;
|
|
735
733
|
BS: (value: Uint8Array[]) => T;
|
|
736
|
-
M: (value:
|
|
737
|
-
[key: string]: AttributeValue;
|
|
738
|
-
}) => T;
|
|
734
|
+
M: (value: Record<string, AttributeValue>) => T;
|
|
739
735
|
L: (value: AttributeValue[]) => T;
|
|
740
736
|
NULL: (value: boolean) => T;
|
|
741
737
|
BOOL: (value: boolean) => T;
|
|
@@ -758,21 +754,15 @@ export interface StreamRecord {
|
|
|
758
754
|
/**
|
|
759
755
|
* <p>The primary key attribute(s) for the DynamoDB item that was modified.</p>
|
|
760
756
|
*/
|
|
761
|
-
Keys?:
|
|
762
|
-
[key: string]: AttributeValue;
|
|
763
|
-
};
|
|
757
|
+
Keys?: Record<string, AttributeValue>;
|
|
764
758
|
/**
|
|
765
759
|
* <p>The item in the DynamoDB table as it appeared after it was modified.</p>
|
|
766
760
|
*/
|
|
767
|
-
NewImage?:
|
|
768
|
-
[key: string]: AttributeValue;
|
|
769
|
-
};
|
|
761
|
+
NewImage?: Record<string, AttributeValue>;
|
|
770
762
|
/**
|
|
771
763
|
* <p>The item in the DynamoDB table as it appeared before it was modified.</p>
|
|
772
764
|
*/
|
|
773
|
-
OldImage?:
|
|
774
|
-
[key: string]: AttributeValue;
|
|
775
|
-
};
|
|
765
|
+
OldImage?: Record<string, AttributeValue>;
|
|
776
766
|
/**
|
|
777
767
|
* <p>The sequence number of the stream record.</p>
|
|
778
768
|
*/
|
|
@@ -300,9 +300,7 @@ export declare namespace AttributeValue {
|
|
|
300
300
|
SS?: never;
|
|
301
301
|
NS?: never;
|
|
302
302
|
BS?: never;
|
|
303
|
-
M:
|
|
304
|
-
[key: string]: AttributeValue;
|
|
305
|
-
};
|
|
303
|
+
M: Record<string, AttributeValue>;
|
|
306
304
|
L?: never;
|
|
307
305
|
NULL?: never;
|
|
308
306
|
BOOL?: never;
|
|
@@ -373,9 +371,7 @@ export declare namespace AttributeValue {
|
|
|
373
371
|
SS: (value: string[]) => T;
|
|
374
372
|
NS: (value: string[]) => T;
|
|
375
373
|
BS: (value: Uint8Array[]) => T;
|
|
376
|
-
M: (value:
|
|
377
|
-
[key: string]: AttributeValue;
|
|
378
|
-
}) => T;
|
|
374
|
+
M: (value: Record<string, AttributeValue>) => T;
|
|
379
375
|
L: (value: AttributeValue[]) => T;
|
|
380
376
|
NULL: (value: boolean) => T;
|
|
381
377
|
BOOL: (value: boolean) => T;
|
|
@@ -390,17 +386,11 @@ export interface StreamRecord {
|
|
|
390
386
|
|
|
391
387
|
ApproximateCreationDateTime?: Date;
|
|
392
388
|
|
|
393
|
-
Keys?:
|
|
394
|
-
[key: string]: AttributeValue;
|
|
395
|
-
};
|
|
389
|
+
Keys?: Record<string, AttributeValue>;
|
|
396
390
|
|
|
397
|
-
NewImage?:
|
|
398
|
-
[key: string]: AttributeValue;
|
|
399
|
-
};
|
|
391
|
+
NewImage?: Record<string, AttributeValue>;
|
|
400
392
|
|
|
401
|
-
OldImage?:
|
|
402
|
-
[key: string]: AttributeValue;
|
|
403
|
-
};
|
|
393
|
+
OldImage?: Record<string, AttributeValue>;
|
|
404
394
|
|
|
405
395
|
SequenceNumber?: string;
|
|
406
396
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dynamodb-streams",
|
|
3
3
|
"description": "AWS SDK for JavaScript Dynamodb Streams Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.105.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -18,15 +18,16 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.105.0",
|
|
22
22
|
"@aws-sdk/config-resolver": "3.80.0",
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.105.0",
|
|
24
24
|
"@aws-sdk/fetch-http-handler": "3.78.0",
|
|
25
25
|
"@aws-sdk/hash-node": "3.78.0",
|
|
26
26
|
"@aws-sdk/invalid-dependency": "3.78.0",
|
|
27
27
|
"@aws-sdk/middleware-content-length": "3.78.0",
|
|
28
28
|
"@aws-sdk/middleware-host-header": "3.78.0",
|
|
29
29
|
"@aws-sdk/middleware-logger": "3.78.0",
|
|
30
|
+
"@aws-sdk/middleware-recursion-detection": "3.105.0",
|
|
30
31
|
"@aws-sdk/middleware-retry": "3.80.0",
|
|
31
32
|
"@aws-sdk/middleware-serde": "3.78.0",
|
|
32
33
|
"@aws-sdk/middleware-signing": "3.78.0",
|