@aws-sdk/client-dynamodb-streams 3.927.0 → 3.929.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 +251 -361
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/DynamoDBStreamsClient.js +2 -0
- package/dist-es/commands/DescribeStreamCommand.js +3 -9
- package/dist-es/commands/GetRecordsCommand.js +3 -9
- package/dist-es/commands/GetShardIteratorCommand.js +3 -9
- package/dist-es/commands/ListStreamsCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +230 -0
- package/dist-types/DynamoDBStreamsClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +40 -0
- package/dist-types/ts3.4/DynamoDBStreamsClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +46 -0
- package/package.json +5 -5
- package/dist-es/protocols/Aws_json1_0.js +0 -322
- package/dist-types/protocols/Aws_json1_0.d.ts +0 -38
- package/dist-types/ts3.4/protocols/Aws_json1_0.d.ts +0 -53
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRuntimeConfig = void 0;
|
|
4
4
|
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const protocols_1 = require("@aws-sdk/core/protocols");
|
|
5
6
|
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
7
|
const url_parser_1 = require("@smithy/url-parser");
|
|
7
8
|
const util_base64_1 = require("@smithy/util-base64");
|
|
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
|
|
|
25
26
|
},
|
|
26
27
|
],
|
|
27
28
|
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
29
|
+
protocol: config?.protocol ??
|
|
30
|
+
new protocols_1.AwsJson1_0Protocol({
|
|
31
|
+
defaultNamespace: "com.amazonaws.dynamodbstreams",
|
|
32
|
+
serviceTarget: "DynamoDBStreams_20120810",
|
|
33
|
+
awsQueryCompatible: false,
|
|
34
|
+
}),
|
|
28
35
|
serviceId: config?.serviceId ?? "DynamoDB Streams",
|
|
29
36
|
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
37
|
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
|
|
|
4
4
|
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
5
|
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
6
|
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getSchemaSerdePlugin } from "@smithy/core/schema";
|
|
7
8
|
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
9
|
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
10
|
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
@@ -28,6 +29,7 @@ export class DynamoDBStreamsClient extends __Client {
|
|
|
28
29
|
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
29
30
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
30
31
|
this.config = _config_8;
|
|
32
|
+
this.middlewareStack.use(getSchemaSerdePlugin(this.config));
|
|
31
33
|
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
32
34
|
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
33
35
|
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { DescribeStream } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class DescribeStreamCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("DynamoDBStreams_20120810", "DescribeStream", {})
|
|
17
13
|
.n("DynamoDBStreamsClient", "DescribeStreamCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_DescribeStreamCommand)
|
|
20
|
-
.de(de_DescribeStreamCommand)
|
|
14
|
+
.sc(DescribeStream)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetRecords } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetRecordsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("DynamoDBStreams_20120810", "GetRecords", {})
|
|
17
13
|
.n("DynamoDBStreamsClient", "GetRecordsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetRecordsCommand)
|
|
20
|
-
.de(de_GetRecordsCommand)
|
|
14
|
+
.sc(GetRecords)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { GetShardIterator } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class GetShardIteratorCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("DynamoDBStreams_20120810", "GetShardIterator", {})
|
|
17
13
|
.n("DynamoDBStreamsClient", "GetShardIteratorCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_GetShardIteratorCommand)
|
|
20
|
-
.de(de_GetShardIteratorCommand)
|
|
14
|
+
.sc(GetShardIterator)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
-
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
2
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
3
|
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
-
import {
|
|
4
|
+
import { ListStreams } from "../schemas/schemas_0";
|
|
6
5
|
export { $Command };
|
|
7
6
|
export class ListStreamsCommand extends $Command
|
|
8
7
|
.classBuilder()
|
|
9
8
|
.ep(commonParams)
|
|
10
9
|
.m(function (Command, cs, config, o) {
|
|
11
|
-
return [
|
|
12
|
-
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
-
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
-
];
|
|
10
|
+
return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
15
11
|
})
|
|
16
12
|
.s("DynamoDBStreams_20120810", "ListStreams", {})
|
|
17
13
|
.n("DynamoDBStreamsClient", "ListStreamsCommand")
|
|
18
|
-
.
|
|
19
|
-
.ser(se_ListStreamsCommand)
|
|
20
|
-
.de(de_ListStreamsCommand)
|
|
14
|
+
.sc(ListStreams)
|
|
21
15
|
.build() {
|
|
22
16
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AwsSdkSigV4Signer } from "@aws-sdk/core";
|
|
2
|
+
import { AwsJson1_0Protocol } from "@aws-sdk/core/protocols";
|
|
2
3
|
import { NoOpLogger } from "@smithy/smithy-client";
|
|
3
4
|
import { parseUrl } from "@smithy/url-parser";
|
|
4
5
|
import { fromBase64, toBase64 } from "@smithy/util-base64";
|
|
@@ -22,6 +23,12 @@ export const getRuntimeConfig = (config) => {
|
|
|
22
23
|
},
|
|
23
24
|
],
|
|
24
25
|
logger: config?.logger ?? new NoOpLogger(),
|
|
26
|
+
protocol: config?.protocol ??
|
|
27
|
+
new AwsJson1_0Protocol({
|
|
28
|
+
defaultNamespace: "com.amazonaws.dynamodbstreams",
|
|
29
|
+
serviceTarget: "DynamoDBStreams_20120810",
|
|
30
|
+
awsQueryCompatible: false,
|
|
31
|
+
}),
|
|
25
32
|
serviceId: config?.serviceId ?? "DynamoDB Streams",
|
|
26
33
|
urlParser: config?.urlParser ?? parseUrl,
|
|
27
34
|
utf8Decoder: config?.utf8Decoder ?? fromUtf8,
|
|
@@ -0,0 +1,230 @@
|
|
|
1
|
+
const _ACDT = "ApproximateCreationDateTime";
|
|
2
|
+
const _AM = "AttributeMap";
|
|
3
|
+
const _AN = "AttributeName";
|
|
4
|
+
const _AV = "AttributeValue";
|
|
5
|
+
const _B = "B";
|
|
6
|
+
const _BOOL = "BOOL";
|
|
7
|
+
const _BS = "BS";
|
|
8
|
+
const _CRDT = "CreationRequestDateTime";
|
|
9
|
+
const _DS = "DescribeStream";
|
|
10
|
+
const _DSI = "DescribeStreamInput";
|
|
11
|
+
const _DSO = "DescribeStreamOutput";
|
|
12
|
+
const _EIE = "ExpiredIteratorException";
|
|
13
|
+
const _ESN = "EndingSequenceNumber";
|
|
14
|
+
const _ESSA = "ExclusiveStartStreamArn";
|
|
15
|
+
const _ESSI = "ExclusiveStartShardId";
|
|
16
|
+
const _GR = "GetRecords";
|
|
17
|
+
const _GRI = "GetRecordsInput";
|
|
18
|
+
const _GRO = "GetRecordsOutput";
|
|
19
|
+
const _GSI = "GetShardIterator";
|
|
20
|
+
const _GSII = "GetShardIteratorInput";
|
|
21
|
+
const _GSIO = "GetShardIteratorOutput";
|
|
22
|
+
const _I = "Identity";
|
|
23
|
+
const _ISE = "InternalServerError";
|
|
24
|
+
const _K = "Keys";
|
|
25
|
+
const _KS = "KeySchema";
|
|
26
|
+
const _KSE = "KeySchemaElement";
|
|
27
|
+
const _KT = "KeyType";
|
|
28
|
+
const _L = "Limit";
|
|
29
|
+
const _LAV = "ListAttributeValue";
|
|
30
|
+
const _LEE = "LimitExceededException";
|
|
31
|
+
const _LESA = "LastEvaluatedStreamArn";
|
|
32
|
+
const _LESI = "LastEvaluatedShardId";
|
|
33
|
+
const _LS = "ListStreams";
|
|
34
|
+
const _LSI = "ListStreamsInput";
|
|
35
|
+
const _LSO = "ListStreamsOutput";
|
|
36
|
+
const _L_ = "L";
|
|
37
|
+
const _M = "M";
|
|
38
|
+
const _MAV = "MapAttributeValue";
|
|
39
|
+
const _N = "N";
|
|
40
|
+
const _NI = "NewImage";
|
|
41
|
+
const _NS = "NS";
|
|
42
|
+
const _NSI = "NextShardIterator";
|
|
43
|
+
const _NULL = "NULL";
|
|
44
|
+
const _OI = "OldImage";
|
|
45
|
+
const _PI = "PrincipalId";
|
|
46
|
+
const _PSI = "ParentShardId";
|
|
47
|
+
const _R = "Records";
|
|
48
|
+
const _RL = "RecordList";
|
|
49
|
+
const _RNFE = "ResourceNotFoundException";
|
|
50
|
+
const _Re = "Record";
|
|
51
|
+
const _S = "Streams";
|
|
52
|
+
const _SA = "StreamArn";
|
|
53
|
+
const _SB = "SizeBytes";
|
|
54
|
+
const _SD = "StreamDescription";
|
|
55
|
+
const _SDL = "ShardDescriptionList";
|
|
56
|
+
const _SF = "ShardFilter";
|
|
57
|
+
const _SI = "ShardIterator";
|
|
58
|
+
const _SIT = "ShardIteratorType";
|
|
59
|
+
const _SIh = "ShardId";
|
|
60
|
+
const _SL = "StreamLabel";
|
|
61
|
+
const _SLt = "StreamList";
|
|
62
|
+
const _SN = "SequenceNumber";
|
|
63
|
+
const _SNR = "SequenceNumberRange";
|
|
64
|
+
const _SR = "StreamRecord";
|
|
65
|
+
const _SS = "StreamStatus";
|
|
66
|
+
const _SSN = "StartingSequenceNumber";
|
|
67
|
+
const _SS_ = "SS";
|
|
68
|
+
const _SVT = "StreamViewType";
|
|
69
|
+
const _S_ = "S";
|
|
70
|
+
const _Sh = "Shard";
|
|
71
|
+
const _Sha = "Shards";
|
|
72
|
+
const _St = "Stream";
|
|
73
|
+
const _T = "Type";
|
|
74
|
+
const _TDAE = "TrimmedDataAccessException";
|
|
75
|
+
const _TN = "TableName";
|
|
76
|
+
const _aR = "awsRegion";
|
|
77
|
+
const _c = "client";
|
|
78
|
+
const _d = "dynamodb";
|
|
79
|
+
const _e = "error";
|
|
80
|
+
const _eID = "eventID";
|
|
81
|
+
const _eN = "eventName";
|
|
82
|
+
const _eS = "eventSource";
|
|
83
|
+
const _eV = "eventVersion";
|
|
84
|
+
const _m = "message";
|
|
85
|
+
const _s = "server";
|
|
86
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.dynamodbstreams";
|
|
87
|
+
const _uI = "userIdentity";
|
|
88
|
+
const n0 = "com.amazonaws.dynamodbstreams";
|
|
89
|
+
import { TypeRegistry } from "@smithy/core/schema";
|
|
90
|
+
import { DynamoDBStreamsServiceException as __DynamoDBStreamsServiceException } from "../models/DynamoDBStreamsServiceException";
|
|
91
|
+
import { ExpiredIteratorException as __ExpiredIteratorException, InternalServerError as __InternalServerError, LimitExceededException as __LimitExceededException, ResourceNotFoundException as __ResourceNotFoundException, TrimmedDataAccessException as __TrimmedDataAccessException, } from "../models/index";
|
|
92
|
+
export var DescribeStreamInput = [
|
|
93
|
+
3,
|
|
94
|
+
n0,
|
|
95
|
+
_DSI,
|
|
96
|
+
0,
|
|
97
|
+
[_SA, _L, _ESSI, _SF],
|
|
98
|
+
[0, 1, 0, () => ShardFilter],
|
|
99
|
+
];
|
|
100
|
+
export var DescribeStreamOutput = [3, n0, _DSO, 0, [_SD], [() => StreamDescription]];
|
|
101
|
+
export var ExpiredIteratorException = [
|
|
102
|
+
-3,
|
|
103
|
+
n0,
|
|
104
|
+
_EIE,
|
|
105
|
+
{
|
|
106
|
+
[_e]: _c,
|
|
107
|
+
},
|
|
108
|
+
[_m],
|
|
109
|
+
[0],
|
|
110
|
+
];
|
|
111
|
+
TypeRegistry.for(n0).registerError(ExpiredIteratorException, __ExpiredIteratorException);
|
|
112
|
+
export var GetRecordsInput = [3, n0, _GRI, 0, [_SI, _L], [0, 1]];
|
|
113
|
+
export var GetRecordsOutput = [3, n0, _GRO, 0, [_R, _NSI], [() => RecordList, 0]];
|
|
114
|
+
export var GetShardIteratorInput = [3, n0, _GSII, 0, [_SA, _SIh, _SIT, _SN], [0, 0, 0, 0]];
|
|
115
|
+
export var GetShardIteratorOutput = [3, n0, _GSIO, 0, [_SI], [0]];
|
|
116
|
+
export var Identity = [3, n0, _I, 0, [_PI, _T], [0, 0]];
|
|
117
|
+
export var InternalServerError = [
|
|
118
|
+
-3,
|
|
119
|
+
n0,
|
|
120
|
+
_ISE,
|
|
121
|
+
{
|
|
122
|
+
[_e]: _s,
|
|
123
|
+
},
|
|
124
|
+
[_m],
|
|
125
|
+
[0],
|
|
126
|
+
];
|
|
127
|
+
TypeRegistry.for(n0).registerError(InternalServerError, __InternalServerError);
|
|
128
|
+
export var KeySchemaElement = [3, n0, _KSE, 0, [_AN, _KT], [0, 0]];
|
|
129
|
+
export var LimitExceededException = [
|
|
130
|
+
-3,
|
|
131
|
+
n0,
|
|
132
|
+
_LEE,
|
|
133
|
+
{
|
|
134
|
+
[_e]: _c,
|
|
135
|
+
},
|
|
136
|
+
[_m],
|
|
137
|
+
[0],
|
|
138
|
+
];
|
|
139
|
+
TypeRegistry.for(n0).registerError(LimitExceededException, __LimitExceededException);
|
|
140
|
+
export var ListStreamsInput = [3, n0, _LSI, 0, [_TN, _L, _ESSA], [0, 1, 0]];
|
|
141
|
+
export var ListStreamsOutput = [3, n0, _LSO, 0, [_S, _LESA], [() => StreamList, 0]];
|
|
142
|
+
export var _Record = [
|
|
143
|
+
3,
|
|
144
|
+
n0,
|
|
145
|
+
_Re,
|
|
146
|
+
0,
|
|
147
|
+
[_eID, _eN, _eV, _eS, _aR, _d, _uI],
|
|
148
|
+
[0, 0, 0, 0, 0, () => StreamRecord, () => Identity],
|
|
149
|
+
];
|
|
150
|
+
export var ResourceNotFoundException = [
|
|
151
|
+
-3,
|
|
152
|
+
n0,
|
|
153
|
+
_RNFE,
|
|
154
|
+
{
|
|
155
|
+
[_e]: _c,
|
|
156
|
+
},
|
|
157
|
+
[_m],
|
|
158
|
+
[0],
|
|
159
|
+
];
|
|
160
|
+
TypeRegistry.for(n0).registerError(ResourceNotFoundException, __ResourceNotFoundException);
|
|
161
|
+
export var SequenceNumberRange = [3, n0, _SNR, 0, [_SSN, _ESN], [0, 0]];
|
|
162
|
+
export var Shard = [3, n0, _Sh, 0, [_SIh, _SNR, _PSI], [0, () => SequenceNumberRange, 0]];
|
|
163
|
+
export var ShardFilter = [3, n0, _SF, 0, [_T, _SIh], [0, 0]];
|
|
164
|
+
export var _Stream = [3, n0, _St, 0, [_SA, _TN, _SL], [0, 0, 0]];
|
|
165
|
+
export var StreamDescription = [
|
|
166
|
+
3,
|
|
167
|
+
n0,
|
|
168
|
+
_SD,
|
|
169
|
+
0,
|
|
170
|
+
[_SA, _SL, _SS, _SVT, _CRDT, _TN, _KS, _Sha, _LESI],
|
|
171
|
+
[0, 0, 0, 0, 4, 0, () => KeySchema, () => ShardDescriptionList, 0],
|
|
172
|
+
];
|
|
173
|
+
export var StreamRecord = [
|
|
174
|
+
3,
|
|
175
|
+
n0,
|
|
176
|
+
_SR,
|
|
177
|
+
0,
|
|
178
|
+
[_ACDT, _K, _NI, _OI, _SN, _SB, _SVT],
|
|
179
|
+
[4, () => AttributeMap, () => AttributeMap, () => AttributeMap, 0, 1, 0],
|
|
180
|
+
];
|
|
181
|
+
export var TrimmedDataAccessException = [
|
|
182
|
+
-3,
|
|
183
|
+
n0,
|
|
184
|
+
_TDAE,
|
|
185
|
+
{
|
|
186
|
+
[_e]: _c,
|
|
187
|
+
},
|
|
188
|
+
[_m],
|
|
189
|
+
[0],
|
|
190
|
+
];
|
|
191
|
+
TypeRegistry.for(n0).registerError(TrimmedDataAccessException, __TrimmedDataAccessException);
|
|
192
|
+
export var __Unit = "unit";
|
|
193
|
+
export var DynamoDBStreamsServiceException = [-3, _sm, "DynamoDBStreamsServiceException", 0, [], []];
|
|
194
|
+
TypeRegistry.for(_sm).registerError(DynamoDBStreamsServiceException, __DynamoDBStreamsServiceException);
|
|
195
|
+
export var BinarySetAttributeValue = 64 | 21;
|
|
196
|
+
export var KeySchema = [1, n0, _KS, 0, () => KeySchemaElement];
|
|
197
|
+
export var ListAttributeValue = [1, n0, _LAV, 0, () => AttributeValue];
|
|
198
|
+
export var NumberSetAttributeValue = 64 | 0;
|
|
199
|
+
export var RecordList = [1, n0, _RL, 0, () => _Record];
|
|
200
|
+
export var ShardDescriptionList = [1, n0, _SDL, 0, () => Shard];
|
|
201
|
+
export var StreamList = [1, n0, _SLt, 0, () => _Stream];
|
|
202
|
+
export var StringSetAttributeValue = 64 | 0;
|
|
203
|
+
export var AttributeMap = [2, n0, _AM, 0, 0, () => AttributeValue];
|
|
204
|
+
export var MapAttributeValue = [2, n0, _MAV, 0, 0, () => AttributeValue];
|
|
205
|
+
export var AttributeValue = [
|
|
206
|
+
3,
|
|
207
|
+
n0,
|
|
208
|
+
_AV,
|
|
209
|
+
0,
|
|
210
|
+
[_S_, _N, _B, _SS_, _NS, _BS, _M, _L_, _NULL, _BOOL],
|
|
211
|
+
[0, 0, 21, 64 | 0, 64 | 0, 64 | 21, () => MapAttributeValue, () => ListAttributeValue, 2, 2],
|
|
212
|
+
];
|
|
213
|
+
export var DescribeStream = [
|
|
214
|
+
9,
|
|
215
|
+
n0,
|
|
216
|
+
_DS,
|
|
217
|
+
0,
|
|
218
|
+
() => DescribeStreamInput,
|
|
219
|
+
() => DescribeStreamOutput,
|
|
220
|
+
];
|
|
221
|
+
export var GetRecords = [9, n0, _GR, 0, () => GetRecordsInput, () => GetRecordsOutput];
|
|
222
|
+
export var GetShardIterator = [
|
|
223
|
+
9,
|
|
224
|
+
n0,
|
|
225
|
+
_GSI,
|
|
226
|
+
0,
|
|
227
|
+
() => GetShardIteratorInput,
|
|
228
|
+
() => GetShardIteratorOutput,
|
|
229
|
+
];
|
|
230
|
+
export var ListStreams = [9, n0, _LS, 0, () => ListStreamsInput, () => ListStreamsOutput];
|
|
@@ -5,7 +5,7 @@ import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-
|
|
|
5
5
|
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
6
|
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
7
|
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
|
-
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, ClientProtocol, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, HttpRequest, HttpResponse, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
9
|
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
10
|
import { DescribeStreamCommandInput, DescribeStreamCommandOutput } from "./commands/DescribeStreamCommand";
|
|
11
11
|
import { GetRecordsCommandInput, GetRecordsCommandOutput } from "./commands/GetRecordsCommand";
|
|
@@ -145,6 +145,15 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
145
145
|
* Optional extensions
|
|
146
146
|
*/
|
|
147
147
|
extensions?: RuntimeExtension[];
|
|
148
|
+
/**
|
|
149
|
+
* The protocol controlling the message type (e.g. HTTP) and format (e.g. JSON)
|
|
150
|
+
* may be overridden. A default will always be set by the client.
|
|
151
|
+
* Available options depend on the service's supported protocols and will not be validated by
|
|
152
|
+
* the client.
|
|
153
|
+
* @alpha
|
|
154
|
+
*
|
|
155
|
+
*/
|
|
156
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
148
157
|
/**
|
|
149
158
|
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
150
159
|
*/
|
|
@@ -29,6 +29,7 @@ export declare const getRuntimeConfig: (config: DynamoDBStreamsClientConfig) =>
|
|
|
29
29
|
profile?: string;
|
|
30
30
|
logger: import("@smithy/types").Logger;
|
|
31
31
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
32
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
32
33
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
33
34
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
34
35
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
@@ -31,6 +31,7 @@ export declare const getRuntimeConfig: (config: DynamoDBStreamsClientConfig) =>
|
|
|
31
31
|
profile?: string;
|
|
32
32
|
logger: import("@smithy/types").Logger;
|
|
33
33
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
34
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
34
35
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
35
36
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2;
|
|
36
37
|
endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
|
|
@@ -27,6 +27,7 @@ export declare const getRuntimeConfig: (config: DynamoDBStreamsClientConfig) =>
|
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
29
29
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
30
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
30
31
|
defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
|
|
31
32
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
32
33
|
userAgentAppId?: string | undefined | import("@smithy/types").Provider<string | undefined>;
|
|
@@ -14,6 +14,7 @@ export declare const getRuntimeConfig: (config: DynamoDBStreamsClientConfig) =>
|
|
|
14
14
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DynamoDBStreamsHttpAuthSchemeProvider;
|
|
15
15
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
16
16
|
logger: import("@smithy/types").Logger;
|
|
17
|
+
protocol: import("@smithy/types").ClientProtocol<import("@smithy/types").HttpRequest, import("@smithy/types").HttpResponse>;
|
|
17
18
|
serviceId: string;
|
|
18
19
|
urlParser: import("@smithy/types").UrlParser;
|
|
19
20
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { StaticErrorSchema, StaticListSchema, StaticMapSchema, StaticOperationSchema, StaticStructureSchema } from "@smithy/types";
|
|
2
|
+
export declare var DescribeStreamInput: StaticStructureSchema;
|
|
3
|
+
export declare var DescribeStreamOutput: StaticStructureSchema;
|
|
4
|
+
export declare var ExpiredIteratorException: StaticErrorSchema;
|
|
5
|
+
export declare var GetRecordsInput: StaticStructureSchema;
|
|
6
|
+
export declare var GetRecordsOutput: StaticStructureSchema;
|
|
7
|
+
export declare var GetShardIteratorInput: StaticStructureSchema;
|
|
8
|
+
export declare var GetShardIteratorOutput: StaticStructureSchema;
|
|
9
|
+
export declare var Identity: StaticStructureSchema;
|
|
10
|
+
export declare var InternalServerError: StaticErrorSchema;
|
|
11
|
+
export declare var KeySchemaElement: StaticStructureSchema;
|
|
12
|
+
export declare var LimitExceededException: StaticErrorSchema;
|
|
13
|
+
export declare var ListStreamsInput: StaticStructureSchema;
|
|
14
|
+
export declare var ListStreamsOutput: StaticStructureSchema;
|
|
15
|
+
export declare var _Record: StaticStructureSchema;
|
|
16
|
+
export declare var ResourceNotFoundException: StaticErrorSchema;
|
|
17
|
+
export declare var SequenceNumberRange: StaticStructureSchema;
|
|
18
|
+
export declare var Shard: StaticStructureSchema;
|
|
19
|
+
export declare var ShardFilter: StaticStructureSchema;
|
|
20
|
+
export declare var _Stream: StaticStructureSchema;
|
|
21
|
+
export declare var StreamDescription: StaticStructureSchema;
|
|
22
|
+
export declare var StreamRecord: StaticStructureSchema;
|
|
23
|
+
export declare var TrimmedDataAccessException: StaticErrorSchema;
|
|
24
|
+
export declare var __Unit: "unit";
|
|
25
|
+
export declare var DynamoDBStreamsServiceException: StaticErrorSchema;
|
|
26
|
+
export declare var BinarySetAttributeValue: number;
|
|
27
|
+
export declare var KeySchema: StaticListSchema;
|
|
28
|
+
export declare var ListAttributeValue: StaticListSchema;
|
|
29
|
+
export declare var NumberSetAttributeValue: number;
|
|
30
|
+
export declare var RecordList: StaticListSchema;
|
|
31
|
+
export declare var ShardDescriptionList: StaticListSchema;
|
|
32
|
+
export declare var StreamList: StaticListSchema;
|
|
33
|
+
export declare var StringSetAttributeValue: number;
|
|
34
|
+
export declare var AttributeMap: StaticMapSchema;
|
|
35
|
+
export declare var MapAttributeValue: StaticMapSchema;
|
|
36
|
+
export declare var AttributeValue: StaticStructureSchema;
|
|
37
|
+
export declare var DescribeStream: StaticOperationSchema;
|
|
38
|
+
export declare var GetRecords: StaticOperationSchema;
|
|
39
|
+
export declare var GetShardIterator: StaticOperationSchema;
|
|
40
|
+
export declare var ListStreams: StaticOperationSchema;
|
|
@@ -30,10 +30,13 @@ import {
|
|
|
30
30
|
BodyLengthCalculator as __BodyLengthCalculator,
|
|
31
31
|
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
32
32
|
ChecksumConstructor as __ChecksumConstructor,
|
|
33
|
+
ClientProtocol,
|
|
33
34
|
Decoder as __Decoder,
|
|
34
35
|
Encoder as __Encoder,
|
|
35
36
|
HashConstructor as __HashConstructor,
|
|
36
37
|
HttpHandlerOptions as __HttpHandlerOptions,
|
|
38
|
+
HttpRequest,
|
|
39
|
+
HttpResponse,
|
|
37
40
|
Logger as __Logger,
|
|
38
41
|
Provider as __Provider,
|
|
39
42
|
Provider,
|
|
@@ -102,6 +105,7 @@ export interface ClientDefaults
|
|
|
102
105
|
retryMode?: string | __Provider<string>;
|
|
103
106
|
logger?: __Logger;
|
|
104
107
|
extensions?: RuntimeExtension[];
|
|
108
|
+
protocol?: ClientProtocol<HttpRequest, HttpResponse>;
|
|
105
109
|
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
106
110
|
}
|
|
107
111
|
export type DynamoDBStreamsClientConfigType = Partial<
|
|
@@ -40,6 +40,10 @@ export declare const getRuntimeConfig: (
|
|
|
40
40
|
profile?: string;
|
|
41
41
|
logger: import("@smithy/types").Logger;
|
|
42
42
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
43
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
44
|
+
import("@smithy/types").HttpRequest,
|
|
45
|
+
import("@smithy/types").HttpResponse
|
|
46
|
+
>;
|
|
43
47
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
44
48
|
userAgentAppId?:
|
|
45
49
|
| string
|
|
@@ -40,6 +40,10 @@ export declare const getRuntimeConfig: (
|
|
|
40
40
|
profile?: string;
|
|
41
41
|
logger: import("@smithy/types").Logger;
|
|
42
42
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
43
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
44
|
+
import("@smithy/types").HttpRequest,
|
|
45
|
+
import("@smithy/types").HttpResponse
|
|
46
|
+
>;
|
|
43
47
|
customUserAgent?: string | import("@smithy/types").UserAgent;
|
|
44
48
|
retryStrategy?:
|
|
45
49
|
| import("@smithy/types").RetryStrategy
|
|
@@ -39,6 +39,10 @@ export declare const getRuntimeConfig: (
|
|
|
39
39
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
40
40
|
logger: import("@smithy/types").Logger;
|
|
41
41
|
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
42
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
43
|
+
import("@smithy/types").HttpRequest,
|
|
44
|
+
import("@smithy/types").HttpResponse
|
|
45
|
+
>;
|
|
42
46
|
defaultsMode:
|
|
43
47
|
| import("@smithy/smithy-client").DefaultsMode
|
|
44
48
|
| import("@smithy/types").Provider<
|
|
@@ -16,6 +16,10 @@ export declare const getRuntimeConfig: (
|
|
|
16
16
|
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").DynamoDBStreamsHttpAuthSchemeProvider;
|
|
17
17
|
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
18
18
|
logger: import("@smithy/types").Logger;
|
|
19
|
+
protocol: import("@smithy/types").ClientProtocol<
|
|
20
|
+
import("@smithy/types").HttpRequest,
|
|
21
|
+
import("@smithy/types").HttpResponse
|
|
22
|
+
>;
|
|
19
23
|
serviceId: string;
|
|
20
24
|
urlParser: import("@smithy/types").UrlParser;
|
|
21
25
|
utf8Decoder: import("@smithy/types").Decoder;
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import {
|
|
2
|
+
StaticErrorSchema,
|
|
3
|
+
StaticListSchema,
|
|
4
|
+
StaticMapSchema,
|
|
5
|
+
StaticOperationSchema,
|
|
6
|
+
StaticStructureSchema,
|
|
7
|
+
} from "@smithy/types";
|
|
8
|
+
export declare var DescribeStreamInput: StaticStructureSchema;
|
|
9
|
+
export declare var DescribeStreamOutput: StaticStructureSchema;
|
|
10
|
+
export declare var ExpiredIteratorException: StaticErrorSchema;
|
|
11
|
+
export declare var GetRecordsInput: StaticStructureSchema;
|
|
12
|
+
export declare var GetRecordsOutput: StaticStructureSchema;
|
|
13
|
+
export declare var GetShardIteratorInput: StaticStructureSchema;
|
|
14
|
+
export declare var GetShardIteratorOutput: StaticStructureSchema;
|
|
15
|
+
export declare var Identity: StaticStructureSchema;
|
|
16
|
+
export declare var InternalServerError: StaticErrorSchema;
|
|
17
|
+
export declare var KeySchemaElement: StaticStructureSchema;
|
|
18
|
+
export declare var LimitExceededException: StaticErrorSchema;
|
|
19
|
+
export declare var ListStreamsInput: StaticStructureSchema;
|
|
20
|
+
export declare var ListStreamsOutput: StaticStructureSchema;
|
|
21
|
+
export declare var _Record: StaticStructureSchema;
|
|
22
|
+
export declare var ResourceNotFoundException: StaticErrorSchema;
|
|
23
|
+
export declare var SequenceNumberRange: StaticStructureSchema;
|
|
24
|
+
export declare var Shard: StaticStructureSchema;
|
|
25
|
+
export declare var ShardFilter: StaticStructureSchema;
|
|
26
|
+
export declare var _Stream: StaticStructureSchema;
|
|
27
|
+
export declare var StreamDescription: StaticStructureSchema;
|
|
28
|
+
export declare var StreamRecord: StaticStructureSchema;
|
|
29
|
+
export declare var TrimmedDataAccessException: StaticErrorSchema;
|
|
30
|
+
export declare var __Unit: "unit";
|
|
31
|
+
export declare var DynamoDBStreamsServiceException: StaticErrorSchema;
|
|
32
|
+
export declare var BinarySetAttributeValue: number;
|
|
33
|
+
export declare var KeySchema: StaticListSchema;
|
|
34
|
+
export declare var ListAttributeValue: StaticListSchema;
|
|
35
|
+
export declare var NumberSetAttributeValue: number;
|
|
36
|
+
export declare var RecordList: StaticListSchema;
|
|
37
|
+
export declare var ShardDescriptionList: StaticListSchema;
|
|
38
|
+
export declare var StreamList: StaticListSchema;
|
|
39
|
+
export declare var StringSetAttributeValue: number;
|
|
40
|
+
export declare var AttributeMap: StaticMapSchema;
|
|
41
|
+
export declare var MapAttributeValue: StaticMapSchema;
|
|
42
|
+
export declare var AttributeValue: StaticStructureSchema;
|
|
43
|
+
export declare var DescribeStream: StaticOperationSchema;
|
|
44
|
+
export declare var GetRecords: StaticOperationSchema;
|
|
45
|
+
export declare var GetShardIterator: StaticOperationSchema;
|
|
46
|
+
export declare var ListStreams: StaticOperationSchema;
|
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.929.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-dynamodb-streams",
|
|
@@ -20,17 +20,17 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.928.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.929.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.922.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.922.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.922.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.928.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.925.0",
|
|
30
30
|
"@aws-sdk/types": "3.922.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.922.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.922.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.928.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.4.2",
|
|
35
35
|
"@smithy/core": "^3.17.2",
|
|
36
36
|
"@smithy/fetch-http-handler": "^5.3.5",
|