@aws-sdk/client-kinesis 3.1075.0 → 3.1077.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist-cjs/index.js CHANGED
@@ -1,22 +1,59 @@
1
- var __exportStar = (m, e) => { Object.assign(e, m); };
2
- const { getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
1
+ const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
3
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
4
- const { getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createWaiter, checkExceptions, WaiterState, createAggregatedClient } = require("@smithy/core/client");
5
4
  exports.$Command = Command;
6
5
  exports.__Client = Client;
7
- const { resolveRegionConfig } = require("@smithy/core/config");
8
- const { resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
9
- const { resolveEventStreamSerdeConfig } = require("@smithy/core/event-streams");
10
- const { getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
11
- const { resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
12
- const { getSchemaSerdePlugin } = require("@smithy/core/schema");
13
- const { resolveHttpAuthSchemeConfig, defaultKinesisHttpAuthSchemeParametersProvider } = require("./auth/httpAuthSchemeProvider");
14
- const { getRuntimeConfig } = require("./runtimeConfig");
15
- const { AddTagsToStream$, CreateStream$, DecreaseStreamRetentionPeriod$, DeleteResourcePolicy$, DeleteStream$, DeregisterStreamConsumer$, DescribeAccountSettings$, DescribeLimits$, DescribeStream$, DescribeStreamConsumer$, DescribeStreamSummary$, DisableEnhancedMonitoring$, EnableEnhancedMonitoring$, GetRecords$, GetResourcePolicy$, GetShardIterator$, IncreaseStreamRetentionPeriod$, ListShards$, ListStreamConsumers$, ListStreams$, ListTagsForResource$, ListTagsForStream$, MergeShards$, PutRecord$, PutRecords$, PutResourcePolicy$, RegisterStreamConsumer$, RemoveTagsFromStream$, SplitShard$, StartStreamEncryption$, StopStreamEncryption$, SubscribeToShard$, TagResource$, UntagResource$, UpdateAccountSettings$, UpdateMaxRecordSize$, UpdateShardCount$, UpdateStreamMode$, UpdateStreamWarmThroughput$ } = require("./schemas/schemas_0");
16
- __exportStar(require("./schemas/schemas_0"), exports);
17
- __exportStar(require("./models/errors"), exports);
18
- const { KinesisServiceException } = require("./models/KinesisServiceException");
19
- exports.KinesisServiceException = KinesisServiceException;
6
+ const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
+ const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
8
+ const { eventStreamSerdeProvider, resolveEventStreamSerdeConfig } = require("@smithy/core/event-streams");
9
+ const { parseUrl, getHttpHandlerExtensionConfiguration, resolveHttpHandlerRuntimeConfig, getContentLengthPlugin } = require("@smithy/core/protocols");
10
+ const { DEFAULT_RETRY_MODE, NODE_RETRY_MODE_CONFIG_OPTIONS, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, resolveRetryConfig, getRetryPlugin } = require("@smithy/core/retry");
11
+ const { TypeRegistry, getSchemaSerdePlugin } = require("@smithy/core/schema");
12
+ const { resolveAwsSdkSigV4Config, AwsSdkSigV4Signer, NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } = require("@aws-sdk/core/httpAuthSchemes");
13
+ const { defaultProvider } = require("@aws-sdk/credential-provider-node");
14
+ const { toUtf8, fromUtf8, toBase64, fromBase64, calculateBodyLength } = require("@smithy/core/serde");
15
+ const { streamCollector, NodeHttp2Handler } = require("@smithy/node-http-handler");
16
+ const { AwsJson1_1Protocol } = require("@aws-sdk/core/protocols");
17
+ const { Sha256 } = require("@smithy/core/checksum");
18
+
19
+ const defaultKinesisHttpAuthSchemeParametersProvider = async (config, context, input) => {
20
+ return {
21
+ operation: getSmithyContext(context).operation,
22
+ region: await normalizeProvider(config.region)() || (() => {
23
+ throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
24
+ })(),
25
+ };
26
+ };
27
+ function createAwsAuthSigv4HttpAuthOption(authParameters) {
28
+ return {
29
+ schemeId: "aws.auth#sigv4",
30
+ signingProperties: {
31
+ name: "kinesis",
32
+ region: authParameters.region,
33
+ },
34
+ propertiesExtractor: (config, context) => ({
35
+ signingProperties: {
36
+ config,
37
+ context,
38
+ },
39
+ }),
40
+ };
41
+ }
42
+ const defaultKinesisHttpAuthSchemeProvider = (authParameters) => {
43
+ const options = [];
44
+ switch (authParameters.operation) {
45
+ default: {
46
+ options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
47
+ }
48
+ }
49
+ return options;
50
+ };
51
+ const resolveHttpAuthSchemeConfig = (config) => {
52
+ const config_0 = resolveAwsSdkSigV4Config(config);
53
+ return Object.assign(config_0, {
54
+ authSchemePreference: normalizeProvider(config.authSchemePreference ?? []),
55
+ });
56
+ };
20
57
 
21
58
  const resolveClientEndpointParameters = (options) => {
22
59
  return Object.assign(options, {
@@ -32,6 +69,1425 @@ const commonParams = {
32
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
33
70
  };
34
71
 
72
+ var version = "3.1076.0";
73
+ var packageInfo = {
74
+ version: version};
75
+
76
+ const U = "ref";
77
+ const a = -1, b = false, c = true, d = "isSet", e = "PartitionResult", f = "stringEquals", g = "substring", h = "coalesce", i = "", j = "-", k = "aws.parseArn", l = (n) => "arn_ssa_" + n + i, m = "isValidHostLabel", n = "getAttr", o = "accountId", p = "region", q = "service", s = "kinesis", t = "resourceId[0]", u = (n) => "arnType_ssa_" + n + i, v = "stream", w = "partition", x = "booleanEquals", y = (n) => "https://{arn_ssa_" + n + "#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", z = (n) => "https://{arn_ssa_" + n + "#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", A = (n) => "https://{arn_ssa_" + n + "#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", B = (n) => "https://{arn_ssa_" + n + "#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", C = (n) => "Partition: {arn_ssa_" + n + "#partition} from ARN doesn't match with partition name: {PartitionResult#name}.", D = (n) => "Invalid ARN: Kinesis ARNs don't support `{arnType_ssa_" + n + "}` arn types.", E = (n) => "Invalid ARN: The ARN was not for the Kinesis service, found: {arn_ssa_" + n + "#service}.", F = { "fn": n, "argv": [{ [U]: e }, "name"] }, G = { [U]: "StreamId" }, H = { [U]: "Endpoint" }, I = { [U]: "arn_ssa_3" }, J = { [U]: "arnType_ssa_1" }, K = { [U]: "arn_ssa_2" }, L = { [U]: "arnType_ssa_3" }, M = { [U]: "arn_ssa_1" }, N = { [U]: "arnType_ssa_2" }, O = { [U]: e }, P = {}, Q = [{ [U]: "Region" }], R = [{ [U]: "StreamARN" }], S = [{ [U]: "ConsumerARN" }], T = [{ [U]: "ResourceARN" }];
78
+ const _data = {
79
+ conditions: [
80
+ [d, Q],
81
+ ["aws.partition", Q, e],
82
+ [f, [F, "aws-iso-b"]],
83
+ [f, [F, "aws-iso"]],
84
+ [d, [G]],
85
+ [g, [G, 21, 24, b], "StreamIdSuffixValue"],
86
+ [g, [G, 0, 20, b], "StreamIdPrefixValue"],
87
+ [f, [{ fn: h, argv: [{ fn: g, argv: [G, 20, 21, b] }, i] }, j]],
88
+ [f, [{ fn: h, argv: [{ fn: g, argv: [G, 3, 4, c] }, i] }, j]],
89
+ [d, [H]],
90
+ [d, R],
91
+ [k, R, l(3)],
92
+ [m, [{ fn: n, argv: [I, o] }, b]],
93
+ [m, [{ fn: n, argv: [I, p] }, b]],
94
+ [g, [H, 15, 20, b], "HttpsCustomEndpointSuffixValue"],
95
+ [f, [{ fn: h, argv: [{ fn: g, argv: [H, 20, 21, b] }, i] }, "."]],
96
+ [f, [{ fn: h, argv: [{ fn: g, argv: [H, 15, 16, b] }, i] }, j]],
97
+ [g, [H, 7, 12, b], "PlainCustomEndpointSuffixValue"],
98
+ [f, [{ fn: n, argv: [I, q] }, s]],
99
+ [n, [I, t], u(1)],
100
+ [f, [J, i]],
101
+ [f, [J, v]],
102
+ [d, S],
103
+ [d, T],
104
+ [k, T, l(2)],
105
+ [m, [{ fn: n, argv: [K, o] }, b]],
106
+ [m, [{ fn: n, argv: [K, p] }, b]],
107
+ [f, [{ fn: n, argv: [K, q] }, s]],
108
+ [n, [K, t], u(3)],
109
+ [f, [L, i]],
110
+ [f, [L, v]],
111
+ [f, [F, { fn: n, argv: [K, w] }]],
112
+ [k, S, l(1)],
113
+ [m, [{ fn: n, argv: [M, o] }, b]],
114
+ [m, [{ fn: n, argv: [M, p] }, b]],
115
+ [f, [{ fn: n, argv: [M, q] }, s]],
116
+ [n, [M, t], u(2)],
117
+ [f, [N, i]],
118
+ [f, [N, v]],
119
+ [f, [F, { fn: n, argv: [M, w] }]],
120
+ [f, [F, { fn: n, argv: [I, w] }]],
121
+ [d, [{ [U]: "OperationType" }]],
122
+ [x, [{ [U]: "UseFIPS" }, c]],
123
+ [x, [{ fn: n, argv: [O, "supportsFIPS"] }, c]],
124
+ [x, [{ [U]: "UseDualStack" }, c]],
125
+ [x, [{ fn: n, argv: [O, "supportsDualStack"] }, c]],
126
+ [f, [F, "aws-us-gov"]],
127
+ [f, [{ fn: h, argv: [{ fn: g, argv: [H, 7, 8, b] }, i] }, j]],
128
+ [f, [{ fn: h, argv: [{ fn: g, argv: [H, 12, 13, b] }, i] }, "."]]
129
+ ],
130
+ results: [
131
+ [a],
132
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{HttpsCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", P],
133
+ [a, "DualStack is enabled, but this partition does not support DualStack."],
134
+ [a, "FIPS is enabled, but this partition does not support FIPS."],
135
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{HttpsCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dnsSuffix}", P],
136
+ [a, "FIPS is enabled but this partition does not support FIPS"],
137
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{HttpsCustomEndpointSuffixValue}.{Region}.{PartitionResult#dualStackDnsSuffix}", P],
138
+ [a, "DualStack is enabled but this partition does not support DualStack"],
139
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{HttpsCustomEndpointSuffixValue}.{Region}.{PartitionResult#dnsSuffix}", P],
140
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", P],
141
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}-fips.{Region}.{PartitionResult#dnsSuffix}", P],
142
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}.{Region}.{PartitionResult#dualStackDnsSuffix}", P],
143
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis{PlainCustomEndpointSuffixValue}.{Region}.{PartitionResult#dnsSuffix}", P],
144
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", P],
145
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", P],
146
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", P],
147
+ ["https://{StreamIdPrefixValue}.{StreamIdSuffixValue}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", P],
148
+ [a, "Operation Type is not set. Please contact service team for resolution."],
149
+ [y(3), P],
150
+ [z(3), P],
151
+ [A(3), P],
152
+ [B(3), P],
153
+ [a, C(3)],
154
+ [a, D(1)],
155
+ [a, "Invalid ARN: No ARN type specified"],
156
+ [a, E(3)],
157
+ [a, "Invalid ARN: Invalid region."],
158
+ [a, "Invalid ARN: Invalid account id."],
159
+ [a, "Invalid ARN: Failed to parse ARN."],
160
+ [y(1), P],
161
+ [z(1), P],
162
+ [A(1), P],
163
+ [B(1), P],
164
+ [a, C(1)],
165
+ [a, D(2)],
166
+ [a, E(1)],
167
+ [y(2), P],
168
+ [z(2), P],
169
+ [A(2), P],
170
+ [B(2), P],
171
+ [a, C(2)],
172
+ [a, D(3)],
173
+ [a, E(2)],
174
+ [a, "Invalid Configuration: FIPS and custom endpoint are not supported"],
175
+ [a, "Invalid Configuration: Dualstack and custom endpoint are not supported"],
176
+ [H, P],
177
+ ["https://kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", P],
178
+ [a, "FIPS and DualStack are enabled, but this partition does not support one or both"],
179
+ ["https://kinesis.{Region}.amazonaws.com", P],
180
+ ["https://kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", P],
181
+ ["https://kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", P],
182
+ ["https://kinesis.{Region}.{PartitionResult#dnsSuffix}", P],
183
+ [a, "Invalid Configuration: Missing Region"]
184
+ ]
185
+ };
186
+ const root = 2;
187
+ const r = 100_000_000;
188
+ const nodes = new Int32Array([
189
+ -1, 1, -1,
190
+ 0, 3, 4,
191
+ 1, 5, 4,
192
+ 9, 105, r + 52,
193
+ 2, 96, 6,
194
+ 3, 96, 7,
195
+ 4, 8, 12,
196
+ 5, 9, 12,
197
+ 6, 10, 12,
198
+ 7, 11, 12,
199
+ 8, 61, 12,
200
+ 9, 105, 13,
201
+ 10, 46, 14,
202
+ 22, 31, 15,
203
+ 23, 16, 97,
204
+ 24, 17, r + 28,
205
+ 25, 18, r + 27,
206
+ 26, 19, r + 26,
207
+ 27, 20, r + 42,
208
+ 28, 21, r + 24,
209
+ 29, r + 24, 22,
210
+ 30, 23, r + 41,
211
+ 31, 24, r + 40,
212
+ 41, 25, r + 17,
213
+ 42, 28, 26,
214
+ 44, 27, r + 39,
215
+ 45, r + 38, r + 7,
216
+ 43, 29, 93,
217
+ 44, 30, r + 37,
218
+ 45, r + 36, r + 2,
219
+ 32, 32, r + 28,
220
+ 33, 33, r + 27,
221
+ 34, 34, r + 26,
222
+ 35, 35, r + 35,
223
+ 36, 36, r + 24,
224
+ 37, r + 24, 37,
225
+ 38, 38, r + 34,
226
+ 39, 39, r + 33,
227
+ 41, 40, r + 17,
228
+ 42, 43, 41,
229
+ 44, 42, r + 32,
230
+ 45, r + 31, r + 7,
231
+ 43, 44, 93,
232
+ 44, 45, r + 30,
233
+ 45, r + 29, r + 2,
234
+ 11, 47, r + 28,
235
+ 12, 48, r + 27,
236
+ 13, 49, r + 26,
237
+ 18, 50, r + 25,
238
+ 19, 51, r + 24,
239
+ 20, r + 24, 52,
240
+ 21, 53, r + 23,
241
+ 40, 54, r + 22,
242
+ 41, 55, r + 17,
243
+ 42, 58, 56,
244
+ 44, 57, r + 21,
245
+ 45, r + 20, r + 7,
246
+ 43, 59, 93,
247
+ 44, 60, r + 19,
248
+ 45, r + 18, r + 2,
249
+ 9, 62, 66,
250
+ 14, 63, 65,
251
+ 15, 64, 65,
252
+ 16, 88, 65,
253
+ 17, 73, 66,
254
+ 41, 67, r + 17,
255
+ 42, 70, 68,
256
+ 44, 69, r + 16,
257
+ 45, r + 15, r + 7,
258
+ 43, 71, 93,
259
+ 44, 72, r + 14,
260
+ 45, r + 13, r + 2,
261
+ 41, 74, r + 17,
262
+ 42, 81, 75,
263
+ 44, 78, 76,
264
+ 47, 77, r + 16,
265
+ 48, r + 12, r + 16,
266
+ 45, 79, r + 7,
267
+ 47, 80, r + 15,
268
+ 48, r + 11, r + 15,
269
+ 43, 82, 93,
270
+ 44, 85, 83,
271
+ 47, 84, r + 14,
272
+ 48, r + 10, r + 14,
273
+ 45, 86, r + 2,
274
+ 47, 87, r + 13,
275
+ 48, r + 9, r + 13,
276
+ 41, 89, r + 17,
277
+ 42, 92, 90,
278
+ 44, 91, r + 8,
279
+ 45, r + 6, r + 7,
280
+ 43, 94, 93,
281
+ 44, r + 3, r + 5,
282
+ 44, 95, r + 4,
283
+ 45, r + 1, r + 2,
284
+ 9, 105, 97,
285
+ 42, 100, 98,
286
+ 44, 99, r + 51,
287
+ 45, r + 50, r + 7,
288
+ 43, 102, 101,
289
+ 44, r + 47, r + 5,
290
+ 44, 104, 103,
291
+ 46, r + 48, r + 49,
292
+ 45, r + 46, r + 47,
293
+ 42, r + 43, 106,
294
+ 44, r + 44, r + 45,
295
+ ]);
296
+ const bdd = BinaryDecisionDiagram.from(nodes, root, _data.conditions, _data.results);
297
+
298
+ const cache = new EndpointCache({
299
+ size: 50,
300
+ params: [
301
+ "ConsumerARN",
302
+ "Endpoint",
303
+ "OperationType",
304
+ "Region",
305
+ "ResourceARN",
306
+ "StreamARN",
307
+ "StreamId",
308
+ "UseDualStack",
309
+ "UseFIPS",
310
+ ],
311
+ });
312
+ const defaultEndpointResolver = (endpointParams, context = {}) => {
313
+ return cache.get(endpointParams, () => decideEndpoint(bdd, {
314
+ endpointParams: endpointParams,
315
+ logger: context.logger,
316
+ }));
317
+ };
318
+ customEndpointFunctions.aws = awsEndpointFunctions;
319
+
320
+ class KinesisServiceException extends ServiceException {
321
+ constructor(options) {
322
+ super(options);
323
+ Object.setPrototypeOf(this, KinesisServiceException.prototype);
324
+ }
325
+ }
326
+
327
+ class AccessDeniedException extends KinesisServiceException {
328
+ name = "AccessDeniedException";
329
+ $fault = "client";
330
+ constructor(opts) {
331
+ super({
332
+ name: "AccessDeniedException",
333
+ $fault: "client",
334
+ ...opts,
335
+ });
336
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
337
+ }
338
+ }
339
+ class InvalidArgumentException extends KinesisServiceException {
340
+ name = "InvalidArgumentException";
341
+ $fault = "client";
342
+ constructor(opts) {
343
+ super({
344
+ name: "InvalidArgumentException",
345
+ $fault: "client",
346
+ ...opts,
347
+ });
348
+ Object.setPrototypeOf(this, InvalidArgumentException.prototype);
349
+ }
350
+ }
351
+ class LimitExceededException extends KinesisServiceException {
352
+ name = "LimitExceededException";
353
+ $fault = "client";
354
+ constructor(opts) {
355
+ super({
356
+ name: "LimitExceededException",
357
+ $fault: "client",
358
+ ...opts,
359
+ });
360
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
361
+ }
362
+ }
363
+ class ResourceInUseException extends KinesisServiceException {
364
+ name = "ResourceInUseException";
365
+ $fault = "client";
366
+ constructor(opts) {
367
+ super({
368
+ name: "ResourceInUseException",
369
+ $fault: "client",
370
+ ...opts,
371
+ });
372
+ Object.setPrototypeOf(this, ResourceInUseException.prototype);
373
+ }
374
+ }
375
+ class ResourceNotFoundException extends KinesisServiceException {
376
+ name = "ResourceNotFoundException";
377
+ $fault = "client";
378
+ constructor(opts) {
379
+ super({
380
+ name: "ResourceNotFoundException",
381
+ $fault: "client",
382
+ ...opts,
383
+ });
384
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
385
+ }
386
+ }
387
+ class ValidationException extends KinesisServiceException {
388
+ name = "ValidationException";
389
+ $fault = "client";
390
+ constructor(opts) {
391
+ super({
392
+ name: "ValidationException",
393
+ $fault: "client",
394
+ ...opts,
395
+ });
396
+ Object.setPrototypeOf(this, ValidationException.prototype);
397
+ }
398
+ }
399
+ class ExpiredIteratorException extends KinesisServiceException {
400
+ name = "ExpiredIteratorException";
401
+ $fault = "client";
402
+ constructor(opts) {
403
+ super({
404
+ name: "ExpiredIteratorException",
405
+ $fault: "client",
406
+ ...opts,
407
+ });
408
+ Object.setPrototypeOf(this, ExpiredIteratorException.prototype);
409
+ }
410
+ }
411
+ class ExpiredNextTokenException extends KinesisServiceException {
412
+ name = "ExpiredNextTokenException";
413
+ $fault = "client";
414
+ constructor(opts) {
415
+ super({
416
+ name: "ExpiredNextTokenException",
417
+ $fault: "client",
418
+ ...opts,
419
+ });
420
+ Object.setPrototypeOf(this, ExpiredNextTokenException.prototype);
421
+ }
422
+ }
423
+ class InternalFailureException extends KinesisServiceException {
424
+ name = "InternalFailureException";
425
+ $fault = "server";
426
+ constructor(opts) {
427
+ super({
428
+ name: "InternalFailureException",
429
+ $fault: "server",
430
+ ...opts,
431
+ });
432
+ Object.setPrototypeOf(this, InternalFailureException.prototype);
433
+ }
434
+ }
435
+ class KMSAccessDeniedException extends KinesisServiceException {
436
+ name = "KMSAccessDeniedException";
437
+ $fault = "client";
438
+ constructor(opts) {
439
+ super({
440
+ name: "KMSAccessDeniedException",
441
+ $fault: "client",
442
+ ...opts,
443
+ });
444
+ Object.setPrototypeOf(this, KMSAccessDeniedException.prototype);
445
+ }
446
+ }
447
+ class KMSDisabledException extends KinesisServiceException {
448
+ name = "KMSDisabledException";
449
+ $fault = "client";
450
+ constructor(opts) {
451
+ super({
452
+ name: "KMSDisabledException",
453
+ $fault: "client",
454
+ ...opts,
455
+ });
456
+ Object.setPrototypeOf(this, KMSDisabledException.prototype);
457
+ }
458
+ }
459
+ class KMSInvalidStateException extends KinesisServiceException {
460
+ name = "KMSInvalidStateException";
461
+ $fault = "client";
462
+ constructor(opts) {
463
+ super({
464
+ name: "KMSInvalidStateException",
465
+ $fault: "client",
466
+ ...opts,
467
+ });
468
+ Object.setPrototypeOf(this, KMSInvalidStateException.prototype);
469
+ }
470
+ }
471
+ class KMSNotFoundException extends KinesisServiceException {
472
+ name = "KMSNotFoundException";
473
+ $fault = "client";
474
+ constructor(opts) {
475
+ super({
476
+ name: "KMSNotFoundException",
477
+ $fault: "client",
478
+ ...opts,
479
+ });
480
+ Object.setPrototypeOf(this, KMSNotFoundException.prototype);
481
+ }
482
+ }
483
+ class KMSOptInRequired extends KinesisServiceException {
484
+ name = "KMSOptInRequired";
485
+ $fault = "client";
486
+ constructor(opts) {
487
+ super({
488
+ name: "KMSOptInRequired",
489
+ $fault: "client",
490
+ ...opts,
491
+ });
492
+ Object.setPrototypeOf(this, KMSOptInRequired.prototype);
493
+ }
494
+ }
495
+ class KMSThrottlingException extends KinesisServiceException {
496
+ name = "KMSThrottlingException";
497
+ $fault = "client";
498
+ constructor(opts) {
499
+ super({
500
+ name: "KMSThrottlingException",
501
+ $fault: "client",
502
+ ...opts,
503
+ });
504
+ Object.setPrototypeOf(this, KMSThrottlingException.prototype);
505
+ }
506
+ }
507
+ class ProvisionedThroughputExceededException extends KinesisServiceException {
508
+ name = "ProvisionedThroughputExceededException";
509
+ $fault = "client";
510
+ constructor(opts) {
511
+ super({
512
+ name: "ProvisionedThroughputExceededException",
513
+ $fault: "client",
514
+ ...opts,
515
+ });
516
+ Object.setPrototypeOf(this, ProvisionedThroughputExceededException.prototype);
517
+ }
518
+ }
519
+
520
+ const _AAT = "ApproximateArrivalTimestamp";
521
+ const _ADE = "AccessDeniedException";
522
+ const _APSI = "AdjacentParentShardId";
523
+ const _ASTM = "AdjacentShardToMerge";
524
+ const _ATTS = "AddTagsToStream";
525
+ const _ATTSI = "AddTagsToStreamInput";
526
+ const _C = "Consumer";
527
+ const _CARN = "ConsumerARN";
528
+ const _CC = "ConsumerCount";
529
+ const _CCT = "ConsumerCreationTimestamp";
530
+ const _CD = "ConsumerDescription";
531
+ const _CL = "ConsumerList";
532
+ const _CMB = "CurrentMiBps";
533
+ const _CN = "ConsumerName";
534
+ const _CS = "ChildShard";
535
+ const _CSC = "CurrentShardCount";
536
+ const _CSI = "CreateStreamInput";
537
+ const _CSL = "ChildShardList";
538
+ const _CSLM = "CurrentShardLevelMetrics";
539
+ const _CSN = "ContinuationSequenceNumber";
540
+ const _CSh = "ChildShards";
541
+ const _CSo = "ConsumerStatus";
542
+ const _CSr = "CreateStream";
543
+ const _Co = "Consumers";
544
+ const _D = "Data";
545
+ const _DAS = "DescribeAccountSettings";
546
+ const _DASI = "DescribeAccountSettingsInput";
547
+ const _DASO = "DescribeAccountSettingsOutput";
548
+ const _DEM = "DisableEnhancedMonitoring";
549
+ const _DEMI = "DisableEnhancedMonitoringInput";
550
+ const _DL = "DescribeLimits";
551
+ const _DLI = "DescribeLimitsInput";
552
+ const _DLO = "DescribeLimitsOutput";
553
+ const _DRP = "DeleteResourcePolicy";
554
+ const _DRPI = "DeleteResourcePolicyInput";
555
+ const _DS = "DeleteStream";
556
+ const _DSC = "DeregisterStreamConsumer";
557
+ const _DSCI = "DeregisterStreamConsumerInput";
558
+ const _DSCIe = "DescribeStreamConsumerInput";
559
+ const _DSCO = "DescribeStreamConsumerOutput";
560
+ const _DSCe = "DescribeStreamConsumer";
561
+ const _DSI = "DeleteStreamInput";
562
+ const _DSIe = "DescribeStreamInput";
563
+ const _DSLM = "DesiredShardLevelMetrics";
564
+ const _DSO = "DescribeStreamOutput";
565
+ const _DSRP = "DecreaseStreamRetentionPeriod";
566
+ const _DSRPI = "DecreaseStreamRetentionPeriodInput";
567
+ const _DSS = "DescribeStreamSummary";
568
+ const _DSSI = "DescribeStreamSummaryInput";
569
+ const _DSSO = "DescribeStreamSummaryOutput";
570
+ const _DSe = "DescribeStream";
571
+ const _EA = "EndedAt";
572
+ const _EAEA = "EarliestAllowedEndAt";
573
+ const _EC = "ErrorCode";
574
+ const _ECD = "EnforceConsumerDeletion";
575
+ const _EEM = "EnableEnhancedMonitoring";
576
+ const _EEMI = "EnableEnhancedMonitoringInput";
577
+ const _EHK = "EndingHashKey";
578
+ const _EHKx = "ExplicitHashKey";
579
+ const _EIE = "ExpiredIteratorException";
580
+ const _EM = "EnhancedMetrics";
581
+ const _EML = "EnhancedMonitoringList";
582
+ const _EMO = "EnhancedMonitoringOutput";
583
+ const _EMn = "EnhancedMonitoring";
584
+ const _EMr = "ErrorMessage";
585
+ const _ENTE = "ExpiredNextTokenException";
586
+ const _ES = "EventStream";
587
+ const _ESN = "EndingSequenceNumber";
588
+ const _ESSI = "ExclusiveStartShardId";
589
+ const _ESSN = "ExclusiveStartStreamName";
590
+ const _ESTK = "ExclusiveStartTagKey";
591
+ const _ET = "EncryptionType";
592
+ const _FRC = "FailedRecordCount";
593
+ const _GR = "GetRecords";
594
+ const _GRI = "GetRecordsInput";
595
+ const _GRO = "GetRecordsOutput";
596
+ const _GRP = "GetResourcePolicy";
597
+ const _GRPI = "GetResourcePolicyInput";
598
+ const _GRPO = "GetResourcePolicyOutput";
599
+ const _GSI = "GetShardIterator";
600
+ const _GSII = "GetShardIteratorInput";
601
+ const _GSIO = "GetShardIteratorOutput";
602
+ const _HKR = "HashKeyRange";
603
+ const _HMS = "HasMoreStreams";
604
+ const _HMSa = "HasMoreShards";
605
+ const _HMT = "HasMoreTags";
606
+ const _IAE = "InvalidArgumentException";
607
+ const _IFE = "InternalFailureException";
608
+ const _ISRP = "IncreaseStreamRetentionPeriod";
609
+ const _ISRPI = "IncreaseStreamRetentionPeriodInput";
610
+ const _K = "Key";
611
+ const _KI = "KeyId";
612
+ const _KMSADE = "KMSAccessDeniedException";
613
+ const _KMSDE = "KMSDisabledException";
614
+ const _KMSISE = "KMSInvalidStateException";
615
+ const _KMSNFE = "KMSNotFoundException";
616
+ const _KMSOIR = "KMSOptInRequired";
617
+ const _KMSTE = "KMSThrottlingException";
618
+ const _L = "Limit";
619
+ const _LEE = "LimitExceededException";
620
+ const _LS = "ListShards";
621
+ const _LSC = "ListStreamConsumers";
622
+ const _LSCI = "ListStreamConsumersInput";
623
+ const _LSCO = "ListStreamConsumersOutput";
624
+ const _LSI = "ListShardsInput";
625
+ const _LSIi = "ListStreamsInput";
626
+ const _LSO = "ListShardsOutput";
627
+ const _LSOi = "ListStreamsOutput";
628
+ const _LSi = "ListStreams";
629
+ const _LTFR = "ListTagsForResource";
630
+ const _LTFRI = "ListTagsForResourceInput";
631
+ const _LTFRO = "ListTagsForResourceOutput";
632
+ const _LTFS = "ListTagsForStream";
633
+ const _LTFSI = "ListTagsForStreamInput";
634
+ const _LTFSO = "ListTagsForStreamOutput";
635
+ const _MBL = "MillisBehindLatest";
636
+ const _MR = "MaxResults";
637
+ const _MRSIKB = "MaxRecordSizeInKiB";
638
+ const _MS = "MergeShards";
639
+ const _MSI = "MergeShardsInput";
640
+ const _MTBC = "MinimumThroughputBillingCommitment";
641
+ const _MTBCI = "MinimumThroughputBillingCommitmentInput";
642
+ const _MTBCO = "MinimumThroughputBillingCommitmentOutput";
643
+ const _NSHK = "NewStartingHashKey";
644
+ const _NSI = "NextShardIterator";
645
+ const _NT = "NextToken";
646
+ const _ODSC = "OnDemandStreamCount";
647
+ const _ODSCL = "OnDemandStreamCountLimit";
648
+ const _OSC = "OpenShardCount";
649
+ const _P = "Policy";
650
+ const _PK = "PartitionKey";
651
+ const _PR = "PutRecord";
652
+ const _PRI = "PutRecordInput";
653
+ const _PRIu = "PutRecordsInput";
654
+ const _PRO = "PutRecordOutput";
655
+ const _PROu = "PutRecordsOutput";
656
+ const _PRP = "PutResourcePolicy";
657
+ const _PRPI = "PutResourcePolicyInput";
658
+ const _PRRE = "PutRecordsRequestEntry";
659
+ const _PRREL = "PutRecordsRequestEntryList";
660
+ const _PRRELu = "PutRecordsResultEntryList";
661
+ const _PRREu = "PutRecordsResultEntry";
662
+ const _PRu = "PutRecords";
663
+ const _PS = "ParentShards";
664
+ const _PSI = "ParentShardId";
665
+ const _PTEE = "ProvisionedThroughputExceededException";
666
+ const _R = "Records";
667
+ const _RARN = "ResourceARN";
668
+ const _RIUE = "ResourceInUseException";
669
+ const _RL = "RecordList";
670
+ const _RNFE = "ResourceNotFoundException";
671
+ const _RPH = "RetentionPeriodHours";
672
+ const _RSC = "RegisterStreamConsumer";
673
+ const _RSCI = "RegisterStreamConsumerInput";
674
+ const _RSCO = "RegisterStreamConsumerOutput";
675
+ const _RTFS = "RemoveTagsFromStream";
676
+ const _RTFSI = "RemoveTagsFromStreamInput";
677
+ const _Re = "Record";
678
+ const _S = "Shards";
679
+ const _SA = "StartedAt";
680
+ const _SARN = "StreamARN";
681
+ const _SC = "ShardCount";
682
+ const _SCT = "StreamCreationTimestamp";
683
+ const _SD = "StreamDescription";
684
+ const _SDS = "StreamDescriptionSummary";
685
+ const _SF = "ShardFilter";
686
+ const _SHK = "StartingHashKey";
687
+ const _SI = "StreamId";
688
+ const _SIT = "ShardIteratorType";
689
+ const _SIh = "ShardId";
690
+ const _SIha = "ShardIterator";
691
+ const _SL = "ShardLimit";
692
+ const _SLM = "ShardLevelMetrics";
693
+ const _SLh = "ShardList";
694
+ const _SM = "StreamMode";
695
+ const _SMD = "StreamModeDetails";
696
+ const _SN = "StreamName";
697
+ const _SNFO = "SequenceNumberForOrdering";
698
+ const _SNR = "SequenceNumberRange";
699
+ const _SNe = "SequenceNumber";
700
+ const _SNt = "StreamNames";
701
+ const _SP = "StartingPosition";
702
+ const _SS = "StreamSummaries";
703
+ const _SSE = "StartStreamEncryption";
704
+ const _SSEI = "StartStreamEncryptionInput";
705
+ const _SSEIt = "StopStreamEncryptionInput";
706
+ const _SSEt = "StopStreamEncryption";
707
+ const _SSI = "SplitShardInput";
708
+ const _SSL = "StreamSummaryList";
709
+ const _SSN = "StartingSequenceNumber";
710
+ const _SSp = "SplitShard";
711
+ const _SSt = "StreamStatus";
712
+ const _SStr = "StreamSummary";
713
+ const _ST = "ScalingType";
714
+ const _STM = "ShardToMerge";
715
+ const _STS = "ShardToSplit";
716
+ const _STSE = "SubscribeToShardEvent";
717
+ const _STSES = "SubscribeToShardEventStream";
718
+ const _STSI = "SubscribeToShardInput";
719
+ const _STSO = "SubscribeToShardOutput";
720
+ const _STSu = "SubscribeToShard";
721
+ const _Sh = "Shard";
722
+ const _St = "Status";
723
+ const _T = "Tags";
724
+ const _TK = "TagKeys";
725
+ const _TL = "TagList";
726
+ const _TMB = "TargetMiBps";
727
+ const _TR = "TagResource";
728
+ const _TRI = "TagResourceInput";
729
+ const _TSC = "TargetShardCount";
730
+ const _Ta = "Tag";
731
+ const _Ti = "Timestamp";
732
+ const _Ty = "Type";
733
+ const _UAS = "UpdateAccountSettings";
734
+ const _UASI = "UpdateAccountSettingsInput";
735
+ const _UASO = "UpdateAccountSettingsOutput";
736
+ const _UMRS = "UpdateMaxRecordSize";
737
+ const _UMRSI = "UpdateMaxRecordSizeInput";
738
+ const _UR = "UntagResource";
739
+ const _URI = "UntagResourceInput";
740
+ const _USC = "UpdateShardCount";
741
+ const _USCI = "UpdateShardCountInput";
742
+ const _USCO = "UpdateShardCountOutput";
743
+ const _USM = "UpdateStreamMode";
744
+ const _USMI = "UpdateStreamModeInput";
745
+ const _USWT = "UpdateStreamWarmThroughput";
746
+ const _USWTI = "UpdateStreamWarmThroughputInput";
747
+ const _USWTO = "UpdateStreamWarmThroughputOutput";
748
+ const _V = "Value";
749
+ const _VE = "ValidationException";
750
+ const _WT = "WarmThroughput";
751
+ const _WTMB = "WarmThroughputMiBps";
752
+ const _WTO = "WarmThroughputObject";
753
+ const _c = "client";
754
+ const _e = "error";
755
+ const _m = "message";
756
+ const _s = "smithy.ts.sdk.synthetic.com.amazonaws.kinesis";
757
+ const _se = "server";
758
+ const _st = "streaming";
759
+ const n0 = "com.amazonaws.kinesis";
760
+ const _s_registry = TypeRegistry.for(_s);
761
+ var KinesisServiceException$ = [-3, _s, "KinesisServiceException", 0, [], []];
762
+ _s_registry.registerError(KinesisServiceException$, KinesisServiceException);
763
+ const n0_registry = TypeRegistry.for(n0);
764
+ var AccessDeniedException$ = [-3, n0, _ADE,
765
+ { [_e]: _c },
766
+ [_m],
767
+ [0]
768
+ ];
769
+ n0_registry.registerError(AccessDeniedException$, AccessDeniedException);
770
+ var ExpiredIteratorException$ = [-3, n0, _EIE,
771
+ { [_e]: _c },
772
+ [_m],
773
+ [0]
774
+ ];
775
+ n0_registry.registerError(ExpiredIteratorException$, ExpiredIteratorException);
776
+ var ExpiredNextTokenException$ = [-3, n0, _ENTE,
777
+ { [_e]: _c },
778
+ [_m],
779
+ [0]
780
+ ];
781
+ n0_registry.registerError(ExpiredNextTokenException$, ExpiredNextTokenException);
782
+ var InternalFailureException$ = [-3, n0, _IFE,
783
+ { [_e]: _se },
784
+ [_m],
785
+ [0]
786
+ ];
787
+ n0_registry.registerError(InternalFailureException$, InternalFailureException);
788
+ var InvalidArgumentException$ = [-3, n0, _IAE,
789
+ { [_e]: _c },
790
+ [_m],
791
+ [0]
792
+ ];
793
+ n0_registry.registerError(InvalidArgumentException$, InvalidArgumentException);
794
+ var KMSAccessDeniedException$ = [-3, n0, _KMSADE,
795
+ { [_e]: _c },
796
+ [_m],
797
+ [0]
798
+ ];
799
+ n0_registry.registerError(KMSAccessDeniedException$, KMSAccessDeniedException);
800
+ var KMSDisabledException$ = [-3, n0, _KMSDE,
801
+ { [_e]: _c },
802
+ [_m],
803
+ [0]
804
+ ];
805
+ n0_registry.registerError(KMSDisabledException$, KMSDisabledException);
806
+ var KMSInvalidStateException$ = [-3, n0, _KMSISE,
807
+ { [_e]: _c },
808
+ [_m],
809
+ [0]
810
+ ];
811
+ n0_registry.registerError(KMSInvalidStateException$, KMSInvalidStateException);
812
+ var KMSNotFoundException$ = [-3, n0, _KMSNFE,
813
+ { [_e]: _c },
814
+ [_m],
815
+ [0]
816
+ ];
817
+ n0_registry.registerError(KMSNotFoundException$, KMSNotFoundException);
818
+ var KMSOptInRequired$ = [-3, n0, _KMSOIR,
819
+ { [_e]: _c },
820
+ [_m],
821
+ [0]
822
+ ];
823
+ n0_registry.registerError(KMSOptInRequired$, KMSOptInRequired);
824
+ var KMSThrottlingException$ = [-3, n0, _KMSTE,
825
+ { [_e]: _c },
826
+ [_m],
827
+ [0]
828
+ ];
829
+ n0_registry.registerError(KMSThrottlingException$, KMSThrottlingException);
830
+ var LimitExceededException$ = [-3, n0, _LEE,
831
+ { [_e]: _c },
832
+ [_m],
833
+ [0]
834
+ ];
835
+ n0_registry.registerError(LimitExceededException$, LimitExceededException);
836
+ var ProvisionedThroughputExceededException$ = [-3, n0, _PTEE,
837
+ { [_e]: _c },
838
+ [_m],
839
+ [0]
840
+ ];
841
+ n0_registry.registerError(ProvisionedThroughputExceededException$, ProvisionedThroughputExceededException);
842
+ var ResourceInUseException$ = [-3, n0, _RIUE,
843
+ { [_e]: _c },
844
+ [_m],
845
+ [0]
846
+ ];
847
+ n0_registry.registerError(ResourceInUseException$, ResourceInUseException);
848
+ var ResourceNotFoundException$ = [-3, n0, _RNFE,
849
+ { [_e]: _c },
850
+ [_m],
851
+ [0]
852
+ ];
853
+ n0_registry.registerError(ResourceNotFoundException$, ResourceNotFoundException);
854
+ var ValidationException$ = [-3, n0, _VE,
855
+ { [_e]: _c },
856
+ [_m],
857
+ [0]
858
+ ];
859
+ n0_registry.registerError(ValidationException$, ValidationException);
860
+ const errorTypeRegistries = [
861
+ _s_registry,
862
+ n0_registry,
863
+ ];
864
+ var AddTagsToStreamInput$ = [3, n0, _ATTSI,
865
+ 0,
866
+ [_T, _SN, _SARN, _SI],
867
+ [128 | 0, 0, 0, 0], 1
868
+ ];
869
+ var ChildShard$ = [3, n0, _CS,
870
+ 0,
871
+ [_SIh, _PS, _HKR],
872
+ [0, 64 | 0, () => HashKeyRange$], 3
873
+ ];
874
+ var Consumer$ = [3, n0, _C,
875
+ 0,
876
+ [_CN, _CARN, _CSo, _CCT],
877
+ [0, 0, 0, 4], 4
878
+ ];
879
+ var ConsumerDescription$ = [3, n0, _CD,
880
+ 0,
881
+ [_CN, _CARN, _CSo, _CCT, _SARN],
882
+ [0, 0, 0, 4, 0], 5
883
+ ];
884
+ var CreateStreamInput$ = [3, n0, _CSI,
885
+ 0,
886
+ [_SN, _SC, _SMD, _T, _WTMB, _MRSIKB],
887
+ [0, 1, () => StreamModeDetails$, 128 | 0, 1, 1], 1
888
+ ];
889
+ var DecreaseStreamRetentionPeriodInput$ = [3, n0, _DSRPI,
890
+ 0,
891
+ [_RPH, _SN, _SARN, _SI],
892
+ [1, 0, 0, 0], 1
893
+ ];
894
+ var DeleteResourcePolicyInput$ = [3, n0, _DRPI,
895
+ 0,
896
+ [_RARN, _SI],
897
+ [0, 0], 1
898
+ ];
899
+ var DeleteStreamInput$ = [3, n0, _DSI,
900
+ 0,
901
+ [_SN, _ECD, _SARN, _SI],
902
+ [0, 2, 0, 0]
903
+ ];
904
+ var DeregisterStreamConsumerInput$ = [3, n0, _DSCI,
905
+ 0,
906
+ [_SARN, _CN, _CARN, _SI],
907
+ [0, 0, 0, 0]
908
+ ];
909
+ var DescribeAccountSettingsInput$ = [3, n0, _DASI,
910
+ 0,
911
+ [],
912
+ []
913
+ ];
914
+ var DescribeAccountSettingsOutput$ = [3, n0, _DASO,
915
+ 0,
916
+ [_MTBC],
917
+ [() => MinimumThroughputBillingCommitmentOutput$]
918
+ ];
919
+ var DescribeLimitsInput$ = [3, n0, _DLI,
920
+ 0,
921
+ [],
922
+ []
923
+ ];
924
+ var DescribeLimitsOutput$ = [3, n0, _DLO,
925
+ 0,
926
+ [_SL, _OSC, _ODSC, _ODSCL],
927
+ [1, 1, 1, 1], 4
928
+ ];
929
+ var DescribeStreamConsumerInput$ = [3, n0, _DSCIe,
930
+ 0,
931
+ [_SARN, _CN, _CARN, _SI],
932
+ [0, 0, 0, 0]
933
+ ];
934
+ var DescribeStreamConsumerOutput$ = [3, n0, _DSCO,
935
+ 0,
936
+ [_CD],
937
+ [() => ConsumerDescription$], 1
938
+ ];
939
+ var DescribeStreamInput$ = [3, n0, _DSIe,
940
+ 0,
941
+ [_SN, _L, _ESSI, _SARN, _SI],
942
+ [0, 1, 0, 0, 0]
943
+ ];
944
+ var DescribeStreamOutput$ = [3, n0, _DSO,
945
+ 0,
946
+ [_SD],
947
+ [() => StreamDescription$], 1
948
+ ];
949
+ var DescribeStreamSummaryInput$ = [3, n0, _DSSI,
950
+ 0,
951
+ [_SN, _SARN, _SI],
952
+ [0, 0, 0]
953
+ ];
954
+ var DescribeStreamSummaryOutput$ = [3, n0, _DSSO,
955
+ 0,
956
+ [_SDS],
957
+ [() => StreamDescriptionSummary$], 1
958
+ ];
959
+ var DisableEnhancedMonitoringInput$ = [3, n0, _DEMI,
960
+ 0,
961
+ [_SLM, _SN, _SARN, _SI],
962
+ [64 | 0, 0, 0, 0], 1
963
+ ];
964
+ var EnableEnhancedMonitoringInput$ = [3, n0, _EEMI,
965
+ 0,
966
+ [_SLM, _SN, _SARN, _SI],
967
+ [64 | 0, 0, 0, 0], 1
968
+ ];
969
+ var EnhancedMetrics$ = [3, n0, _EM,
970
+ 0,
971
+ [_SLM],
972
+ [64 | 0]
973
+ ];
974
+ var EnhancedMonitoringOutput$ = [3, n0, _EMO,
975
+ 0,
976
+ [_SN, _CSLM, _DSLM, _SARN],
977
+ [0, 64 | 0, 64 | 0, 0]
978
+ ];
979
+ var GetRecordsInput$ = [3, n0, _GRI,
980
+ 0,
981
+ [_SIha, _L, _SARN, _SI],
982
+ [0, 1, 0, 0], 1
983
+ ];
984
+ var GetRecordsOutput$ = [3, n0, _GRO,
985
+ 0,
986
+ [_R, _NSI, _MBL, _CSh],
987
+ [() => RecordList, 0, 1, () => ChildShardList], 1
988
+ ];
989
+ var GetResourcePolicyInput$ = [3, n0, _GRPI,
990
+ 0,
991
+ [_RARN, _SI],
992
+ [0, 0], 1
993
+ ];
994
+ var GetResourcePolicyOutput$ = [3, n0, _GRPO,
995
+ 0,
996
+ [_P],
997
+ [0], 1
998
+ ];
999
+ var GetShardIteratorInput$ = [3, n0, _GSII,
1000
+ 0,
1001
+ [_SIh, _SIT, _SN, _SSN, _Ti, _SARN, _SI],
1002
+ [0, 0, 0, 0, 4, 0, 0], 2
1003
+ ];
1004
+ var GetShardIteratorOutput$ = [3, n0, _GSIO,
1005
+ 0,
1006
+ [_SIha],
1007
+ [0]
1008
+ ];
1009
+ var HashKeyRange$ = [3, n0, _HKR,
1010
+ 0,
1011
+ [_SHK, _EHK],
1012
+ [0, 0], 2
1013
+ ];
1014
+ var IncreaseStreamRetentionPeriodInput$ = [3, n0, _ISRPI,
1015
+ 0,
1016
+ [_RPH, _SN, _SARN, _SI],
1017
+ [1, 0, 0, 0], 1
1018
+ ];
1019
+ var ListShardsInput$ = [3, n0, _LSI,
1020
+ 0,
1021
+ [_SN, _NT, _ESSI, _MR, _SCT, _SF, _SARN, _SI],
1022
+ [0, 0, 0, 1, 4, () => ShardFilter$, 0, 0]
1023
+ ];
1024
+ var ListShardsOutput$ = [3, n0, _LSO,
1025
+ 0,
1026
+ [_S, _NT],
1027
+ [() => ShardList, 0]
1028
+ ];
1029
+ var ListStreamConsumersInput$ = [3, n0, _LSCI,
1030
+ 0,
1031
+ [_SARN, _NT, _MR, _SCT, _SI],
1032
+ [0, 0, 1, 4, 0], 1
1033
+ ];
1034
+ var ListStreamConsumersOutput$ = [3, n0, _LSCO,
1035
+ 0,
1036
+ [_Co, _NT],
1037
+ [() => ConsumerList, 0]
1038
+ ];
1039
+ var ListStreamsInput$ = [3, n0, _LSIi,
1040
+ 0,
1041
+ [_L, _ESSN, _NT],
1042
+ [1, 0, 0]
1043
+ ];
1044
+ var ListStreamsOutput$ = [3, n0, _LSOi,
1045
+ 0,
1046
+ [_SNt, _HMS, _NT, _SS],
1047
+ [64 | 0, 2, 0, () => StreamSummaryList], 2
1048
+ ];
1049
+ var ListTagsForResourceInput$ = [3, n0, _LTFRI,
1050
+ 0,
1051
+ [_RARN, _SI],
1052
+ [0, 0], 1
1053
+ ];
1054
+ var ListTagsForResourceOutput$ = [3, n0, _LTFRO,
1055
+ 0,
1056
+ [_T],
1057
+ [() => TagList]
1058
+ ];
1059
+ var ListTagsForStreamInput$ = [3, n0, _LTFSI,
1060
+ 0,
1061
+ [_SN, _ESTK, _L, _SARN, _SI],
1062
+ [0, 0, 1, 0, 0]
1063
+ ];
1064
+ var ListTagsForStreamOutput$ = [3, n0, _LTFSO,
1065
+ 0,
1066
+ [_T, _HMT],
1067
+ [() => TagList, 2], 2
1068
+ ];
1069
+ var MergeShardsInput$ = [3, n0, _MSI,
1070
+ 0,
1071
+ [_STM, _ASTM, _SN, _SARN, _SI],
1072
+ [0, 0, 0, 0, 0], 2
1073
+ ];
1074
+ var MinimumThroughputBillingCommitmentInput$ = [3, n0, _MTBCI,
1075
+ 0,
1076
+ [_St],
1077
+ [0], 1
1078
+ ];
1079
+ var MinimumThroughputBillingCommitmentOutput$ = [3, n0, _MTBCO,
1080
+ 0,
1081
+ [_St, _SA, _EA, _EAEA],
1082
+ [0, 4, 4, 4], 1
1083
+ ];
1084
+ var PutRecordInput$ = [3, n0, _PRI,
1085
+ 0,
1086
+ [_D, _PK, _SN, _EHKx, _SNFO, _SARN, _SI],
1087
+ [21, 0, 0, 0, 0, 0, 0], 2
1088
+ ];
1089
+ var PutRecordOutput$ = [3, n0, _PRO,
1090
+ 0,
1091
+ [_SIh, _SNe, _ET],
1092
+ [0, 0, 0], 2
1093
+ ];
1094
+ var PutRecordsInput$ = [3, n0, _PRIu,
1095
+ 0,
1096
+ [_R, _SN, _SARN, _SI],
1097
+ [() => PutRecordsRequestEntryList, 0, 0, 0], 1
1098
+ ];
1099
+ var PutRecordsOutput$ = [3, n0, _PROu,
1100
+ 0,
1101
+ [_R, _FRC, _ET],
1102
+ [() => PutRecordsResultEntryList, 1, 0], 1
1103
+ ];
1104
+ var PutRecordsRequestEntry$ = [3, n0, _PRRE,
1105
+ 0,
1106
+ [_D, _PK, _EHKx],
1107
+ [21, 0, 0], 2
1108
+ ];
1109
+ var PutRecordsResultEntry$ = [3, n0, _PRREu,
1110
+ 0,
1111
+ [_SNe, _SIh, _EC, _EMr],
1112
+ [0, 0, 0, 0]
1113
+ ];
1114
+ var PutResourcePolicyInput$ = [3, n0, _PRPI,
1115
+ 0,
1116
+ [_RARN, _P, _SI],
1117
+ [0, 0, 0], 2
1118
+ ];
1119
+ var _Record$ = [3, n0, _Re,
1120
+ 0,
1121
+ [_SNe, _D, _PK, _AAT, _ET],
1122
+ [0, 21, 0, 4, 0], 3
1123
+ ];
1124
+ var RegisterStreamConsumerInput$ = [3, n0, _RSCI,
1125
+ 0,
1126
+ [_SARN, _CN, _SI, _T],
1127
+ [0, 0, 0, 128 | 0], 2
1128
+ ];
1129
+ var RegisterStreamConsumerOutput$ = [3, n0, _RSCO,
1130
+ 0,
1131
+ [_C],
1132
+ [() => Consumer$], 1
1133
+ ];
1134
+ var RemoveTagsFromStreamInput$ = [3, n0, _RTFSI,
1135
+ 0,
1136
+ [_TK, _SN, _SARN, _SI],
1137
+ [64 | 0, 0, 0, 0], 1
1138
+ ];
1139
+ var SequenceNumberRange$ = [3, n0, _SNR,
1140
+ 0,
1141
+ [_SSN, _ESN],
1142
+ [0, 0], 1
1143
+ ];
1144
+ var Shard$ = [3, n0, _Sh,
1145
+ 0,
1146
+ [_SIh, _HKR, _SNR, _PSI, _APSI],
1147
+ [0, () => HashKeyRange$, () => SequenceNumberRange$, 0, 0], 3
1148
+ ];
1149
+ var ShardFilter$ = [3, n0, _SF,
1150
+ 0,
1151
+ [_Ty, _SIh, _Ti],
1152
+ [0, 0, 4], 1
1153
+ ];
1154
+ var SplitShardInput$ = [3, n0, _SSI,
1155
+ 0,
1156
+ [_STS, _NSHK, _SN, _SARN, _SI],
1157
+ [0, 0, 0, 0, 0], 2
1158
+ ];
1159
+ var StartingPosition$ = [3, n0, _SP,
1160
+ 0,
1161
+ [_Ty, _SNe, _Ti],
1162
+ [0, 0, 4], 1
1163
+ ];
1164
+ var StartStreamEncryptionInput$ = [3, n0, _SSEI,
1165
+ 0,
1166
+ [_ET, _KI, _SN, _SARN, _SI],
1167
+ [0, 0, 0, 0, 0], 2
1168
+ ];
1169
+ var StopStreamEncryptionInput$ = [3, n0, _SSEIt,
1170
+ 0,
1171
+ [_ET, _KI, _SN, _SARN, _SI],
1172
+ [0, 0, 0, 0, 0], 2
1173
+ ];
1174
+ var StreamDescription$ = [3, n0, _SD,
1175
+ 0,
1176
+ [_SN, _SARN, _SSt, _S, _HMSa, _RPH, _SCT, _EMn, _SMD, _ET, _KI],
1177
+ [0, 0, 0, () => ShardList, 2, 1, 4, () => EnhancedMonitoringList, () => StreamModeDetails$, 0, 0], 8
1178
+ ];
1179
+ var StreamDescriptionSummary$ = [3, n0, _SDS,
1180
+ 0,
1181
+ [_SN, _SARN, _SSt, _RPH, _SCT, _EMn, _OSC, _SI, _SMD, _ET, _KI, _CC, _WT, _MRSIKB],
1182
+ [0, 0, 0, 1, 4, () => EnhancedMonitoringList, 1, 0, () => StreamModeDetails$, 0, 0, 1, () => WarmThroughputObject$, 1], 7
1183
+ ];
1184
+ var StreamModeDetails$ = [3, n0, _SMD,
1185
+ 0,
1186
+ [_SM],
1187
+ [0], 1
1188
+ ];
1189
+ var StreamSummary$ = [3, n0, _SStr,
1190
+ 0,
1191
+ [_SN, _SARN, _SSt, _SMD, _SCT],
1192
+ [0, 0, 0, () => StreamModeDetails$, 4], 3
1193
+ ];
1194
+ var SubscribeToShardEvent$ = [3, n0, _STSE,
1195
+ 0,
1196
+ [_R, _CSN, _MBL, _CSh],
1197
+ [() => RecordList, 0, 1, () => ChildShardList], 3
1198
+ ];
1199
+ var SubscribeToShardInput$ = [3, n0, _STSI,
1200
+ 0,
1201
+ [_CARN, _SIh, _SP, _SI],
1202
+ [0, 0, () => StartingPosition$, 0], 3
1203
+ ];
1204
+ var SubscribeToShardOutput$ = [3, n0, _STSO,
1205
+ 0,
1206
+ [_ES],
1207
+ [[() => SubscribeToShardEventStream$, 0]], 1
1208
+ ];
1209
+ var Tag$ = [3, n0, _Ta,
1210
+ 0,
1211
+ [_K, _V],
1212
+ [0, 0], 1
1213
+ ];
1214
+ var TagResourceInput$ = [3, n0, _TRI,
1215
+ 0,
1216
+ [_T, _RARN, _SI],
1217
+ [128 | 0, 0, 0], 2
1218
+ ];
1219
+ var UntagResourceInput$ = [3, n0, _URI,
1220
+ 0,
1221
+ [_TK, _RARN, _SI],
1222
+ [64 | 0, 0, 0], 2
1223
+ ];
1224
+ var UpdateAccountSettingsInput$ = [3, n0, _UASI,
1225
+ 0,
1226
+ [_MTBC],
1227
+ [() => MinimumThroughputBillingCommitmentInput$], 1
1228
+ ];
1229
+ var UpdateAccountSettingsOutput$ = [3, n0, _UASO,
1230
+ 0,
1231
+ [_MTBC],
1232
+ [() => MinimumThroughputBillingCommitmentOutput$]
1233
+ ];
1234
+ var UpdateMaxRecordSizeInput$ = [3, n0, _UMRSI,
1235
+ 0,
1236
+ [_MRSIKB, _SARN, _SI],
1237
+ [1, 0, 0], 1
1238
+ ];
1239
+ var UpdateShardCountInput$ = [3, n0, _USCI,
1240
+ 0,
1241
+ [_TSC, _ST, _SN, _SARN, _SI],
1242
+ [1, 0, 0, 0, 0], 2
1243
+ ];
1244
+ var UpdateShardCountOutput$ = [3, n0, _USCO,
1245
+ 0,
1246
+ [_SN, _CSC, _TSC, _SARN],
1247
+ [0, 1, 1, 0]
1248
+ ];
1249
+ var UpdateStreamModeInput$ = [3, n0, _USMI,
1250
+ 0,
1251
+ [_SARN, _SMD, _SI, _WTMB],
1252
+ [0, () => StreamModeDetails$, 0, 1], 2
1253
+ ];
1254
+ var UpdateStreamWarmThroughputInput$ = [3, n0, _USWTI,
1255
+ 0,
1256
+ [_WTMB, _SARN, _SN, _SI],
1257
+ [1, 0, 0, 0], 1
1258
+ ];
1259
+ var UpdateStreamWarmThroughputOutput$ = [3, n0, _USWTO,
1260
+ 0,
1261
+ [_SARN, _SN, _WT],
1262
+ [0, 0, () => WarmThroughputObject$]
1263
+ ];
1264
+ var WarmThroughputObject$ = [3, n0, _WTO,
1265
+ 0,
1266
+ [_TMB, _CMB],
1267
+ [1, 1]
1268
+ ];
1269
+ var __Unit = "unit";
1270
+ var ChildShardList = [1, n0, _CSL,
1271
+ 0, () => ChildShard$
1272
+ ];
1273
+ var ConsumerList = [1, n0, _CL,
1274
+ 0, () => Consumer$
1275
+ ];
1276
+ var EnhancedMonitoringList = [1, n0, _EML,
1277
+ 0, () => EnhancedMetrics$
1278
+ ];
1279
+ var PutRecordsRequestEntryList = [1, n0, _PRREL,
1280
+ 0, () => PutRecordsRequestEntry$
1281
+ ];
1282
+ var PutRecordsResultEntryList = [1, n0, _PRRELu,
1283
+ 0, () => PutRecordsResultEntry$
1284
+ ];
1285
+ var RecordList = [1, n0, _RL,
1286
+ 0, () => _Record$
1287
+ ];
1288
+ var ShardList = [1, n0, _SLh,
1289
+ 0, () => Shard$
1290
+ ];
1291
+ var StreamSummaryList = [1, n0, _SSL,
1292
+ 0, () => StreamSummary$
1293
+ ];
1294
+ var TagList = [1, n0, _TL,
1295
+ 0, () => Tag$
1296
+ ];
1297
+ var SubscribeToShardEventStream$ = [4, n0, _STSES,
1298
+ { [_st]: 1 },
1299
+ [_STSE, _RNFE, _RIUE, _KMSDE, _KMSISE, _KMSADE, _KMSNFE, _KMSOIR, _KMSTE, _IFE],
1300
+ [() => SubscribeToShardEvent$, [() => ResourceNotFoundException$, 0], [() => ResourceInUseException$, 0], [() => KMSDisabledException$, 0], [() => KMSInvalidStateException$, 0], [() => KMSAccessDeniedException$, 0], [() => KMSNotFoundException$, 0], [() => KMSOptInRequired$, 0], [() => KMSThrottlingException$, 0], [() => InternalFailureException$, 0]]
1301
+ ];
1302
+ var AddTagsToStream$ = [9, n0, _ATTS,
1303
+ 0, () => AddTagsToStreamInput$, () => __Unit
1304
+ ];
1305
+ var CreateStream$ = [9, n0, _CSr,
1306
+ 0, () => CreateStreamInput$, () => __Unit
1307
+ ];
1308
+ var DecreaseStreamRetentionPeriod$ = [9, n0, _DSRP,
1309
+ 0, () => DecreaseStreamRetentionPeriodInput$, () => __Unit
1310
+ ];
1311
+ var DeleteResourcePolicy$ = [9, n0, _DRP,
1312
+ 0, () => DeleteResourcePolicyInput$, () => __Unit
1313
+ ];
1314
+ var DeleteStream$ = [9, n0, _DS,
1315
+ 0, () => DeleteStreamInput$, () => __Unit
1316
+ ];
1317
+ var DeregisterStreamConsumer$ = [9, n0, _DSC,
1318
+ 0, () => DeregisterStreamConsumerInput$, () => __Unit
1319
+ ];
1320
+ var DescribeAccountSettings$ = [9, n0, _DAS,
1321
+ 0, () => DescribeAccountSettingsInput$, () => DescribeAccountSettingsOutput$
1322
+ ];
1323
+ var DescribeLimits$ = [9, n0, _DL,
1324
+ 0, () => DescribeLimitsInput$, () => DescribeLimitsOutput$
1325
+ ];
1326
+ var DescribeStream$ = [9, n0, _DSe,
1327
+ 0, () => DescribeStreamInput$, () => DescribeStreamOutput$
1328
+ ];
1329
+ var DescribeStreamConsumer$ = [9, n0, _DSCe,
1330
+ 0, () => DescribeStreamConsumerInput$, () => DescribeStreamConsumerOutput$
1331
+ ];
1332
+ var DescribeStreamSummary$ = [9, n0, _DSS,
1333
+ 0, () => DescribeStreamSummaryInput$, () => DescribeStreamSummaryOutput$
1334
+ ];
1335
+ var DisableEnhancedMonitoring$ = [9, n0, _DEM,
1336
+ 0, () => DisableEnhancedMonitoringInput$, () => EnhancedMonitoringOutput$
1337
+ ];
1338
+ var EnableEnhancedMonitoring$ = [9, n0, _EEM,
1339
+ 0, () => EnableEnhancedMonitoringInput$, () => EnhancedMonitoringOutput$
1340
+ ];
1341
+ var GetRecords$ = [9, n0, _GR,
1342
+ 0, () => GetRecordsInput$, () => GetRecordsOutput$
1343
+ ];
1344
+ var GetResourcePolicy$ = [9, n0, _GRP,
1345
+ 0, () => GetResourcePolicyInput$, () => GetResourcePolicyOutput$
1346
+ ];
1347
+ var GetShardIterator$ = [9, n0, _GSI,
1348
+ 0, () => GetShardIteratorInput$, () => GetShardIteratorOutput$
1349
+ ];
1350
+ var IncreaseStreamRetentionPeriod$ = [9, n0, _ISRP,
1351
+ 0, () => IncreaseStreamRetentionPeriodInput$, () => __Unit
1352
+ ];
1353
+ var ListShards$ = [9, n0, _LS,
1354
+ 0, () => ListShardsInput$, () => ListShardsOutput$
1355
+ ];
1356
+ var ListStreamConsumers$ = [9, n0, _LSC,
1357
+ 0, () => ListStreamConsumersInput$, () => ListStreamConsumersOutput$
1358
+ ];
1359
+ var ListStreams$ = [9, n0, _LSi,
1360
+ 0, () => ListStreamsInput$, () => ListStreamsOutput$
1361
+ ];
1362
+ var ListTagsForResource$ = [9, n0, _LTFR,
1363
+ 0, () => ListTagsForResourceInput$, () => ListTagsForResourceOutput$
1364
+ ];
1365
+ var ListTagsForStream$ = [9, n0, _LTFS,
1366
+ 0, () => ListTagsForStreamInput$, () => ListTagsForStreamOutput$
1367
+ ];
1368
+ var MergeShards$ = [9, n0, _MS,
1369
+ 0, () => MergeShardsInput$, () => __Unit
1370
+ ];
1371
+ var PutRecord$ = [9, n0, _PR,
1372
+ 0, () => PutRecordInput$, () => PutRecordOutput$
1373
+ ];
1374
+ var PutRecords$ = [9, n0, _PRu,
1375
+ 0, () => PutRecordsInput$, () => PutRecordsOutput$
1376
+ ];
1377
+ var PutResourcePolicy$ = [9, n0, _PRP,
1378
+ 0, () => PutResourcePolicyInput$, () => __Unit
1379
+ ];
1380
+ var RegisterStreamConsumer$ = [9, n0, _RSC,
1381
+ 0, () => RegisterStreamConsumerInput$, () => RegisterStreamConsumerOutput$
1382
+ ];
1383
+ var RemoveTagsFromStream$ = [9, n0, _RTFS,
1384
+ 0, () => RemoveTagsFromStreamInput$, () => __Unit
1385
+ ];
1386
+ var SplitShard$ = [9, n0, _SSp,
1387
+ 0, () => SplitShardInput$, () => __Unit
1388
+ ];
1389
+ var StartStreamEncryption$ = [9, n0, _SSE,
1390
+ 0, () => StartStreamEncryptionInput$, () => __Unit
1391
+ ];
1392
+ var StopStreamEncryption$ = [9, n0, _SSEt,
1393
+ 0, () => StopStreamEncryptionInput$, () => __Unit
1394
+ ];
1395
+ var SubscribeToShard$ = [9, n0, _STSu,
1396
+ 0, () => SubscribeToShardInput$, () => SubscribeToShardOutput$
1397
+ ];
1398
+ var TagResource$ = [9, n0, _TR,
1399
+ 0, () => TagResourceInput$, () => __Unit
1400
+ ];
1401
+ var UntagResource$ = [9, n0, _UR,
1402
+ 0, () => UntagResourceInput$, () => __Unit
1403
+ ];
1404
+ var UpdateAccountSettings$ = [9, n0, _UAS,
1405
+ 0, () => UpdateAccountSettingsInput$, () => UpdateAccountSettingsOutput$
1406
+ ];
1407
+ var UpdateMaxRecordSize$ = [9, n0, _UMRS,
1408
+ 0, () => UpdateMaxRecordSizeInput$, () => __Unit
1409
+ ];
1410
+ var UpdateShardCount$ = [9, n0, _USC,
1411
+ 0, () => UpdateShardCountInput$, () => UpdateShardCountOutput$
1412
+ ];
1413
+ var UpdateStreamMode$ = [9, n0, _USM,
1414
+ 0, () => UpdateStreamModeInput$, () => __Unit
1415
+ ];
1416
+ var UpdateStreamWarmThroughput$ = [9, n0, _USWT,
1417
+ 0, () => UpdateStreamWarmThroughputInput$, () => UpdateStreamWarmThroughputOutput$
1418
+ ];
1419
+
1420
+ const getRuntimeConfig$1 = (config) => {
1421
+ return {
1422
+ apiVersion: "2013-12-02",
1423
+ base64Decoder: config?.base64Decoder ?? fromBase64,
1424
+ base64Encoder: config?.base64Encoder ?? toBase64,
1425
+ disableHostPrefix: config?.disableHostPrefix ?? false,
1426
+ endpointProvider: config?.endpointProvider ?? defaultEndpointResolver,
1427
+ extensions: config?.extensions ?? [],
1428
+ httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? defaultKinesisHttpAuthSchemeProvider,
1429
+ httpAuthSchemes: config?.httpAuthSchemes ?? [
1430
+ {
1431
+ schemeId: "aws.auth#sigv4",
1432
+ identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
1433
+ signer: new AwsSdkSigV4Signer(),
1434
+ },
1435
+ ],
1436
+ logger: config?.logger ?? new NoOpLogger(),
1437
+ protocol: config?.protocol ?? AwsJson1_1Protocol,
1438
+ protocolSettings: config?.protocolSettings ?? {
1439
+ defaultNamespace: "com.amazonaws.kinesis",
1440
+ errorTypeRegistries,
1441
+ xmlNamespace: "http://kinesis.amazonaws.com/doc/2013-12-02",
1442
+ version: "2013-12-02",
1443
+ serviceTarget: "Kinesis_20131202",
1444
+ },
1445
+ serviceId: config?.serviceId ?? "Kinesis",
1446
+ sha256: config?.sha256 ?? Sha256,
1447
+ urlParser: config?.urlParser ?? parseUrl,
1448
+ utf8Decoder: config?.utf8Decoder ?? fromUtf8,
1449
+ utf8Encoder: config?.utf8Encoder ?? toUtf8,
1450
+ };
1451
+ };
1452
+
1453
+ const getRuntimeConfig = (config) => {
1454
+ emitWarningIfUnsupportedVersion(process.version);
1455
+ const defaultsMode = resolveDefaultsModeConfig(config);
1456
+ const defaultConfigProvider = () => defaultsMode().then(loadConfigsForDefaultMode);
1457
+ const clientSharedValues = getRuntimeConfig$1(config);
1458
+ emitWarningIfUnsupportedVersion$1(process.version);
1459
+ const loaderConfig = {
1460
+ profile: config?.profile,
1461
+ logger: clientSharedValues.logger,
1462
+ };
1463
+ return {
1464
+ ...clientSharedValues,
1465
+ ...config,
1466
+ runtime: "node",
1467
+ defaultsMode,
1468
+ authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
1469
+ bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
1470
+ credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
1471
+ defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
1472
+ eventStreamSerdeProvider: config?.eventStreamSerdeProvider ?? eventStreamSerdeProvider,
1473
+ maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
1474
+ region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
1475
+ requestHandler: NodeHttp2Handler.create(config?.requestHandler ?? (async () => ({
1476
+ ...await defaultConfigProvider(),
1477
+ disableConcurrentStreams: true
1478
+ }))),
1479
+ retryMode: config?.retryMode ??
1480
+ loadConfig({
1481
+ ...NODE_RETRY_MODE_CONFIG_OPTIONS,
1482
+ default: async () => (await defaultConfigProvider()).retryMode || DEFAULT_RETRY_MODE,
1483
+ }, config),
1484
+ streamCollector: config?.streamCollector ?? streamCollector,
1485
+ useDualstackEndpoint: config?.useDualstackEndpoint ?? loadConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1486
+ useFipsEndpoint: config?.useFipsEndpoint ?? loadConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, loaderConfig),
1487
+ userAgentAppId: config?.userAgentAppId ?? loadConfig(NODE_APP_ID_CONFIG_OPTIONS, loaderConfig),
1488
+ };
1489
+ };
1490
+
35
1491
  const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
36
1492
  const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
37
1493
  let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
@@ -925,57 +2381,213 @@ const ScalingType = {
925
2381
  UNIFORM_SCALING: "UNIFORM_SCALING",
926
2382
  };
927
2383
 
2384
+ exports.AccessDeniedException = AccessDeniedException;
2385
+ exports.AccessDeniedException$ = AccessDeniedException$;
2386
+ exports.AddTagsToStream$ = AddTagsToStream$;
928
2387
  exports.AddTagsToStreamCommand = AddTagsToStreamCommand;
2388
+ exports.AddTagsToStreamInput$ = AddTagsToStreamInput$;
2389
+ exports.ChildShard$ = ChildShard$;
2390
+ exports.Consumer$ = Consumer$;
2391
+ exports.ConsumerDescription$ = ConsumerDescription$;
929
2392
  exports.ConsumerStatus = ConsumerStatus;
2393
+ exports.CreateStream$ = CreateStream$;
930
2394
  exports.CreateStreamCommand = CreateStreamCommand;
2395
+ exports.CreateStreamInput$ = CreateStreamInput$;
2396
+ exports.DecreaseStreamRetentionPeriod$ = DecreaseStreamRetentionPeriod$;
931
2397
  exports.DecreaseStreamRetentionPeriodCommand = DecreaseStreamRetentionPeriodCommand;
2398
+ exports.DecreaseStreamRetentionPeriodInput$ = DecreaseStreamRetentionPeriodInput$;
2399
+ exports.DeleteResourcePolicy$ = DeleteResourcePolicy$;
932
2400
  exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
2401
+ exports.DeleteResourcePolicyInput$ = DeleteResourcePolicyInput$;
2402
+ exports.DeleteStream$ = DeleteStream$;
933
2403
  exports.DeleteStreamCommand = DeleteStreamCommand;
2404
+ exports.DeleteStreamInput$ = DeleteStreamInput$;
2405
+ exports.DeregisterStreamConsumer$ = DeregisterStreamConsumer$;
934
2406
  exports.DeregisterStreamConsumerCommand = DeregisterStreamConsumerCommand;
2407
+ exports.DeregisterStreamConsumerInput$ = DeregisterStreamConsumerInput$;
2408
+ exports.DescribeAccountSettings$ = DescribeAccountSettings$;
935
2409
  exports.DescribeAccountSettingsCommand = DescribeAccountSettingsCommand;
2410
+ exports.DescribeAccountSettingsInput$ = DescribeAccountSettingsInput$;
2411
+ exports.DescribeAccountSettingsOutput$ = DescribeAccountSettingsOutput$;
2412
+ exports.DescribeLimits$ = DescribeLimits$;
936
2413
  exports.DescribeLimitsCommand = DescribeLimitsCommand;
2414
+ exports.DescribeLimitsInput$ = DescribeLimitsInput$;
2415
+ exports.DescribeLimitsOutput$ = DescribeLimitsOutput$;
2416
+ exports.DescribeStream$ = DescribeStream$;
937
2417
  exports.DescribeStreamCommand = DescribeStreamCommand;
2418
+ exports.DescribeStreamConsumer$ = DescribeStreamConsumer$;
938
2419
  exports.DescribeStreamConsumerCommand = DescribeStreamConsumerCommand;
2420
+ exports.DescribeStreamConsumerInput$ = DescribeStreamConsumerInput$;
2421
+ exports.DescribeStreamConsumerOutput$ = DescribeStreamConsumerOutput$;
2422
+ exports.DescribeStreamInput$ = DescribeStreamInput$;
2423
+ exports.DescribeStreamOutput$ = DescribeStreamOutput$;
2424
+ exports.DescribeStreamSummary$ = DescribeStreamSummary$;
939
2425
  exports.DescribeStreamSummaryCommand = DescribeStreamSummaryCommand;
2426
+ exports.DescribeStreamSummaryInput$ = DescribeStreamSummaryInput$;
2427
+ exports.DescribeStreamSummaryOutput$ = DescribeStreamSummaryOutput$;
2428
+ exports.DisableEnhancedMonitoring$ = DisableEnhancedMonitoring$;
940
2429
  exports.DisableEnhancedMonitoringCommand = DisableEnhancedMonitoringCommand;
2430
+ exports.DisableEnhancedMonitoringInput$ = DisableEnhancedMonitoringInput$;
2431
+ exports.EnableEnhancedMonitoring$ = EnableEnhancedMonitoring$;
941
2432
  exports.EnableEnhancedMonitoringCommand = EnableEnhancedMonitoringCommand;
2433
+ exports.EnableEnhancedMonitoringInput$ = EnableEnhancedMonitoringInput$;
942
2434
  exports.EncryptionType = EncryptionType;
2435
+ exports.EnhancedMetrics$ = EnhancedMetrics$;
2436
+ exports.EnhancedMonitoringOutput$ = EnhancedMonitoringOutput$;
2437
+ exports.ExpiredIteratorException = ExpiredIteratorException;
2438
+ exports.ExpiredIteratorException$ = ExpiredIteratorException$;
2439
+ exports.ExpiredNextTokenException = ExpiredNextTokenException;
2440
+ exports.ExpiredNextTokenException$ = ExpiredNextTokenException$;
2441
+ exports.GetRecords$ = GetRecords$;
943
2442
  exports.GetRecordsCommand = GetRecordsCommand;
2443
+ exports.GetRecordsInput$ = GetRecordsInput$;
2444
+ exports.GetRecordsOutput$ = GetRecordsOutput$;
2445
+ exports.GetResourcePolicy$ = GetResourcePolicy$;
944
2446
  exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
2447
+ exports.GetResourcePolicyInput$ = GetResourcePolicyInput$;
2448
+ exports.GetResourcePolicyOutput$ = GetResourcePolicyOutput$;
2449
+ exports.GetShardIterator$ = GetShardIterator$;
945
2450
  exports.GetShardIteratorCommand = GetShardIteratorCommand;
2451
+ exports.GetShardIteratorInput$ = GetShardIteratorInput$;
2452
+ exports.GetShardIteratorOutput$ = GetShardIteratorOutput$;
2453
+ exports.HashKeyRange$ = HashKeyRange$;
2454
+ exports.IncreaseStreamRetentionPeriod$ = IncreaseStreamRetentionPeriod$;
946
2455
  exports.IncreaseStreamRetentionPeriodCommand = IncreaseStreamRetentionPeriodCommand;
2456
+ exports.IncreaseStreamRetentionPeriodInput$ = IncreaseStreamRetentionPeriodInput$;
2457
+ exports.InternalFailureException = InternalFailureException;
2458
+ exports.InternalFailureException$ = InternalFailureException$;
2459
+ exports.InvalidArgumentException = InvalidArgumentException;
2460
+ exports.InvalidArgumentException$ = InvalidArgumentException$;
2461
+ exports.KMSAccessDeniedException = KMSAccessDeniedException;
2462
+ exports.KMSAccessDeniedException$ = KMSAccessDeniedException$;
2463
+ exports.KMSDisabledException = KMSDisabledException;
2464
+ exports.KMSDisabledException$ = KMSDisabledException$;
2465
+ exports.KMSInvalidStateException = KMSInvalidStateException;
2466
+ exports.KMSInvalidStateException$ = KMSInvalidStateException$;
2467
+ exports.KMSNotFoundException = KMSNotFoundException;
2468
+ exports.KMSNotFoundException$ = KMSNotFoundException$;
2469
+ exports.KMSOptInRequired = KMSOptInRequired;
2470
+ exports.KMSOptInRequired$ = KMSOptInRequired$;
2471
+ exports.KMSThrottlingException = KMSThrottlingException;
2472
+ exports.KMSThrottlingException$ = KMSThrottlingException$;
947
2473
  exports.Kinesis = Kinesis;
948
2474
  exports.KinesisClient = KinesisClient;
2475
+ exports.KinesisServiceException = KinesisServiceException;
2476
+ exports.KinesisServiceException$ = KinesisServiceException$;
2477
+ exports.LimitExceededException = LimitExceededException;
2478
+ exports.LimitExceededException$ = LimitExceededException$;
2479
+ exports.ListShards$ = ListShards$;
949
2480
  exports.ListShardsCommand = ListShardsCommand;
2481
+ exports.ListShardsInput$ = ListShardsInput$;
2482
+ exports.ListShardsOutput$ = ListShardsOutput$;
2483
+ exports.ListStreamConsumers$ = ListStreamConsumers$;
950
2484
  exports.ListStreamConsumersCommand = ListStreamConsumersCommand;
2485
+ exports.ListStreamConsumersInput$ = ListStreamConsumersInput$;
2486
+ exports.ListStreamConsumersOutput$ = ListStreamConsumersOutput$;
2487
+ exports.ListStreams$ = ListStreams$;
951
2488
  exports.ListStreamsCommand = ListStreamsCommand;
2489
+ exports.ListStreamsInput$ = ListStreamsInput$;
2490
+ exports.ListStreamsOutput$ = ListStreamsOutput$;
2491
+ exports.ListTagsForResource$ = ListTagsForResource$;
952
2492
  exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
2493
+ exports.ListTagsForResourceInput$ = ListTagsForResourceInput$;
2494
+ exports.ListTagsForResourceOutput$ = ListTagsForResourceOutput$;
2495
+ exports.ListTagsForStream$ = ListTagsForStream$;
953
2496
  exports.ListTagsForStreamCommand = ListTagsForStreamCommand;
2497
+ exports.ListTagsForStreamInput$ = ListTagsForStreamInput$;
2498
+ exports.ListTagsForStreamOutput$ = ListTagsForStreamOutput$;
2499
+ exports.MergeShards$ = MergeShards$;
954
2500
  exports.MergeShardsCommand = MergeShardsCommand;
2501
+ exports.MergeShardsInput$ = MergeShardsInput$;
955
2502
  exports.MetricsName = MetricsName;
2503
+ exports.MinimumThroughputBillingCommitmentInput$ = MinimumThroughputBillingCommitmentInput$;
956
2504
  exports.MinimumThroughputBillingCommitmentInputStatus = MinimumThroughputBillingCommitmentInputStatus;
2505
+ exports.MinimumThroughputBillingCommitmentOutput$ = MinimumThroughputBillingCommitmentOutput$;
957
2506
  exports.MinimumThroughputBillingCommitmentOutputStatus = MinimumThroughputBillingCommitmentOutputStatus;
2507
+ exports.ProvisionedThroughputExceededException = ProvisionedThroughputExceededException;
2508
+ exports.ProvisionedThroughputExceededException$ = ProvisionedThroughputExceededException$;
2509
+ exports.PutRecord$ = PutRecord$;
958
2510
  exports.PutRecordCommand = PutRecordCommand;
2511
+ exports.PutRecordInput$ = PutRecordInput$;
2512
+ exports.PutRecordOutput$ = PutRecordOutput$;
2513
+ exports.PutRecords$ = PutRecords$;
959
2514
  exports.PutRecordsCommand = PutRecordsCommand;
2515
+ exports.PutRecordsInput$ = PutRecordsInput$;
2516
+ exports.PutRecordsOutput$ = PutRecordsOutput$;
2517
+ exports.PutRecordsRequestEntry$ = PutRecordsRequestEntry$;
2518
+ exports.PutRecordsResultEntry$ = PutRecordsResultEntry$;
2519
+ exports.PutResourcePolicy$ = PutResourcePolicy$;
960
2520
  exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
2521
+ exports.PutResourcePolicyInput$ = PutResourcePolicyInput$;
2522
+ exports.RegisterStreamConsumer$ = RegisterStreamConsumer$;
961
2523
  exports.RegisterStreamConsumerCommand = RegisterStreamConsumerCommand;
2524
+ exports.RegisterStreamConsumerInput$ = RegisterStreamConsumerInput$;
2525
+ exports.RegisterStreamConsumerOutput$ = RegisterStreamConsumerOutput$;
2526
+ exports.RemoveTagsFromStream$ = RemoveTagsFromStream$;
962
2527
  exports.RemoveTagsFromStreamCommand = RemoveTagsFromStreamCommand;
2528
+ exports.RemoveTagsFromStreamInput$ = RemoveTagsFromStreamInput$;
2529
+ exports.ResourceInUseException = ResourceInUseException;
2530
+ exports.ResourceInUseException$ = ResourceInUseException$;
2531
+ exports.ResourceNotFoundException = ResourceNotFoundException;
2532
+ exports.ResourceNotFoundException$ = ResourceNotFoundException$;
963
2533
  exports.ScalingType = ScalingType;
2534
+ exports.SequenceNumberRange$ = SequenceNumberRange$;
2535
+ exports.Shard$ = Shard$;
2536
+ exports.ShardFilter$ = ShardFilter$;
964
2537
  exports.ShardFilterType = ShardFilterType;
965
2538
  exports.ShardIteratorType = ShardIteratorType;
2539
+ exports.SplitShard$ = SplitShard$;
966
2540
  exports.SplitShardCommand = SplitShardCommand;
2541
+ exports.SplitShardInput$ = SplitShardInput$;
2542
+ exports.StartStreamEncryption$ = StartStreamEncryption$;
967
2543
  exports.StartStreamEncryptionCommand = StartStreamEncryptionCommand;
2544
+ exports.StartStreamEncryptionInput$ = StartStreamEncryptionInput$;
2545
+ exports.StartingPosition$ = StartingPosition$;
2546
+ exports.StopStreamEncryption$ = StopStreamEncryption$;
968
2547
  exports.StopStreamEncryptionCommand = StopStreamEncryptionCommand;
2548
+ exports.StopStreamEncryptionInput$ = StopStreamEncryptionInput$;
2549
+ exports.StreamDescription$ = StreamDescription$;
2550
+ exports.StreamDescriptionSummary$ = StreamDescriptionSummary$;
969
2551
  exports.StreamMode = StreamMode;
2552
+ exports.StreamModeDetails$ = StreamModeDetails$;
970
2553
  exports.StreamStatus = StreamStatus;
2554
+ exports.StreamSummary$ = StreamSummary$;
2555
+ exports.SubscribeToShard$ = SubscribeToShard$;
971
2556
  exports.SubscribeToShardCommand = SubscribeToShardCommand;
2557
+ exports.SubscribeToShardEvent$ = SubscribeToShardEvent$;
2558
+ exports.SubscribeToShardEventStream$ = SubscribeToShardEventStream$;
2559
+ exports.SubscribeToShardInput$ = SubscribeToShardInput$;
2560
+ exports.SubscribeToShardOutput$ = SubscribeToShardOutput$;
2561
+ exports.Tag$ = Tag$;
2562
+ exports.TagResource$ = TagResource$;
972
2563
  exports.TagResourceCommand = TagResourceCommand;
2564
+ exports.TagResourceInput$ = TagResourceInput$;
2565
+ exports.UntagResource$ = UntagResource$;
973
2566
  exports.UntagResourceCommand = UntagResourceCommand;
2567
+ exports.UntagResourceInput$ = UntagResourceInput$;
2568
+ exports.UpdateAccountSettings$ = UpdateAccountSettings$;
974
2569
  exports.UpdateAccountSettingsCommand = UpdateAccountSettingsCommand;
2570
+ exports.UpdateAccountSettingsInput$ = UpdateAccountSettingsInput$;
2571
+ exports.UpdateAccountSettingsOutput$ = UpdateAccountSettingsOutput$;
2572
+ exports.UpdateMaxRecordSize$ = UpdateMaxRecordSize$;
975
2573
  exports.UpdateMaxRecordSizeCommand = UpdateMaxRecordSizeCommand;
2574
+ exports.UpdateMaxRecordSizeInput$ = UpdateMaxRecordSizeInput$;
2575
+ exports.UpdateShardCount$ = UpdateShardCount$;
976
2576
  exports.UpdateShardCountCommand = UpdateShardCountCommand;
2577
+ exports.UpdateShardCountInput$ = UpdateShardCountInput$;
2578
+ exports.UpdateShardCountOutput$ = UpdateShardCountOutput$;
2579
+ exports.UpdateStreamMode$ = UpdateStreamMode$;
977
2580
  exports.UpdateStreamModeCommand = UpdateStreamModeCommand;
2581
+ exports.UpdateStreamModeInput$ = UpdateStreamModeInput$;
2582
+ exports.UpdateStreamWarmThroughput$ = UpdateStreamWarmThroughput$;
978
2583
  exports.UpdateStreamWarmThroughputCommand = UpdateStreamWarmThroughputCommand;
2584
+ exports.UpdateStreamWarmThroughputInput$ = UpdateStreamWarmThroughputInput$;
2585
+ exports.UpdateStreamWarmThroughputOutput$ = UpdateStreamWarmThroughputOutput$;
2586
+ exports.ValidationException = ValidationException;
2587
+ exports.ValidationException$ = ValidationException$;
2588
+ exports.WarmThroughputObject$ = WarmThroughputObject$;
2589
+ exports._Record$ = _Record$;
2590
+ exports.errorTypeRegistries = errorTypeRegistries;
979
2591
  exports.paginateListStreamConsumers = paginateListStreamConsumers;
980
2592
  exports.paginateListStreams = paginateListStreams;
981
2593
  exports.waitForStreamExists = waitForStreamExists;