@aws-sdk/client-dynamodb-streams 3.721.0 → 3.726.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 +63 -47
- package/dist-es/DynamoDBStreamsClient.js +1 -0
- package/dist-es/models/models_0.js +10 -10
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +5 -3
- package/dist-types/ts3.4/runtimeConfig.d.ts +9 -7
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +20 -8
- package/package.json +43 -43
package/dist-cjs/index.js
CHANGED
|
@@ -139,7 +139,14 @@ var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions
|
|
|
139
139
|
}, "resolveRuntimeExtensions");
|
|
140
140
|
|
|
141
141
|
// src/DynamoDBStreamsClient.ts
|
|
142
|
-
var
|
|
142
|
+
var DynamoDBStreamsClient = class extends import_smithy_client.Client {
|
|
143
|
+
static {
|
|
144
|
+
__name(this, "DynamoDBStreamsClient");
|
|
145
|
+
}
|
|
146
|
+
/**
|
|
147
|
+
* The resolved configuration of DynamoDBStreamsClient class. This is resolved and normalized from the {@link DynamoDBStreamsClientConfig | constructor configuration interface}.
|
|
148
|
+
*/
|
|
149
|
+
config;
|
|
143
150
|
constructor(...[configuration]) {
|
|
144
151
|
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
145
152
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -149,7 +156,7 @@ var _DynamoDBStreamsClient = class _DynamoDBStreamsClient extends import_smithy_
|
|
|
149
156
|
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
150
157
|
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
151
158
|
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
152
|
-
const _config_8 = resolveRuntimeExtensions(_config_7,
|
|
159
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
153
160
|
super(_config_8);
|
|
154
161
|
this.config = _config_8;
|
|
155
162
|
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
@@ -177,8 +184,6 @@ var _DynamoDBStreamsClient = class _DynamoDBStreamsClient extends import_smithy_
|
|
|
177
184
|
super.destroy();
|
|
178
185
|
}
|
|
179
186
|
};
|
|
180
|
-
__name(_DynamoDBStreamsClient, "DynamoDBStreamsClient");
|
|
181
|
-
var DynamoDBStreamsClient = _DynamoDBStreamsClient;
|
|
182
187
|
|
|
183
188
|
// src/DynamoDBStreams.ts
|
|
184
189
|
|
|
@@ -195,7 +200,10 @@ var import_core2 = require("@aws-sdk/core");
|
|
|
195
200
|
|
|
196
201
|
// src/models/DynamoDBStreamsServiceException.ts
|
|
197
202
|
|
|
198
|
-
var
|
|
203
|
+
var DynamoDBStreamsServiceException = class _DynamoDBStreamsServiceException extends import_smithy_client.ServiceException {
|
|
204
|
+
static {
|
|
205
|
+
__name(this, "DynamoDBStreamsServiceException");
|
|
206
|
+
}
|
|
199
207
|
/**
|
|
200
208
|
* @internal
|
|
201
209
|
*/
|
|
@@ -204,8 +212,6 @@ var _DynamoDBStreamsServiceException = class _DynamoDBStreamsServiceException ex
|
|
|
204
212
|
Object.setPrototypeOf(this, _DynamoDBStreamsServiceException.prototype);
|
|
205
213
|
}
|
|
206
214
|
};
|
|
207
|
-
__name(_DynamoDBStreamsServiceException, "DynamoDBStreamsServiceException");
|
|
208
|
-
var DynamoDBStreamsServiceException = _DynamoDBStreamsServiceException;
|
|
209
215
|
|
|
210
216
|
// src/models/models_0.ts
|
|
211
217
|
var KeyType = {
|
|
@@ -224,7 +230,12 @@ var StreamViewType = {
|
|
|
224
230
|
NEW_IMAGE: "NEW_IMAGE",
|
|
225
231
|
OLD_IMAGE: "OLD_IMAGE"
|
|
226
232
|
};
|
|
227
|
-
var
|
|
233
|
+
var InternalServerError = class _InternalServerError extends DynamoDBStreamsServiceException {
|
|
234
|
+
static {
|
|
235
|
+
__name(this, "InternalServerError");
|
|
236
|
+
}
|
|
237
|
+
name = "InternalServerError";
|
|
238
|
+
$fault = "server";
|
|
228
239
|
/**
|
|
229
240
|
* @internal
|
|
230
241
|
*/
|
|
@@ -234,14 +245,15 @@ var _InternalServerError = class _InternalServerError extends DynamoDBStreamsSer
|
|
|
234
245
|
$fault: "server",
|
|
235
246
|
...opts
|
|
236
247
|
});
|
|
237
|
-
this.name = "InternalServerError";
|
|
238
|
-
this.$fault = "server";
|
|
239
248
|
Object.setPrototypeOf(this, _InternalServerError.prototype);
|
|
240
249
|
}
|
|
241
250
|
};
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
251
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends DynamoDBStreamsServiceException {
|
|
252
|
+
static {
|
|
253
|
+
__name(this, "ResourceNotFoundException");
|
|
254
|
+
}
|
|
255
|
+
name = "ResourceNotFoundException";
|
|
256
|
+
$fault = "client";
|
|
245
257
|
/**
|
|
246
258
|
* @internal
|
|
247
259
|
*/
|
|
@@ -251,14 +263,15 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Dynamo
|
|
|
251
263
|
$fault: "client",
|
|
252
264
|
...opts
|
|
253
265
|
});
|
|
254
|
-
this.name = "ResourceNotFoundException";
|
|
255
|
-
this.$fault = "client";
|
|
256
266
|
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
257
267
|
}
|
|
258
268
|
};
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
269
|
+
var ExpiredIteratorException = class _ExpiredIteratorException extends DynamoDBStreamsServiceException {
|
|
270
|
+
static {
|
|
271
|
+
__name(this, "ExpiredIteratorException");
|
|
272
|
+
}
|
|
273
|
+
name = "ExpiredIteratorException";
|
|
274
|
+
$fault = "client";
|
|
262
275
|
/**
|
|
263
276
|
* @internal
|
|
264
277
|
*/
|
|
@@ -268,19 +281,20 @@ var _ExpiredIteratorException = class _ExpiredIteratorException extends DynamoDB
|
|
|
268
281
|
$fault: "client",
|
|
269
282
|
...opts
|
|
270
283
|
});
|
|
271
|
-
this.name = "ExpiredIteratorException";
|
|
272
|
-
this.$fault = "client";
|
|
273
284
|
Object.setPrototypeOf(this, _ExpiredIteratorException.prototype);
|
|
274
285
|
}
|
|
275
286
|
};
|
|
276
|
-
__name(_ExpiredIteratorException, "ExpiredIteratorException");
|
|
277
|
-
var ExpiredIteratorException = _ExpiredIteratorException;
|
|
278
287
|
var OperationType = {
|
|
279
288
|
INSERT: "INSERT",
|
|
280
289
|
MODIFY: "MODIFY",
|
|
281
290
|
REMOVE: "REMOVE"
|
|
282
291
|
};
|
|
283
|
-
var
|
|
292
|
+
var LimitExceededException = class _LimitExceededException extends DynamoDBStreamsServiceException {
|
|
293
|
+
static {
|
|
294
|
+
__name(this, "LimitExceededException");
|
|
295
|
+
}
|
|
296
|
+
name = "LimitExceededException";
|
|
297
|
+
$fault = "client";
|
|
284
298
|
/**
|
|
285
299
|
* @internal
|
|
286
300
|
*/
|
|
@@ -290,14 +304,15 @@ var _LimitExceededException = class _LimitExceededException extends DynamoDBStre
|
|
|
290
304
|
$fault: "client",
|
|
291
305
|
...opts
|
|
292
306
|
});
|
|
293
|
-
this.name = "LimitExceededException";
|
|
294
|
-
this.$fault = "client";
|
|
295
307
|
Object.setPrototypeOf(this, _LimitExceededException.prototype);
|
|
296
308
|
}
|
|
297
309
|
};
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
310
|
+
var TrimmedDataAccessException = class _TrimmedDataAccessException extends DynamoDBStreamsServiceException {
|
|
311
|
+
static {
|
|
312
|
+
__name(this, "TrimmedDataAccessException");
|
|
313
|
+
}
|
|
314
|
+
name = "TrimmedDataAccessException";
|
|
315
|
+
$fault = "client";
|
|
301
316
|
/**
|
|
302
317
|
* @internal
|
|
303
318
|
*/
|
|
@@ -307,13 +322,9 @@ var _TrimmedDataAccessException = class _TrimmedDataAccessException extends Dyna
|
|
|
307
322
|
$fault: "client",
|
|
308
323
|
...opts
|
|
309
324
|
});
|
|
310
|
-
this.name = "TrimmedDataAccessException";
|
|
311
|
-
this.$fault = "client";
|
|
312
325
|
Object.setPrototypeOf(this, _TrimmedDataAccessException.prototype);
|
|
313
326
|
}
|
|
314
327
|
};
|
|
315
|
-
__name(_TrimmedDataAccessException, "TrimmedDataAccessException");
|
|
316
|
-
var TrimmedDataAccessException = _TrimmedDataAccessException;
|
|
317
328
|
var ShardIteratorType = {
|
|
318
329
|
AFTER_SEQUENCE_NUMBER: "AFTER_SEQUENCE_NUMBER",
|
|
319
330
|
AT_SEQUENCE_NUMBER: "AT_SEQUENCE_NUMBER",
|
|
@@ -661,57 +672,61 @@ function sharedHeaders(operation) {
|
|
|
661
672
|
__name(sharedHeaders, "sharedHeaders");
|
|
662
673
|
|
|
663
674
|
// src/commands/DescribeStreamCommand.ts
|
|
664
|
-
var
|
|
675
|
+
var DescribeStreamCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
665
676
|
return [
|
|
666
677
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
667
678
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
668
679
|
];
|
|
669
680
|
}).s("DynamoDBStreams_20120810", "DescribeStream", {}).n("DynamoDBStreamsClient", "DescribeStreamCommand").f(void 0, void 0).ser(se_DescribeStreamCommand).de(de_DescribeStreamCommand).build() {
|
|
681
|
+
static {
|
|
682
|
+
__name(this, "DescribeStreamCommand");
|
|
683
|
+
}
|
|
670
684
|
};
|
|
671
|
-
__name(_DescribeStreamCommand, "DescribeStreamCommand");
|
|
672
|
-
var DescribeStreamCommand = _DescribeStreamCommand;
|
|
673
685
|
|
|
674
686
|
// src/commands/GetRecordsCommand.ts
|
|
675
687
|
|
|
676
688
|
|
|
677
689
|
|
|
678
|
-
var
|
|
690
|
+
var GetRecordsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
679
691
|
return [
|
|
680
692
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
681
693
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
682
694
|
];
|
|
683
695
|
}).s("DynamoDBStreams_20120810", "GetRecords", {}).n("DynamoDBStreamsClient", "GetRecordsCommand").f(void 0, void 0).ser(se_GetRecordsCommand).de(de_GetRecordsCommand).build() {
|
|
696
|
+
static {
|
|
697
|
+
__name(this, "GetRecordsCommand");
|
|
698
|
+
}
|
|
684
699
|
};
|
|
685
|
-
__name(_GetRecordsCommand, "GetRecordsCommand");
|
|
686
|
-
var GetRecordsCommand = _GetRecordsCommand;
|
|
687
700
|
|
|
688
701
|
// src/commands/GetShardIteratorCommand.ts
|
|
689
702
|
|
|
690
703
|
|
|
691
704
|
|
|
692
|
-
var
|
|
705
|
+
var GetShardIteratorCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
693
706
|
return [
|
|
694
707
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
695
708
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
696
709
|
];
|
|
697
710
|
}).s("DynamoDBStreams_20120810", "GetShardIterator", {}).n("DynamoDBStreamsClient", "GetShardIteratorCommand").f(void 0, void 0).ser(se_GetShardIteratorCommand).de(de_GetShardIteratorCommand).build() {
|
|
711
|
+
static {
|
|
712
|
+
__name(this, "GetShardIteratorCommand");
|
|
713
|
+
}
|
|
698
714
|
};
|
|
699
|
-
__name(_GetShardIteratorCommand, "GetShardIteratorCommand");
|
|
700
|
-
var GetShardIteratorCommand = _GetShardIteratorCommand;
|
|
701
715
|
|
|
702
716
|
// src/commands/ListStreamsCommand.ts
|
|
703
717
|
|
|
704
718
|
|
|
705
719
|
|
|
706
|
-
var
|
|
720
|
+
var ListStreamsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
707
721
|
return [
|
|
708
722
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
709
723
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
710
724
|
];
|
|
711
725
|
}).s("DynamoDBStreams_20120810", "ListStreams", {}).n("DynamoDBStreamsClient", "ListStreamsCommand").f(void 0, void 0).ser(se_ListStreamsCommand).de(de_ListStreamsCommand).build() {
|
|
726
|
+
static {
|
|
727
|
+
__name(this, "ListStreamsCommand");
|
|
728
|
+
}
|
|
712
729
|
};
|
|
713
|
-
__name(_ListStreamsCommand, "ListStreamsCommand");
|
|
714
|
-
var ListStreamsCommand = _ListStreamsCommand;
|
|
715
730
|
|
|
716
731
|
// src/DynamoDBStreams.ts
|
|
717
732
|
var commands = {
|
|
@@ -720,10 +735,11 @@ var commands = {
|
|
|
720
735
|
GetShardIteratorCommand,
|
|
721
736
|
ListStreamsCommand
|
|
722
737
|
};
|
|
723
|
-
var
|
|
738
|
+
var DynamoDBStreams = class extends DynamoDBStreamsClient {
|
|
739
|
+
static {
|
|
740
|
+
__name(this, "DynamoDBStreams");
|
|
741
|
+
}
|
|
724
742
|
};
|
|
725
|
-
__name(_DynamoDBStreams, "DynamoDBStreams");
|
|
726
|
-
var DynamoDBStreams = _DynamoDBStreams;
|
|
727
743
|
(0, import_smithy_client.createAggregatedClient)(commands, DynamoDBStreams);
|
|
728
744
|
// Annotate the CommonJS export names for ESM import in node:
|
|
729
745
|
|
|
@@ -14,6 +14,7 @@ import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
|
14
14
|
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
15
|
export { __Client };
|
|
16
16
|
export class DynamoDBStreamsClient extends __Client {
|
|
17
|
+
config;
|
|
17
18
|
constructor(...[configuration]) {
|
|
18
19
|
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
20
|
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
@@ -16,38 +16,38 @@ export const StreamViewType = {
|
|
|
16
16
|
OLD_IMAGE: "OLD_IMAGE",
|
|
17
17
|
};
|
|
18
18
|
export class InternalServerError extends __BaseException {
|
|
19
|
+
name = "InternalServerError";
|
|
20
|
+
$fault = "server";
|
|
19
21
|
constructor(opts) {
|
|
20
22
|
super({
|
|
21
23
|
name: "InternalServerError",
|
|
22
24
|
$fault: "server",
|
|
23
25
|
...opts,
|
|
24
26
|
});
|
|
25
|
-
this.name = "InternalServerError";
|
|
26
|
-
this.$fault = "server";
|
|
27
27
|
Object.setPrototypeOf(this, InternalServerError.prototype);
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
export class ResourceNotFoundException extends __BaseException {
|
|
31
|
+
name = "ResourceNotFoundException";
|
|
32
|
+
$fault = "client";
|
|
31
33
|
constructor(opts) {
|
|
32
34
|
super({
|
|
33
35
|
name: "ResourceNotFoundException",
|
|
34
36
|
$fault: "client",
|
|
35
37
|
...opts,
|
|
36
38
|
});
|
|
37
|
-
this.name = "ResourceNotFoundException";
|
|
38
|
-
this.$fault = "client";
|
|
39
39
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
42
|
export class ExpiredIteratorException extends __BaseException {
|
|
43
|
+
name = "ExpiredIteratorException";
|
|
44
|
+
$fault = "client";
|
|
43
45
|
constructor(opts) {
|
|
44
46
|
super({
|
|
45
47
|
name: "ExpiredIteratorException",
|
|
46
48
|
$fault: "client",
|
|
47
49
|
...opts,
|
|
48
50
|
});
|
|
49
|
-
this.name = "ExpiredIteratorException";
|
|
50
|
-
this.$fault = "client";
|
|
51
51
|
Object.setPrototypeOf(this, ExpiredIteratorException.prototype);
|
|
52
52
|
}
|
|
53
53
|
}
|
|
@@ -57,26 +57,26 @@ export const OperationType = {
|
|
|
57
57
|
REMOVE: "REMOVE",
|
|
58
58
|
};
|
|
59
59
|
export class LimitExceededException extends __BaseException {
|
|
60
|
+
name = "LimitExceededException";
|
|
61
|
+
$fault = "client";
|
|
60
62
|
constructor(opts) {
|
|
61
63
|
super({
|
|
62
64
|
name: "LimitExceededException",
|
|
63
65
|
$fault: "client",
|
|
64
66
|
...opts,
|
|
65
67
|
});
|
|
66
|
-
this.name = "LimitExceededException";
|
|
67
|
-
this.$fault = "client";
|
|
68
68
|
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
69
69
|
}
|
|
70
70
|
}
|
|
71
71
|
export class TrimmedDataAccessException extends __BaseException {
|
|
72
|
+
name = "TrimmedDataAccessException";
|
|
73
|
+
$fault = "client";
|
|
72
74
|
constructor(opts) {
|
|
73
75
|
super({
|
|
74
76
|
name: "TrimmedDataAccessException",
|
|
75
77
|
$fault: "client",
|
|
76
78
|
...opts,
|
|
77
79
|
});
|
|
78
|
-
this.name = "TrimmedDataAccessException";
|
|
79
|
-
this.$fault = "client";
|
|
80
80
|
Object.setPrototypeOf(this, TrimmedDataAccessException.prototype);
|
|
81
81
|
}
|
|
82
82
|
}
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: DynamoDBStreamsClientConfig) =>
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<any>;
|
|
@@ -7,7 +7,7 @@ export declare const getRuntimeConfig: (config: DynamoDBStreamsClientConfig) =>
|
|
|
7
7
|
runtime: string;
|
|
8
8
|
defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
|
|
9
9
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
10
|
-
credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity
|
|
10
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>);
|
|
11
11
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
12
12
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
13
13
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -22,7 +22,7 @@ export declare const getRuntimeConfig: (config: DynamoDBStreamsClientConfig) =>
|
|
|
22
22
|
region: string | import("@smithy/types").Provider<any>;
|
|
23
23
|
profile?: string | undefined;
|
|
24
24
|
defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
|
|
25
|
-
credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
25
|
+
credentialDefaultProvider: ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider) | ((_: unknown) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
26
26
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
27
27
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
28
28
|
logger: import("@smithy/types").Logger;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: DynamoDBStreamsClientConfig) =>
|
|
|
31
31
|
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
32
32
|
userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
|
|
33
33
|
retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
|
|
34
|
-
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> | undefined;
|
|
34
|
+
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;
|
|
35
35
|
endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
|
|
36
36
|
logger?: import("@smithy/types").Logger | undefined;
|
|
37
37
|
}) => import("@smithy/types").EndpointV2;
|
|
@@ -8,9 +8,11 @@ export declare const getRuntimeConfig: (
|
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider:
|
|
12
|
-
input: any
|
|
13
|
-
|
|
11
|
+
credentialDefaultProvider:
|
|
12
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
+
| ((
|
|
14
|
+
_: unknown
|
|
15
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
14
16
|
defaultUserAgentProvider: (
|
|
15
17
|
config?:
|
|
16
18
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
@@ -8,13 +8,15 @@ export declare const getRuntimeConfig: (
|
|
|
8
8
|
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
9
|
>;
|
|
10
10
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
-
credentialDefaultProvider:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
11
|
+
credentialDefaultProvider:
|
|
12
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
13
|
+
| ((
|
|
14
|
+
init?:
|
|
15
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
16
|
+
| undefined
|
|
17
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
18
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
19
|
+
>);
|
|
18
20
|
defaultUserAgentProvider: (
|
|
19
21
|
config?:
|
|
20
22
|
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
@@ -30,9 +30,11 @@ export declare const getRuntimeConfig: (
|
|
|
30
30
|
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
31
31
|
| undefined
|
|
32
32
|
) => Promise<import("@smithy/types").UserAgent>;
|
|
33
|
-
credentialDefaultProvider:
|
|
34
|
-
input: any
|
|
35
|
-
|
|
33
|
+
credentialDefaultProvider:
|
|
34
|
+
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider)
|
|
35
|
+
| ((
|
|
36
|
+
_: unknown
|
|
37
|
+
) => () => Promise<import("@smithy/types").AwsCredentialIdentity>);
|
|
36
38
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
37
39
|
retryMode: string | import("@smithy/types").Provider<string>;
|
|
38
40
|
logger: import("@smithy/types").Logger;
|
|
@@ -52,11 +54,21 @@ export declare const getRuntimeConfig: (
|
|
|
52
54
|
| import("@smithy/types").RetryStrategyV2
|
|
53
55
|
| undefined;
|
|
54
56
|
endpoint?:
|
|
55
|
-
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
57
|
+
| ((
|
|
58
|
+
| string
|
|
59
|
+
| import("@smithy/types").Endpoint
|
|
60
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
61
|
+
| import("@smithy/types").EndpointV2
|
|
62
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
63
|
+
) &
|
|
64
|
+
(
|
|
65
|
+
| string
|
|
66
|
+
| import("@smithy/types").Provider<string>
|
|
67
|
+
| import("@smithy/types").Endpoint
|
|
68
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
69
|
+
| import("@smithy/types").EndpointV2
|
|
70
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
71
|
+
))
|
|
60
72
|
| undefined;
|
|
61
73
|
endpointProvider: (
|
|
62
74
|
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
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.726.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,56 +20,56 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^
|
|
37
|
-
"@smithy/core": "^
|
|
38
|
-
"@smithy/fetch-http-handler": "^
|
|
39
|
-
"@smithy/hash-node": "^
|
|
40
|
-
"@smithy/invalid-dependency": "^
|
|
41
|
-
"@smithy/middleware-content-length": "^
|
|
42
|
-
"@smithy/middleware-endpoint": "^
|
|
43
|
-
"@smithy/middleware-retry": "^
|
|
44
|
-
"@smithy/middleware-serde": "^
|
|
45
|
-
"@smithy/middleware-stack": "^
|
|
46
|
-
"@smithy/node-config-provider": "^
|
|
47
|
-
"@smithy/node-http-handler": "^
|
|
48
|
-
"@smithy/protocol-http": "^
|
|
49
|
-
"@smithy/smithy-client": "^
|
|
50
|
-
"@smithy/types": "^
|
|
51
|
-
"@smithy/url-parser": "^
|
|
52
|
-
"@smithy/util-base64": "^
|
|
53
|
-
"@smithy/util-body-length-browser": "^
|
|
54
|
-
"@smithy/util-body-length-node": "^
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^
|
|
57
|
-
"@smithy/util-endpoints": "^
|
|
58
|
-
"@smithy/util-middleware": "^
|
|
59
|
-
"@smithy/util-retry": "^
|
|
60
|
-
"@smithy/util-utf8": "^
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.726.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.726.0",
|
|
25
|
+
"@aws-sdk/core": "3.723.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.726.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.723.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.723.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.723.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.726.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.723.0",
|
|
32
|
+
"@aws-sdk/types": "3.723.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.726.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.723.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.726.0",
|
|
36
|
+
"@smithy/config-resolver": "^4.0.0",
|
|
37
|
+
"@smithy/core": "^3.0.0",
|
|
38
|
+
"@smithy/fetch-http-handler": "^5.0.0",
|
|
39
|
+
"@smithy/hash-node": "^4.0.0",
|
|
40
|
+
"@smithy/invalid-dependency": "^4.0.0",
|
|
41
|
+
"@smithy/middleware-content-length": "^4.0.0",
|
|
42
|
+
"@smithy/middleware-endpoint": "^4.0.0",
|
|
43
|
+
"@smithy/middleware-retry": "^4.0.0",
|
|
44
|
+
"@smithy/middleware-serde": "^4.0.0",
|
|
45
|
+
"@smithy/middleware-stack": "^4.0.0",
|
|
46
|
+
"@smithy/node-config-provider": "^4.0.0",
|
|
47
|
+
"@smithy/node-http-handler": "^4.0.0",
|
|
48
|
+
"@smithy/protocol-http": "^5.0.0",
|
|
49
|
+
"@smithy/smithy-client": "^4.0.0",
|
|
50
|
+
"@smithy/types": "^4.0.0",
|
|
51
|
+
"@smithy/url-parser": "^4.0.0",
|
|
52
|
+
"@smithy/util-base64": "^4.0.0",
|
|
53
|
+
"@smithy/util-body-length-browser": "^4.0.0",
|
|
54
|
+
"@smithy/util-body-length-node": "^4.0.0",
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^4.0.0",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^4.0.0",
|
|
57
|
+
"@smithy/util-endpoints": "^3.0.0",
|
|
58
|
+
"@smithy/util-middleware": "^4.0.0",
|
|
59
|
+
"@smithy/util-retry": "^4.0.0",
|
|
60
|
+
"@smithy/util-utf8": "^4.0.0",
|
|
61
61
|
"tslib": "^2.6.2"
|
|
62
62
|
},
|
|
63
63
|
"devDependencies": {
|
|
64
|
-
"@tsconfig/
|
|
65
|
-
"@types/node": "^
|
|
64
|
+
"@tsconfig/node18": "18.2.4",
|
|
65
|
+
"@types/node": "^18.19.69",
|
|
66
66
|
"concurrently": "7.0.0",
|
|
67
67
|
"downlevel-dts": "0.10.1",
|
|
68
68
|
"rimraf": "3.0.2",
|
|
69
|
-
"typescript": "~
|
|
69
|
+
"typescript": "~5.2.2"
|
|
70
70
|
},
|
|
71
71
|
"engines": {
|
|
72
|
-
"node": ">=
|
|
72
|
+
"node": ">=18.0.0"
|
|
73
73
|
},
|
|
74
74
|
"typesVersions": {
|
|
75
75
|
"<4.0": {
|