@aws-sdk/client-dynamodb-streams 3.1137.0 → 3.1139.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/index.js
CHANGED
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1138.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -298,10 +298,10 @@ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.dynamodbstreams";
|
|
|
298
298
|
const _se = "server";
|
|
299
299
|
const _uI = "userIdentity";
|
|
300
300
|
const n0 = "com.amazonaws.dynamodbstreams";
|
|
301
|
-
const _s_registry = TypeRegistry
|
|
301
|
+
const _s_registry = new TypeRegistry(_s);
|
|
302
302
|
var DynamoDBStreamsServiceException$ = [-3, _s, "DynamoDBStreamsServiceException", 0, [], []];
|
|
303
303
|
_s_registry.registerError(DynamoDBStreamsServiceException$, DynamoDBStreamsServiceException);
|
|
304
|
-
const n0_registry = TypeRegistry
|
|
304
|
+
const n0_registry = new TypeRegistry(n0);
|
|
305
305
|
var ExpiredIteratorException$ = [-3, n0, _EIE,
|
|
306
306
|
{ [_e]: _c },
|
|
307
307
|
[_m],
|
|
@@ -89,10 +89,10 @@ const n0 = "com.amazonaws.dynamodbstreams";
|
|
|
89
89
|
import { TypeRegistry } from "@smithy/core/schema";
|
|
90
90
|
import { DynamoDBStreamsServiceException } from "../models/DynamoDBStreamsServiceException";
|
|
91
91
|
import { ExpiredIteratorException, InternalServerError, LimitExceededException, ResourceNotFoundException, TrimmedDataAccessException, } from "../models/errors";
|
|
92
|
-
const _s_registry = TypeRegistry
|
|
92
|
+
const _s_registry = new TypeRegistry(_s);
|
|
93
93
|
export var DynamoDBStreamsServiceException$ = [-3, _s, "DynamoDBStreamsServiceException", 0, [], []];
|
|
94
94
|
_s_registry.registerError(DynamoDBStreamsServiceException$, DynamoDBStreamsServiceException);
|
|
95
|
-
const n0_registry = TypeRegistry
|
|
95
|
+
const n0_registry = new TypeRegistry(n0);
|
|
96
96
|
export var ExpiredIteratorException$ = [-3, n0, _EIE,
|
|
97
97
|
{ [_e]: _c },
|
|
98
98
|
[_m],
|
|
@@ -1,35 +1,41 @@
|
|
|
1
|
-
import type { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
1
|
+
import type { HttpHandlerOptions as __HttpHandlerOptions, MetricsRecorder as __MetricsRecorder } from "@smithy/types";
|
|
2
2
|
import { type DescribeStreamCommandInput, type DescribeStreamCommandOutput } from "./commands/DescribeStreamCommand";
|
|
3
3
|
import { type GetRecordsCommandInput, type GetRecordsCommandOutput } from "./commands/GetRecordsCommand";
|
|
4
4
|
import { type GetShardIteratorCommandInput, type GetShardIteratorCommandOutput } from "./commands/GetShardIteratorCommand";
|
|
5
5
|
import { type ListStreamsCommandInput, type ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
|
|
6
6
|
import { DynamoDBStreamsClient } from "./DynamoDBStreamsClient";
|
|
7
|
+
/**
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
export interface DynamoDBStreamsRequestOptions extends __HttpHandlerOptions {
|
|
11
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
12
|
+
}
|
|
7
13
|
export interface DynamoDBStreams {
|
|
8
14
|
/**
|
|
9
15
|
* @see {@link DescribeStreamCommand}
|
|
10
16
|
*/
|
|
11
|
-
describeStream(args: DescribeStreamCommandInput, options?:
|
|
17
|
+
describeStream(args: DescribeStreamCommandInput, options?: DynamoDBStreamsRequestOptions): Promise<DescribeStreamCommandOutput>;
|
|
12
18
|
describeStream(args: DescribeStreamCommandInput, cb: (err: any, data?: DescribeStreamCommandOutput) => void): void;
|
|
13
|
-
describeStream(args: DescribeStreamCommandInput, options:
|
|
19
|
+
describeStream(args: DescribeStreamCommandInput, options: DynamoDBStreamsRequestOptions, cb: (err: any, data?: DescribeStreamCommandOutput) => void): void;
|
|
14
20
|
/**
|
|
15
21
|
* @see {@link GetRecordsCommand}
|
|
16
22
|
*/
|
|
17
|
-
getRecords(args: GetRecordsCommandInput, options?:
|
|
23
|
+
getRecords(args: GetRecordsCommandInput, options?: DynamoDBStreamsRequestOptions): Promise<GetRecordsCommandOutput>;
|
|
18
24
|
getRecords(args: GetRecordsCommandInput, cb: (err: any, data?: GetRecordsCommandOutput) => void): void;
|
|
19
|
-
getRecords(args: GetRecordsCommandInput, options:
|
|
25
|
+
getRecords(args: GetRecordsCommandInput, options: DynamoDBStreamsRequestOptions, cb: (err: any, data?: GetRecordsCommandOutput) => void): void;
|
|
20
26
|
/**
|
|
21
27
|
* @see {@link GetShardIteratorCommand}
|
|
22
28
|
*/
|
|
23
|
-
getShardIterator(args: GetShardIteratorCommandInput, options?:
|
|
29
|
+
getShardIterator(args: GetShardIteratorCommandInput, options?: DynamoDBStreamsRequestOptions): Promise<GetShardIteratorCommandOutput>;
|
|
24
30
|
getShardIterator(args: GetShardIteratorCommandInput, cb: (err: any, data?: GetShardIteratorCommandOutput) => void): void;
|
|
25
|
-
getShardIterator(args: GetShardIteratorCommandInput, options:
|
|
31
|
+
getShardIterator(args: GetShardIteratorCommandInput, options: DynamoDBStreamsRequestOptions, cb: (err: any, data?: GetShardIteratorCommandOutput) => void): void;
|
|
26
32
|
/**
|
|
27
33
|
* @see {@link ListStreamsCommand}
|
|
28
34
|
*/
|
|
29
35
|
listStreams(): Promise<ListStreamsCommandOutput>;
|
|
30
|
-
listStreams(args: ListStreamsCommandInput, options?:
|
|
36
|
+
listStreams(args: ListStreamsCommandInput, options?: DynamoDBStreamsRequestOptions): Promise<ListStreamsCommandOutput>;
|
|
31
37
|
listStreams(args: ListStreamsCommandInput, cb: (err: any, data?: ListStreamsCommandOutput) => void): void;
|
|
32
|
-
listStreams(args: ListStreamsCommandInput, options:
|
|
38
|
+
listStreams(args: ListStreamsCommandInput, options: DynamoDBStreamsRequestOptions, cb: (err: any, data?: ListStreamsCommandOutput) => void): void;
|
|
33
39
|
}
|
|
34
40
|
/**
|
|
35
41
|
* <fullname>Amazon DynamoDB</fullname>
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
MetricsRecorder as __MetricsRecorder,
|
|
4
|
+
} from "@smithy/types";
|
|
2
5
|
import {
|
|
3
6
|
DescribeStreamCommandInput,
|
|
4
7
|
DescribeStreamCommandOutput,
|
|
@@ -10,10 +13,13 @@ import {
|
|
|
10
13
|
} from "./commands/GetShardIteratorCommand";
|
|
11
14
|
import { ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
|
|
12
15
|
import { DynamoDBStreamsClient } from "./DynamoDBStreamsClient";
|
|
16
|
+
export interface DynamoDBStreamsRequestOptions extends __HttpHandlerOptions {
|
|
17
|
+
metricsRecorder?: __MetricsRecorder<unknown>;
|
|
18
|
+
}
|
|
13
19
|
export interface DynamoDBStreams {
|
|
14
20
|
describeStream(
|
|
15
21
|
args: DescribeStreamCommandInput,
|
|
16
|
-
options?:
|
|
22
|
+
options?: DynamoDBStreamsRequestOptions,
|
|
17
23
|
): Promise<DescribeStreamCommandOutput>;
|
|
18
24
|
describeStream(
|
|
19
25
|
args: DescribeStreamCommandInput,
|
|
@@ -21,12 +27,12 @@ export interface DynamoDBStreams {
|
|
|
21
27
|
): void;
|
|
22
28
|
describeStream(
|
|
23
29
|
args: DescribeStreamCommandInput,
|
|
24
|
-
options:
|
|
30
|
+
options: DynamoDBStreamsRequestOptions,
|
|
25
31
|
cb: (err: any, data?: DescribeStreamCommandOutput) => void,
|
|
26
32
|
): void;
|
|
27
33
|
getRecords(
|
|
28
34
|
args: GetRecordsCommandInput,
|
|
29
|
-
options?:
|
|
35
|
+
options?: DynamoDBStreamsRequestOptions,
|
|
30
36
|
): Promise<GetRecordsCommandOutput>;
|
|
31
37
|
getRecords(
|
|
32
38
|
args: GetRecordsCommandInput,
|
|
@@ -34,12 +40,12 @@ export interface DynamoDBStreams {
|
|
|
34
40
|
): void;
|
|
35
41
|
getRecords(
|
|
36
42
|
args: GetRecordsCommandInput,
|
|
37
|
-
options:
|
|
43
|
+
options: DynamoDBStreamsRequestOptions,
|
|
38
44
|
cb: (err: any, data?: GetRecordsCommandOutput) => void,
|
|
39
45
|
): void;
|
|
40
46
|
getShardIterator(
|
|
41
47
|
args: GetShardIteratorCommandInput,
|
|
42
|
-
options?:
|
|
48
|
+
options?: DynamoDBStreamsRequestOptions,
|
|
43
49
|
): Promise<GetShardIteratorCommandOutput>;
|
|
44
50
|
getShardIterator(
|
|
45
51
|
args: GetShardIteratorCommandInput,
|
|
@@ -47,13 +53,13 @@ export interface DynamoDBStreams {
|
|
|
47
53
|
): void;
|
|
48
54
|
getShardIterator(
|
|
49
55
|
args: GetShardIteratorCommandInput,
|
|
50
|
-
options:
|
|
56
|
+
options: DynamoDBStreamsRequestOptions,
|
|
51
57
|
cb: (err: any, data?: GetShardIteratorCommandOutput) => void,
|
|
52
58
|
): void;
|
|
53
59
|
listStreams(): Promise<ListStreamsCommandOutput>;
|
|
54
60
|
listStreams(
|
|
55
61
|
args: ListStreamsCommandInput,
|
|
56
|
-
options?:
|
|
62
|
+
options?: DynamoDBStreamsRequestOptions,
|
|
57
63
|
): Promise<ListStreamsCommandOutput>;
|
|
58
64
|
listStreams(
|
|
59
65
|
args: ListStreamsCommandInput,
|
|
@@ -61,7 +67,7 @@ export interface DynamoDBStreams {
|
|
|
61
67
|
): void;
|
|
62
68
|
listStreams(
|
|
63
69
|
args: ListStreamsCommandInput,
|
|
64
|
-
options:
|
|
70
|
+
options: DynamoDBStreamsRequestOptions,
|
|
65
71
|
cb: (err: any, data?: ListStreamsCommandOutput) => void,
|
|
66
72
|
): void;
|
|
67
73
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-dynamodb-streams",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1139.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Dynamodb Streams Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-dynamodb-streams",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -52,13 +52,13 @@
|
|
|
52
52
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
53
53
|
},
|
|
54
54
|
"dependencies": {
|
|
55
|
-
"@aws-sdk/core": "^3.978.
|
|
56
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
57
|
-
"@aws-sdk/types": "^3.974.
|
|
58
|
-
"@smithy/core": "^3.
|
|
59
|
-
"@smithy/fetch-http-handler": "^5.
|
|
60
|
-
"@smithy/node-http-handler": "^4.
|
|
61
|
-
"@smithy/types": "^4.
|
|
55
|
+
"@aws-sdk/core": "^3.978.1",
|
|
56
|
+
"@aws-sdk/credential-provider-node": "^3.972.84",
|
|
57
|
+
"@aws-sdk/types": "^3.974.6",
|
|
58
|
+
"@smithy/core": "^3.35.0",
|
|
59
|
+
"@smithy/fetch-http-handler": "^5.8.0",
|
|
60
|
+
"@smithy/node-http-handler": "^4.12.1",
|
|
61
|
+
"@smithy/types": "^4.19.0",
|
|
62
62
|
"tslib": "^2.6.2"
|
|
63
63
|
},
|
|
64
64
|
"devDependencies": {
|