@aws-sdk/client-kinesis 3.46.0 → 3.48.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 +35 -0
- package/dist-cjs/endpoints.js +0 -16
- package/dist-cjs/models/models_0.js +11 -101
- package/dist-cjs/runtimeConfig.browser.js +7 -2
- package/dist-cjs/runtimeConfig.js +10 -2
- package/dist-es/endpoints.js +0 -16
- package/dist-es/models/models_0.js +9 -69
- package/dist-es/runtimeConfig.browser.js +12 -3
- package/dist-es/runtimeConfig.js +13 -4
- package/dist-types/KinesisClient.d.ts +5 -1
- package/dist-types/models/models_0.d.ts +0 -90
- package/dist-types/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/runtimeConfig.d.ts +4 -3
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/ts3.4/KinesisClient.d.ts +3 -1
- package/dist-types/ts3.4/models/models_0.d.ts +0 -60
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +3 -2
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -3
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -0
- package/package.json +39 -39
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,41 @@
|
|
|
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.48.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.2...v3.48.0) (2022-01-22)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-kinesis
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [3.47.2](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.1...v3.47.2) (2022-01-21)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-kinesis
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @aws-sdk/client-kinesis
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
* **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
6
41
|
# [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
|
|
7
42
|
|
|
8
43
|
|
package/dist-cjs/endpoints.js
CHANGED
|
@@ -5,10 +5,6 @@ const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
|
5
5
|
const regionHash = {
|
|
6
6
|
"us-east-1": {
|
|
7
7
|
variants: [
|
|
8
|
-
{
|
|
9
|
-
hostname: "kinesis.us-east-1.amazonaws.com",
|
|
10
|
-
tags: [],
|
|
11
|
-
},
|
|
12
8
|
{
|
|
13
9
|
hostname: "kinesis-fips.us-east-1.amazonaws.com",
|
|
14
10
|
tags: ["fips"],
|
|
@@ -17,10 +13,6 @@ const regionHash = {
|
|
|
17
13
|
},
|
|
18
14
|
"us-east-2": {
|
|
19
15
|
variants: [
|
|
20
|
-
{
|
|
21
|
-
hostname: "kinesis.us-east-2.amazonaws.com",
|
|
22
|
-
tags: [],
|
|
23
|
-
},
|
|
24
16
|
{
|
|
25
17
|
hostname: "kinesis-fips.us-east-2.amazonaws.com",
|
|
26
18
|
tags: ["fips"],
|
|
@@ -47,10 +39,6 @@ const regionHash = {
|
|
|
47
39
|
},
|
|
48
40
|
"us-west-1": {
|
|
49
41
|
variants: [
|
|
50
|
-
{
|
|
51
|
-
hostname: "kinesis.us-west-1.amazonaws.com",
|
|
52
|
-
tags: [],
|
|
53
|
-
},
|
|
54
42
|
{
|
|
55
43
|
hostname: "kinesis-fips.us-west-1.amazonaws.com",
|
|
56
44
|
tags: ["fips"],
|
|
@@ -59,10 +47,6 @@ const regionHash = {
|
|
|
59
47
|
},
|
|
60
48
|
"us-west-2": {
|
|
61
49
|
variants: [
|
|
62
|
-
{
|
|
63
|
-
hostname: "kinesis.us-west-2.amazonaws.com",
|
|
64
|
-
tags: [],
|
|
65
|
-
},
|
|
66
50
|
{
|
|
67
51
|
hostname: "kinesis-fips.us-west-2.amazonaws.com",
|
|
68
52
|
tags: ["fips"],
|
|
@@ -1,37 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.UpdateStreamModeInput = exports.UpdateShardCountOutput = exports.UpdateShardCountInput = exports.ScalingType = exports.SubscribeToShardOutput = exports.SubscribeToShardEventStream = exports.SubscribeToShardEvent = exports.SubscribeToShardInput = exports.StartingPosition = exports.StopStreamEncryptionInput = exports.StartStreamEncryptionInput = exports.SplitShardInput = exports.RemoveTagsFromStreamInput = exports.RegisterStreamConsumerOutput = exports.RegisterStreamConsumerInput = exports.PutRecordsOutput = exports.PutRecordsResultEntry = exports.PutRecordsInput = exports.PutRecordsRequestEntry = exports.PutRecordOutput = exports.PutRecordInput =
|
|
3
|
+
exports.MergeShardsInput = exports.ListTagsForStreamOutput = exports.Tag = exports.ListTagsForStreamInput = exports.ListStreamsOutput = exports.ListStreamsInput = exports.ListStreamConsumersOutput = exports.ListStreamConsumersInput = exports.ListShardsOutput = exports.ListShardsInput = exports.ShardFilter = exports.ShardFilterType = exports.IncreaseStreamRetentionPeriodInput = exports.GetShardIteratorOutput = exports.GetShardIteratorInput = exports.ShardIteratorType = exports.GetRecordsOutput = exports._Record = exports.GetRecordsInput = exports.EnableEnhancedMonitoringInput = exports.EnhancedMonitoringOutput = exports.DisableEnhancedMonitoringInput = exports.DescribeStreamSummaryOutput = exports.StreamDescriptionSummary = exports.DescribeStreamSummaryInput = exports.DescribeStreamConsumerOutput = exports.DescribeStreamConsumerInput = exports.DescribeStreamOutput = exports.StreamDescription = exports.StreamStatus = exports.Shard = exports.SequenceNumberRange = exports.EnhancedMetrics = exports.MetricsName = exports.EncryptionType = exports.DescribeStreamInput = exports.DescribeLimitsOutput = exports.DescribeLimitsInput = exports.DeregisterStreamConsumerInput = exports.DeleteStreamInput = exports.DecreaseStreamRetentionPeriodInput = exports.CreateStreamInput = exports.StreamModeDetails = exports.StreamMode = exports.ConsumerDescription = exports.Consumer = exports.ConsumerStatus = exports.ChildShard = exports.HashKeyRange = exports.AddTagsToStreamInput = void 0;
|
|
4
|
+
exports.UpdateStreamModeInput = exports.UpdateShardCountOutput = exports.UpdateShardCountInput = exports.ScalingType = exports.SubscribeToShardOutput = exports.SubscribeToShardEventStream = exports.SubscribeToShardEvent = exports.SubscribeToShardInput = exports.StartingPosition = exports.StopStreamEncryptionInput = exports.StartStreamEncryptionInput = exports.SplitShardInput = exports.RemoveTagsFromStreamInput = exports.RegisterStreamConsumerOutput = exports.RegisterStreamConsumerInput = exports.PutRecordsOutput = exports.PutRecordsResultEntry = exports.PutRecordsInput = exports.PutRecordsRequestEntry = exports.PutRecordOutput = exports.PutRecordInput = void 0;
|
|
5
5
|
var AddTagsToStreamInput;
|
|
6
6
|
(function (AddTagsToStreamInput) {
|
|
7
7
|
AddTagsToStreamInput.filterSensitiveLog = (obj) => ({
|
|
8
8
|
...obj,
|
|
9
9
|
});
|
|
10
10
|
})(AddTagsToStreamInput = exports.AddTagsToStreamInput || (exports.AddTagsToStreamInput = {}));
|
|
11
|
-
var InvalidArgumentException;
|
|
12
|
-
(function (InvalidArgumentException) {
|
|
13
|
-
InvalidArgumentException.filterSensitiveLog = (obj) => ({
|
|
14
|
-
...obj,
|
|
15
|
-
});
|
|
16
|
-
})(InvalidArgumentException = exports.InvalidArgumentException || (exports.InvalidArgumentException = {}));
|
|
17
|
-
var LimitExceededException;
|
|
18
|
-
(function (LimitExceededException) {
|
|
19
|
-
LimitExceededException.filterSensitiveLog = (obj) => ({
|
|
20
|
-
...obj,
|
|
21
|
-
});
|
|
22
|
-
})(LimitExceededException = exports.LimitExceededException || (exports.LimitExceededException = {}));
|
|
23
|
-
var ResourceInUseException;
|
|
24
|
-
(function (ResourceInUseException) {
|
|
25
|
-
ResourceInUseException.filterSensitiveLog = (obj) => ({
|
|
26
|
-
...obj,
|
|
27
|
-
});
|
|
28
|
-
})(ResourceInUseException = exports.ResourceInUseException || (exports.ResourceInUseException = {}));
|
|
29
|
-
var ResourceNotFoundException;
|
|
30
|
-
(function (ResourceNotFoundException) {
|
|
31
|
-
ResourceNotFoundException.filterSensitiveLog = (obj) => ({
|
|
32
|
-
...obj,
|
|
33
|
-
});
|
|
34
|
-
})(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
|
|
35
11
|
var HashKeyRange;
|
|
36
12
|
(function (HashKeyRange) {
|
|
37
13
|
HashKeyRange.filterSensitiveLog = (obj) => ({
|
|
@@ -216,18 +192,6 @@ var EnableEnhancedMonitoringInput;
|
|
|
216
192
|
...obj,
|
|
217
193
|
});
|
|
218
194
|
})(EnableEnhancedMonitoringInput = exports.EnableEnhancedMonitoringInput || (exports.EnableEnhancedMonitoringInput = {}));
|
|
219
|
-
var ExpiredIteratorException;
|
|
220
|
-
(function (ExpiredIteratorException) {
|
|
221
|
-
ExpiredIteratorException.filterSensitiveLog = (obj) => ({
|
|
222
|
-
...obj,
|
|
223
|
-
});
|
|
224
|
-
})(ExpiredIteratorException = exports.ExpiredIteratorException || (exports.ExpiredIteratorException = {}));
|
|
225
|
-
var ExpiredNextTokenException;
|
|
226
|
-
(function (ExpiredNextTokenException) {
|
|
227
|
-
ExpiredNextTokenException.filterSensitiveLog = (obj) => ({
|
|
228
|
-
...obj,
|
|
229
|
-
});
|
|
230
|
-
})(ExpiredNextTokenException = exports.ExpiredNextTokenException || (exports.ExpiredNextTokenException = {}));
|
|
231
195
|
var GetRecordsInput;
|
|
232
196
|
(function (GetRecordsInput) {
|
|
233
197
|
GetRecordsInput.filterSensitiveLog = (obj) => ({
|
|
@@ -246,48 +210,6 @@ var GetRecordsOutput;
|
|
|
246
210
|
...obj,
|
|
247
211
|
});
|
|
248
212
|
})(GetRecordsOutput = exports.GetRecordsOutput || (exports.GetRecordsOutput = {}));
|
|
249
|
-
var KMSAccessDeniedException;
|
|
250
|
-
(function (KMSAccessDeniedException) {
|
|
251
|
-
KMSAccessDeniedException.filterSensitiveLog = (obj) => ({
|
|
252
|
-
...obj,
|
|
253
|
-
});
|
|
254
|
-
})(KMSAccessDeniedException = exports.KMSAccessDeniedException || (exports.KMSAccessDeniedException = {}));
|
|
255
|
-
var KMSDisabledException;
|
|
256
|
-
(function (KMSDisabledException) {
|
|
257
|
-
KMSDisabledException.filterSensitiveLog = (obj) => ({
|
|
258
|
-
...obj,
|
|
259
|
-
});
|
|
260
|
-
})(KMSDisabledException = exports.KMSDisabledException || (exports.KMSDisabledException = {}));
|
|
261
|
-
var KMSInvalidStateException;
|
|
262
|
-
(function (KMSInvalidStateException) {
|
|
263
|
-
KMSInvalidStateException.filterSensitiveLog = (obj) => ({
|
|
264
|
-
...obj,
|
|
265
|
-
});
|
|
266
|
-
})(KMSInvalidStateException = exports.KMSInvalidStateException || (exports.KMSInvalidStateException = {}));
|
|
267
|
-
var KMSNotFoundException;
|
|
268
|
-
(function (KMSNotFoundException) {
|
|
269
|
-
KMSNotFoundException.filterSensitiveLog = (obj) => ({
|
|
270
|
-
...obj,
|
|
271
|
-
});
|
|
272
|
-
})(KMSNotFoundException = exports.KMSNotFoundException || (exports.KMSNotFoundException = {}));
|
|
273
|
-
var KMSOptInRequired;
|
|
274
|
-
(function (KMSOptInRequired) {
|
|
275
|
-
KMSOptInRequired.filterSensitiveLog = (obj) => ({
|
|
276
|
-
...obj,
|
|
277
|
-
});
|
|
278
|
-
})(KMSOptInRequired = exports.KMSOptInRequired || (exports.KMSOptInRequired = {}));
|
|
279
|
-
var KMSThrottlingException;
|
|
280
|
-
(function (KMSThrottlingException) {
|
|
281
|
-
KMSThrottlingException.filterSensitiveLog = (obj) => ({
|
|
282
|
-
...obj,
|
|
283
|
-
});
|
|
284
|
-
})(KMSThrottlingException = exports.KMSThrottlingException || (exports.KMSThrottlingException = {}));
|
|
285
|
-
var ProvisionedThroughputExceededException;
|
|
286
|
-
(function (ProvisionedThroughputExceededException) {
|
|
287
|
-
ProvisionedThroughputExceededException.filterSensitiveLog = (obj) => ({
|
|
288
|
-
...obj,
|
|
289
|
-
});
|
|
290
|
-
})(ProvisionedThroughputExceededException = exports.ProvisionedThroughputExceededException || (exports.ProvisionedThroughputExceededException = {}));
|
|
291
213
|
var ShardIteratorType;
|
|
292
214
|
(function (ShardIteratorType) {
|
|
293
215
|
ShardIteratorType["AFTER_SEQUENCE_NUMBER"] = "AFTER_SEQUENCE_NUMBER";
|
|
@@ -314,12 +236,6 @@ var IncreaseStreamRetentionPeriodInput;
|
|
|
314
236
|
...obj,
|
|
315
237
|
});
|
|
316
238
|
})(IncreaseStreamRetentionPeriodInput = exports.IncreaseStreamRetentionPeriodInput || (exports.IncreaseStreamRetentionPeriodInput = {}));
|
|
317
|
-
var InternalFailureException;
|
|
318
|
-
(function (InternalFailureException) {
|
|
319
|
-
InternalFailureException.filterSensitiveLog = (obj) => ({
|
|
320
|
-
...obj,
|
|
321
|
-
});
|
|
322
|
-
})(InternalFailureException = exports.InternalFailureException || (exports.InternalFailureException = {}));
|
|
323
239
|
var ShardFilterType;
|
|
324
240
|
(function (ShardFilterType) {
|
|
325
241
|
ShardFilterType["AFTER_SHARD_ID"] = "AFTER_SHARD_ID";
|
|
@@ -395,12 +311,6 @@ var MergeShardsInput;
|
|
|
395
311
|
...obj,
|
|
396
312
|
});
|
|
397
313
|
})(MergeShardsInput = exports.MergeShardsInput || (exports.MergeShardsInput = {}));
|
|
398
|
-
var ValidationException;
|
|
399
|
-
(function (ValidationException) {
|
|
400
|
-
ValidationException.filterSensitiveLog = (obj) => ({
|
|
401
|
-
...obj,
|
|
402
|
-
});
|
|
403
|
-
})(ValidationException = exports.ValidationException || (exports.ValidationException = {}));
|
|
404
314
|
var PutRecordInput;
|
|
405
315
|
(function (PutRecordInput) {
|
|
406
316
|
PutRecordInput.filterSensitiveLog = (obj) => ({
|
|
@@ -520,23 +430,23 @@ var SubscribeToShardEventStream;
|
|
|
520
430
|
if (obj.SubscribeToShardEvent !== undefined)
|
|
521
431
|
return { SubscribeToShardEvent: SubscribeToShardEvent.filterSensitiveLog(obj.SubscribeToShardEvent) };
|
|
522
432
|
if (obj.ResourceNotFoundException !== undefined)
|
|
523
|
-
return { ResourceNotFoundException:
|
|
433
|
+
return { ResourceNotFoundException: obj.ResourceNotFoundException };
|
|
524
434
|
if (obj.ResourceInUseException !== undefined)
|
|
525
|
-
return { ResourceInUseException:
|
|
435
|
+
return { ResourceInUseException: obj.ResourceInUseException };
|
|
526
436
|
if (obj.KMSDisabledException !== undefined)
|
|
527
|
-
return { KMSDisabledException:
|
|
437
|
+
return { KMSDisabledException: obj.KMSDisabledException };
|
|
528
438
|
if (obj.KMSInvalidStateException !== undefined)
|
|
529
|
-
return { KMSInvalidStateException:
|
|
439
|
+
return { KMSInvalidStateException: obj.KMSInvalidStateException };
|
|
530
440
|
if (obj.KMSAccessDeniedException !== undefined)
|
|
531
|
-
return { KMSAccessDeniedException:
|
|
441
|
+
return { KMSAccessDeniedException: obj.KMSAccessDeniedException };
|
|
532
442
|
if (obj.KMSNotFoundException !== undefined)
|
|
533
|
-
return { KMSNotFoundException:
|
|
443
|
+
return { KMSNotFoundException: obj.KMSNotFoundException };
|
|
534
444
|
if (obj.KMSOptInRequired !== undefined)
|
|
535
|
-
return { KMSOptInRequired:
|
|
445
|
+
return { KMSOptInRequired: obj.KMSOptInRequired };
|
|
536
446
|
if (obj.KMSThrottlingException !== undefined)
|
|
537
|
-
return { KMSThrottlingException:
|
|
447
|
+
return { KMSThrottlingException: obj.KMSThrottlingException };
|
|
538
448
|
if (obj.InternalFailureException !== undefined)
|
|
539
|
-
return { InternalFailureException:
|
|
449
|
+
return { InternalFailureException: obj.InternalFailureException };
|
|
540
450
|
if (obj.$unknown !== undefined)
|
|
541
451
|
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
542
452
|
};
|
|
@@ -14,13 +14,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
|
14
14
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
15
15
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
16
16
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
17
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
18
|
+
const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
|
|
17
19
|
const getRuntimeConfig = (config) => {
|
|
18
20
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
21
|
+
const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
|
|
22
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
19
23
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
20
24
|
return {
|
|
21
25
|
...clientSharedValues,
|
|
22
26
|
...config,
|
|
23
27
|
runtime: "browser",
|
|
28
|
+
defaultsMode,
|
|
24
29
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
|
|
25
30
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
|
|
26
31
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
|
|
@@ -29,8 +34,8 @@ const getRuntimeConfig = (config) => {
|
|
|
29
34
|
eventStreamSerdeProvider: (_f = config === null || config === void 0 ? void 0 : config.eventStreamSerdeProvider) !== null && _f !== void 0 ? _f : eventstream_serde_browser_1.eventStreamSerdeProvider,
|
|
30
35
|
maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
31
36
|
region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : invalid_dependency_1.invalidProvider("Region is missing"),
|
|
32
|
-
requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new fetch_http_handler_1.FetchHttpHandler(),
|
|
33
|
-
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (() =>
|
|
37
|
+
requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
38
|
+
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
|
|
34
39
|
sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : sha256_browser_1.Sha256,
|
|
35
40
|
streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : fetch_http_handler_1.streamCollector,
|
|
36
41
|
useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -16,13 +16,18 @@ const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
|
16
16
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
17
17
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
18
18
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
19
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
20
|
+
const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
|
|
19
21
|
const getRuntimeConfig = (config) => {
|
|
20
22
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
23
|
+
const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
|
|
24
|
+
const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
|
|
21
25
|
const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
|
|
22
26
|
return {
|
|
23
27
|
...clientSharedValues,
|
|
24
28
|
...config,
|
|
25
29
|
runtime: "node",
|
|
30
|
+
defaultsMode,
|
|
26
31
|
base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
|
|
27
32
|
base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
|
|
28
33
|
bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
|
|
@@ -31,8 +36,11 @@ const getRuntimeConfig = (config) => {
|
|
|
31
36
|
eventStreamSerdeProvider: (_f = config === null || config === void 0 ? void 0 : config.eventStreamSerdeProvider) !== null && _f !== void 0 ? _f : eventstream_serde_node_1.eventStreamSerdeProvider,
|
|
32
37
|
maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
|
|
33
38
|
region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
|
|
34
|
-
requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new node_http_handler_1.NodeHttpHandler(),
|
|
35
|
-
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : node_config_provider_1.loadConfig(
|
|
39
|
+
requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
|
|
40
|
+
retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : node_config_provider_1.loadConfig({
|
|
41
|
+
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
42
|
+
default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
|
|
43
|
+
}),
|
|
36
44
|
sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : hash_node_1.Hash.bind(null, "sha256"),
|
|
37
45
|
streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : node_http_handler_1.streamCollector,
|
|
38
46
|
useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
|
package/dist-es/endpoints.js
CHANGED
|
@@ -3,10 +3,6 @@ import { getRegionInfo } from "@aws-sdk/config-resolver";
|
|
|
3
3
|
var regionHash = {
|
|
4
4
|
"us-east-1": {
|
|
5
5
|
variants: [
|
|
6
|
-
{
|
|
7
|
-
hostname: "kinesis.us-east-1.amazonaws.com",
|
|
8
|
-
tags: [],
|
|
9
|
-
},
|
|
10
6
|
{
|
|
11
7
|
hostname: "kinesis-fips.us-east-1.amazonaws.com",
|
|
12
8
|
tags: ["fips"],
|
|
@@ -15,10 +11,6 @@ var regionHash = {
|
|
|
15
11
|
},
|
|
16
12
|
"us-east-2": {
|
|
17
13
|
variants: [
|
|
18
|
-
{
|
|
19
|
-
hostname: "kinesis.us-east-2.amazonaws.com",
|
|
20
|
-
tags: [],
|
|
21
|
-
},
|
|
22
14
|
{
|
|
23
15
|
hostname: "kinesis-fips.us-east-2.amazonaws.com",
|
|
24
16
|
tags: ["fips"],
|
|
@@ -45,10 +37,6 @@ var regionHash = {
|
|
|
45
37
|
},
|
|
46
38
|
"us-west-1": {
|
|
47
39
|
variants: [
|
|
48
|
-
{
|
|
49
|
-
hostname: "kinesis.us-west-1.amazonaws.com",
|
|
50
|
-
tags: [],
|
|
51
|
-
},
|
|
52
40
|
{
|
|
53
41
|
hostname: "kinesis-fips.us-west-1.amazonaws.com",
|
|
54
42
|
tags: ["fips"],
|
|
@@ -57,10 +45,6 @@ var regionHash = {
|
|
|
57
45
|
},
|
|
58
46
|
"us-west-2": {
|
|
59
47
|
variants: [
|
|
60
|
-
{
|
|
61
|
-
hostname: "kinesis.us-west-2.amazonaws.com",
|
|
62
|
-
tags: [],
|
|
63
|
-
},
|
|
64
48
|
{
|
|
65
49
|
hostname: "kinesis-fips.us-west-2.amazonaws.com",
|
|
66
50
|
tags: ["fips"],
|
|
@@ -3,22 +3,6 @@ export var AddTagsToStreamInput;
|
|
|
3
3
|
(function (AddTagsToStreamInput) {
|
|
4
4
|
AddTagsToStreamInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
5
5
|
})(AddTagsToStreamInput || (AddTagsToStreamInput = {}));
|
|
6
|
-
export var InvalidArgumentException;
|
|
7
|
-
(function (InvalidArgumentException) {
|
|
8
|
-
InvalidArgumentException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
9
|
-
})(InvalidArgumentException || (InvalidArgumentException = {}));
|
|
10
|
-
export var LimitExceededException;
|
|
11
|
-
(function (LimitExceededException) {
|
|
12
|
-
LimitExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
13
|
-
})(LimitExceededException || (LimitExceededException = {}));
|
|
14
|
-
export var ResourceInUseException;
|
|
15
|
-
(function (ResourceInUseException) {
|
|
16
|
-
ResourceInUseException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
17
|
-
})(ResourceInUseException || (ResourceInUseException = {}));
|
|
18
|
-
export var ResourceNotFoundException;
|
|
19
|
-
(function (ResourceNotFoundException) {
|
|
20
|
-
ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
21
|
-
})(ResourceNotFoundException || (ResourceNotFoundException = {}));
|
|
22
6
|
export var HashKeyRange;
|
|
23
7
|
(function (HashKeyRange) {
|
|
24
8
|
HashKeyRange.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -153,14 +137,6 @@ export var EnableEnhancedMonitoringInput;
|
|
|
153
137
|
(function (EnableEnhancedMonitoringInput) {
|
|
154
138
|
EnableEnhancedMonitoringInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
155
139
|
})(EnableEnhancedMonitoringInput || (EnableEnhancedMonitoringInput = {}));
|
|
156
|
-
export var ExpiredIteratorException;
|
|
157
|
-
(function (ExpiredIteratorException) {
|
|
158
|
-
ExpiredIteratorException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
159
|
-
})(ExpiredIteratorException || (ExpiredIteratorException = {}));
|
|
160
|
-
export var ExpiredNextTokenException;
|
|
161
|
-
(function (ExpiredNextTokenException) {
|
|
162
|
-
ExpiredNextTokenException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
163
|
-
})(ExpiredNextTokenException || (ExpiredNextTokenException = {}));
|
|
164
140
|
export var GetRecordsInput;
|
|
165
141
|
(function (GetRecordsInput) {
|
|
166
142
|
GetRecordsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -173,34 +149,6 @@ export var GetRecordsOutput;
|
|
|
173
149
|
(function (GetRecordsOutput) {
|
|
174
150
|
GetRecordsOutput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
175
151
|
})(GetRecordsOutput || (GetRecordsOutput = {}));
|
|
176
|
-
export var KMSAccessDeniedException;
|
|
177
|
-
(function (KMSAccessDeniedException) {
|
|
178
|
-
KMSAccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
179
|
-
})(KMSAccessDeniedException || (KMSAccessDeniedException = {}));
|
|
180
|
-
export var KMSDisabledException;
|
|
181
|
-
(function (KMSDisabledException) {
|
|
182
|
-
KMSDisabledException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
183
|
-
})(KMSDisabledException || (KMSDisabledException = {}));
|
|
184
|
-
export var KMSInvalidStateException;
|
|
185
|
-
(function (KMSInvalidStateException) {
|
|
186
|
-
KMSInvalidStateException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
187
|
-
})(KMSInvalidStateException || (KMSInvalidStateException = {}));
|
|
188
|
-
export var KMSNotFoundException;
|
|
189
|
-
(function (KMSNotFoundException) {
|
|
190
|
-
KMSNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
191
|
-
})(KMSNotFoundException || (KMSNotFoundException = {}));
|
|
192
|
-
export var KMSOptInRequired;
|
|
193
|
-
(function (KMSOptInRequired) {
|
|
194
|
-
KMSOptInRequired.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
195
|
-
})(KMSOptInRequired || (KMSOptInRequired = {}));
|
|
196
|
-
export var KMSThrottlingException;
|
|
197
|
-
(function (KMSThrottlingException) {
|
|
198
|
-
KMSThrottlingException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
199
|
-
})(KMSThrottlingException || (KMSThrottlingException = {}));
|
|
200
|
-
export var ProvisionedThroughputExceededException;
|
|
201
|
-
(function (ProvisionedThroughputExceededException) {
|
|
202
|
-
ProvisionedThroughputExceededException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
203
|
-
})(ProvisionedThroughputExceededException || (ProvisionedThroughputExceededException = {}));
|
|
204
152
|
export var ShardIteratorType;
|
|
205
153
|
(function (ShardIteratorType) {
|
|
206
154
|
ShardIteratorType["AFTER_SEQUENCE_NUMBER"] = "AFTER_SEQUENCE_NUMBER";
|
|
@@ -221,10 +169,6 @@ export var IncreaseStreamRetentionPeriodInput;
|
|
|
221
169
|
(function (IncreaseStreamRetentionPeriodInput) {
|
|
222
170
|
IncreaseStreamRetentionPeriodInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
223
171
|
})(IncreaseStreamRetentionPeriodInput || (IncreaseStreamRetentionPeriodInput = {}));
|
|
224
|
-
export var InternalFailureException;
|
|
225
|
-
(function (InternalFailureException) {
|
|
226
|
-
InternalFailureException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
227
|
-
})(InternalFailureException || (InternalFailureException = {}));
|
|
228
172
|
export var ShardFilterType;
|
|
229
173
|
(function (ShardFilterType) {
|
|
230
174
|
ShardFilterType["AFTER_SHARD_ID"] = "AFTER_SHARD_ID";
|
|
@@ -278,10 +222,6 @@ export var MergeShardsInput;
|
|
|
278
222
|
(function (MergeShardsInput) {
|
|
279
223
|
MergeShardsInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
280
224
|
})(MergeShardsInput || (MergeShardsInput = {}));
|
|
281
|
-
export var ValidationException;
|
|
282
|
-
(function (ValidationException) {
|
|
283
|
-
ValidationException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
284
|
-
})(ValidationException || (ValidationException = {}));
|
|
285
225
|
export var PutRecordInput;
|
|
286
226
|
(function (PutRecordInput) {
|
|
287
227
|
PutRecordInput.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -372,23 +312,23 @@ export var SubscribeToShardEventStream;
|
|
|
372
312
|
if (obj.SubscribeToShardEvent !== undefined)
|
|
373
313
|
return { SubscribeToShardEvent: SubscribeToShardEvent.filterSensitiveLog(obj.SubscribeToShardEvent) };
|
|
374
314
|
if (obj.ResourceNotFoundException !== undefined)
|
|
375
|
-
return { ResourceNotFoundException:
|
|
315
|
+
return { ResourceNotFoundException: obj.ResourceNotFoundException };
|
|
376
316
|
if (obj.ResourceInUseException !== undefined)
|
|
377
|
-
return { ResourceInUseException:
|
|
317
|
+
return { ResourceInUseException: obj.ResourceInUseException };
|
|
378
318
|
if (obj.KMSDisabledException !== undefined)
|
|
379
|
-
return { KMSDisabledException:
|
|
319
|
+
return { KMSDisabledException: obj.KMSDisabledException };
|
|
380
320
|
if (obj.KMSInvalidStateException !== undefined)
|
|
381
|
-
return { KMSInvalidStateException:
|
|
321
|
+
return { KMSInvalidStateException: obj.KMSInvalidStateException };
|
|
382
322
|
if (obj.KMSAccessDeniedException !== undefined)
|
|
383
|
-
return { KMSAccessDeniedException:
|
|
323
|
+
return { KMSAccessDeniedException: obj.KMSAccessDeniedException };
|
|
384
324
|
if (obj.KMSNotFoundException !== undefined)
|
|
385
|
-
return { KMSNotFoundException:
|
|
325
|
+
return { KMSNotFoundException: obj.KMSNotFoundException };
|
|
386
326
|
if (obj.KMSOptInRequired !== undefined)
|
|
387
|
-
return { KMSOptInRequired:
|
|
327
|
+
return { KMSOptInRequired: obj.KMSOptInRequired };
|
|
388
328
|
if (obj.KMSThrottlingException !== undefined)
|
|
389
|
-
return { KMSThrottlingException:
|
|
329
|
+
return { KMSThrottlingException: obj.KMSThrottlingException };
|
|
390
330
|
if (obj.InternalFailureException !== undefined)
|
|
391
|
-
return { InternalFailureException:
|
|
331
|
+
return { InternalFailureException: obj.InternalFailureException };
|
|
392
332
|
if (obj.$unknown !== undefined)
|
|
393
333
|
return _a = {}, _a[obj.$unknown[0]] = "UNKNOWN", _a;
|
|
394
334
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
4
4
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { eventStreamSerdeProvider } from "@aws-sdk/eventstream-serde-browser";
|
|
6
|
-
import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
6
|
+
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
7
7
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
8
8
|
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
9
9
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
|
|
@@ -11,8 +11,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
|
11
11
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
12
12
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
13
13
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
14
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
15
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
|
|
14
16
|
export var getRuntimeConfig = function (config) {
|
|
15
17
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
18
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
19
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
16
20
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
17
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), eventStreamSerdeProvider: (_f = config === null || config === void 0 ? void 0 : config.eventStreamSerdeProvider) !== null && _f !== void 0 ? _f : eventStreamSerdeProvider, maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : DEFAULT_MAX_ATTEMPTS, region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : invalidProvider("Region is missing"), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new
|
|
21
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), eventStreamSerdeProvider: (_f = config === null || config === void 0 ? void 0 : config.eventStreamSerdeProvider) !== null && _f !== void 0 ? _f : eventStreamSerdeProvider, maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : DEFAULT_MAX_ATTEMPTS, region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : invalidProvider("Region is missing"), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new RequestHandler(defaultConfigProvider), retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
22
|
+
switch (_a.label) {
|
|
23
|
+
case 0: return [4, defaultConfigProvider()];
|
|
24
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
25
|
+
}
|
|
26
|
+
}); }); }), sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : Sha256, streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : streamCollector, useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : fromUtf8, utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : toUtf8 });
|
|
18
27
|
};
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,20 +1,29 @@
|
|
|
1
|
-
import { __assign } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator } from "tslib";
|
|
2
2
|
import packageInfo from "../package.json";
|
|
3
3
|
import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
4
4
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
5
5
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
6
6
|
import { eventStreamSerdeProvider } from "@aws-sdk/eventstream-serde-node";
|
|
7
7
|
import { Hash } from "@aws-sdk/hash-node";
|
|
8
|
-
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
8
|
+
import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
|
|
9
9
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
10
|
-
import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
10
|
+
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
11
11
|
import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
|
|
12
12
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
13
13
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
14
14
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
15
15
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
16
|
+
import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
|
|
17
|
+
import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
|
|
16
18
|
export var getRuntimeConfig = function (config) {
|
|
17
19
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r;
|
|
20
|
+
var defaultsMode = resolveDefaultsModeConfig(config);
|
|
21
|
+
var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
|
|
18
22
|
var clientSharedValues = getSharedRuntimeConfig(config);
|
|
19
|
-
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), eventStreamSerdeProvider: (_f = config === null || config === void 0 ? void 0 : config.eventStreamSerdeProvider) !== null && _f !== void 0 ? _f : eventStreamSerdeProvider, maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new
|
|
23
|
+
return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), eventStreamSerdeProvider: (_f = config === null || config === void 0 ? void 0 : config.eventStreamSerdeProvider) !== null && _f !== void 0 ? _f : eventStreamSerdeProvider, maxAttempts: (_g = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_h = config === null || config === void 0 ? void 0 : config.region) !== null && _h !== void 0 ? _h : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_j = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _j !== void 0 ? _j : new RequestHandler(defaultConfigProvider), retryMode: (_k = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _k !== void 0 ? _k : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
|
|
24
|
+
switch (_a.label) {
|
|
25
|
+
case 0: return [4, defaultConfigProvider()];
|
|
26
|
+
case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
|
|
27
|
+
}
|
|
28
|
+
}); }); } })), sha256: (_l = config === null || config === void 0 ? void 0 : config.sha256) !== null && _l !== void 0 ? _l : Hash.bind(null, "sha256"), streamCollector: (_m = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _m !== void 0 ? _m : streamCollector, useDualstackEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_p = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _p !== void 0 ? _p : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _q !== void 0 ? _q : fromUtf8, utf8Encoder: (_r = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _r !== void 0 ? _r : toUtf8 });
|
|
20
29
|
};
|
|
@@ -5,7 +5,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
5
5
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
9
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
10
|
import { AddTagsToStreamCommandInput, AddTagsToStreamCommandOutput } from "./commands/AddTagsToStreamCommand";
|
|
11
11
|
import { CreateStreamCommandInput, CreateStreamCommandOutput } from "./commands/CreateStreamCommand";
|
|
@@ -142,6 +142,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
142
142
|
* The function that provides necessary utilities for generating and parsing event stream
|
|
143
143
|
*/
|
|
144
144
|
eventStreamSerdeProvider?: __EventStreamSerdeProvider;
|
|
145
|
+
/**
|
|
146
|
+
* The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
147
|
+
*/
|
|
148
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
145
149
|
}
|
|
146
150
|
declare type KinesisClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & EventStreamSerdeInputConfig;
|
|
147
151
|
/**
|
|
@@ -32,12 +32,6 @@ export interface InvalidArgumentException extends __SmithyException, $MetadataBe
|
|
|
32
32
|
*/
|
|
33
33
|
message?: string;
|
|
34
34
|
}
|
|
35
|
-
export declare namespace InvalidArgumentException {
|
|
36
|
-
/**
|
|
37
|
-
* @internal
|
|
38
|
-
*/
|
|
39
|
-
const filterSensitiveLog: (obj: InvalidArgumentException) => any;
|
|
40
|
-
}
|
|
41
35
|
/**
|
|
42
36
|
* <p>The requested resource exceeds the maximum number allowed, or the number of concurrent
|
|
43
37
|
* stream requests exceeds the maximum number allowed. </p>
|
|
@@ -50,12 +44,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
50
44
|
*/
|
|
51
45
|
message?: string;
|
|
52
46
|
}
|
|
53
|
-
export declare namespace LimitExceededException {
|
|
54
|
-
/**
|
|
55
|
-
* @internal
|
|
56
|
-
*/
|
|
57
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
58
|
-
}
|
|
59
47
|
/**
|
|
60
48
|
* <p>The resource is not available for this operation. For successful operation, the
|
|
61
49
|
* resource must be in the <code>ACTIVE</code> state.</p>
|
|
@@ -68,12 +56,6 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
|
|
|
68
56
|
*/
|
|
69
57
|
message?: string;
|
|
70
58
|
}
|
|
71
|
-
export declare namespace ResourceInUseException {
|
|
72
|
-
/**
|
|
73
|
-
* @internal
|
|
74
|
-
*/
|
|
75
|
-
const filterSensitiveLog: (obj: ResourceInUseException) => any;
|
|
76
|
-
}
|
|
77
59
|
/**
|
|
78
60
|
* <p>The requested resource could not be found. The stream might not be specified
|
|
79
61
|
* correctly.</p>
|
|
@@ -86,12 +68,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
86
68
|
*/
|
|
87
69
|
message?: string;
|
|
88
70
|
}
|
|
89
|
-
export declare namespace ResourceNotFoundException {
|
|
90
|
-
/**
|
|
91
|
-
* @internal
|
|
92
|
-
*/
|
|
93
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
94
|
-
}
|
|
95
71
|
/**
|
|
96
72
|
* <p>The range of possible hash key values for the shard, which is a set of ordered
|
|
97
73
|
* contiguous positive integers.</p>
|
|
@@ -1023,12 +999,6 @@ export interface ExpiredIteratorException extends __SmithyException, $MetadataBe
|
|
|
1023
999
|
*/
|
|
1024
1000
|
message?: string;
|
|
1025
1001
|
}
|
|
1026
|
-
export declare namespace ExpiredIteratorException {
|
|
1027
|
-
/**
|
|
1028
|
-
* @internal
|
|
1029
|
-
*/
|
|
1030
|
-
const filterSensitiveLog: (obj: ExpiredIteratorException) => any;
|
|
1031
|
-
}
|
|
1032
1002
|
/**
|
|
1033
1003
|
* <p>The pagination token passed to the operation is expired.</p>
|
|
1034
1004
|
*/
|
|
@@ -1037,12 +1007,6 @@ export interface ExpiredNextTokenException extends __SmithyException, $MetadataB
|
|
|
1037
1007
|
$fault: "client";
|
|
1038
1008
|
message?: string;
|
|
1039
1009
|
}
|
|
1040
|
-
export declare namespace ExpiredNextTokenException {
|
|
1041
|
-
/**
|
|
1042
|
-
* @internal
|
|
1043
|
-
*/
|
|
1044
|
-
const filterSensitiveLog: (obj: ExpiredNextTokenException) => any;
|
|
1045
|
-
}
|
|
1046
1010
|
/**
|
|
1047
1011
|
* <p>Represents the input for <a>GetRecords</a>.</p>
|
|
1048
1012
|
*/
|
|
@@ -1158,12 +1122,6 @@ export interface KMSAccessDeniedException extends __SmithyException, $MetadataBe
|
|
|
1158
1122
|
*/
|
|
1159
1123
|
message?: string;
|
|
1160
1124
|
}
|
|
1161
|
-
export declare namespace KMSAccessDeniedException {
|
|
1162
|
-
/**
|
|
1163
|
-
* @internal
|
|
1164
|
-
*/
|
|
1165
|
-
const filterSensitiveLog: (obj: KMSAccessDeniedException) => any;
|
|
1166
|
-
}
|
|
1167
1125
|
/**
|
|
1168
1126
|
* <p>The request was rejected because the specified customer master key (CMK) isn't
|
|
1169
1127
|
* enabled.</p>
|
|
@@ -1176,12 +1134,6 @@ export interface KMSDisabledException extends __SmithyException, $MetadataBearer
|
|
|
1176
1134
|
*/
|
|
1177
1135
|
message?: string;
|
|
1178
1136
|
}
|
|
1179
|
-
export declare namespace KMSDisabledException {
|
|
1180
|
-
/**
|
|
1181
|
-
* @internal
|
|
1182
|
-
*/
|
|
1183
|
-
const filterSensitiveLog: (obj: KMSDisabledException) => any;
|
|
1184
|
-
}
|
|
1185
1137
|
/**
|
|
1186
1138
|
* <p>The request was rejected because the state of the specified resource isn't valid for
|
|
1187
1139
|
* this request. For more information, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/key-state.html">How Key State Affects Use of a
|
|
@@ -1196,12 +1148,6 @@ export interface KMSInvalidStateException extends __SmithyException, $MetadataBe
|
|
|
1196
1148
|
*/
|
|
1197
1149
|
message?: string;
|
|
1198
1150
|
}
|
|
1199
|
-
export declare namespace KMSInvalidStateException {
|
|
1200
|
-
/**
|
|
1201
|
-
* @internal
|
|
1202
|
-
*/
|
|
1203
|
-
const filterSensitiveLog: (obj: KMSInvalidStateException) => any;
|
|
1204
|
-
}
|
|
1205
1151
|
/**
|
|
1206
1152
|
* <p>The request was rejected because the specified entity or resource can't be
|
|
1207
1153
|
* found.</p>
|
|
@@ -1214,12 +1160,6 @@ export interface KMSNotFoundException extends __SmithyException, $MetadataBearer
|
|
|
1214
1160
|
*/
|
|
1215
1161
|
message?: string;
|
|
1216
1162
|
}
|
|
1217
|
-
export declare namespace KMSNotFoundException {
|
|
1218
|
-
/**
|
|
1219
|
-
* @internal
|
|
1220
|
-
*/
|
|
1221
|
-
const filterSensitiveLog: (obj: KMSNotFoundException) => any;
|
|
1222
|
-
}
|
|
1223
1163
|
/**
|
|
1224
1164
|
* <p>The Amazon Web Services access key ID needs a subscription for the service.</p>
|
|
1225
1165
|
*/
|
|
@@ -1231,12 +1171,6 @@ export interface KMSOptInRequired extends __SmithyException, $MetadataBearer {
|
|
|
1231
1171
|
*/
|
|
1232
1172
|
message?: string;
|
|
1233
1173
|
}
|
|
1234
|
-
export declare namespace KMSOptInRequired {
|
|
1235
|
-
/**
|
|
1236
|
-
* @internal
|
|
1237
|
-
*/
|
|
1238
|
-
const filterSensitiveLog: (obj: KMSOptInRequired) => any;
|
|
1239
|
-
}
|
|
1240
1174
|
/**
|
|
1241
1175
|
* <p>The request was denied due to request throttling. For more information about
|
|
1242
1176
|
* throttling, see <a href="https://docs.aws.amazon.com/kms/latest/developerguide/limits.html#requests-per-second">Limits</a> in
|
|
@@ -1251,12 +1185,6 @@ export interface KMSThrottlingException extends __SmithyException, $MetadataBear
|
|
|
1251
1185
|
*/
|
|
1252
1186
|
message?: string;
|
|
1253
1187
|
}
|
|
1254
|
-
export declare namespace KMSThrottlingException {
|
|
1255
|
-
/**
|
|
1256
|
-
* @internal
|
|
1257
|
-
*/
|
|
1258
|
-
const filterSensitiveLog: (obj: KMSThrottlingException) => any;
|
|
1259
|
-
}
|
|
1260
1188
|
/**
|
|
1261
1189
|
* <p>The request rate for the stream is too high, or the requested data is too large for
|
|
1262
1190
|
* the available throughput. Reduce the frequency or size of your requests. For more
|
|
@@ -1272,12 +1200,6 @@ export interface ProvisionedThroughputExceededException extends __SmithyExceptio
|
|
|
1272
1200
|
*/
|
|
1273
1201
|
message?: string;
|
|
1274
1202
|
}
|
|
1275
|
-
export declare namespace ProvisionedThroughputExceededException {
|
|
1276
|
-
/**
|
|
1277
|
-
* @internal
|
|
1278
|
-
*/
|
|
1279
|
-
const filterSensitiveLog: (obj: ProvisionedThroughputExceededException) => any;
|
|
1280
|
-
}
|
|
1281
1203
|
export declare enum ShardIteratorType {
|
|
1282
1204
|
AFTER_SEQUENCE_NUMBER = "AFTER_SEQUENCE_NUMBER",
|
|
1283
1205
|
AT_SEQUENCE_NUMBER = "AT_SEQUENCE_NUMBER",
|
|
@@ -1400,12 +1322,6 @@ export interface InternalFailureException extends __SmithyException {
|
|
|
1400
1322
|
$fault: "server";
|
|
1401
1323
|
message?: string;
|
|
1402
1324
|
}
|
|
1403
|
-
export declare namespace InternalFailureException {
|
|
1404
|
-
/**
|
|
1405
|
-
* @internal
|
|
1406
|
-
*/
|
|
1407
|
-
const filterSensitiveLog: (obj: InternalFailureException) => any;
|
|
1408
|
-
}
|
|
1409
1325
|
export declare enum ShardFilterType {
|
|
1410
1326
|
AFTER_SHARD_ID = "AFTER_SHARD_ID",
|
|
1411
1327
|
AT_LATEST = "AT_LATEST",
|
|
@@ -1830,12 +1746,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
1830
1746
|
$fault: "client";
|
|
1831
1747
|
message?: string;
|
|
1832
1748
|
}
|
|
1833
|
-
export declare namespace ValidationException {
|
|
1834
|
-
/**
|
|
1835
|
-
* @internal
|
|
1836
|
-
*/
|
|
1837
|
-
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
1838
|
-
}
|
|
1839
1749
|
/**
|
|
1840
1750
|
* <p>Represents the input for <code>PutRecord</code>.</p>
|
|
1841
1751
|
*/
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { KinesisClientConfig } from "./KinesisClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -13,7 +14,7 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
|
13
14
|
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
14
15
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
15
16
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
16
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
17
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
17
18
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
19
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
19
20
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,19 +1,20 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { KinesisClientConfig } from "./KinesisClient";
|
|
3
3
|
/**
|
|
4
4
|
* @internal
|
|
5
5
|
*/
|
|
6
6
|
export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
7
7
|
runtime: string;
|
|
8
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
8
9
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
9
10
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
10
11
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
11
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
12
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
12
13
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
13
14
|
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
14
15
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
15
16
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
16
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
17
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
17
18
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
18
19
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
19
20
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -26,6 +26,7 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
28
|
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
29
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
29
30
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
31
|
tls?: boolean | undefined;
|
|
31
32
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -5,7 +5,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
|
|
|
5
5
|
import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
|
|
6
6
|
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
7
7
|
import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
|
|
8
|
-
import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
8
|
+
import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
|
|
9
9
|
import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, EventStreamSerdeProvider as __EventStreamSerdeProvider, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
|
|
10
10
|
import { AddTagsToStreamCommandInput, AddTagsToStreamCommandOutput } from "./commands/AddTagsToStreamCommand";
|
|
11
11
|
import { CreateStreamCommandInput, CreateStreamCommandOutput } from "./commands/CreateStreamCommand";
|
|
@@ -83,6 +83,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
|
|
|
83
83
|
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
84
84
|
|
|
85
85
|
eventStreamSerdeProvider?: __EventStreamSerdeProvider;
|
|
86
|
+
|
|
87
|
+
defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
|
|
86
88
|
}
|
|
87
89
|
declare type KinesisClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig & EventStreamSerdeInputConfig;
|
|
88
90
|
|
|
@@ -19,10 +19,6 @@ export interface InvalidArgumentException extends __SmithyException, $MetadataBe
|
|
|
19
19
|
|
|
20
20
|
message?: string;
|
|
21
21
|
}
|
|
22
|
-
export declare namespace InvalidArgumentException {
|
|
23
|
-
|
|
24
|
-
const filterSensitiveLog: (obj: InvalidArgumentException) => any;
|
|
25
|
-
}
|
|
26
22
|
|
|
27
23
|
export interface LimitExceededException extends __SmithyException, $MetadataBearer {
|
|
28
24
|
name: "LimitExceededException";
|
|
@@ -30,10 +26,6 @@ export interface LimitExceededException extends __SmithyException, $MetadataBear
|
|
|
30
26
|
|
|
31
27
|
message?: string;
|
|
32
28
|
}
|
|
33
|
-
export declare namespace LimitExceededException {
|
|
34
|
-
|
|
35
|
-
const filterSensitiveLog: (obj: LimitExceededException) => any;
|
|
36
|
-
}
|
|
37
29
|
|
|
38
30
|
export interface ResourceInUseException extends __SmithyException, $MetadataBearer {
|
|
39
31
|
name: "ResourceInUseException";
|
|
@@ -41,10 +33,6 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
|
|
|
41
33
|
|
|
42
34
|
message?: string;
|
|
43
35
|
}
|
|
44
|
-
export declare namespace ResourceInUseException {
|
|
45
|
-
|
|
46
|
-
const filterSensitiveLog: (obj: ResourceInUseException) => any;
|
|
47
|
-
}
|
|
48
36
|
|
|
49
37
|
export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
|
|
50
38
|
name: "ResourceNotFoundException";
|
|
@@ -52,10 +40,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
|
|
|
52
40
|
|
|
53
41
|
message?: string;
|
|
54
42
|
}
|
|
55
|
-
export declare namespace ResourceNotFoundException {
|
|
56
|
-
|
|
57
|
-
const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
|
|
58
|
-
}
|
|
59
43
|
|
|
60
44
|
export interface HashKeyRange {
|
|
61
45
|
|
|
@@ -412,20 +396,12 @@ export interface ExpiredIteratorException extends __SmithyException, $MetadataBe
|
|
|
412
396
|
|
|
413
397
|
message?: string;
|
|
414
398
|
}
|
|
415
|
-
export declare namespace ExpiredIteratorException {
|
|
416
|
-
|
|
417
|
-
const filterSensitiveLog: (obj: ExpiredIteratorException) => any;
|
|
418
|
-
}
|
|
419
399
|
|
|
420
400
|
export interface ExpiredNextTokenException extends __SmithyException, $MetadataBearer {
|
|
421
401
|
name: "ExpiredNextTokenException";
|
|
422
402
|
$fault: "client";
|
|
423
403
|
message?: string;
|
|
424
404
|
}
|
|
425
|
-
export declare namespace ExpiredNextTokenException {
|
|
426
|
-
|
|
427
|
-
const filterSensitiveLog: (obj: ExpiredNextTokenException) => any;
|
|
428
|
-
}
|
|
429
405
|
|
|
430
406
|
export interface GetRecordsInput {
|
|
431
407
|
|
|
@@ -476,10 +452,6 @@ export interface KMSAccessDeniedException extends __SmithyException, $MetadataBe
|
|
|
476
452
|
|
|
477
453
|
message?: string;
|
|
478
454
|
}
|
|
479
|
-
export declare namespace KMSAccessDeniedException {
|
|
480
|
-
|
|
481
|
-
const filterSensitiveLog: (obj: KMSAccessDeniedException) => any;
|
|
482
|
-
}
|
|
483
455
|
|
|
484
456
|
export interface KMSDisabledException extends __SmithyException, $MetadataBearer {
|
|
485
457
|
name: "KMSDisabledException";
|
|
@@ -487,10 +459,6 @@ export interface KMSDisabledException extends __SmithyException, $MetadataBearer
|
|
|
487
459
|
|
|
488
460
|
message?: string;
|
|
489
461
|
}
|
|
490
|
-
export declare namespace KMSDisabledException {
|
|
491
|
-
|
|
492
|
-
const filterSensitiveLog: (obj: KMSDisabledException) => any;
|
|
493
|
-
}
|
|
494
462
|
|
|
495
463
|
export interface KMSInvalidStateException extends __SmithyException, $MetadataBearer {
|
|
496
464
|
name: "KMSInvalidStateException";
|
|
@@ -498,10 +466,6 @@ export interface KMSInvalidStateException extends __SmithyException, $MetadataBe
|
|
|
498
466
|
|
|
499
467
|
message?: string;
|
|
500
468
|
}
|
|
501
|
-
export declare namespace KMSInvalidStateException {
|
|
502
|
-
|
|
503
|
-
const filterSensitiveLog: (obj: KMSInvalidStateException) => any;
|
|
504
|
-
}
|
|
505
469
|
|
|
506
470
|
export interface KMSNotFoundException extends __SmithyException, $MetadataBearer {
|
|
507
471
|
name: "KMSNotFoundException";
|
|
@@ -509,10 +473,6 @@ export interface KMSNotFoundException extends __SmithyException, $MetadataBearer
|
|
|
509
473
|
|
|
510
474
|
message?: string;
|
|
511
475
|
}
|
|
512
|
-
export declare namespace KMSNotFoundException {
|
|
513
|
-
|
|
514
|
-
const filterSensitiveLog: (obj: KMSNotFoundException) => any;
|
|
515
|
-
}
|
|
516
476
|
|
|
517
477
|
export interface KMSOptInRequired extends __SmithyException, $MetadataBearer {
|
|
518
478
|
name: "KMSOptInRequired";
|
|
@@ -520,10 +480,6 @@ export interface KMSOptInRequired extends __SmithyException, $MetadataBearer {
|
|
|
520
480
|
|
|
521
481
|
message?: string;
|
|
522
482
|
}
|
|
523
|
-
export declare namespace KMSOptInRequired {
|
|
524
|
-
|
|
525
|
-
const filterSensitiveLog: (obj: KMSOptInRequired) => any;
|
|
526
|
-
}
|
|
527
483
|
|
|
528
484
|
export interface KMSThrottlingException extends __SmithyException, $MetadataBearer {
|
|
529
485
|
name: "KMSThrottlingException";
|
|
@@ -531,10 +487,6 @@ export interface KMSThrottlingException extends __SmithyException, $MetadataBear
|
|
|
531
487
|
|
|
532
488
|
message?: string;
|
|
533
489
|
}
|
|
534
|
-
export declare namespace KMSThrottlingException {
|
|
535
|
-
|
|
536
|
-
const filterSensitiveLog: (obj: KMSThrottlingException) => any;
|
|
537
|
-
}
|
|
538
490
|
|
|
539
491
|
export interface ProvisionedThroughputExceededException extends __SmithyException, $MetadataBearer {
|
|
540
492
|
name: "ProvisionedThroughputExceededException";
|
|
@@ -542,10 +494,6 @@ export interface ProvisionedThroughputExceededException extends __SmithyExceptio
|
|
|
542
494
|
|
|
543
495
|
message?: string;
|
|
544
496
|
}
|
|
545
|
-
export declare namespace ProvisionedThroughputExceededException {
|
|
546
|
-
|
|
547
|
-
const filterSensitiveLog: (obj: ProvisionedThroughputExceededException) => any;
|
|
548
|
-
}
|
|
549
497
|
export declare enum ShardIteratorType {
|
|
550
498
|
AFTER_SEQUENCE_NUMBER = "AFTER_SEQUENCE_NUMBER",
|
|
551
499
|
AT_SEQUENCE_NUMBER = "AT_SEQUENCE_NUMBER",
|
|
@@ -596,10 +544,6 @@ export interface InternalFailureException extends __SmithyException {
|
|
|
596
544
|
$fault: "server";
|
|
597
545
|
message?: string;
|
|
598
546
|
}
|
|
599
|
-
export declare namespace InternalFailureException {
|
|
600
|
-
|
|
601
|
-
const filterSensitiveLog: (obj: InternalFailureException) => any;
|
|
602
|
-
}
|
|
603
547
|
export declare enum ShardFilterType {
|
|
604
548
|
AFTER_SHARD_ID = "AFTER_SHARD_ID",
|
|
605
549
|
AT_LATEST = "AT_LATEST",
|
|
@@ -749,10 +693,6 @@ export interface ValidationException extends __SmithyException, $MetadataBearer
|
|
|
749
693
|
$fault: "client";
|
|
750
694
|
message?: string;
|
|
751
695
|
}
|
|
752
|
-
export declare namespace ValidationException {
|
|
753
|
-
|
|
754
|
-
const filterSensitiveLog: (obj: ValidationException) => any;
|
|
755
|
-
}
|
|
756
696
|
|
|
757
697
|
export interface PutRecordInput {
|
|
758
698
|
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
|
|
2
2
|
import { KinesisClientConfig } from "./KinesisClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
@@ -11,7 +12,7 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
|
11
12
|
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
12
13
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
14
|
region: string | import("@aws-sdk/types").Provider<any>;
|
|
14
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
15
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
16
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
17
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
18
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
|
|
2
2
|
import { KinesisClientConfig } from "./KinesisClient";
|
|
3
3
|
|
|
4
4
|
export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
5
5
|
runtime: string;
|
|
6
|
+
defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
6
7
|
base64Decoder: import("@aws-sdk/types").Decoder;
|
|
7
8
|
base64Encoder: import("@aws-sdk/types").Encoder;
|
|
8
9
|
bodyLengthChecker: (body: any) => number | undefined;
|
|
9
|
-
credentialDefaultProvider: import("@aws-sdk/
|
|
10
|
+
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
10
11
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
11
12
|
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
12
13
|
maxAttempts: number | import("@aws-sdk/types").Provider<number>;
|
|
13
14
|
region: string | import("@aws-sdk/types").Provider<string>;
|
|
14
|
-
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) |
|
|
15
|
+
requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
|
|
15
16
|
retryMode: string | import("@aws-sdk/types").Provider<string>;
|
|
16
17
|
sha256: import("@aws-sdk/types").HashConstructor;
|
|
17
18
|
streamCollector: import("@aws-sdk/types").StreamCollector;
|
|
@@ -24,6 +24,7 @@ export declare const getRuntimeConfig: (config: KinesisClientConfig) => {
|
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
26
|
eventStreamSerdeProvider: import("@aws-sdk/types").EventStreamSerdeProvider;
|
|
27
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
|
|
27
28
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
29
|
tls?: boolean | undefined;
|
|
29
30
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
package/package.json
CHANGED
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-kinesis",
|
|
3
3
|
"description": "AWS SDK for JavaScript Kinesis Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.48.0",
|
|
5
5
|
"scripts": {
|
|
6
|
-
"build": "yarn
|
|
7
|
-
"build:cjs": "tsc -p tsconfig.json",
|
|
6
|
+
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
|
+
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
8
8
|
"build:docs": "typedoc",
|
|
9
9
|
"build:es": "tsc -p tsconfig.es.json",
|
|
10
10
|
"build:types": "tsc -p tsconfig.types.json",
|
|
11
11
|
"build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
|
|
12
|
-
"clean": "
|
|
13
|
-
"clean:dist": "rimraf ./dist-*",
|
|
14
|
-
"clean:docs": "rimraf ./docs"
|
|
12
|
+
"clean": "rimraf ./dist-*"
|
|
15
13
|
},
|
|
16
14
|
"main": "./dist-cjs/index.js",
|
|
17
15
|
"types": "./dist-types/index.d.ts",
|
|
@@ -20,42 +18,44 @@
|
|
|
20
18
|
"dependencies": {
|
|
21
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
22
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
23
|
-
"@aws-sdk/client-sts": "3.
|
|
24
|
-
"@aws-sdk/config-resolver": "3.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
26
|
-
"@aws-sdk/eventstream-serde-browser": "3.
|
|
27
|
-
"@aws-sdk/eventstream-serde-config-resolver": "3.
|
|
28
|
-
"@aws-sdk/eventstream-serde-node": "3.
|
|
29
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
30
|
-
"@aws-sdk/hash-node": "3.
|
|
31
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
32
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
33
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
34
|
-
"@aws-sdk/middleware-logger": "3.
|
|
35
|
-
"@aws-sdk/middleware-retry": "3.
|
|
36
|
-
"@aws-sdk/middleware-serde": "3.
|
|
37
|
-
"@aws-sdk/middleware-signing": "3.
|
|
38
|
-
"@aws-sdk/middleware-stack": "3.
|
|
39
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
40
|
-
"@aws-sdk/node-config-provider": "3.
|
|
41
|
-
"@aws-sdk/node-http-handler": "3.
|
|
42
|
-
"@aws-sdk/protocol-http": "3.
|
|
43
|
-
"@aws-sdk/smithy-client": "3.
|
|
44
|
-
"@aws-sdk/types": "3.
|
|
45
|
-
"@aws-sdk/url-parser": "3.
|
|
46
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
47
|
-
"@aws-sdk/util-base64-node": "3.
|
|
48
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
49
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
50
|
-
"@aws-sdk/util-
|
|
51
|
-
"@aws-sdk/util-
|
|
52
|
-
"@aws-sdk/util-
|
|
53
|
-
"@aws-sdk/util-
|
|
54
|
-
"@aws-sdk/util-
|
|
21
|
+
"@aws-sdk/client-sts": "3.48.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.47.2",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.48.0",
|
|
24
|
+
"@aws-sdk/eventstream-serde-browser": "3.47.2",
|
|
25
|
+
"@aws-sdk/eventstream-serde-config-resolver": "3.47.2",
|
|
26
|
+
"@aws-sdk/eventstream-serde-node": "3.47.2",
|
|
27
|
+
"@aws-sdk/fetch-http-handler": "3.47.2",
|
|
28
|
+
"@aws-sdk/hash-node": "3.47.2",
|
|
29
|
+
"@aws-sdk/invalid-dependency": "3.47.2",
|
|
30
|
+
"@aws-sdk/middleware-content-length": "3.47.2",
|
|
31
|
+
"@aws-sdk/middleware-host-header": "3.47.2",
|
|
32
|
+
"@aws-sdk/middleware-logger": "3.47.2",
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.47.2",
|
|
34
|
+
"@aws-sdk/middleware-serde": "3.47.2",
|
|
35
|
+
"@aws-sdk/middleware-signing": "3.47.2",
|
|
36
|
+
"@aws-sdk/middleware-stack": "3.47.2",
|
|
37
|
+
"@aws-sdk/middleware-user-agent": "3.47.2",
|
|
38
|
+
"@aws-sdk/node-config-provider": "3.47.2",
|
|
39
|
+
"@aws-sdk/node-http-handler": "3.47.2",
|
|
40
|
+
"@aws-sdk/protocol-http": "3.47.2",
|
|
41
|
+
"@aws-sdk/smithy-client": "3.47.2",
|
|
42
|
+
"@aws-sdk/types": "3.47.1",
|
|
43
|
+
"@aws-sdk/url-parser": "3.47.2",
|
|
44
|
+
"@aws-sdk/util-base64-browser": "3.47.1",
|
|
45
|
+
"@aws-sdk/util-base64-node": "3.47.2",
|
|
46
|
+
"@aws-sdk/util-body-length-browser": "3.47.1",
|
|
47
|
+
"@aws-sdk/util-body-length-node": "3.47.1",
|
|
48
|
+
"@aws-sdk/util-defaults-mode-browser": "3.47.2",
|
|
49
|
+
"@aws-sdk/util-defaults-mode-node": "3.47.2",
|
|
50
|
+
"@aws-sdk/util-user-agent-browser": "3.47.2",
|
|
51
|
+
"@aws-sdk/util-user-agent-node": "3.47.2",
|
|
52
|
+
"@aws-sdk/util-utf8-browser": "3.47.1",
|
|
53
|
+
"@aws-sdk/util-utf8-node": "3.47.2",
|
|
54
|
+
"@aws-sdk/util-waiter": "3.47.2",
|
|
55
55
|
"tslib": "^2.3.0"
|
|
56
56
|
},
|
|
57
57
|
"devDependencies": {
|
|
58
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
58
|
+
"@aws-sdk/service-client-documentation-generator": "3.47.1",
|
|
59
59
|
"@types/node": "^12.7.5"
|
|
60
60
|
},
|
|
61
61
|
"engines": {
|