@aws-sdk/client-kinesis 3.927.0 → 3.929.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (63) hide show
  1. package/dist-cjs/index.js +1056 -1644
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/KinesisClient.js +2 -0
  4. package/dist-es/commands/AddTagsToStreamCommand.js +3 -9
  5. package/dist-es/commands/CreateStreamCommand.js +3 -9
  6. package/dist-es/commands/DecreaseStreamRetentionPeriodCommand.js +3 -9
  7. package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
  8. package/dist-es/commands/DeleteStreamCommand.js +3 -9
  9. package/dist-es/commands/DeregisterStreamConsumerCommand.js +3 -9
  10. package/dist-es/commands/DescribeAccountSettingsCommand.js +3 -9
  11. package/dist-es/commands/DescribeLimitsCommand.js +3 -9
  12. package/dist-es/commands/DescribeStreamCommand.js +3 -9
  13. package/dist-es/commands/DescribeStreamConsumerCommand.js +3 -9
  14. package/dist-es/commands/DescribeStreamSummaryCommand.js +3 -9
  15. package/dist-es/commands/DisableEnhancedMonitoringCommand.js +3 -9
  16. package/dist-es/commands/EnableEnhancedMonitoringCommand.js +3 -9
  17. package/dist-es/commands/GetRecordsCommand.js +3 -9
  18. package/dist-es/commands/GetResourcePolicyCommand.js +3 -9
  19. package/dist-es/commands/GetShardIteratorCommand.js +3 -9
  20. package/dist-es/commands/IncreaseStreamRetentionPeriodCommand.js +3 -9
  21. package/dist-es/commands/ListShardsCommand.js +3 -9
  22. package/dist-es/commands/ListStreamConsumersCommand.js +3 -9
  23. package/dist-es/commands/ListStreamsCommand.js +3 -9
  24. package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
  25. package/dist-es/commands/ListTagsForStreamCommand.js +3 -9
  26. package/dist-es/commands/MergeShardsCommand.js +3 -9
  27. package/dist-es/commands/PutRecordCommand.js +3 -9
  28. package/dist-es/commands/PutRecordsCommand.js +3 -9
  29. package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
  30. package/dist-es/commands/RegisterStreamConsumerCommand.js +3 -9
  31. package/dist-es/commands/RemoveTagsFromStreamCommand.js +3 -9
  32. package/dist-es/commands/SplitShardCommand.js +3 -9
  33. package/dist-es/commands/StartStreamEncryptionCommand.js +3 -9
  34. package/dist-es/commands/StopStreamEncryptionCommand.js +3 -9
  35. package/dist-es/commands/SubscribeToShardCommand.js +3 -10
  36. package/dist-es/commands/TagResourceCommand.js +3 -9
  37. package/dist-es/commands/UntagResourceCommand.js +3 -9
  38. package/dist-es/commands/UpdateAccountSettingsCommand.js +3 -9
  39. package/dist-es/commands/UpdateMaxRecordSizeCommand.js +3 -9
  40. package/dist-es/commands/UpdateShardCountCommand.js +3 -9
  41. package/dist-es/commands/UpdateStreamModeCommand.js +3 -9
  42. package/dist-es/commands/UpdateStreamWarmThroughputCommand.js +3 -9
  43. package/dist-es/models/models_0.js +0 -28
  44. package/dist-es/runtimeConfig.shared.js +7 -0
  45. package/dist-es/schemas/schemas_0.js +933 -0
  46. package/dist-types/KinesisClient.d.ts +10 -1
  47. package/dist-types/models/models_0.d.ts +0 -8
  48. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  49. package/dist-types/runtimeConfig.d.ts +1 -0
  50. package/dist-types/runtimeConfig.native.d.ts +1 -0
  51. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  52. package/dist-types/schemas/schemas_0.d.ts +154 -0
  53. package/dist-types/ts3.4/KinesisClient.d.ts +4 -0
  54. package/dist-types/ts3.4/models/models_0.d.ts +0 -6
  55. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  56. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  57. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  58. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  59. package/dist-types/ts3.4/schemas/schemas_0.d.ts +159 -0
  60. package/package.json +5 -5
  61. package/dist-es/protocols/Aws_json1_1.js +0 -1297
  62. package/dist-types/protocols/Aws_json1_1.d.ts +0 -353
  63. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -476
package/dist-cjs/index.js CHANGED
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
7
  var configResolver = require('@smithy/config-resolver');
8
8
  var core = require('@smithy/core');
9
+ var schema = require('@smithy/core/schema');
9
10
  var eventstreamSerdeConfigResolver = require('@smithy/eventstream-serde-config-resolver');
10
11
  var middlewareContentLength = require('@smithy/middleware-content-length');
11
12
  var middlewareEndpoint = require('@smithy/middleware-endpoint');
@@ -15,8 +16,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
15
16
  var runtimeConfig = require('./runtimeConfig');
16
17
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
17
18
  var protocolHttp = require('@smithy/protocol-http');
18
- var middlewareSerde = require('@smithy/middleware-serde');
19
- var core$1 = require('@aws-sdk/core');
20
19
  var utilWaiter = require('@smithy/util-waiter');
21
20
 
22
21
  const resolveClientEndpointParameters = (options) => {
@@ -94,6 +93,7 @@ class KinesisClient extends smithyClient.Client {
94
93
  const _config_8 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_7);
95
94
  const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
96
95
  this.config = _config_9;
96
+ this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
97
97
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
98
98
  this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
99
99
  this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
@@ -113,14 +113,14 @@ class KinesisClient extends smithyClient.Client {
113
113
  }
114
114
  }
115
115
 
116
- class KinesisServiceException extends smithyClient.ServiceException {
116
+ let KinesisServiceException$1 = class KinesisServiceException extends smithyClient.ServiceException {
117
117
  constructor(options) {
118
118
  super(options);
119
119
  Object.setPrototypeOf(this, KinesisServiceException.prototype);
120
120
  }
121
- }
121
+ };
122
122
 
123
- class AccessDeniedException extends KinesisServiceException {
123
+ let AccessDeniedException$1 = class AccessDeniedException extends KinesisServiceException$1 {
124
124
  name = "AccessDeniedException";
125
125
  $fault = "client";
126
126
  constructor(opts) {
@@ -131,8 +131,8 @@ class AccessDeniedException extends KinesisServiceException {
131
131
  });
132
132
  Object.setPrototypeOf(this, AccessDeniedException.prototype);
133
133
  }
134
- }
135
- class InvalidArgumentException extends KinesisServiceException {
134
+ };
135
+ let InvalidArgumentException$1 = class InvalidArgumentException extends KinesisServiceException$1 {
136
136
  name = "InvalidArgumentException";
137
137
  $fault = "client";
138
138
  constructor(opts) {
@@ -143,8 +143,8 @@ class InvalidArgumentException extends KinesisServiceException {
143
143
  });
144
144
  Object.setPrototypeOf(this, InvalidArgumentException.prototype);
145
145
  }
146
- }
147
- class LimitExceededException extends KinesisServiceException {
146
+ };
147
+ let LimitExceededException$1 = class LimitExceededException extends KinesisServiceException$1 {
148
148
  name = "LimitExceededException";
149
149
  $fault = "client";
150
150
  constructor(opts) {
@@ -155,8 +155,8 @@ class LimitExceededException extends KinesisServiceException {
155
155
  });
156
156
  Object.setPrototypeOf(this, LimitExceededException.prototype);
157
157
  }
158
- }
159
- class ResourceInUseException extends KinesisServiceException {
158
+ };
159
+ let ResourceInUseException$1 = class ResourceInUseException extends KinesisServiceException$1 {
160
160
  name = "ResourceInUseException";
161
161
  $fault = "client";
162
162
  constructor(opts) {
@@ -167,8 +167,8 @@ class ResourceInUseException extends KinesisServiceException {
167
167
  });
168
168
  Object.setPrototypeOf(this, ResourceInUseException.prototype);
169
169
  }
170
- }
171
- class ResourceNotFoundException extends KinesisServiceException {
170
+ };
171
+ let ResourceNotFoundException$1 = class ResourceNotFoundException extends KinesisServiceException$1 {
172
172
  name = "ResourceNotFoundException";
173
173
  $fault = "client";
174
174
  constructor(opts) {
@@ -179,7 +179,7 @@ class ResourceNotFoundException extends KinesisServiceException {
179
179
  });
180
180
  Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
181
181
  }
182
- }
182
+ };
183
183
  const ConsumerStatus = {
184
184
  ACTIVE: "ACTIVE",
185
185
  CREATING: "CREATING",
@@ -189,7 +189,7 @@ const StreamMode = {
189
189
  ON_DEMAND: "ON_DEMAND",
190
190
  PROVISIONED: "PROVISIONED",
191
191
  };
192
- class ValidationException extends KinesisServiceException {
192
+ let ValidationException$1 = class ValidationException extends KinesisServiceException$1 {
193
193
  name = "ValidationException";
194
194
  $fault = "client";
195
195
  constructor(opts) {
@@ -200,7 +200,7 @@ class ValidationException extends KinesisServiceException {
200
200
  });
201
201
  Object.setPrototypeOf(this, ValidationException.prototype);
202
202
  }
203
- }
203
+ };
204
204
  const MinimumThroughputBillingCommitmentOutputStatus = {
205
205
  DISABLED: "DISABLED",
206
206
  ENABLED: "ENABLED",
@@ -226,7 +226,7 @@ const StreamStatus = {
226
226
  DELETING: "DELETING",
227
227
  UPDATING: "UPDATING",
228
228
  };
229
- class ExpiredIteratorException extends KinesisServiceException {
229
+ let ExpiredIteratorException$1 = class ExpiredIteratorException extends KinesisServiceException$1 {
230
230
  name = "ExpiredIteratorException";
231
231
  $fault = "client";
232
232
  constructor(opts) {
@@ -237,8 +237,8 @@ class ExpiredIteratorException extends KinesisServiceException {
237
237
  });
238
238
  Object.setPrototypeOf(this, ExpiredIteratorException.prototype);
239
239
  }
240
- }
241
- class ExpiredNextTokenException extends KinesisServiceException {
240
+ };
241
+ let ExpiredNextTokenException$1 = class ExpiredNextTokenException extends KinesisServiceException$1 {
242
242
  name = "ExpiredNextTokenException";
243
243
  $fault = "client";
244
244
  constructor(opts) {
@@ -249,8 +249,8 @@ class ExpiredNextTokenException extends KinesisServiceException {
249
249
  });
250
250
  Object.setPrototypeOf(this, ExpiredNextTokenException.prototype);
251
251
  }
252
- }
253
- class InternalFailureException extends KinesisServiceException {
252
+ };
253
+ let InternalFailureException$1 = class InternalFailureException extends KinesisServiceException$1 {
254
254
  name = "InternalFailureException";
255
255
  $fault = "server";
256
256
  constructor(opts) {
@@ -261,8 +261,8 @@ class InternalFailureException extends KinesisServiceException {
261
261
  });
262
262
  Object.setPrototypeOf(this, InternalFailureException.prototype);
263
263
  }
264
- }
265
- class KMSAccessDeniedException extends KinesisServiceException {
264
+ };
265
+ let KMSAccessDeniedException$1 = class KMSAccessDeniedException extends KinesisServiceException$1 {
266
266
  name = "KMSAccessDeniedException";
267
267
  $fault = "client";
268
268
  constructor(opts) {
@@ -273,8 +273,8 @@ class KMSAccessDeniedException extends KinesisServiceException {
273
273
  });
274
274
  Object.setPrototypeOf(this, KMSAccessDeniedException.prototype);
275
275
  }
276
- }
277
- class KMSDisabledException extends KinesisServiceException {
276
+ };
277
+ let KMSDisabledException$1 = class KMSDisabledException extends KinesisServiceException$1 {
278
278
  name = "KMSDisabledException";
279
279
  $fault = "client";
280
280
  constructor(opts) {
@@ -285,8 +285,8 @@ class KMSDisabledException extends KinesisServiceException {
285
285
  });
286
286
  Object.setPrototypeOf(this, KMSDisabledException.prototype);
287
287
  }
288
- }
289
- class KMSInvalidStateException extends KinesisServiceException {
288
+ };
289
+ let KMSInvalidStateException$1 = class KMSInvalidStateException extends KinesisServiceException$1 {
290
290
  name = "KMSInvalidStateException";
291
291
  $fault = "client";
292
292
  constructor(opts) {
@@ -297,8 +297,8 @@ class KMSInvalidStateException extends KinesisServiceException {
297
297
  });
298
298
  Object.setPrototypeOf(this, KMSInvalidStateException.prototype);
299
299
  }
300
- }
301
- class KMSNotFoundException extends KinesisServiceException {
300
+ };
301
+ let KMSNotFoundException$1 = class KMSNotFoundException extends KinesisServiceException$1 {
302
302
  name = "KMSNotFoundException";
303
303
  $fault = "client";
304
304
  constructor(opts) {
@@ -309,8 +309,8 @@ class KMSNotFoundException extends KinesisServiceException {
309
309
  });
310
310
  Object.setPrototypeOf(this, KMSNotFoundException.prototype);
311
311
  }
312
- }
313
- class KMSOptInRequired extends KinesisServiceException {
312
+ };
313
+ let KMSOptInRequired$1 = class KMSOptInRequired extends KinesisServiceException$1 {
314
314
  name = "KMSOptInRequired";
315
315
  $fault = "client";
316
316
  constructor(opts) {
@@ -321,8 +321,8 @@ class KMSOptInRequired extends KinesisServiceException {
321
321
  });
322
322
  Object.setPrototypeOf(this, KMSOptInRequired.prototype);
323
323
  }
324
- }
325
- class KMSThrottlingException extends KinesisServiceException {
324
+ };
325
+ let KMSThrottlingException$1 = class KMSThrottlingException extends KinesisServiceException$1 {
326
326
  name = "KMSThrottlingException";
327
327
  $fault = "client";
328
328
  constructor(opts) {
@@ -333,8 +333,8 @@ class KMSThrottlingException extends KinesisServiceException {
333
333
  });
334
334
  Object.setPrototypeOf(this, KMSThrottlingException.prototype);
335
335
  }
336
- }
337
- class ProvisionedThroughputExceededException extends KinesisServiceException {
336
+ };
337
+ let ProvisionedThroughputExceededException$1 = class ProvisionedThroughputExceededException extends KinesisServiceException$1 {
338
338
  name = "ProvisionedThroughputExceededException";
339
339
  $fault = "client";
340
340
  constructor(opts) {
@@ -345,7 +345,7 @@ class ProvisionedThroughputExceededException extends KinesisServiceException {
345
345
  });
346
346
  Object.setPrototypeOf(this, ProvisionedThroughputExceededException.prototype);
347
347
  }
348
- }
348
+ };
349
349
  const ShardIteratorType = {
350
350
  AFTER_SEQUENCE_NUMBER: "AFTER_SEQUENCE_NUMBER",
351
351
  AT_SEQUENCE_NUMBER: "AT_SEQUENCE_NUMBER",
@@ -394,1323 +394,932 @@ const MinimumThroughputBillingCommitmentInputStatus = {
394
394
  const ScalingType = {
395
395
  UNIFORM_SCALING: "UNIFORM_SCALING",
396
396
  };
397
- const SubscribeToShardEventStreamFilterSensitiveLog = (obj) => {
398
- if (obj.SubscribeToShardEvent !== undefined)
399
- return { SubscribeToShardEvent: obj.SubscribeToShardEvent };
400
- if (obj.ResourceNotFoundException !== undefined)
401
- return { ResourceNotFoundException: obj.ResourceNotFoundException };
402
- if (obj.ResourceInUseException !== undefined)
403
- return { ResourceInUseException: obj.ResourceInUseException };
404
- if (obj.KMSDisabledException !== undefined)
405
- return { KMSDisabledException: obj.KMSDisabledException };
406
- if (obj.KMSInvalidStateException !== undefined)
407
- return { KMSInvalidStateException: obj.KMSInvalidStateException };
408
- if (obj.KMSAccessDeniedException !== undefined)
409
- return { KMSAccessDeniedException: obj.KMSAccessDeniedException };
410
- if (obj.KMSNotFoundException !== undefined)
411
- return { KMSNotFoundException: obj.KMSNotFoundException };
412
- if (obj.KMSOptInRequired !== undefined)
413
- return { KMSOptInRequired: obj.KMSOptInRequired };
414
- if (obj.KMSThrottlingException !== undefined)
415
- return { KMSThrottlingException: obj.KMSThrottlingException };
416
- if (obj.InternalFailureException !== undefined)
417
- return { InternalFailureException: obj.InternalFailureException };
418
- if (obj.$unknown !== undefined)
419
- return { [obj.$unknown[0]]: "UNKNOWN" };
420
- };
421
- const SubscribeToShardOutputFilterSensitiveLog = (obj) => ({
422
- ...obj,
423
- ...(obj.EventStream && { EventStream: "STREAMING_CONTENT" }),
424
- });
425
397
 
426
- const se_AddTagsToStreamCommand = async (input, context) => {
427
- const headers = sharedHeaders("AddTagsToStream");
428
- let body;
429
- body = JSON.stringify(smithyClient._json(input));
430
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
431
- };
432
- const se_CreateStreamCommand = async (input, context) => {
433
- const headers = sharedHeaders("CreateStream");
434
- let body;
435
- body = JSON.stringify(smithyClient._json(input));
436
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
437
- };
438
- const se_DecreaseStreamRetentionPeriodCommand = async (input, context) => {
439
- const headers = sharedHeaders("DecreaseStreamRetentionPeriod");
440
- let body;
441
- body = JSON.stringify(smithyClient._json(input));
442
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
443
- };
444
- const se_DeleteResourcePolicyCommand = async (input, context) => {
445
- const headers = sharedHeaders("DeleteResourcePolicy");
446
- let body;
447
- body = JSON.stringify(smithyClient._json(input));
448
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
449
- };
450
- const se_DeleteStreamCommand = async (input, context) => {
451
- const headers = sharedHeaders("DeleteStream");
452
- let body;
453
- body = JSON.stringify(smithyClient._json(input));
454
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
455
- };
456
- const se_DeregisterStreamConsumerCommand = async (input, context) => {
457
- const headers = sharedHeaders("DeregisterStreamConsumer");
458
- let body;
459
- body = JSON.stringify(smithyClient._json(input));
460
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
461
- };
462
- const se_DescribeAccountSettingsCommand = async (input, context) => {
463
- const headers = sharedHeaders("DescribeAccountSettings");
464
- let body;
465
- body = JSON.stringify(smithyClient._json(input));
466
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
467
- };
468
- const se_DescribeLimitsCommand = async (input, context) => {
469
- const headers = sharedHeaders("DescribeLimits");
470
- let body;
471
- body = JSON.stringify(smithyClient._json(input));
472
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
473
- };
474
- const se_DescribeStreamCommand = async (input, context) => {
475
- const headers = sharedHeaders("DescribeStream");
476
- let body;
477
- body = JSON.stringify(smithyClient._json(input));
478
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
479
- };
480
- const se_DescribeStreamConsumerCommand = async (input, context) => {
481
- const headers = sharedHeaders("DescribeStreamConsumer");
482
- let body;
483
- body = JSON.stringify(smithyClient._json(input));
484
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
485
- };
486
- const se_DescribeStreamSummaryCommand = async (input, context) => {
487
- const headers = sharedHeaders("DescribeStreamSummary");
488
- let body;
489
- body = JSON.stringify(smithyClient._json(input));
490
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
491
- };
492
- const se_DisableEnhancedMonitoringCommand = async (input, context) => {
493
- const headers = sharedHeaders("DisableEnhancedMonitoring");
494
- let body;
495
- body = JSON.stringify(smithyClient._json(input));
496
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
497
- };
498
- const se_EnableEnhancedMonitoringCommand = async (input, context) => {
499
- const headers = sharedHeaders("EnableEnhancedMonitoring");
500
- let body;
501
- body = JSON.stringify(smithyClient._json(input));
502
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
503
- };
504
- const se_GetRecordsCommand = async (input, context) => {
505
- const headers = sharedHeaders("GetRecords");
506
- let body;
507
- body = JSON.stringify(smithyClient._json(input));
508
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
509
- };
510
- const se_GetResourcePolicyCommand = async (input, context) => {
511
- const headers = sharedHeaders("GetResourcePolicy");
512
- let body;
513
- body = JSON.stringify(smithyClient._json(input));
514
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
515
- };
516
- const se_GetShardIteratorCommand = async (input, context) => {
517
- const headers = sharedHeaders("GetShardIterator");
518
- let body;
519
- body = JSON.stringify(se_GetShardIteratorInput(input));
520
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
521
- };
522
- const se_IncreaseStreamRetentionPeriodCommand = async (input, context) => {
523
- const headers = sharedHeaders("IncreaseStreamRetentionPeriod");
524
- let body;
525
- body = JSON.stringify(smithyClient._json(input));
526
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
527
- };
528
- const se_ListShardsCommand = async (input, context) => {
529
- const headers = sharedHeaders("ListShards");
530
- let body;
531
- body = JSON.stringify(se_ListShardsInput(input));
532
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
533
- };
534
- const se_ListStreamConsumersCommand = async (input, context) => {
535
- const headers = sharedHeaders("ListStreamConsumers");
536
- let body;
537
- body = JSON.stringify(se_ListStreamConsumersInput(input));
538
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
539
- };
540
- const se_ListStreamsCommand = async (input, context) => {
541
- const headers = sharedHeaders("ListStreams");
542
- let body;
543
- body = JSON.stringify(smithyClient._json(input));
544
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
545
- };
546
- const se_ListTagsForResourceCommand = async (input, context) => {
547
- const headers = sharedHeaders("ListTagsForResource");
548
- let body;
549
- body = JSON.stringify(smithyClient._json(input));
550
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
551
- };
552
- const se_ListTagsForStreamCommand = async (input, context) => {
553
- const headers = sharedHeaders("ListTagsForStream");
554
- let body;
555
- body = JSON.stringify(smithyClient._json(input));
556
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
557
- };
558
- const se_MergeShardsCommand = async (input, context) => {
559
- const headers = sharedHeaders("MergeShards");
560
- let body;
561
- body = JSON.stringify(smithyClient._json(input));
562
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
563
- };
564
- const se_PutRecordCommand = async (input, context) => {
565
- const headers = sharedHeaders("PutRecord");
566
- let body;
567
- body = JSON.stringify(se_PutRecordInput(input, context));
568
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
569
- };
570
- const se_PutRecordsCommand = async (input, context) => {
571
- const headers = sharedHeaders("PutRecords");
572
- let body;
573
- body = JSON.stringify(se_PutRecordsInput(input, context));
574
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
575
- };
576
- const se_PutResourcePolicyCommand = async (input, context) => {
577
- const headers = sharedHeaders("PutResourcePolicy");
578
- let body;
579
- body = JSON.stringify(smithyClient._json(input));
580
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
581
- };
582
- const se_RegisterStreamConsumerCommand = async (input, context) => {
583
- const headers = sharedHeaders("RegisterStreamConsumer");
584
- let body;
585
- body = JSON.stringify(smithyClient._json(input));
586
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
587
- };
588
- const se_RemoveTagsFromStreamCommand = async (input, context) => {
589
- const headers = sharedHeaders("RemoveTagsFromStream");
590
- let body;
591
- body = JSON.stringify(smithyClient._json(input));
592
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
593
- };
594
- const se_SplitShardCommand = async (input, context) => {
595
- const headers = sharedHeaders("SplitShard");
596
- let body;
597
- body = JSON.stringify(smithyClient._json(input));
598
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
599
- };
600
- const se_StartStreamEncryptionCommand = async (input, context) => {
601
- const headers = sharedHeaders("StartStreamEncryption");
602
- let body;
603
- body = JSON.stringify(smithyClient._json(input));
604
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
605
- };
606
- const se_StopStreamEncryptionCommand = async (input, context) => {
607
- const headers = sharedHeaders("StopStreamEncryption");
608
- let body;
609
- body = JSON.stringify(smithyClient._json(input));
610
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
611
- };
612
- const se_SubscribeToShardCommand = async (input, context) => {
613
- const headers = sharedHeaders("SubscribeToShard");
614
- let body;
615
- body = JSON.stringify(se_SubscribeToShardInput(input));
616
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
617
- };
618
- const se_TagResourceCommand = async (input, context) => {
619
- const headers = sharedHeaders("TagResource");
620
- let body;
621
- body = JSON.stringify(smithyClient._json(input));
622
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
623
- };
624
- const se_UntagResourceCommand = async (input, context) => {
625
- const headers = sharedHeaders("UntagResource");
626
- let body;
627
- body = JSON.stringify(smithyClient._json(input));
628
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
629
- };
630
- const se_UpdateAccountSettingsCommand = async (input, context) => {
631
- const headers = sharedHeaders("UpdateAccountSettings");
632
- let body;
633
- body = JSON.stringify(smithyClient._json(input));
634
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
635
- };
636
- const se_UpdateMaxRecordSizeCommand = async (input, context) => {
637
- const headers = sharedHeaders("UpdateMaxRecordSize");
638
- let body;
639
- body = JSON.stringify(smithyClient._json(input));
640
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
641
- };
642
- const se_UpdateShardCountCommand = async (input, context) => {
643
- const headers = sharedHeaders("UpdateShardCount");
644
- let body;
645
- body = JSON.stringify(smithyClient._json(input));
646
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
647
- };
648
- const se_UpdateStreamModeCommand = async (input, context) => {
649
- const headers = sharedHeaders("UpdateStreamMode");
650
- let body;
651
- body = JSON.stringify(smithyClient._json(input));
652
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
653
- };
654
- const se_UpdateStreamWarmThroughputCommand = async (input, context) => {
655
- const headers = sharedHeaders("UpdateStreamWarmThroughput");
656
- let body;
657
- body = JSON.stringify(smithyClient._json(input));
658
- return buildHttpRpcRequest(context, headers, "/", undefined, body);
659
- };
660
- const de_AddTagsToStreamCommand = async (output, context) => {
661
- if (output.statusCode >= 300) {
662
- return de_CommandError(output, context);
663
- }
664
- await smithyClient.collectBody(output.body, context);
665
- const response = {
666
- $metadata: deserializeMetadata(output),
667
- };
668
- return response;
669
- };
670
- const de_CreateStreamCommand = async (output, context) => {
671
- if (output.statusCode >= 300) {
672
- return de_CommandError(output, context);
673
- }
674
- await smithyClient.collectBody(output.body, context);
675
- const response = {
676
- $metadata: deserializeMetadata(output),
677
- };
678
- return response;
679
- };
680
- const de_DecreaseStreamRetentionPeriodCommand = async (output, context) => {
681
- if (output.statusCode >= 300) {
682
- return de_CommandError(output, context);
683
- }
684
- await smithyClient.collectBody(output.body, context);
685
- const response = {
686
- $metadata: deserializeMetadata(output),
687
- };
688
- return response;
689
- };
690
- const de_DeleteResourcePolicyCommand = async (output, context) => {
691
- if (output.statusCode >= 300) {
692
- return de_CommandError(output, context);
693
- }
694
- await smithyClient.collectBody(output.body, context);
695
- const response = {
696
- $metadata: deserializeMetadata(output),
697
- };
698
- return response;
699
- };
700
- const de_DeleteStreamCommand = async (output, context) => {
701
- if (output.statusCode >= 300) {
702
- return de_CommandError(output, context);
703
- }
704
- await smithyClient.collectBody(output.body, context);
705
- const response = {
706
- $metadata: deserializeMetadata(output),
707
- };
708
- return response;
709
- };
710
- const de_DeregisterStreamConsumerCommand = async (output, context) => {
711
- if (output.statusCode >= 300) {
712
- return de_CommandError(output, context);
713
- }
714
- await smithyClient.collectBody(output.body, context);
715
- const response = {
716
- $metadata: deserializeMetadata(output),
717
- };
718
- return response;
719
- };
720
- const de_DescribeAccountSettingsCommand = async (output, context) => {
721
- if (output.statusCode >= 300) {
722
- return de_CommandError(output, context);
723
- }
724
- const data = await core$1.parseJsonBody(output.body, context);
725
- let contents = {};
726
- contents = de_DescribeAccountSettingsOutput(data);
727
- const response = {
728
- $metadata: deserializeMetadata(output),
729
- ...contents,
730
- };
731
- return response;
732
- };
733
- const de_DescribeLimitsCommand = async (output, context) => {
734
- if (output.statusCode >= 300) {
735
- return de_CommandError(output, context);
736
- }
737
- const data = await core$1.parseJsonBody(output.body, context);
738
- let contents = {};
739
- contents = smithyClient._json(data);
740
- const response = {
741
- $metadata: deserializeMetadata(output),
742
- ...contents,
743
- };
744
- return response;
745
- };
746
- const de_DescribeStreamCommand = async (output, context) => {
747
- if (output.statusCode >= 300) {
748
- return de_CommandError(output, context);
749
- }
750
- const data = await core$1.parseJsonBody(output.body, context);
751
- let contents = {};
752
- contents = de_DescribeStreamOutput(data);
753
- const response = {
754
- $metadata: deserializeMetadata(output),
755
- ...contents,
756
- };
757
- return response;
758
- };
759
- const de_DescribeStreamConsumerCommand = async (output, context) => {
760
- if (output.statusCode >= 300) {
761
- return de_CommandError(output, context);
762
- }
763
- const data = await core$1.parseJsonBody(output.body, context);
764
- let contents = {};
765
- contents = de_DescribeStreamConsumerOutput(data);
766
- const response = {
767
- $metadata: deserializeMetadata(output),
768
- ...contents,
769
- };
770
- return response;
771
- };
772
- const de_DescribeStreamSummaryCommand = async (output, context) => {
773
- if (output.statusCode >= 300) {
774
- return de_CommandError(output, context);
775
- }
776
- const data = await core$1.parseJsonBody(output.body, context);
777
- let contents = {};
778
- contents = de_DescribeStreamSummaryOutput(data);
779
- const response = {
780
- $metadata: deserializeMetadata(output),
781
- ...contents,
782
- };
783
- return response;
784
- };
785
- const de_DisableEnhancedMonitoringCommand = async (output, context) => {
786
- if (output.statusCode >= 300) {
787
- return de_CommandError(output, context);
788
- }
789
- const data = await core$1.parseJsonBody(output.body, context);
790
- let contents = {};
791
- contents = smithyClient._json(data);
792
- const response = {
793
- $metadata: deserializeMetadata(output),
794
- ...contents,
795
- };
796
- return response;
797
- };
798
- const de_EnableEnhancedMonitoringCommand = async (output, context) => {
799
- if (output.statusCode >= 300) {
800
- return de_CommandError(output, context);
801
- }
802
- const data = await core$1.parseJsonBody(output.body, context);
803
- let contents = {};
804
- contents = smithyClient._json(data);
805
- const response = {
806
- $metadata: deserializeMetadata(output),
807
- ...contents,
808
- };
809
- return response;
810
- };
811
- const de_GetRecordsCommand = async (output, context) => {
812
- if (output.statusCode >= 300) {
813
- return de_CommandError(output, context);
814
- }
815
- const data = await core$1.parseJsonBody(output.body, context);
816
- let contents = {};
817
- contents = de_GetRecordsOutput(data, context);
818
- const response = {
819
- $metadata: deserializeMetadata(output),
820
- ...contents,
821
- };
822
- return response;
823
- };
824
- const de_GetResourcePolicyCommand = async (output, context) => {
825
- if (output.statusCode >= 300) {
826
- return de_CommandError(output, context);
827
- }
828
- const data = await core$1.parseJsonBody(output.body, context);
829
- let contents = {};
830
- contents = smithyClient._json(data);
831
- const response = {
832
- $metadata: deserializeMetadata(output),
833
- ...contents,
834
- };
835
- return response;
836
- };
837
- const de_GetShardIteratorCommand = async (output, context) => {
838
- if (output.statusCode >= 300) {
839
- return de_CommandError(output, context);
840
- }
841
- const data = await core$1.parseJsonBody(output.body, context);
842
- let contents = {};
843
- contents = smithyClient._json(data);
844
- const response = {
845
- $metadata: deserializeMetadata(output),
846
- ...contents,
847
- };
848
- return response;
849
- };
850
- const de_IncreaseStreamRetentionPeriodCommand = async (output, context) => {
851
- if (output.statusCode >= 300) {
852
- return de_CommandError(output, context);
853
- }
854
- await smithyClient.collectBody(output.body, context);
855
- const response = {
856
- $metadata: deserializeMetadata(output),
857
- };
858
- return response;
859
- };
860
- const de_ListShardsCommand = async (output, context) => {
861
- if (output.statusCode >= 300) {
862
- return de_CommandError(output, context);
863
- }
864
- const data = await core$1.parseJsonBody(output.body, context);
865
- let contents = {};
866
- contents = smithyClient._json(data);
867
- const response = {
868
- $metadata: deserializeMetadata(output),
869
- ...contents,
870
- };
871
- return response;
872
- };
873
- const de_ListStreamConsumersCommand = async (output, context) => {
874
- if (output.statusCode >= 300) {
875
- return de_CommandError(output, context);
876
- }
877
- const data = await core$1.parseJsonBody(output.body, context);
878
- let contents = {};
879
- contents = de_ListStreamConsumersOutput(data);
880
- const response = {
881
- $metadata: deserializeMetadata(output),
882
- ...contents,
883
- };
884
- return response;
885
- };
886
- const de_ListStreamsCommand = async (output, context) => {
887
- if (output.statusCode >= 300) {
888
- return de_CommandError(output, context);
889
- }
890
- const data = await core$1.parseJsonBody(output.body, context);
891
- let contents = {};
892
- contents = de_ListStreamsOutput(data);
893
- const response = {
894
- $metadata: deserializeMetadata(output),
895
- ...contents,
896
- };
897
- return response;
898
- };
899
- const de_ListTagsForResourceCommand = async (output, context) => {
900
- if (output.statusCode >= 300) {
901
- return de_CommandError(output, context);
902
- }
903
- const data = await core$1.parseJsonBody(output.body, context);
904
- let contents = {};
905
- contents = smithyClient._json(data);
906
- const response = {
907
- $metadata: deserializeMetadata(output),
908
- ...contents,
909
- };
910
- return response;
911
- };
912
- const de_ListTagsForStreamCommand = async (output, context) => {
913
- if (output.statusCode >= 300) {
914
- return de_CommandError(output, context);
915
- }
916
- const data = await core$1.parseJsonBody(output.body, context);
917
- let contents = {};
918
- contents = smithyClient._json(data);
919
- const response = {
920
- $metadata: deserializeMetadata(output),
921
- ...contents,
922
- };
923
- return response;
924
- };
925
- const de_MergeShardsCommand = async (output, context) => {
926
- if (output.statusCode >= 300) {
927
- return de_CommandError(output, context);
928
- }
929
- await smithyClient.collectBody(output.body, context);
930
- const response = {
931
- $metadata: deserializeMetadata(output),
932
- };
933
- return response;
934
- };
935
- const de_PutRecordCommand = async (output, context) => {
936
- if (output.statusCode >= 300) {
937
- return de_CommandError(output, context);
938
- }
939
- const data = await core$1.parseJsonBody(output.body, context);
940
- let contents = {};
941
- contents = smithyClient._json(data);
942
- const response = {
943
- $metadata: deserializeMetadata(output),
944
- ...contents,
945
- };
946
- return response;
947
- };
948
- const de_PutRecordsCommand = async (output, context) => {
949
- if (output.statusCode >= 300) {
950
- return de_CommandError(output, context);
951
- }
952
- const data = await core$1.parseJsonBody(output.body, context);
953
- let contents = {};
954
- contents = smithyClient._json(data);
955
- const response = {
956
- $metadata: deserializeMetadata(output),
957
- ...contents,
958
- };
959
- return response;
960
- };
961
- const de_PutResourcePolicyCommand = async (output, context) => {
962
- if (output.statusCode >= 300) {
963
- return de_CommandError(output, context);
964
- }
965
- await smithyClient.collectBody(output.body, context);
966
- const response = {
967
- $metadata: deserializeMetadata(output),
968
- };
969
- return response;
970
- };
971
- const de_RegisterStreamConsumerCommand = async (output, context) => {
972
- if (output.statusCode >= 300) {
973
- return de_CommandError(output, context);
974
- }
975
- const data = await core$1.parseJsonBody(output.body, context);
976
- let contents = {};
977
- contents = de_RegisterStreamConsumerOutput(data);
978
- const response = {
979
- $metadata: deserializeMetadata(output),
980
- ...contents,
981
- };
982
- return response;
983
- };
984
- const de_RemoveTagsFromStreamCommand = async (output, context) => {
985
- if (output.statusCode >= 300) {
986
- return de_CommandError(output, context);
987
- }
988
- await smithyClient.collectBody(output.body, context);
989
- const response = {
990
- $metadata: deserializeMetadata(output),
991
- };
992
- return response;
993
- };
994
- const de_SplitShardCommand = async (output, context) => {
995
- if (output.statusCode >= 300) {
996
- return de_CommandError(output, context);
997
- }
998
- await smithyClient.collectBody(output.body, context);
999
- const response = {
1000
- $metadata: deserializeMetadata(output),
1001
- };
1002
- return response;
1003
- };
1004
- const de_StartStreamEncryptionCommand = async (output, context) => {
1005
- if (output.statusCode >= 300) {
1006
- return de_CommandError(output, context);
1007
- }
1008
- await smithyClient.collectBody(output.body, context);
1009
- const response = {
1010
- $metadata: deserializeMetadata(output),
1011
- };
1012
- return response;
1013
- };
1014
- const de_StopStreamEncryptionCommand = async (output, context) => {
1015
- if (output.statusCode >= 300) {
1016
- return de_CommandError(output, context);
1017
- }
1018
- await smithyClient.collectBody(output.body, context);
1019
- const response = {
1020
- $metadata: deserializeMetadata(output),
1021
- };
1022
- return response;
1023
- };
1024
- const de_SubscribeToShardCommand = async (output, context) => {
1025
- if (output.statusCode >= 300) {
1026
- return de_CommandError(output, context);
1027
- }
1028
- const contents = { EventStream: de_SubscribeToShardEventStream(output.body, context) };
1029
- const response = {
1030
- $metadata: deserializeMetadata(output),
1031
- ...contents,
1032
- };
1033
- return response;
1034
- };
1035
- const de_TagResourceCommand = async (output, context) => {
1036
- if (output.statusCode >= 300) {
1037
- return de_CommandError(output, context);
1038
- }
1039
- await smithyClient.collectBody(output.body, context);
1040
- const response = {
1041
- $metadata: deserializeMetadata(output),
1042
- };
1043
- return response;
1044
- };
1045
- const de_UntagResourceCommand = async (output, context) => {
1046
- if (output.statusCode >= 300) {
1047
- return de_CommandError(output, context);
1048
- }
1049
- await smithyClient.collectBody(output.body, context);
1050
- const response = {
1051
- $metadata: deserializeMetadata(output),
1052
- };
1053
- return response;
1054
- };
1055
- const de_UpdateAccountSettingsCommand = async (output, context) => {
1056
- if (output.statusCode >= 300) {
1057
- return de_CommandError(output, context);
1058
- }
1059
- const data = await core$1.parseJsonBody(output.body, context);
1060
- let contents = {};
1061
- contents = de_UpdateAccountSettingsOutput(data);
1062
- const response = {
1063
- $metadata: deserializeMetadata(output),
1064
- ...contents,
1065
- };
1066
- return response;
1067
- };
1068
- const de_UpdateMaxRecordSizeCommand = async (output, context) => {
1069
- if (output.statusCode >= 300) {
1070
- return de_CommandError(output, context);
1071
- }
1072
- await smithyClient.collectBody(output.body, context);
1073
- const response = {
1074
- $metadata: deserializeMetadata(output),
1075
- };
1076
- return response;
1077
- };
1078
- const de_UpdateShardCountCommand = async (output, context) => {
1079
- if (output.statusCode >= 300) {
1080
- return de_CommandError(output, context);
1081
- }
1082
- const data = await core$1.parseJsonBody(output.body, context);
1083
- let contents = {};
1084
- contents = smithyClient._json(data);
1085
- const response = {
1086
- $metadata: deserializeMetadata(output),
1087
- ...contents,
1088
- };
1089
- return response;
1090
- };
1091
- const de_UpdateStreamModeCommand = async (output, context) => {
1092
- if (output.statusCode >= 300) {
1093
- return de_CommandError(output, context);
1094
- }
1095
- await smithyClient.collectBody(output.body, context);
1096
- const response = {
1097
- $metadata: deserializeMetadata(output),
1098
- };
1099
- return response;
1100
- };
1101
- const de_UpdateStreamWarmThroughputCommand = async (output, context) => {
1102
- if (output.statusCode >= 300) {
1103
- return de_CommandError(output, context);
1104
- }
1105
- const data = await core$1.parseJsonBody(output.body, context);
1106
- let contents = {};
1107
- contents = smithyClient._json(data);
1108
- const response = {
1109
- $metadata: deserializeMetadata(output),
1110
- ...contents,
1111
- };
1112
- return response;
1113
- };
1114
- const de_CommandError = async (output, context) => {
1115
- const parsedOutput = {
1116
- ...output,
1117
- body: await core$1.parseJsonErrorBody(output.body, context),
1118
- };
1119
- const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
1120
- switch (errorCode) {
1121
- case "AccessDeniedException":
1122
- case "com.amazonaws.kinesis#AccessDeniedException":
1123
- throw await de_AccessDeniedExceptionRes(parsedOutput);
1124
- case "InvalidArgumentException":
1125
- case "com.amazonaws.kinesis#InvalidArgumentException":
1126
- throw await de_InvalidArgumentExceptionRes(parsedOutput);
1127
- case "LimitExceededException":
1128
- case "com.amazonaws.kinesis#LimitExceededException":
1129
- throw await de_LimitExceededExceptionRes(parsedOutput);
1130
- case "ResourceInUseException":
1131
- case "com.amazonaws.kinesis#ResourceInUseException":
1132
- throw await de_ResourceInUseExceptionRes(parsedOutput);
1133
- case "ResourceNotFoundException":
1134
- case "com.amazonaws.kinesis#ResourceNotFoundException":
1135
- throw await de_ResourceNotFoundExceptionRes(parsedOutput);
1136
- case "ValidationException":
1137
- case "com.amazonaws.kinesis#ValidationException":
1138
- throw await de_ValidationExceptionRes(parsedOutput);
1139
- case "ExpiredIteratorException":
1140
- case "com.amazonaws.kinesis#ExpiredIteratorException":
1141
- throw await de_ExpiredIteratorExceptionRes(parsedOutput);
1142
- case "InternalFailureException":
1143
- case "com.amazonaws.kinesis#InternalFailureException":
1144
- throw await de_InternalFailureExceptionRes(parsedOutput);
1145
- case "KMSAccessDeniedException":
1146
- case "com.amazonaws.kinesis#KMSAccessDeniedException":
1147
- throw await de_KMSAccessDeniedExceptionRes(parsedOutput);
1148
- case "KMSDisabledException":
1149
- case "com.amazonaws.kinesis#KMSDisabledException":
1150
- throw await de_KMSDisabledExceptionRes(parsedOutput);
1151
- case "KMSInvalidStateException":
1152
- case "com.amazonaws.kinesis#KMSInvalidStateException":
1153
- throw await de_KMSInvalidStateExceptionRes(parsedOutput);
1154
- case "KMSNotFoundException":
1155
- case "com.amazonaws.kinesis#KMSNotFoundException":
1156
- throw await de_KMSNotFoundExceptionRes(parsedOutput);
1157
- case "KMSOptInRequired":
1158
- case "com.amazonaws.kinesis#KMSOptInRequired":
1159
- throw await de_KMSOptInRequiredRes(parsedOutput);
1160
- case "KMSThrottlingException":
1161
- case "com.amazonaws.kinesis#KMSThrottlingException":
1162
- throw await de_KMSThrottlingExceptionRes(parsedOutput);
1163
- case "ProvisionedThroughputExceededException":
1164
- case "com.amazonaws.kinesis#ProvisionedThroughputExceededException":
1165
- throw await de_ProvisionedThroughputExceededExceptionRes(parsedOutput);
1166
- case "ExpiredNextTokenException":
1167
- case "com.amazonaws.kinesis#ExpiredNextTokenException":
1168
- throw await de_ExpiredNextTokenExceptionRes(parsedOutput);
1169
- default:
1170
- const parsedBody = parsedOutput.body;
1171
- return throwDefaultError({
1172
- output,
1173
- parsedBody,
1174
- errorCode,
1175
- });
1176
- }
1177
- };
1178
- const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
1179
- const body = parsedOutput.body;
1180
- const deserialized = smithyClient._json(body);
1181
- const exception = new AccessDeniedException({
1182
- $metadata: deserializeMetadata(parsedOutput),
1183
- ...deserialized,
1184
- });
1185
- return smithyClient.decorateServiceException(exception, body);
1186
- };
1187
- const de_ExpiredIteratorExceptionRes = async (parsedOutput, context) => {
1188
- const body = parsedOutput.body;
1189
- const deserialized = smithyClient._json(body);
1190
- const exception = new ExpiredIteratorException({
1191
- $metadata: deserializeMetadata(parsedOutput),
1192
- ...deserialized,
1193
- });
1194
- return smithyClient.decorateServiceException(exception, body);
1195
- };
1196
- const de_ExpiredNextTokenExceptionRes = async (parsedOutput, context) => {
1197
- const body = parsedOutput.body;
1198
- const deserialized = smithyClient._json(body);
1199
- const exception = new ExpiredNextTokenException({
1200
- $metadata: deserializeMetadata(parsedOutput),
1201
- ...deserialized,
1202
- });
1203
- return smithyClient.decorateServiceException(exception, body);
1204
- };
1205
- const de_InternalFailureExceptionRes = async (parsedOutput, context) => {
1206
- const body = parsedOutput.body;
1207
- const deserialized = smithyClient._json(body);
1208
- const exception = new InternalFailureException({
1209
- $metadata: deserializeMetadata(parsedOutput),
1210
- ...deserialized,
1211
- });
1212
- return smithyClient.decorateServiceException(exception, body);
1213
- };
1214
- const de_InvalidArgumentExceptionRes = async (parsedOutput, context) => {
1215
- const body = parsedOutput.body;
1216
- const deserialized = smithyClient._json(body);
1217
- const exception = new InvalidArgumentException({
1218
- $metadata: deserializeMetadata(parsedOutput),
1219
- ...deserialized,
1220
- });
1221
- return smithyClient.decorateServiceException(exception, body);
1222
- };
1223
- const de_KMSAccessDeniedExceptionRes = async (parsedOutput, context) => {
1224
- const body = parsedOutput.body;
1225
- const deserialized = smithyClient._json(body);
1226
- const exception = new KMSAccessDeniedException({
1227
- $metadata: deserializeMetadata(parsedOutput),
1228
- ...deserialized,
1229
- });
1230
- return smithyClient.decorateServiceException(exception, body);
1231
- };
1232
- const de_KMSDisabledExceptionRes = async (parsedOutput, context) => {
1233
- const body = parsedOutput.body;
1234
- const deserialized = smithyClient._json(body);
1235
- const exception = new KMSDisabledException({
1236
- $metadata: deserializeMetadata(parsedOutput),
1237
- ...deserialized,
1238
- });
1239
- return smithyClient.decorateServiceException(exception, body);
1240
- };
1241
- const de_KMSInvalidStateExceptionRes = async (parsedOutput, context) => {
1242
- const body = parsedOutput.body;
1243
- const deserialized = smithyClient._json(body);
1244
- const exception = new KMSInvalidStateException({
1245
- $metadata: deserializeMetadata(parsedOutput),
1246
- ...deserialized,
1247
- });
1248
- return smithyClient.decorateServiceException(exception, body);
1249
- };
1250
- const de_KMSNotFoundExceptionRes = async (parsedOutput, context) => {
1251
- const body = parsedOutput.body;
1252
- const deserialized = smithyClient._json(body);
1253
- const exception = new KMSNotFoundException({
1254
- $metadata: deserializeMetadata(parsedOutput),
1255
- ...deserialized,
1256
- });
1257
- return smithyClient.decorateServiceException(exception, body);
1258
- };
1259
- const de_KMSOptInRequiredRes = async (parsedOutput, context) => {
1260
- const body = parsedOutput.body;
1261
- const deserialized = smithyClient._json(body);
1262
- const exception = new KMSOptInRequired({
1263
- $metadata: deserializeMetadata(parsedOutput),
1264
- ...deserialized,
1265
- });
1266
- return smithyClient.decorateServiceException(exception, body);
1267
- };
1268
- const de_KMSThrottlingExceptionRes = async (parsedOutput, context) => {
1269
- const body = parsedOutput.body;
1270
- const deserialized = smithyClient._json(body);
1271
- const exception = new KMSThrottlingException({
1272
- $metadata: deserializeMetadata(parsedOutput),
1273
- ...deserialized,
1274
- });
1275
- return smithyClient.decorateServiceException(exception, body);
1276
- };
1277
- const de_LimitExceededExceptionRes = async (parsedOutput, context) => {
1278
- const body = parsedOutput.body;
1279
- const deserialized = smithyClient._json(body);
1280
- const exception = new LimitExceededException({
1281
- $metadata: deserializeMetadata(parsedOutput),
1282
- ...deserialized,
1283
- });
1284
- return smithyClient.decorateServiceException(exception, body);
1285
- };
1286
- const de_ProvisionedThroughputExceededExceptionRes = async (parsedOutput, context) => {
1287
- const body = parsedOutput.body;
1288
- const deserialized = smithyClient._json(body);
1289
- const exception = new ProvisionedThroughputExceededException({
1290
- $metadata: deserializeMetadata(parsedOutput),
1291
- ...deserialized,
1292
- });
1293
- return smithyClient.decorateServiceException(exception, body);
1294
- };
1295
- const de_ResourceInUseExceptionRes = async (parsedOutput, context) => {
1296
- const body = parsedOutput.body;
1297
- const deserialized = smithyClient._json(body);
1298
- const exception = new ResourceInUseException({
1299
- $metadata: deserializeMetadata(parsedOutput),
1300
- ...deserialized,
1301
- });
1302
- return smithyClient.decorateServiceException(exception, body);
1303
- };
1304
- const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
1305
- const body = parsedOutput.body;
1306
- const deserialized = smithyClient._json(body);
1307
- const exception = new ResourceNotFoundException({
1308
- $metadata: deserializeMetadata(parsedOutput),
1309
- ...deserialized,
1310
- });
1311
- return smithyClient.decorateServiceException(exception, body);
1312
- };
1313
- const de_ValidationExceptionRes = async (parsedOutput, context) => {
1314
- const body = parsedOutput.body;
1315
- const deserialized = smithyClient._json(body);
1316
- const exception = new ValidationException({
1317
- $metadata: deserializeMetadata(parsedOutput),
1318
- ...deserialized,
1319
- });
1320
- return smithyClient.decorateServiceException(exception, body);
1321
- };
1322
- const de_SubscribeToShardEventStream = (output, context) => {
1323
- return context.eventStreamMarshaller.deserialize(output, async (event) => {
1324
- if (event["SubscribeToShardEvent"] != null) {
1325
- return {
1326
- SubscribeToShardEvent: await de_SubscribeToShardEvent_event(event["SubscribeToShardEvent"], context),
1327
- };
1328
- }
1329
- if (event["ResourceNotFoundException"] != null) {
1330
- return {
1331
- ResourceNotFoundException: await de_ResourceNotFoundException_event(event["ResourceNotFoundException"], context),
1332
- };
1333
- }
1334
- if (event["ResourceInUseException"] != null) {
1335
- return {
1336
- ResourceInUseException: await de_ResourceInUseException_event(event["ResourceInUseException"], context),
1337
- };
1338
- }
1339
- if (event["KMSDisabledException"] != null) {
1340
- return {
1341
- KMSDisabledException: await de_KMSDisabledException_event(event["KMSDisabledException"], context),
1342
- };
1343
- }
1344
- if (event["KMSInvalidStateException"] != null) {
1345
- return {
1346
- KMSInvalidStateException: await de_KMSInvalidStateException_event(event["KMSInvalidStateException"], context),
1347
- };
1348
- }
1349
- if (event["KMSAccessDeniedException"] != null) {
1350
- return {
1351
- KMSAccessDeniedException: await de_KMSAccessDeniedException_event(event["KMSAccessDeniedException"], context),
1352
- };
1353
- }
1354
- if (event["KMSNotFoundException"] != null) {
1355
- return {
1356
- KMSNotFoundException: await de_KMSNotFoundException_event(event["KMSNotFoundException"], context),
1357
- };
1358
- }
1359
- if (event["KMSOptInRequired"] != null) {
1360
- return {
1361
- KMSOptInRequired: await de_KMSOptInRequired_event(event["KMSOptInRequired"], context),
1362
- };
1363
- }
1364
- if (event["KMSThrottlingException"] != null) {
1365
- return {
1366
- KMSThrottlingException: await de_KMSThrottlingException_event(event["KMSThrottlingException"], context),
1367
- };
1368
- }
1369
- if (event["InternalFailureException"] != null) {
1370
- return {
1371
- InternalFailureException: await de_InternalFailureException_event(event["InternalFailureException"], context),
1372
- };
1373
- }
1374
- return { $unknown: event };
1375
- });
1376
- };
1377
- const de_InternalFailureException_event = async (output, context) => {
1378
- const parsedOutput = {
1379
- ...output,
1380
- body: await core$1.parseJsonBody(output.body, context),
1381
- };
1382
- return de_InternalFailureExceptionRes(parsedOutput);
1383
- };
1384
- const de_KMSAccessDeniedException_event = async (output, context) => {
1385
- const parsedOutput = {
1386
- ...output,
1387
- body: await core$1.parseJsonBody(output.body, context),
1388
- };
1389
- return de_KMSAccessDeniedExceptionRes(parsedOutput);
1390
- };
1391
- const de_KMSDisabledException_event = async (output, context) => {
1392
- const parsedOutput = {
1393
- ...output,
1394
- body: await core$1.parseJsonBody(output.body, context),
1395
- };
1396
- return de_KMSDisabledExceptionRes(parsedOutput);
1397
- };
1398
- const de_KMSInvalidStateException_event = async (output, context) => {
1399
- const parsedOutput = {
1400
- ...output,
1401
- body: await core$1.parseJsonBody(output.body, context),
1402
- };
1403
- return de_KMSInvalidStateExceptionRes(parsedOutput);
1404
- };
1405
- const de_KMSNotFoundException_event = async (output, context) => {
1406
- const parsedOutput = {
1407
- ...output,
1408
- body: await core$1.parseJsonBody(output.body, context),
1409
- };
1410
- return de_KMSNotFoundExceptionRes(parsedOutput);
1411
- };
1412
- const de_KMSOptInRequired_event = async (output, context) => {
1413
- const parsedOutput = {
1414
- ...output,
1415
- body: await core$1.parseJsonBody(output.body, context),
1416
- };
1417
- return de_KMSOptInRequiredRes(parsedOutput);
1418
- };
1419
- const de_KMSThrottlingException_event = async (output, context) => {
1420
- const parsedOutput = {
1421
- ...output,
1422
- body: await core$1.parseJsonBody(output.body, context),
1423
- };
1424
- return de_KMSThrottlingExceptionRes(parsedOutput);
1425
- };
1426
- const de_ResourceInUseException_event = async (output, context) => {
1427
- const parsedOutput = {
1428
- ...output,
1429
- body: await core$1.parseJsonBody(output.body, context),
1430
- };
1431
- return de_ResourceInUseExceptionRes(parsedOutput);
1432
- };
1433
- const de_ResourceNotFoundException_event = async (output, context) => {
1434
- const parsedOutput = {
1435
- ...output,
1436
- body: await core$1.parseJsonBody(output.body, context),
1437
- };
1438
- return de_ResourceNotFoundExceptionRes(parsedOutput);
1439
- };
1440
- const de_SubscribeToShardEvent_event = async (output, context) => {
1441
- const contents = {};
1442
- const data = await core$1.parseJsonBody(output.body, context);
1443
- Object.assign(contents, de_SubscribeToShardEvent(data, context));
1444
- return contents;
1445
- };
1446
- const se_GetShardIteratorInput = (input, context) => {
1447
- return smithyClient.take(input, {
1448
- ShardId: [],
1449
- ShardIteratorType: [],
1450
- StartingSequenceNumber: [],
1451
- StreamARN: [],
1452
- StreamName: [],
1453
- Timestamp: (_) => _.getTime() / 1_000,
1454
- });
1455
- };
1456
- const se_ListShardsInput = (input, context) => {
1457
- return smithyClient.take(input, {
1458
- ExclusiveStartShardId: [],
1459
- MaxResults: [],
1460
- NextToken: [],
1461
- ShardFilter: (_) => se_ShardFilter(_),
1462
- StreamARN: [],
1463
- StreamCreationTimestamp: (_) => _.getTime() / 1_000,
1464
- StreamName: [],
1465
- });
1466
- };
1467
- const se_ListStreamConsumersInput = (input, context) => {
1468
- return smithyClient.take(input, {
1469
- MaxResults: [],
1470
- NextToken: [],
1471
- StreamARN: [],
1472
- StreamCreationTimestamp: (_) => _.getTime() / 1_000,
1473
- });
1474
- };
1475
- const se_PutRecordInput = (input, context) => {
1476
- return smithyClient.take(input, {
1477
- Data: context.base64Encoder,
1478
- ExplicitHashKey: [],
1479
- PartitionKey: [],
1480
- SequenceNumberForOrdering: [],
1481
- StreamARN: [],
1482
- StreamName: [],
1483
- });
1484
- };
1485
- const se_PutRecordsInput = (input, context) => {
1486
- return smithyClient.take(input, {
1487
- Records: (_) => se_PutRecordsRequestEntryList(_, context),
1488
- StreamARN: [],
1489
- StreamName: [],
1490
- });
1491
- };
1492
- const se_PutRecordsRequestEntry = (input, context) => {
1493
- return smithyClient.take(input, {
1494
- Data: context.base64Encoder,
1495
- ExplicitHashKey: [],
1496
- PartitionKey: [],
1497
- });
1498
- };
1499
- const se_PutRecordsRequestEntryList = (input, context) => {
1500
- return input
1501
- .filter((e) => e != null)
1502
- .map((entry) => {
1503
- return se_PutRecordsRequestEntry(entry, context);
1504
- });
1505
- };
1506
- const se_ShardFilter = (input, context) => {
1507
- return smithyClient.take(input, {
1508
- ShardId: [],
1509
- Timestamp: (_) => _.getTime() / 1_000,
1510
- Type: [],
1511
- });
1512
- };
1513
- const se_StartingPosition = (input, context) => {
1514
- return smithyClient.take(input, {
1515
- SequenceNumber: [],
1516
- Timestamp: (_) => _.getTime() / 1_000,
1517
- Type: [],
1518
- });
1519
- };
1520
- const se_SubscribeToShardInput = (input, context) => {
1521
- return smithyClient.take(input, {
1522
- ConsumerARN: [],
1523
- ShardId: [],
1524
- StartingPosition: (_) => se_StartingPosition(_),
1525
- });
1526
- };
1527
- const de_Consumer = (output, context) => {
1528
- return smithyClient.take(output, {
1529
- ConsumerARN: smithyClient.expectString,
1530
- ConsumerCreationTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1531
- ConsumerName: smithyClient.expectString,
1532
- ConsumerStatus: smithyClient.expectString,
1533
- });
1534
- };
1535
- const de_ConsumerDescription = (output, context) => {
1536
- return smithyClient.take(output, {
1537
- ConsumerARN: smithyClient.expectString,
1538
- ConsumerCreationTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1539
- ConsumerName: smithyClient.expectString,
1540
- ConsumerStatus: smithyClient.expectString,
1541
- StreamARN: smithyClient.expectString,
1542
- });
1543
- };
1544
- const de_ConsumerList = (output, context) => {
1545
- const retVal = (output || [])
1546
- .filter((e) => e != null)
1547
- .map((entry) => {
1548
- return de_Consumer(entry);
1549
- });
1550
- return retVal;
1551
- };
1552
- const de_DescribeAccountSettingsOutput = (output, context) => {
1553
- return smithyClient.take(output, {
1554
- MinimumThroughputBillingCommitment: (_) => de_MinimumThroughputBillingCommitmentOutput(_),
1555
- });
1556
- };
1557
- const de_DescribeStreamConsumerOutput = (output, context) => {
1558
- return smithyClient.take(output, {
1559
- ConsumerDescription: (_) => de_ConsumerDescription(_),
1560
- });
1561
- };
1562
- const de_DescribeStreamOutput = (output, context) => {
1563
- return smithyClient.take(output, {
1564
- StreamDescription: (_) => de_StreamDescription(_),
1565
- });
1566
- };
1567
- const de_DescribeStreamSummaryOutput = (output, context) => {
1568
- return smithyClient.take(output, {
1569
- StreamDescriptionSummary: (_) => de_StreamDescriptionSummary(_),
1570
- });
1571
- };
1572
- const de_GetRecordsOutput = (output, context) => {
1573
- return smithyClient.take(output, {
1574
- ChildShards: smithyClient._json,
1575
- MillisBehindLatest: smithyClient.expectLong,
1576
- NextShardIterator: smithyClient.expectString,
1577
- Records: (_) => de_RecordList(_, context),
1578
- });
1579
- };
1580
- const de_ListStreamConsumersOutput = (output, context) => {
1581
- return smithyClient.take(output, {
1582
- Consumers: (_) => de_ConsumerList(_),
1583
- NextToken: smithyClient.expectString,
1584
- });
1585
- };
1586
- const de_ListStreamsOutput = (output, context) => {
1587
- return smithyClient.take(output, {
1588
- HasMoreStreams: smithyClient.expectBoolean,
1589
- NextToken: smithyClient.expectString,
1590
- StreamNames: smithyClient._json,
1591
- StreamSummaries: (_) => de_StreamSummaryList(_),
1592
- });
1593
- };
1594
- const de_MinimumThroughputBillingCommitmentOutput = (output, context) => {
1595
- return smithyClient.take(output, {
1596
- EarliestAllowedEndAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1597
- EndedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1598
- StartedAt: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1599
- Status: smithyClient.expectString,
1600
- });
1601
- };
1602
- const de__Record = (output, context) => {
1603
- return smithyClient.take(output, {
1604
- ApproximateArrivalTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1605
- Data: context.base64Decoder,
1606
- EncryptionType: smithyClient.expectString,
1607
- PartitionKey: smithyClient.expectString,
1608
- SequenceNumber: smithyClient.expectString,
1609
- });
1610
- };
1611
- const de_RecordList = (output, context) => {
1612
- const retVal = (output || [])
1613
- .filter((e) => e != null)
1614
- .map((entry) => {
1615
- return de__Record(entry, context);
1616
- });
1617
- return retVal;
1618
- };
1619
- const de_RegisterStreamConsumerOutput = (output, context) => {
1620
- return smithyClient.take(output, {
1621
- Consumer: (_) => de_Consumer(_),
1622
- });
1623
- };
1624
- const de_StreamDescription = (output, context) => {
1625
- return smithyClient.take(output, {
1626
- EncryptionType: smithyClient.expectString,
1627
- EnhancedMonitoring: smithyClient._json,
1628
- HasMoreShards: smithyClient.expectBoolean,
1629
- KeyId: smithyClient.expectString,
1630
- RetentionPeriodHours: smithyClient.expectInt32,
1631
- Shards: smithyClient._json,
1632
- StreamARN: smithyClient.expectString,
1633
- StreamCreationTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1634
- StreamModeDetails: smithyClient._json,
1635
- StreamName: smithyClient.expectString,
1636
- StreamStatus: smithyClient.expectString,
1637
- });
1638
- };
1639
- const de_StreamDescriptionSummary = (output, context) => {
1640
- return smithyClient.take(output, {
1641
- ConsumerCount: smithyClient.expectInt32,
1642
- EncryptionType: smithyClient.expectString,
1643
- EnhancedMonitoring: smithyClient._json,
1644
- KeyId: smithyClient.expectString,
1645
- MaxRecordSizeInKiB: smithyClient.expectInt32,
1646
- OpenShardCount: smithyClient.expectInt32,
1647
- RetentionPeriodHours: smithyClient.expectInt32,
1648
- StreamARN: smithyClient.expectString,
1649
- StreamCreationTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1650
- StreamModeDetails: smithyClient._json,
1651
- StreamName: smithyClient.expectString,
1652
- StreamStatus: smithyClient.expectString,
1653
- WarmThroughput: smithyClient._json,
1654
- });
1655
- };
1656
- const de_StreamSummary = (output, context) => {
1657
- return smithyClient.take(output, {
1658
- StreamARN: smithyClient.expectString,
1659
- StreamCreationTimestamp: (_) => smithyClient.expectNonNull(smithyClient.parseEpochTimestamp(smithyClient.expectNumber(_))),
1660
- StreamModeDetails: smithyClient._json,
1661
- StreamName: smithyClient.expectString,
1662
- StreamStatus: smithyClient.expectString,
1663
- });
1664
- };
1665
- const de_StreamSummaryList = (output, context) => {
1666
- const retVal = (output || [])
1667
- .filter((e) => e != null)
1668
- .map((entry) => {
1669
- return de_StreamSummary(entry);
1670
- });
1671
- return retVal;
1672
- };
1673
- const de_SubscribeToShardEvent = (output, context) => {
1674
- return smithyClient.take(output, {
1675
- ChildShards: smithyClient._json,
1676
- ContinuationSequenceNumber: smithyClient.expectString,
1677
- MillisBehindLatest: smithyClient.expectLong,
1678
- Records: (_) => de_RecordList(_, context),
1679
- });
1680
- };
1681
- const de_UpdateAccountSettingsOutput = (output, context) => {
1682
- return smithyClient.take(output, {
1683
- MinimumThroughputBillingCommitment: (_) => de_MinimumThroughputBillingCommitmentOutput(_),
1684
- });
1685
- };
1686
- const deserializeMetadata = (output) => ({
1687
- httpStatusCode: output.statusCode,
1688
- requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
1689
- extendedRequestId: output.headers["x-amz-id-2"],
1690
- cfId: output.headers["x-amz-cf-id"],
1691
- });
1692
- const throwDefaultError = smithyClient.withBaseException(KinesisServiceException);
1693
- const buildHttpRpcRequest = async (context, headers, path, resolvedHostname, body) => {
1694
- const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
1695
- const contents = {
1696
- protocol,
1697
- hostname,
1698
- port,
1699
- method: "POST",
1700
- path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
1701
- headers,
1702
- };
1703
- if (body !== undefined) {
1704
- contents.body = body;
1705
- }
1706
- return new protocolHttp.HttpRequest(contents);
1707
- };
1708
- function sharedHeaders(operation) {
1709
- return {
1710
- "content-type": "application/x-amz-json-1.1",
1711
- "x-amz-target": `Kinesis_20131202.${operation}`,
1712
- };
1713
- }
398
+ const _AAT = "ApproximateArrivalTimestamp";
399
+ const _ADE = "AccessDeniedException";
400
+ const _APSI = "AdjacentParentShardId";
401
+ const _ASTM = "AdjacentShardToMerge";
402
+ const _ATTS = "AddTagsToStream";
403
+ const _ATTSI = "AddTagsToStreamInput";
404
+ const _C = "Consumer";
405
+ const _CARN = "ConsumerARN";
406
+ const _CC = "ConsumerCount";
407
+ const _CCT = "ConsumerCreationTimestamp";
408
+ const _CD = "ConsumerDescription";
409
+ const _CL = "ConsumerList";
410
+ const _CMB = "CurrentMiBps";
411
+ const _CN = "ConsumerName";
412
+ const _CS = "ChildShard";
413
+ const _CSC = "CurrentShardCount";
414
+ const _CSI = "CreateStreamInput";
415
+ const _CSL = "ChildShardList";
416
+ const _CSLM = "CurrentShardLevelMetrics";
417
+ const _CSN = "ContinuationSequenceNumber";
418
+ const _CSh = "ChildShards";
419
+ const _CSo = "ConsumerStatus";
420
+ const _CSr = "CreateStream";
421
+ const _Co = "Consumers";
422
+ const _D = "Data";
423
+ const _DAS = "DescribeAccountSettings";
424
+ const _DASI = "DescribeAccountSettingsInput";
425
+ const _DASO = "DescribeAccountSettingsOutput";
426
+ const _DEM = "DisableEnhancedMonitoring";
427
+ const _DEMI = "DisableEnhancedMonitoringInput";
428
+ const _DL = "DescribeLimits";
429
+ const _DLI = "DescribeLimitsInput";
430
+ const _DLO = "DescribeLimitsOutput";
431
+ const _DRP = "DeleteResourcePolicy";
432
+ const _DRPI = "DeleteResourcePolicyInput";
433
+ const _DS = "DeleteStream";
434
+ const _DSC = "DeregisterStreamConsumer";
435
+ const _DSCI = "DeregisterStreamConsumerInput";
436
+ const _DSCIe = "DescribeStreamConsumerInput";
437
+ const _DSCO = "DescribeStreamConsumerOutput";
438
+ const _DSCe = "DescribeStreamConsumer";
439
+ const _DSI = "DeleteStreamInput";
440
+ const _DSIe = "DescribeStreamInput";
441
+ const _DSLM = "DesiredShardLevelMetrics";
442
+ const _DSO = "DescribeStreamOutput";
443
+ const _DSRP = "DecreaseStreamRetentionPeriod";
444
+ const _DSRPI = "DecreaseStreamRetentionPeriodInput";
445
+ const _DSS = "DescribeStreamSummary";
446
+ const _DSSI = "DescribeStreamSummaryInput";
447
+ const _DSSO = "DescribeStreamSummaryOutput";
448
+ const _DSe = "DescribeStream";
449
+ const _EA = "EndedAt";
450
+ const _EAEA = "EarliestAllowedEndAt";
451
+ const _EC = "ErrorCode";
452
+ const _ECD = "EnforceConsumerDeletion";
453
+ const _EEM = "EnableEnhancedMonitoring";
454
+ const _EEMI = "EnableEnhancedMonitoringInput";
455
+ const _EHK = "EndingHashKey";
456
+ const _EHKx = "ExplicitHashKey";
457
+ const _EIE = "ExpiredIteratorException";
458
+ const _EM = "EnhancedMetrics";
459
+ const _EML = "EnhancedMonitoringList";
460
+ const _EMO = "EnhancedMonitoringOutput";
461
+ const _EMn = "EnhancedMonitoring";
462
+ const _EMr = "ErrorMessage";
463
+ const _ENTE = "ExpiredNextTokenException";
464
+ const _ES = "EventStream";
465
+ const _ESN = "EndingSequenceNumber";
466
+ const _ESSI = "ExclusiveStartShardId";
467
+ const _ESSN = "ExclusiveStartStreamName";
468
+ const _ESTK = "ExclusiveStartTagKey";
469
+ const _ET = "EncryptionType";
470
+ const _FRC = "FailedRecordCount";
471
+ const _GR = "GetRecords";
472
+ const _GRI = "GetRecordsInput";
473
+ const _GRO = "GetRecordsOutput";
474
+ const _GRP = "GetResourcePolicy";
475
+ const _GRPI = "GetResourcePolicyInput";
476
+ const _GRPO = "GetResourcePolicyOutput";
477
+ const _GSI = "GetShardIterator";
478
+ const _GSII = "GetShardIteratorInput";
479
+ const _GSIO = "GetShardIteratorOutput";
480
+ const _HKR = "HashKeyRange";
481
+ const _HMS = "HasMoreStreams";
482
+ const _HMSa = "HasMoreShards";
483
+ const _HMT = "HasMoreTags";
484
+ const _IAE = "InvalidArgumentException";
485
+ const _IFE = "InternalFailureException";
486
+ const _ISRP = "IncreaseStreamRetentionPeriod";
487
+ const _ISRPI = "IncreaseStreamRetentionPeriodInput";
488
+ const _K = "Key";
489
+ const _KI = "KeyId";
490
+ const _KMSADE = "KMSAccessDeniedException";
491
+ const _KMSDE = "KMSDisabledException";
492
+ const _KMSISE = "KMSInvalidStateException";
493
+ const _KMSNFE = "KMSNotFoundException";
494
+ const _KMSOIR = "KMSOptInRequired";
495
+ const _KMSTE = "KMSThrottlingException";
496
+ const _L = "Limit";
497
+ const _LEE = "LimitExceededException";
498
+ const _LS = "ListShards";
499
+ const _LSC = "ListStreamConsumers";
500
+ const _LSCI = "ListStreamConsumersInput";
501
+ const _LSCO = "ListStreamConsumersOutput";
502
+ const _LSI = "ListShardsInput";
503
+ const _LSIi = "ListStreamsInput";
504
+ const _LSO = "ListShardsOutput";
505
+ const _LSOi = "ListStreamsOutput";
506
+ const _LSi = "ListStreams";
507
+ const _LTFR = "ListTagsForResource";
508
+ const _LTFRI = "ListTagsForResourceInput";
509
+ const _LTFRO = "ListTagsForResourceOutput";
510
+ const _LTFS = "ListTagsForStream";
511
+ const _LTFSI = "ListTagsForStreamInput";
512
+ const _LTFSO = "ListTagsForStreamOutput";
513
+ const _MBL = "MillisBehindLatest";
514
+ const _MR = "MaxResults";
515
+ const _MRSIKB = "MaxRecordSizeInKiB";
516
+ const _MS = "MergeShards";
517
+ const _MSI = "MergeShardsInput";
518
+ const _MTBC = "MinimumThroughputBillingCommitment";
519
+ const _MTBCI = "MinimumThroughputBillingCommitmentInput";
520
+ const _MTBCO = "MinimumThroughputBillingCommitmentOutput";
521
+ const _NSHK = "NewStartingHashKey";
522
+ const _NSI = "NextShardIterator";
523
+ const _NT = "NextToken";
524
+ const _ODSC = "OnDemandStreamCount";
525
+ const _ODSCL = "OnDemandStreamCountLimit";
526
+ const _OSC = "OpenShardCount";
527
+ const _P = "Policy";
528
+ const _PK = "PartitionKey";
529
+ const _PR = "PutRecord";
530
+ const _PRI = "PutRecordInput";
531
+ const _PRIu = "PutRecordsInput";
532
+ const _PRO = "PutRecordOutput";
533
+ const _PROu = "PutRecordsOutput";
534
+ const _PRP = "PutResourcePolicy";
535
+ const _PRPI = "PutResourcePolicyInput";
536
+ const _PRRE = "PutRecordsRequestEntry";
537
+ const _PRREL = "PutRecordsRequestEntryList";
538
+ const _PRRELu = "PutRecordsResultEntryList";
539
+ const _PRREu = "PutRecordsResultEntry";
540
+ const _PRu = "PutRecords";
541
+ const _PS = "ParentShards";
542
+ const _PSI = "ParentShardId";
543
+ const _PTEE = "ProvisionedThroughputExceededException";
544
+ const _R = "Records";
545
+ const _RARN = "ResourceARN";
546
+ const _RIUE = "ResourceInUseException";
547
+ const _RL = "RecordList";
548
+ const _RNFE = "ResourceNotFoundException";
549
+ const _RPH = "RetentionPeriodHours";
550
+ const _RSC = "RegisterStreamConsumer";
551
+ const _RSCI = "RegisterStreamConsumerInput";
552
+ const _RSCO = "RegisterStreamConsumerOutput";
553
+ const _RTFS = "RemoveTagsFromStream";
554
+ const _RTFSI = "RemoveTagsFromStreamInput";
555
+ const _Re = "Record";
556
+ const _S = "Shards";
557
+ const _SA = "StartedAt";
558
+ const _SARN = "StreamARN";
559
+ const _SC = "ShardCount";
560
+ const _SCT = "StreamCreationTimestamp";
561
+ const _SD = "StreamDescription";
562
+ const _SDS = "StreamDescriptionSummary";
563
+ const _SF = "ShardFilter";
564
+ const _SHK = "StartingHashKey";
565
+ const _SI = "ShardId";
566
+ const _SIT = "ShardIteratorType";
567
+ const _SIh = "ShardIterator";
568
+ const _SL = "ShardLimit";
569
+ const _SLM = "ShardLevelMetrics";
570
+ const _SLh = "ShardList";
571
+ const _SM = "StreamMode";
572
+ const _SMD = "StreamModeDetails";
573
+ const _SN = "StreamName";
574
+ const _SNFO = "SequenceNumberForOrdering";
575
+ const _SNR = "SequenceNumberRange";
576
+ const _SNe = "SequenceNumber";
577
+ const _SNt = "StreamNames";
578
+ const _SP = "StartingPosition";
579
+ const _SS = "StreamSummaries";
580
+ const _SSE = "StartStreamEncryption";
581
+ const _SSEI = "StartStreamEncryptionInput";
582
+ const _SSEIt = "StopStreamEncryptionInput";
583
+ const _SSEt = "StopStreamEncryption";
584
+ const _SSI = "SplitShardInput";
585
+ const _SSL = "StreamSummaryList";
586
+ const _SSN = "StartingSequenceNumber";
587
+ const _SSp = "SplitShard";
588
+ const _SSt = "StreamStatus";
589
+ const _SStr = "StreamSummary";
590
+ const _ST = "ScalingType";
591
+ const _STM = "ShardToMerge";
592
+ const _STS = "ShardToSplit";
593
+ const _STSE = "SubscribeToShardEvent";
594
+ const _STSES = "SubscribeToShardEventStream";
595
+ const _STSI = "SubscribeToShardInput";
596
+ const _STSO = "SubscribeToShardOutput";
597
+ const _STSu = "SubscribeToShard";
598
+ const _Sh = "Shard";
599
+ const _St = "Status";
600
+ const _T = "Tags";
601
+ const _TK = "TagKeys";
602
+ const _TL = "TagList";
603
+ const _TMB = "TargetMiBps";
604
+ const _TR = "TagResource";
605
+ const _TRI = "TagResourceInput";
606
+ const _TSC = "TargetShardCount";
607
+ const _Ta = "Tag";
608
+ const _Ti = "Timestamp";
609
+ const _Ty = "Type";
610
+ const _UAS = "UpdateAccountSettings";
611
+ const _UASI = "UpdateAccountSettingsInput";
612
+ const _UASO = "UpdateAccountSettingsOutput";
613
+ const _UMRS = "UpdateMaxRecordSize";
614
+ const _UMRSI = "UpdateMaxRecordSizeInput";
615
+ const _UR = "UntagResource";
616
+ const _URI = "UntagResourceInput";
617
+ const _USC = "UpdateShardCount";
618
+ const _USCI = "UpdateShardCountInput";
619
+ const _USCO = "UpdateShardCountOutput";
620
+ const _USM = "UpdateStreamMode";
621
+ const _USMI = "UpdateStreamModeInput";
622
+ const _USWT = "UpdateStreamWarmThroughput";
623
+ const _USWTI = "UpdateStreamWarmThroughputInput";
624
+ const _USWTO = "UpdateStreamWarmThroughputOutput";
625
+ const _V = "Value";
626
+ const _VE = "ValidationException";
627
+ const _WT = "WarmThroughput";
628
+ const _WTMB = "WarmThroughputMiBps";
629
+ const _WTO = "WarmThroughputObject";
630
+ const _c = "client";
631
+ const _e = "error";
632
+ const _m = "message";
633
+ const _s = "server";
634
+ const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.kinesis";
635
+ const _st = "streaming";
636
+ const n0 = "com.amazonaws.kinesis";
637
+ var AccessDeniedException = [
638
+ -3,
639
+ n0,
640
+ _ADE,
641
+ {
642
+ [_e]: _c,
643
+ },
644
+ [_m],
645
+ [0],
646
+ ];
647
+ schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
648
+ var AddTagsToStreamInput = [3, n0, _ATTSI, 0, [_SN, _T, _SARN], [0, 128 | 0, 0]];
649
+ var ChildShard = [3, n0, _CS, 0, [_SI, _PS, _HKR], [0, 64 | 0, () => HashKeyRange]];
650
+ var Consumer = [3, n0, _C, 0, [_CN, _CARN, _CSo, _CCT], [0, 0, 0, 4]];
651
+ var ConsumerDescription = [
652
+ 3,
653
+ n0,
654
+ _CD,
655
+ 0,
656
+ [_CN, _CARN, _CSo, _CCT, _SARN],
657
+ [0, 0, 0, 4, 0],
658
+ ];
659
+ var CreateStreamInput = [
660
+ 3,
661
+ n0,
662
+ _CSI,
663
+ 0,
664
+ [_SN, _SC, _SMD, _T, _WTMB, _MRSIKB],
665
+ [0, 1, () => StreamModeDetails, 128 | 0, 1, 1],
666
+ ];
667
+ var DecreaseStreamRetentionPeriodInput = [
668
+ 3,
669
+ n0,
670
+ _DSRPI,
671
+ 0,
672
+ [_SN, _RPH, _SARN],
673
+ [0, 1, 0],
674
+ ];
675
+ var DeleteResourcePolicyInput = [3, n0, _DRPI, 0, [_RARN], [0]];
676
+ var DeleteStreamInput = [3, n0, _DSI, 0, [_SN, _ECD, _SARN], [0, 2, 0]];
677
+ var DeregisterStreamConsumerInput = [3, n0, _DSCI, 0, [_SARN, _CN, _CARN], [0, 0, 0]];
678
+ var DescribeAccountSettingsInput = [3, n0, _DASI, 0, [], []];
679
+ var DescribeAccountSettingsOutput = [
680
+ 3,
681
+ n0,
682
+ _DASO,
683
+ 0,
684
+ [_MTBC],
685
+ [() => MinimumThroughputBillingCommitmentOutput],
686
+ ];
687
+ var DescribeLimitsInput = [3, n0, _DLI, 0, [], []];
688
+ var DescribeLimitsOutput = [3, n0, _DLO, 0, [_SL, _OSC, _ODSC, _ODSCL], [1, 1, 1, 1]];
689
+ var DescribeStreamConsumerInput = [3, n0, _DSCIe, 0, [_SARN, _CN, _CARN], [0, 0, 0]];
690
+ var DescribeStreamConsumerOutput = [3, n0, _DSCO, 0, [_CD], [() => ConsumerDescription]];
691
+ var DescribeStreamInput = [3, n0, _DSIe, 0, [_SN, _L, _ESSI, _SARN], [0, 1, 0, 0]];
692
+ var DescribeStreamOutput = [3, n0, _DSO, 0, [_SD], [() => StreamDescription]];
693
+ var DescribeStreamSummaryInput = [3, n0, _DSSI, 0, [_SN, _SARN], [0, 0]];
694
+ var DescribeStreamSummaryOutput = [
695
+ 3,
696
+ n0,
697
+ _DSSO,
698
+ 0,
699
+ [_SDS],
700
+ [() => StreamDescriptionSummary],
701
+ ];
702
+ var DisableEnhancedMonitoringInput = [
703
+ 3,
704
+ n0,
705
+ _DEMI,
706
+ 0,
707
+ [_SN, _SLM, _SARN],
708
+ [0, 64 | 0, 0],
709
+ ];
710
+ var EnableEnhancedMonitoringInput = [3, n0, _EEMI, 0, [_SN, _SLM, _SARN], [0, 64 | 0, 0]];
711
+ var EnhancedMetrics = [3, n0, _EM, 0, [_SLM], [64 | 0]];
712
+ var EnhancedMonitoringOutput = [
713
+ 3,
714
+ n0,
715
+ _EMO,
716
+ 0,
717
+ [_SN, _CSLM, _DSLM, _SARN],
718
+ [0, 64 | 0, 64 | 0, 0],
719
+ ];
720
+ var ExpiredIteratorException = [
721
+ -3,
722
+ n0,
723
+ _EIE,
724
+ {
725
+ [_e]: _c,
726
+ },
727
+ [_m],
728
+ [0],
729
+ ];
730
+ schema.TypeRegistry.for(n0).registerError(ExpiredIteratorException, ExpiredIteratorException$1);
731
+ var ExpiredNextTokenException = [
732
+ -3,
733
+ n0,
734
+ _ENTE,
735
+ {
736
+ [_e]: _c,
737
+ },
738
+ [_m],
739
+ [0],
740
+ ];
741
+ schema.TypeRegistry.for(n0).registerError(ExpiredNextTokenException, ExpiredNextTokenException$1);
742
+ var GetRecordsInput = [3, n0, _GRI, 0, [_SIh, _L, _SARN], [0, 1, 0]];
743
+ var GetRecordsOutput = [
744
+ 3,
745
+ n0,
746
+ _GRO,
747
+ 0,
748
+ [_R, _NSI, _MBL, _CSh],
749
+ [() => RecordList, 0, 1, () => ChildShardList],
750
+ ];
751
+ var GetResourcePolicyInput = [3, n0, _GRPI, 0, [_RARN], [0]];
752
+ var GetResourcePolicyOutput = [3, n0, _GRPO, 0, [_P], [0]];
753
+ var GetShardIteratorInput = [
754
+ 3,
755
+ n0,
756
+ _GSII,
757
+ 0,
758
+ [_SN, _SI, _SIT, _SSN, _Ti, _SARN],
759
+ [0, 0, 0, 0, 4, 0],
760
+ ];
761
+ var GetShardIteratorOutput = [3, n0, _GSIO, 0, [_SIh], [0]];
762
+ var HashKeyRange = [3, n0, _HKR, 0, [_SHK, _EHK], [0, 0]];
763
+ var IncreaseStreamRetentionPeriodInput = [
764
+ 3,
765
+ n0,
766
+ _ISRPI,
767
+ 0,
768
+ [_SN, _RPH, _SARN],
769
+ [0, 1, 0],
770
+ ];
771
+ var InternalFailureException = [
772
+ -3,
773
+ n0,
774
+ _IFE,
775
+ {
776
+ [_e]: _s,
777
+ },
778
+ [_m],
779
+ [0],
780
+ ];
781
+ schema.TypeRegistry.for(n0).registerError(InternalFailureException, InternalFailureException$1);
782
+ var InvalidArgumentException = [
783
+ -3,
784
+ n0,
785
+ _IAE,
786
+ {
787
+ [_e]: _c,
788
+ },
789
+ [_m],
790
+ [0],
791
+ ];
792
+ schema.TypeRegistry.for(n0).registerError(InvalidArgumentException, InvalidArgumentException$1);
793
+ var KMSAccessDeniedException = [
794
+ -3,
795
+ n0,
796
+ _KMSADE,
797
+ {
798
+ [_e]: _c,
799
+ },
800
+ [_m],
801
+ [0],
802
+ ];
803
+ schema.TypeRegistry.for(n0).registerError(KMSAccessDeniedException, KMSAccessDeniedException$1);
804
+ var KMSDisabledException = [
805
+ -3,
806
+ n0,
807
+ _KMSDE,
808
+ {
809
+ [_e]: _c,
810
+ },
811
+ [_m],
812
+ [0],
813
+ ];
814
+ schema.TypeRegistry.for(n0).registerError(KMSDisabledException, KMSDisabledException$1);
815
+ var KMSInvalidStateException = [
816
+ -3,
817
+ n0,
818
+ _KMSISE,
819
+ {
820
+ [_e]: _c,
821
+ },
822
+ [_m],
823
+ [0],
824
+ ];
825
+ schema.TypeRegistry.for(n0).registerError(KMSInvalidStateException, KMSInvalidStateException$1);
826
+ var KMSNotFoundException = [
827
+ -3,
828
+ n0,
829
+ _KMSNFE,
830
+ {
831
+ [_e]: _c,
832
+ },
833
+ [_m],
834
+ [0],
835
+ ];
836
+ schema.TypeRegistry.for(n0).registerError(KMSNotFoundException, KMSNotFoundException$1);
837
+ var KMSOptInRequired = [
838
+ -3,
839
+ n0,
840
+ _KMSOIR,
841
+ {
842
+ [_e]: _c,
843
+ },
844
+ [_m],
845
+ [0],
846
+ ];
847
+ schema.TypeRegistry.for(n0).registerError(KMSOptInRequired, KMSOptInRequired$1);
848
+ var KMSThrottlingException = [
849
+ -3,
850
+ n0,
851
+ _KMSTE,
852
+ {
853
+ [_e]: _c,
854
+ },
855
+ [_m],
856
+ [0],
857
+ ];
858
+ schema.TypeRegistry.for(n0).registerError(KMSThrottlingException, KMSThrottlingException$1);
859
+ var LimitExceededException = [
860
+ -3,
861
+ n0,
862
+ _LEE,
863
+ {
864
+ [_e]: _c,
865
+ },
866
+ [_m],
867
+ [0],
868
+ ];
869
+ schema.TypeRegistry.for(n0).registerError(LimitExceededException, LimitExceededException$1);
870
+ var ListShardsInput = [
871
+ 3,
872
+ n0,
873
+ _LSI,
874
+ 0,
875
+ [_SN, _NT, _ESSI, _MR, _SCT, _SF, _SARN],
876
+ [0, 0, 0, 1, 4, () => ShardFilter, 0],
877
+ ];
878
+ var ListShardsOutput = [3, n0, _LSO, 0, [_S, _NT], [() => ShardList, 0]];
879
+ var ListStreamConsumersInput = [3, n0, _LSCI, 0, [_SARN, _NT, _MR, _SCT], [0, 0, 1, 4]];
880
+ var ListStreamConsumersOutput = [3, n0, _LSCO, 0, [_Co, _NT], [() => ConsumerList, 0]];
881
+ var ListStreamsInput = [3, n0, _LSIi, 0, [_L, _ESSN, _NT], [1, 0, 0]];
882
+ var ListStreamsOutput = [
883
+ 3,
884
+ n0,
885
+ _LSOi,
886
+ 0,
887
+ [_SNt, _HMS, _NT, _SS],
888
+ [64 | 0, 2, 0, () => StreamSummaryList],
889
+ ];
890
+ var ListTagsForResourceInput = [3, n0, _LTFRI, 0, [_RARN], [0]];
891
+ var ListTagsForResourceOutput = [3, n0, _LTFRO, 0, [_T], [() => TagList]];
892
+ var ListTagsForStreamInput = [3, n0, _LTFSI, 0, [_SN, _ESTK, _L, _SARN], [0, 0, 1, 0]];
893
+ var ListTagsForStreamOutput = [3, n0, _LTFSO, 0, [_T, _HMT], [() => TagList, 2]];
894
+ var MergeShardsInput = [3, n0, _MSI, 0, [_SN, _STM, _ASTM, _SARN], [0, 0, 0, 0]];
895
+ var MinimumThroughputBillingCommitmentInput = [3, n0, _MTBCI, 0, [_St], [0]];
896
+ var MinimumThroughputBillingCommitmentOutput = [
897
+ 3,
898
+ n0,
899
+ _MTBCO,
900
+ 0,
901
+ [_St, _SA, _EA, _EAEA],
902
+ [0, 4, 4, 4],
903
+ ];
904
+ var ProvisionedThroughputExceededException = [
905
+ -3,
906
+ n0,
907
+ _PTEE,
908
+ {
909
+ [_e]: _c,
910
+ },
911
+ [_m],
912
+ [0],
913
+ ];
914
+ schema.TypeRegistry.for(n0).registerError(ProvisionedThroughputExceededException, ProvisionedThroughputExceededException$1);
915
+ var PutRecordInput = [
916
+ 3,
917
+ n0,
918
+ _PRI,
919
+ 0,
920
+ [_SN, _D, _PK, _EHKx, _SNFO, _SARN],
921
+ [0, 21, 0, 0, 0, 0],
922
+ ];
923
+ var PutRecordOutput = [3, n0, _PRO, 0, [_SI, _SNe, _ET], [0, 0, 0]];
924
+ var PutRecordsInput = [
925
+ 3,
926
+ n0,
927
+ _PRIu,
928
+ 0,
929
+ [_R, _SN, _SARN],
930
+ [() => PutRecordsRequestEntryList, 0, 0],
931
+ ];
932
+ var PutRecordsOutput = [
933
+ 3,
934
+ n0,
935
+ _PROu,
936
+ 0,
937
+ [_FRC, _R, _ET],
938
+ [1, () => PutRecordsResultEntryList, 0],
939
+ ];
940
+ var PutRecordsRequestEntry = [3, n0, _PRRE, 0, [_D, _EHKx, _PK], [21, 0, 0]];
941
+ var PutRecordsResultEntry = [3, n0, _PRREu, 0, [_SNe, _SI, _EC, _EMr], [0, 0, 0, 0]];
942
+ var PutResourcePolicyInput = [3, n0, _PRPI, 0, [_RARN, _P], [0, 0]];
943
+ var _Record = [3, n0, _Re, 0, [_SNe, _AAT, _D, _PK, _ET], [0, 4, 21, 0, 0]];
944
+ var RegisterStreamConsumerInput = [3, n0, _RSCI, 0, [_SARN, _CN, _T], [0, 0, 128 | 0]];
945
+ var RegisterStreamConsumerOutput = [3, n0, _RSCO, 0, [_C], [() => Consumer]];
946
+ var RemoveTagsFromStreamInput = [3, n0, _RTFSI, 0, [_SN, _TK, _SARN], [0, 64 | 0, 0]];
947
+ var ResourceInUseException = [
948
+ -3,
949
+ n0,
950
+ _RIUE,
951
+ {
952
+ [_e]: _c,
953
+ },
954
+ [_m],
955
+ [0],
956
+ ];
957
+ schema.TypeRegistry.for(n0).registerError(ResourceInUseException, ResourceInUseException$1);
958
+ var ResourceNotFoundException = [
959
+ -3,
960
+ n0,
961
+ _RNFE,
962
+ {
963
+ [_e]: _c,
964
+ },
965
+ [_m],
966
+ [0],
967
+ ];
968
+ schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
969
+ var SequenceNumberRange = [3, n0, _SNR, 0, [_SSN, _ESN], [0, 0]];
970
+ var Shard = [
971
+ 3,
972
+ n0,
973
+ _Sh,
974
+ 0,
975
+ [_SI, _PSI, _APSI, _HKR, _SNR],
976
+ [0, 0, 0, () => HashKeyRange, () => SequenceNumberRange],
977
+ ];
978
+ var ShardFilter = [3, n0, _SF, 0, [_Ty, _SI, _Ti], [0, 0, 4]];
979
+ var SplitShardInput = [3, n0, _SSI, 0, [_SN, _STS, _NSHK, _SARN], [0, 0, 0, 0]];
980
+ var StartingPosition = [3, n0, _SP, 0, [_Ty, _SNe, _Ti], [0, 0, 4]];
981
+ var StartStreamEncryptionInput = [3, n0, _SSEI, 0, [_SN, _ET, _KI, _SARN], [0, 0, 0, 0]];
982
+ var StopStreamEncryptionInput = [3, n0, _SSEIt, 0, [_SN, _ET, _KI, _SARN], [0, 0, 0, 0]];
983
+ var StreamDescription = [
984
+ 3,
985
+ n0,
986
+ _SD,
987
+ 0,
988
+ [_SN, _SARN, _SSt, _SMD, _S, _HMSa, _RPH, _SCT, _EMn, _ET, _KI],
989
+ [0, 0, 0, () => StreamModeDetails, () => ShardList, 2, 1, 4, () => EnhancedMonitoringList, 0, 0],
990
+ ];
991
+ var StreamDescriptionSummary = [
992
+ 3,
993
+ n0,
994
+ _SDS,
995
+ 0,
996
+ [_SN, _SARN, _SSt, _SMD, _RPH, _SCT, _EMn, _ET, _KI, _OSC, _CC, _WT, _MRSIKB],
997
+ [0, 0, 0, () => StreamModeDetails, 1, 4, () => EnhancedMonitoringList, 0, 0, 1, 1, () => WarmThroughputObject, 1],
998
+ ];
999
+ var StreamModeDetails = [3, n0, _SMD, 0, [_SM], [0]];
1000
+ var StreamSummary = [
1001
+ 3,
1002
+ n0,
1003
+ _SStr,
1004
+ 0,
1005
+ [_SN, _SARN, _SSt, _SMD, _SCT],
1006
+ [0, 0, 0, () => StreamModeDetails, 4],
1007
+ ];
1008
+ var SubscribeToShardEvent = [
1009
+ 3,
1010
+ n0,
1011
+ _STSE,
1012
+ 0,
1013
+ [_R, _CSN, _MBL, _CSh],
1014
+ [() => RecordList, 0, 1, () => ChildShardList],
1015
+ ];
1016
+ var SubscribeToShardInput = [
1017
+ 3,
1018
+ n0,
1019
+ _STSI,
1020
+ 0,
1021
+ [_CARN, _SI, _SP],
1022
+ [0, 0, () => StartingPosition],
1023
+ ];
1024
+ var SubscribeToShardOutput = [
1025
+ 3,
1026
+ n0,
1027
+ _STSO,
1028
+ 0,
1029
+ [_ES],
1030
+ [[() => SubscribeToShardEventStream, 0]],
1031
+ ];
1032
+ var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
1033
+ var TagResourceInput = [3, n0, _TRI, 0, [_T, _RARN], [128 | 0, 0]];
1034
+ var UntagResourceInput = [3, n0, _URI, 0, [_TK, _RARN], [64 | 0, 0]];
1035
+ var UpdateAccountSettingsInput = [
1036
+ 3,
1037
+ n0,
1038
+ _UASI,
1039
+ 0,
1040
+ [_MTBC],
1041
+ [() => MinimumThroughputBillingCommitmentInput],
1042
+ ];
1043
+ var UpdateAccountSettingsOutput = [
1044
+ 3,
1045
+ n0,
1046
+ _UASO,
1047
+ 0,
1048
+ [_MTBC],
1049
+ [() => MinimumThroughputBillingCommitmentOutput],
1050
+ ];
1051
+ var UpdateMaxRecordSizeInput = [3, n0, _UMRSI, 0, [_SARN, _MRSIKB], [0, 1]];
1052
+ var UpdateShardCountInput = [3, n0, _USCI, 0, [_SN, _TSC, _ST, _SARN], [0, 1, 0, 0]];
1053
+ var UpdateShardCountOutput = [3, n0, _USCO, 0, [_SN, _CSC, _TSC, _SARN], [0, 1, 1, 0]];
1054
+ var UpdateStreamModeInput = [
1055
+ 3,
1056
+ n0,
1057
+ _USMI,
1058
+ 0,
1059
+ [_SARN, _SMD, _WTMB],
1060
+ [0, () => StreamModeDetails, 1],
1061
+ ];
1062
+ var UpdateStreamWarmThroughputInput = [3, n0, _USWTI, 0, [_SARN, _SN, _WTMB], [0, 0, 1]];
1063
+ var UpdateStreamWarmThroughputOutput = [
1064
+ 3,
1065
+ n0,
1066
+ _USWTO,
1067
+ 0,
1068
+ [_SARN, _SN, _WT],
1069
+ [0, 0, () => WarmThroughputObject],
1070
+ ];
1071
+ var ValidationException = [
1072
+ -3,
1073
+ n0,
1074
+ _VE,
1075
+ {
1076
+ [_e]: _c,
1077
+ },
1078
+ [_m],
1079
+ [0],
1080
+ ];
1081
+ schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
1082
+ var WarmThroughputObject = [3, n0, _WTO, 0, [_TMB, _CMB], [1, 1]];
1083
+ var __Unit = "unit";
1084
+ var KinesisServiceException = [-3, _sm, "KinesisServiceException", 0, [], []];
1085
+ schema.TypeRegistry.for(_sm).registerError(KinesisServiceException, KinesisServiceException$1);
1086
+ var ChildShardList = [1, n0, _CSL, 0, () => ChildShard];
1087
+ var ConsumerList = [1, n0, _CL, 0, () => Consumer];
1088
+ var EnhancedMonitoringList = [1, n0, _EML, 0, () => EnhancedMetrics];
1089
+ var PutRecordsRequestEntryList = [1, n0, _PRREL, 0, () => PutRecordsRequestEntry];
1090
+ var PutRecordsResultEntryList = [1, n0, _PRRELu, 0, () => PutRecordsResultEntry];
1091
+ var RecordList = [1, n0, _RL, 0, () => _Record];
1092
+ var ShardList = [1, n0, _SLh, 0, () => Shard];
1093
+ var StreamSummaryList = [1, n0, _SSL, 0, () => StreamSummary];
1094
+ var TagList = [1, n0, _TL, 0, () => Tag];
1095
+ var SubscribeToShardEventStream = [
1096
+ 3,
1097
+ n0,
1098
+ _STSES,
1099
+ {
1100
+ [_st]: 1,
1101
+ },
1102
+ [_STSE, _RNFE, _RIUE, _KMSDE, _KMSISE, _KMSADE, _KMSNFE, _KMSOIR, _KMSTE, _IFE],
1103
+ [
1104
+ () => SubscribeToShardEvent,
1105
+ [() => ResourceNotFoundException, 0],
1106
+ [() => ResourceInUseException, 0],
1107
+ [() => KMSDisabledException, 0],
1108
+ [() => KMSInvalidStateException, 0],
1109
+ [() => KMSAccessDeniedException, 0],
1110
+ [() => KMSNotFoundException, 0],
1111
+ [() => KMSOptInRequired, 0],
1112
+ [() => KMSThrottlingException, 0],
1113
+ [() => InternalFailureException, 0],
1114
+ ],
1115
+ ];
1116
+ var AddTagsToStream = [9, n0, _ATTS, 0, () => AddTagsToStreamInput, () => __Unit];
1117
+ var CreateStream = [9, n0, _CSr, 0, () => CreateStreamInput, () => __Unit];
1118
+ var DecreaseStreamRetentionPeriod = [
1119
+ 9,
1120
+ n0,
1121
+ _DSRP,
1122
+ 0,
1123
+ () => DecreaseStreamRetentionPeriodInput,
1124
+ () => __Unit,
1125
+ ];
1126
+ var DeleteResourcePolicy = [
1127
+ 9,
1128
+ n0,
1129
+ _DRP,
1130
+ 0,
1131
+ () => DeleteResourcePolicyInput,
1132
+ () => __Unit,
1133
+ ];
1134
+ var DeleteStream = [9, n0, _DS, 0, () => DeleteStreamInput, () => __Unit];
1135
+ var DeregisterStreamConsumer = [
1136
+ 9,
1137
+ n0,
1138
+ _DSC,
1139
+ 0,
1140
+ () => DeregisterStreamConsumerInput,
1141
+ () => __Unit,
1142
+ ];
1143
+ var DescribeAccountSettings = [
1144
+ 9,
1145
+ n0,
1146
+ _DAS,
1147
+ 0,
1148
+ () => DescribeAccountSettingsInput,
1149
+ () => DescribeAccountSettingsOutput,
1150
+ ];
1151
+ var DescribeLimits = [
1152
+ 9,
1153
+ n0,
1154
+ _DL,
1155
+ 0,
1156
+ () => DescribeLimitsInput,
1157
+ () => DescribeLimitsOutput,
1158
+ ];
1159
+ var DescribeStream = [
1160
+ 9,
1161
+ n0,
1162
+ _DSe,
1163
+ 0,
1164
+ () => DescribeStreamInput,
1165
+ () => DescribeStreamOutput,
1166
+ ];
1167
+ var DescribeStreamConsumer = [
1168
+ 9,
1169
+ n0,
1170
+ _DSCe,
1171
+ 0,
1172
+ () => DescribeStreamConsumerInput,
1173
+ () => DescribeStreamConsumerOutput,
1174
+ ];
1175
+ var DescribeStreamSummary = [
1176
+ 9,
1177
+ n0,
1178
+ _DSS,
1179
+ 0,
1180
+ () => DescribeStreamSummaryInput,
1181
+ () => DescribeStreamSummaryOutput,
1182
+ ];
1183
+ var DisableEnhancedMonitoring = [
1184
+ 9,
1185
+ n0,
1186
+ _DEM,
1187
+ 0,
1188
+ () => DisableEnhancedMonitoringInput,
1189
+ () => EnhancedMonitoringOutput,
1190
+ ];
1191
+ var EnableEnhancedMonitoring = [
1192
+ 9,
1193
+ n0,
1194
+ _EEM,
1195
+ 0,
1196
+ () => EnableEnhancedMonitoringInput,
1197
+ () => EnhancedMonitoringOutput,
1198
+ ];
1199
+ var GetRecords = [9, n0, _GR, 0, () => GetRecordsInput, () => GetRecordsOutput];
1200
+ var GetResourcePolicy = [
1201
+ 9,
1202
+ n0,
1203
+ _GRP,
1204
+ 0,
1205
+ () => GetResourcePolicyInput,
1206
+ () => GetResourcePolicyOutput,
1207
+ ];
1208
+ var GetShardIterator = [
1209
+ 9,
1210
+ n0,
1211
+ _GSI,
1212
+ 0,
1213
+ () => GetShardIteratorInput,
1214
+ () => GetShardIteratorOutput,
1215
+ ];
1216
+ var IncreaseStreamRetentionPeriod = [
1217
+ 9,
1218
+ n0,
1219
+ _ISRP,
1220
+ 0,
1221
+ () => IncreaseStreamRetentionPeriodInput,
1222
+ () => __Unit,
1223
+ ];
1224
+ var ListShards = [9, n0, _LS, 0, () => ListShardsInput, () => ListShardsOutput];
1225
+ var ListStreamConsumers = [
1226
+ 9,
1227
+ n0,
1228
+ _LSC,
1229
+ 0,
1230
+ () => ListStreamConsumersInput,
1231
+ () => ListStreamConsumersOutput,
1232
+ ];
1233
+ var ListStreams = [9, n0, _LSi, 0, () => ListStreamsInput, () => ListStreamsOutput];
1234
+ var ListTagsForResource = [
1235
+ 9,
1236
+ n0,
1237
+ _LTFR,
1238
+ 0,
1239
+ () => ListTagsForResourceInput,
1240
+ () => ListTagsForResourceOutput,
1241
+ ];
1242
+ var ListTagsForStream = [
1243
+ 9,
1244
+ n0,
1245
+ _LTFS,
1246
+ 0,
1247
+ () => ListTagsForStreamInput,
1248
+ () => ListTagsForStreamOutput,
1249
+ ];
1250
+ var MergeShards = [9, n0, _MS, 0, () => MergeShardsInput, () => __Unit];
1251
+ var PutRecord = [9, n0, _PR, 0, () => PutRecordInput, () => PutRecordOutput];
1252
+ var PutRecords = [9, n0, _PRu, 0, () => PutRecordsInput, () => PutRecordsOutput];
1253
+ var PutResourcePolicy = [9, n0, _PRP, 0, () => PutResourcePolicyInput, () => __Unit];
1254
+ var RegisterStreamConsumer = [
1255
+ 9,
1256
+ n0,
1257
+ _RSC,
1258
+ 0,
1259
+ () => RegisterStreamConsumerInput,
1260
+ () => RegisterStreamConsumerOutput,
1261
+ ];
1262
+ var RemoveTagsFromStream = [
1263
+ 9,
1264
+ n0,
1265
+ _RTFS,
1266
+ 0,
1267
+ () => RemoveTagsFromStreamInput,
1268
+ () => __Unit,
1269
+ ];
1270
+ var SplitShard = [9, n0, _SSp, 0, () => SplitShardInput, () => __Unit];
1271
+ var StartStreamEncryption = [
1272
+ 9,
1273
+ n0,
1274
+ _SSE,
1275
+ 0,
1276
+ () => StartStreamEncryptionInput,
1277
+ () => __Unit,
1278
+ ];
1279
+ var StopStreamEncryption = [
1280
+ 9,
1281
+ n0,
1282
+ _SSEt,
1283
+ 0,
1284
+ () => StopStreamEncryptionInput,
1285
+ () => __Unit,
1286
+ ];
1287
+ var SubscribeToShard = [
1288
+ 9,
1289
+ n0,
1290
+ _STSu,
1291
+ 0,
1292
+ () => SubscribeToShardInput,
1293
+ () => SubscribeToShardOutput,
1294
+ ];
1295
+ var TagResource = [9, n0, _TR, 0, () => TagResourceInput, () => __Unit];
1296
+ var UntagResource = [9, n0, _UR, 0, () => UntagResourceInput, () => __Unit];
1297
+ var UpdateAccountSettings = [
1298
+ 9,
1299
+ n0,
1300
+ _UAS,
1301
+ 0,
1302
+ () => UpdateAccountSettingsInput,
1303
+ () => UpdateAccountSettingsOutput,
1304
+ ];
1305
+ var UpdateMaxRecordSize = [9, n0, _UMRS, 0, () => UpdateMaxRecordSizeInput, () => __Unit];
1306
+ var UpdateShardCount = [
1307
+ 9,
1308
+ n0,
1309
+ _USC,
1310
+ 0,
1311
+ () => UpdateShardCountInput,
1312
+ () => UpdateShardCountOutput,
1313
+ ];
1314
+ var UpdateStreamMode = [9, n0, _USM, 0, () => UpdateStreamModeInput, () => __Unit];
1315
+ var UpdateStreamWarmThroughput = [
1316
+ 9,
1317
+ n0,
1318
+ _USWT,
1319
+ 0,
1320
+ () => UpdateStreamWarmThroughputInput,
1321
+ () => UpdateStreamWarmThroughputOutput,
1322
+ ];
1714
1323
 
1715
1324
  class AddTagsToStreamCommand extends smithyClient.Command
1716
1325
  .classBuilder()
@@ -1720,16 +1329,11 @@ class AddTagsToStreamCommand extends smithyClient.Command
1720
1329
  StreamARN: { type: "contextParams", name: "StreamARN" },
1721
1330
  })
1722
1331
  .m(function (Command, cs, config, o) {
1723
- return [
1724
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1725
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1726
- ];
1332
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1727
1333
  })
1728
1334
  .s("Kinesis_20131202", "AddTagsToStream", {})
1729
1335
  .n("KinesisClient", "AddTagsToStreamCommand")
1730
- .f(void 0, void 0)
1731
- .ser(se_AddTagsToStreamCommand)
1732
- .de(de_AddTagsToStreamCommand)
1336
+ .sc(AddTagsToStream)
1733
1337
  .build() {
1734
1338
  }
1735
1339
 
@@ -1737,16 +1341,11 @@ class CreateStreamCommand extends smithyClient.Command
1737
1341
  .classBuilder()
1738
1342
  .ep(commonParams)
1739
1343
  .m(function (Command, cs, config, o) {
1740
- return [
1741
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1742
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1743
- ];
1344
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1744
1345
  })
1745
1346
  .s("Kinesis_20131202", "CreateStream", {})
1746
1347
  .n("KinesisClient", "CreateStreamCommand")
1747
- .f(void 0, void 0)
1748
- .ser(se_CreateStreamCommand)
1749
- .de(de_CreateStreamCommand)
1348
+ .sc(CreateStream)
1750
1349
  .build() {
1751
1350
  }
1752
1351
 
@@ -1758,16 +1357,11 @@ class DecreaseStreamRetentionPeriodCommand extends smithyClient.Command
1758
1357
  StreamARN: { type: "contextParams", name: "StreamARN" },
1759
1358
  })
1760
1359
  .m(function (Command, cs, config, o) {
1761
- return [
1762
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1763
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1764
- ];
1360
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1765
1361
  })
1766
1362
  .s("Kinesis_20131202", "DecreaseStreamRetentionPeriod", {})
1767
1363
  .n("KinesisClient", "DecreaseStreamRetentionPeriodCommand")
1768
- .f(void 0, void 0)
1769
- .ser(se_DecreaseStreamRetentionPeriodCommand)
1770
- .de(de_DecreaseStreamRetentionPeriodCommand)
1364
+ .sc(DecreaseStreamRetentionPeriod)
1771
1365
  .build() {
1772
1366
  }
1773
1367
 
@@ -1779,16 +1373,11 @@ class DeleteResourcePolicyCommand extends smithyClient.Command
1779
1373
  ResourceARN: { type: "contextParams", name: "ResourceARN" },
1780
1374
  })
1781
1375
  .m(function (Command, cs, config, o) {
1782
- return [
1783
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1784
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1785
- ];
1376
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1786
1377
  })
1787
1378
  .s("Kinesis_20131202", "DeleteResourcePolicy", {})
1788
1379
  .n("KinesisClient", "DeleteResourcePolicyCommand")
1789
- .f(void 0, void 0)
1790
- .ser(se_DeleteResourcePolicyCommand)
1791
- .de(de_DeleteResourcePolicyCommand)
1380
+ .sc(DeleteResourcePolicy)
1792
1381
  .build() {
1793
1382
  }
1794
1383
 
@@ -1800,16 +1389,11 @@ class DeleteStreamCommand extends smithyClient.Command
1800
1389
  StreamARN: { type: "contextParams", name: "StreamARN" },
1801
1390
  })
1802
1391
  .m(function (Command, cs, config, o) {
1803
- return [
1804
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1805
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1806
- ];
1392
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1807
1393
  })
1808
1394
  .s("Kinesis_20131202", "DeleteStream", {})
1809
1395
  .n("KinesisClient", "DeleteStreamCommand")
1810
- .f(void 0, void 0)
1811
- .ser(se_DeleteStreamCommand)
1812
- .de(de_DeleteStreamCommand)
1396
+ .sc(DeleteStream)
1813
1397
  .build() {
1814
1398
  }
1815
1399
 
@@ -1822,16 +1406,11 @@ class DeregisterStreamConsumerCommand extends smithyClient.Command
1822
1406
  StreamARN: { type: "contextParams", name: "StreamARN" },
1823
1407
  })
1824
1408
  .m(function (Command, cs, config, o) {
1825
- return [
1826
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1827
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1828
- ];
1409
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1829
1410
  })
1830
1411
  .s("Kinesis_20131202", "DeregisterStreamConsumer", {})
1831
1412
  .n("KinesisClient", "DeregisterStreamConsumerCommand")
1832
- .f(void 0, void 0)
1833
- .ser(se_DeregisterStreamConsumerCommand)
1834
- .de(de_DeregisterStreamConsumerCommand)
1413
+ .sc(DeregisterStreamConsumer)
1835
1414
  .build() {
1836
1415
  }
1837
1416
 
@@ -1839,16 +1418,11 @@ class DescribeAccountSettingsCommand extends smithyClient.Command
1839
1418
  .classBuilder()
1840
1419
  .ep(commonParams)
1841
1420
  .m(function (Command, cs, config, o) {
1842
- return [
1843
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1844
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1845
- ];
1421
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1846
1422
  })
1847
1423
  .s("Kinesis_20131202", "DescribeAccountSettings", {})
1848
1424
  .n("KinesisClient", "DescribeAccountSettingsCommand")
1849
- .f(void 0, void 0)
1850
- .ser(se_DescribeAccountSettingsCommand)
1851
- .de(de_DescribeAccountSettingsCommand)
1425
+ .sc(DescribeAccountSettings)
1852
1426
  .build() {
1853
1427
  }
1854
1428
 
@@ -1856,16 +1430,11 @@ class DescribeLimitsCommand extends smithyClient.Command
1856
1430
  .classBuilder()
1857
1431
  .ep(commonParams)
1858
1432
  .m(function (Command, cs, config, o) {
1859
- return [
1860
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1861
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1862
- ];
1433
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1863
1434
  })
1864
1435
  .s("Kinesis_20131202", "DescribeLimits", {})
1865
1436
  .n("KinesisClient", "DescribeLimitsCommand")
1866
- .f(void 0, void 0)
1867
- .ser(se_DescribeLimitsCommand)
1868
- .de(de_DescribeLimitsCommand)
1437
+ .sc(DescribeLimits)
1869
1438
  .build() {
1870
1439
  }
1871
1440
 
@@ -1877,16 +1446,11 @@ class DescribeStreamCommand extends smithyClient.Command
1877
1446
  StreamARN: { type: "contextParams", name: "StreamARN" },
1878
1447
  })
1879
1448
  .m(function (Command, cs, config, o) {
1880
- return [
1881
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1882
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1883
- ];
1449
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1884
1450
  })
1885
1451
  .s("Kinesis_20131202", "DescribeStream", {})
1886
1452
  .n("KinesisClient", "DescribeStreamCommand")
1887
- .f(void 0, void 0)
1888
- .ser(se_DescribeStreamCommand)
1889
- .de(de_DescribeStreamCommand)
1453
+ .sc(DescribeStream)
1890
1454
  .build() {
1891
1455
  }
1892
1456
 
@@ -1899,16 +1463,11 @@ class DescribeStreamConsumerCommand extends smithyClient.Command
1899
1463
  StreamARN: { type: "contextParams", name: "StreamARN" },
1900
1464
  })
1901
1465
  .m(function (Command, cs, config, o) {
1902
- return [
1903
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1904
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1905
- ];
1466
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1906
1467
  })
1907
1468
  .s("Kinesis_20131202", "DescribeStreamConsumer", {})
1908
1469
  .n("KinesisClient", "DescribeStreamConsumerCommand")
1909
- .f(void 0, void 0)
1910
- .ser(se_DescribeStreamConsumerCommand)
1911
- .de(de_DescribeStreamConsumerCommand)
1470
+ .sc(DescribeStreamConsumer)
1912
1471
  .build() {
1913
1472
  }
1914
1473
 
@@ -1920,16 +1479,11 @@ class DescribeStreamSummaryCommand extends smithyClient.Command
1920
1479
  StreamARN: { type: "contextParams", name: "StreamARN" },
1921
1480
  })
1922
1481
  .m(function (Command, cs, config, o) {
1923
- return [
1924
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1925
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1926
- ];
1482
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1927
1483
  })
1928
1484
  .s("Kinesis_20131202", "DescribeStreamSummary", {})
1929
1485
  .n("KinesisClient", "DescribeStreamSummaryCommand")
1930
- .f(void 0, void 0)
1931
- .ser(se_DescribeStreamSummaryCommand)
1932
- .de(de_DescribeStreamSummaryCommand)
1486
+ .sc(DescribeStreamSummary)
1933
1487
  .build() {
1934
1488
  }
1935
1489
 
@@ -1941,16 +1495,11 @@ class DisableEnhancedMonitoringCommand extends smithyClient.Command
1941
1495
  StreamARN: { type: "contextParams", name: "StreamARN" },
1942
1496
  })
1943
1497
  .m(function (Command, cs, config, o) {
1944
- return [
1945
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1946
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1947
- ];
1498
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1948
1499
  })
1949
1500
  .s("Kinesis_20131202", "DisableEnhancedMonitoring", {})
1950
1501
  .n("KinesisClient", "DisableEnhancedMonitoringCommand")
1951
- .f(void 0, void 0)
1952
- .ser(se_DisableEnhancedMonitoringCommand)
1953
- .de(de_DisableEnhancedMonitoringCommand)
1502
+ .sc(DisableEnhancedMonitoring)
1954
1503
  .build() {
1955
1504
  }
1956
1505
 
@@ -1962,16 +1511,11 @@ class EnableEnhancedMonitoringCommand extends smithyClient.Command
1962
1511
  StreamARN: { type: "contextParams", name: "StreamARN" },
1963
1512
  })
1964
1513
  .m(function (Command, cs, config, o) {
1965
- return [
1966
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1967
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1968
- ];
1514
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1969
1515
  })
1970
1516
  .s("Kinesis_20131202", "EnableEnhancedMonitoring", {})
1971
1517
  .n("KinesisClient", "EnableEnhancedMonitoringCommand")
1972
- .f(void 0, void 0)
1973
- .ser(se_EnableEnhancedMonitoringCommand)
1974
- .de(de_EnableEnhancedMonitoringCommand)
1518
+ .sc(EnableEnhancedMonitoring)
1975
1519
  .build() {
1976
1520
  }
1977
1521
 
@@ -1983,16 +1527,11 @@ class GetRecordsCommand extends smithyClient.Command
1983
1527
  StreamARN: { type: "contextParams", name: "StreamARN" },
1984
1528
  })
1985
1529
  .m(function (Command, cs, config, o) {
1986
- return [
1987
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
1988
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
1989
- ];
1530
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1990
1531
  })
1991
1532
  .s("Kinesis_20131202", "GetRecords", {})
1992
1533
  .n("KinesisClient", "GetRecordsCommand")
1993
- .f(void 0, void 0)
1994
- .ser(se_GetRecordsCommand)
1995
- .de(de_GetRecordsCommand)
1534
+ .sc(GetRecords)
1996
1535
  .build() {
1997
1536
  }
1998
1537
 
@@ -2004,16 +1543,11 @@ class GetResourcePolicyCommand extends smithyClient.Command
2004
1543
  ResourceARN: { type: "contextParams", name: "ResourceARN" },
2005
1544
  })
2006
1545
  .m(function (Command, cs, config, o) {
2007
- return [
2008
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2009
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2010
- ];
1546
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2011
1547
  })
2012
1548
  .s("Kinesis_20131202", "GetResourcePolicy", {})
2013
1549
  .n("KinesisClient", "GetResourcePolicyCommand")
2014
- .f(void 0, void 0)
2015
- .ser(se_GetResourcePolicyCommand)
2016
- .de(de_GetResourcePolicyCommand)
1550
+ .sc(GetResourcePolicy)
2017
1551
  .build() {
2018
1552
  }
2019
1553
 
@@ -2025,16 +1559,11 @@ class GetShardIteratorCommand extends smithyClient.Command
2025
1559
  StreamARN: { type: "contextParams", name: "StreamARN" },
2026
1560
  })
2027
1561
  .m(function (Command, cs, config, o) {
2028
- return [
2029
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2030
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2031
- ];
1562
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2032
1563
  })
2033
1564
  .s("Kinesis_20131202", "GetShardIterator", {})
2034
1565
  .n("KinesisClient", "GetShardIteratorCommand")
2035
- .f(void 0, void 0)
2036
- .ser(se_GetShardIteratorCommand)
2037
- .de(de_GetShardIteratorCommand)
1566
+ .sc(GetShardIterator)
2038
1567
  .build() {
2039
1568
  }
2040
1569
 
@@ -2046,16 +1575,11 @@ class IncreaseStreamRetentionPeriodCommand extends smithyClient.Command
2046
1575
  StreamARN: { type: "contextParams", name: "StreamARN" },
2047
1576
  })
2048
1577
  .m(function (Command, cs, config, o) {
2049
- return [
2050
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2051
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2052
- ];
1578
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2053
1579
  })
2054
1580
  .s("Kinesis_20131202", "IncreaseStreamRetentionPeriod", {})
2055
1581
  .n("KinesisClient", "IncreaseStreamRetentionPeriodCommand")
2056
- .f(void 0, void 0)
2057
- .ser(se_IncreaseStreamRetentionPeriodCommand)
2058
- .de(de_IncreaseStreamRetentionPeriodCommand)
1582
+ .sc(IncreaseStreamRetentionPeriod)
2059
1583
  .build() {
2060
1584
  }
2061
1585
 
@@ -2067,16 +1591,11 @@ class ListShardsCommand extends smithyClient.Command
2067
1591
  StreamARN: { type: "contextParams", name: "StreamARN" },
2068
1592
  })
2069
1593
  .m(function (Command, cs, config, o) {
2070
- return [
2071
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2072
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2073
- ];
1594
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2074
1595
  })
2075
1596
  .s("Kinesis_20131202", "ListShards", {})
2076
1597
  .n("KinesisClient", "ListShardsCommand")
2077
- .f(void 0, void 0)
2078
- .ser(se_ListShardsCommand)
2079
- .de(de_ListShardsCommand)
1598
+ .sc(ListShards)
2080
1599
  .build() {
2081
1600
  }
2082
1601
 
@@ -2088,16 +1607,11 @@ class ListStreamConsumersCommand extends smithyClient.Command
2088
1607
  StreamARN: { type: "contextParams", name: "StreamARN" },
2089
1608
  })
2090
1609
  .m(function (Command, cs, config, o) {
2091
- return [
2092
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2093
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2094
- ];
1610
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2095
1611
  })
2096
1612
  .s("Kinesis_20131202", "ListStreamConsumers", {})
2097
1613
  .n("KinesisClient", "ListStreamConsumersCommand")
2098
- .f(void 0, void 0)
2099
- .ser(se_ListStreamConsumersCommand)
2100
- .de(de_ListStreamConsumersCommand)
1614
+ .sc(ListStreamConsumers)
2101
1615
  .build() {
2102
1616
  }
2103
1617
 
@@ -2105,16 +1619,11 @@ class ListStreamsCommand extends smithyClient.Command
2105
1619
  .classBuilder()
2106
1620
  .ep(commonParams)
2107
1621
  .m(function (Command, cs, config, o) {
2108
- return [
2109
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2110
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2111
- ];
1622
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2112
1623
  })
2113
1624
  .s("Kinesis_20131202", "ListStreams", {})
2114
1625
  .n("KinesisClient", "ListStreamsCommand")
2115
- .f(void 0, void 0)
2116
- .ser(se_ListStreamsCommand)
2117
- .de(de_ListStreamsCommand)
1626
+ .sc(ListStreams)
2118
1627
  .build() {
2119
1628
  }
2120
1629
 
@@ -2126,16 +1635,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
2126
1635
  ResourceARN: { type: "contextParams", name: "ResourceARN" },
2127
1636
  })
2128
1637
  .m(function (Command, cs, config, o) {
2129
- return [
2130
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2131
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2132
- ];
1638
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2133
1639
  })
2134
1640
  .s("Kinesis_20131202", "ListTagsForResource", {})
2135
1641
  .n("KinesisClient", "ListTagsForResourceCommand")
2136
- .f(void 0, void 0)
2137
- .ser(se_ListTagsForResourceCommand)
2138
- .de(de_ListTagsForResourceCommand)
1642
+ .sc(ListTagsForResource)
2139
1643
  .build() {
2140
1644
  }
2141
1645
 
@@ -2147,16 +1651,11 @@ class ListTagsForStreamCommand extends smithyClient.Command
2147
1651
  StreamARN: { type: "contextParams", name: "StreamARN" },
2148
1652
  })
2149
1653
  .m(function (Command, cs, config, o) {
2150
- return [
2151
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2152
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2153
- ];
1654
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2154
1655
  })
2155
1656
  .s("Kinesis_20131202", "ListTagsForStream", {})
2156
1657
  .n("KinesisClient", "ListTagsForStreamCommand")
2157
- .f(void 0, void 0)
2158
- .ser(se_ListTagsForStreamCommand)
2159
- .de(de_ListTagsForStreamCommand)
1658
+ .sc(ListTagsForStream)
2160
1659
  .build() {
2161
1660
  }
2162
1661
 
@@ -2168,16 +1667,11 @@ class MergeShardsCommand extends smithyClient.Command
2168
1667
  StreamARN: { type: "contextParams", name: "StreamARN" },
2169
1668
  })
2170
1669
  .m(function (Command, cs, config, o) {
2171
- return [
2172
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2173
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2174
- ];
1670
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2175
1671
  })
2176
1672
  .s("Kinesis_20131202", "MergeShards", {})
2177
1673
  .n("KinesisClient", "MergeShardsCommand")
2178
- .f(void 0, void 0)
2179
- .ser(se_MergeShardsCommand)
2180
- .de(de_MergeShardsCommand)
1674
+ .sc(MergeShards)
2181
1675
  .build() {
2182
1676
  }
2183
1677
 
@@ -2189,16 +1683,11 @@ class PutRecordCommand extends smithyClient.Command
2189
1683
  StreamARN: { type: "contextParams", name: "StreamARN" },
2190
1684
  })
2191
1685
  .m(function (Command, cs, config, o) {
2192
- return [
2193
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2194
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2195
- ];
1686
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2196
1687
  })
2197
1688
  .s("Kinesis_20131202", "PutRecord", {})
2198
1689
  .n("KinesisClient", "PutRecordCommand")
2199
- .f(void 0, void 0)
2200
- .ser(se_PutRecordCommand)
2201
- .de(de_PutRecordCommand)
1690
+ .sc(PutRecord)
2202
1691
  .build() {
2203
1692
  }
2204
1693
 
@@ -2210,16 +1699,11 @@ class PutRecordsCommand extends smithyClient.Command
2210
1699
  StreamARN: { type: "contextParams", name: "StreamARN" },
2211
1700
  })
2212
1701
  .m(function (Command, cs, config, o) {
2213
- return [
2214
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2215
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2216
- ];
1702
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2217
1703
  })
2218
1704
  .s("Kinesis_20131202", "PutRecords", {})
2219
1705
  .n("KinesisClient", "PutRecordsCommand")
2220
- .f(void 0, void 0)
2221
- .ser(se_PutRecordsCommand)
2222
- .de(de_PutRecordsCommand)
1706
+ .sc(PutRecords)
2223
1707
  .build() {
2224
1708
  }
2225
1709
 
@@ -2231,16 +1715,11 @@ class PutResourcePolicyCommand extends smithyClient.Command
2231
1715
  ResourceARN: { type: "contextParams", name: "ResourceARN" },
2232
1716
  })
2233
1717
  .m(function (Command, cs, config, o) {
2234
- return [
2235
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2236
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2237
- ];
1718
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2238
1719
  })
2239
1720
  .s("Kinesis_20131202", "PutResourcePolicy", {})
2240
1721
  .n("KinesisClient", "PutResourcePolicyCommand")
2241
- .f(void 0, void 0)
2242
- .ser(se_PutResourcePolicyCommand)
2243
- .de(de_PutResourcePolicyCommand)
1722
+ .sc(PutResourcePolicy)
2244
1723
  .build() {
2245
1724
  }
2246
1725
 
@@ -2252,16 +1731,11 @@ class RegisterStreamConsumerCommand extends smithyClient.Command
2252
1731
  StreamARN: { type: "contextParams", name: "StreamARN" },
2253
1732
  })
2254
1733
  .m(function (Command, cs, config, o) {
2255
- return [
2256
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2257
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2258
- ];
1734
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2259
1735
  })
2260
1736
  .s("Kinesis_20131202", "RegisterStreamConsumer", {})
2261
1737
  .n("KinesisClient", "RegisterStreamConsumerCommand")
2262
- .f(void 0, void 0)
2263
- .ser(se_RegisterStreamConsumerCommand)
2264
- .de(de_RegisterStreamConsumerCommand)
1738
+ .sc(RegisterStreamConsumer)
2265
1739
  .build() {
2266
1740
  }
2267
1741
 
@@ -2273,16 +1747,11 @@ class RemoveTagsFromStreamCommand extends smithyClient.Command
2273
1747
  StreamARN: { type: "contextParams", name: "StreamARN" },
2274
1748
  })
2275
1749
  .m(function (Command, cs, config, o) {
2276
- return [
2277
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2278
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2279
- ];
1750
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2280
1751
  })
2281
1752
  .s("Kinesis_20131202", "RemoveTagsFromStream", {})
2282
1753
  .n("KinesisClient", "RemoveTagsFromStreamCommand")
2283
- .f(void 0, void 0)
2284
- .ser(se_RemoveTagsFromStreamCommand)
2285
- .de(de_RemoveTagsFromStreamCommand)
1754
+ .sc(RemoveTagsFromStream)
2286
1755
  .build() {
2287
1756
  }
2288
1757
 
@@ -2294,16 +1763,11 @@ class SplitShardCommand extends smithyClient.Command
2294
1763
  StreamARN: { type: "contextParams", name: "StreamARN" },
2295
1764
  })
2296
1765
  .m(function (Command, cs, config, o) {
2297
- return [
2298
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2299
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2300
- ];
1766
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2301
1767
  })
2302
1768
  .s("Kinesis_20131202", "SplitShard", {})
2303
1769
  .n("KinesisClient", "SplitShardCommand")
2304
- .f(void 0, void 0)
2305
- .ser(se_SplitShardCommand)
2306
- .de(de_SplitShardCommand)
1770
+ .sc(SplitShard)
2307
1771
  .build() {
2308
1772
  }
2309
1773
 
@@ -2315,16 +1779,11 @@ class StartStreamEncryptionCommand extends smithyClient.Command
2315
1779
  StreamARN: { type: "contextParams", name: "StreamARN" },
2316
1780
  })
2317
1781
  .m(function (Command, cs, config, o) {
2318
- return [
2319
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2320
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2321
- ];
1782
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2322
1783
  })
2323
1784
  .s("Kinesis_20131202", "StartStreamEncryption", {})
2324
1785
  .n("KinesisClient", "StartStreamEncryptionCommand")
2325
- .f(void 0, void 0)
2326
- .ser(se_StartStreamEncryptionCommand)
2327
- .de(de_StartStreamEncryptionCommand)
1786
+ .sc(StartStreamEncryption)
2328
1787
  .build() {
2329
1788
  }
2330
1789
 
@@ -2336,16 +1795,11 @@ class StopStreamEncryptionCommand extends smithyClient.Command
2336
1795
  StreamARN: { type: "contextParams", name: "StreamARN" },
2337
1796
  })
2338
1797
  .m(function (Command, cs, config, o) {
2339
- return [
2340
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2341
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2342
- ];
1798
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2343
1799
  })
2344
1800
  .s("Kinesis_20131202", "StopStreamEncryption", {})
2345
1801
  .n("KinesisClient", "StopStreamEncryptionCommand")
2346
- .f(void 0, void 0)
2347
- .ser(se_StopStreamEncryptionCommand)
2348
- .de(de_StopStreamEncryptionCommand)
1802
+ .sc(StopStreamEncryption)
2349
1803
  .build() {
2350
1804
  }
2351
1805
 
@@ -2357,10 +1811,7 @@ class SubscribeToShardCommand extends smithyClient.Command
2357
1811
  ConsumerARN: { type: "contextParams", name: "ConsumerARN" },
2358
1812
  })
2359
1813
  .m(function (Command, cs, config, o) {
2360
- return [
2361
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2362
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2363
- ];
1814
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2364
1815
  })
2365
1816
  .s("Kinesis_20131202", "SubscribeToShard", {
2366
1817
  eventStream: {
@@ -2368,9 +1819,7 @@ class SubscribeToShardCommand extends smithyClient.Command
2368
1819
  },
2369
1820
  })
2370
1821
  .n("KinesisClient", "SubscribeToShardCommand")
2371
- .f(void 0, SubscribeToShardOutputFilterSensitiveLog)
2372
- .ser(se_SubscribeToShardCommand)
2373
- .de(de_SubscribeToShardCommand)
1822
+ .sc(SubscribeToShard)
2374
1823
  .build() {
2375
1824
  }
2376
1825
 
@@ -2382,16 +1831,11 @@ class TagResourceCommand extends smithyClient.Command
2382
1831
  ResourceARN: { type: "contextParams", name: "ResourceARN" },
2383
1832
  })
2384
1833
  .m(function (Command, cs, config, o) {
2385
- return [
2386
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2387
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2388
- ];
1834
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2389
1835
  })
2390
1836
  .s("Kinesis_20131202", "TagResource", {})
2391
1837
  .n("KinesisClient", "TagResourceCommand")
2392
- .f(void 0, void 0)
2393
- .ser(se_TagResourceCommand)
2394
- .de(de_TagResourceCommand)
1838
+ .sc(TagResource)
2395
1839
  .build() {
2396
1840
  }
2397
1841
 
@@ -2403,16 +1847,11 @@ class UntagResourceCommand extends smithyClient.Command
2403
1847
  ResourceARN: { type: "contextParams", name: "ResourceARN" },
2404
1848
  })
2405
1849
  .m(function (Command, cs, config, o) {
2406
- return [
2407
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2408
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2409
- ];
1850
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2410
1851
  })
2411
1852
  .s("Kinesis_20131202", "UntagResource", {})
2412
1853
  .n("KinesisClient", "UntagResourceCommand")
2413
- .f(void 0, void 0)
2414
- .ser(se_UntagResourceCommand)
2415
- .de(de_UntagResourceCommand)
1854
+ .sc(UntagResource)
2416
1855
  .build() {
2417
1856
  }
2418
1857
 
@@ -2420,16 +1859,11 @@ class UpdateAccountSettingsCommand extends smithyClient.Command
2420
1859
  .classBuilder()
2421
1860
  .ep(commonParams)
2422
1861
  .m(function (Command, cs, config, o) {
2423
- return [
2424
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2425
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2426
- ];
1862
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2427
1863
  })
2428
1864
  .s("Kinesis_20131202", "UpdateAccountSettings", {})
2429
1865
  .n("KinesisClient", "UpdateAccountSettingsCommand")
2430
- .f(void 0, void 0)
2431
- .ser(se_UpdateAccountSettingsCommand)
2432
- .de(de_UpdateAccountSettingsCommand)
1866
+ .sc(UpdateAccountSettings)
2433
1867
  .build() {
2434
1868
  }
2435
1869
 
@@ -2441,16 +1875,11 @@ class UpdateMaxRecordSizeCommand extends smithyClient.Command
2441
1875
  StreamARN: { type: "contextParams", name: "StreamARN" },
2442
1876
  })
2443
1877
  .m(function (Command, cs, config, o) {
2444
- return [
2445
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2446
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2447
- ];
1878
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2448
1879
  })
2449
1880
  .s("Kinesis_20131202", "UpdateMaxRecordSize", {})
2450
1881
  .n("KinesisClient", "UpdateMaxRecordSizeCommand")
2451
- .f(void 0, void 0)
2452
- .ser(se_UpdateMaxRecordSizeCommand)
2453
- .de(de_UpdateMaxRecordSizeCommand)
1882
+ .sc(UpdateMaxRecordSize)
2454
1883
  .build() {
2455
1884
  }
2456
1885
 
@@ -2462,16 +1891,11 @@ class UpdateShardCountCommand extends smithyClient.Command
2462
1891
  StreamARN: { type: "contextParams", name: "StreamARN" },
2463
1892
  })
2464
1893
  .m(function (Command, cs, config, o) {
2465
- return [
2466
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2467
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2468
- ];
1894
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2469
1895
  })
2470
1896
  .s("Kinesis_20131202", "UpdateShardCount", {})
2471
1897
  .n("KinesisClient", "UpdateShardCountCommand")
2472
- .f(void 0, void 0)
2473
- .ser(se_UpdateShardCountCommand)
2474
- .de(de_UpdateShardCountCommand)
1898
+ .sc(UpdateShardCount)
2475
1899
  .build() {
2476
1900
  }
2477
1901
 
@@ -2483,16 +1907,11 @@ class UpdateStreamModeCommand extends smithyClient.Command
2483
1907
  StreamARN: { type: "contextParams", name: "StreamARN" },
2484
1908
  })
2485
1909
  .m(function (Command, cs, config, o) {
2486
- return [
2487
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2488
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2489
- ];
1910
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2490
1911
  })
2491
1912
  .s("Kinesis_20131202", "UpdateStreamMode", {})
2492
1913
  .n("KinesisClient", "UpdateStreamModeCommand")
2493
- .f(void 0, void 0)
2494
- .ser(se_UpdateStreamModeCommand)
2495
- .de(de_UpdateStreamModeCommand)
1914
+ .sc(UpdateStreamMode)
2496
1915
  .build() {
2497
1916
  }
2498
1917
 
@@ -2504,16 +1923,11 @@ class UpdateStreamWarmThroughputCommand extends smithyClient.Command
2504
1923
  StreamARN: { type: "contextParams", name: "StreamARN" },
2505
1924
  })
2506
1925
  .m(function (Command, cs, config, o) {
2507
- return [
2508
- middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
2509
- middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
2510
- ];
1926
+ return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
2511
1927
  })
2512
1928
  .s("Kinesis_20131202", "UpdateStreamWarmThroughput", {})
2513
1929
  .n("KinesisClient", "UpdateStreamWarmThroughputCommand")
2514
- .f(void 0, void 0)
2515
- .ser(se_UpdateStreamWarmThroughputCommand)
2516
- .de(de_UpdateStreamWarmThroughputCommand)
1930
+ .sc(UpdateStreamWarmThroughput)
2517
1931
  .build() {
2518
1932
  }
2519
1933
 
@@ -2628,7 +2042,7 @@ Object.defineProperty(exports, "__Client", {
2628
2042
  enumerable: true,
2629
2043
  get: function () { return smithyClient.Client; }
2630
2044
  });
2631
- exports.AccessDeniedException = AccessDeniedException;
2045
+ exports.AccessDeniedException = AccessDeniedException$1;
2632
2046
  exports.AddTagsToStreamCommand = AddTagsToStreamCommand;
2633
2047
  exports.ConsumerStatus = ConsumerStatus;
2634
2048
  exports.CreateStreamCommand = CreateStreamCommand;
@@ -2644,24 +2058,24 @@ exports.DescribeStreamSummaryCommand = DescribeStreamSummaryCommand;
2644
2058
  exports.DisableEnhancedMonitoringCommand = DisableEnhancedMonitoringCommand;
2645
2059
  exports.EnableEnhancedMonitoringCommand = EnableEnhancedMonitoringCommand;
2646
2060
  exports.EncryptionType = EncryptionType;
2647
- exports.ExpiredIteratorException = ExpiredIteratorException;
2648
- exports.ExpiredNextTokenException = ExpiredNextTokenException;
2061
+ exports.ExpiredIteratorException = ExpiredIteratorException$1;
2062
+ exports.ExpiredNextTokenException = ExpiredNextTokenException$1;
2649
2063
  exports.GetRecordsCommand = GetRecordsCommand;
2650
2064
  exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
2651
2065
  exports.GetShardIteratorCommand = GetShardIteratorCommand;
2652
2066
  exports.IncreaseStreamRetentionPeriodCommand = IncreaseStreamRetentionPeriodCommand;
2653
- exports.InternalFailureException = InternalFailureException;
2654
- exports.InvalidArgumentException = InvalidArgumentException;
2655
- exports.KMSAccessDeniedException = KMSAccessDeniedException;
2656
- exports.KMSDisabledException = KMSDisabledException;
2657
- exports.KMSInvalidStateException = KMSInvalidStateException;
2658
- exports.KMSNotFoundException = KMSNotFoundException;
2659
- exports.KMSOptInRequired = KMSOptInRequired;
2660
- exports.KMSThrottlingException = KMSThrottlingException;
2067
+ exports.InternalFailureException = InternalFailureException$1;
2068
+ exports.InvalidArgumentException = InvalidArgumentException$1;
2069
+ exports.KMSAccessDeniedException = KMSAccessDeniedException$1;
2070
+ exports.KMSDisabledException = KMSDisabledException$1;
2071
+ exports.KMSInvalidStateException = KMSInvalidStateException$1;
2072
+ exports.KMSNotFoundException = KMSNotFoundException$1;
2073
+ exports.KMSOptInRequired = KMSOptInRequired$1;
2074
+ exports.KMSThrottlingException = KMSThrottlingException$1;
2661
2075
  exports.Kinesis = Kinesis;
2662
2076
  exports.KinesisClient = KinesisClient;
2663
- exports.KinesisServiceException = KinesisServiceException;
2664
- exports.LimitExceededException = LimitExceededException;
2077
+ exports.KinesisServiceException = KinesisServiceException$1;
2078
+ exports.LimitExceededException = LimitExceededException$1;
2665
2079
  exports.ListShardsCommand = ListShardsCommand;
2666
2080
  exports.ListStreamConsumersCommand = ListStreamConsumersCommand;
2667
2081
  exports.ListStreamsCommand = ListStreamsCommand;
@@ -2671,14 +2085,14 @@ exports.MergeShardsCommand = MergeShardsCommand;
2671
2085
  exports.MetricsName = MetricsName;
2672
2086
  exports.MinimumThroughputBillingCommitmentInputStatus = MinimumThroughputBillingCommitmentInputStatus;
2673
2087
  exports.MinimumThroughputBillingCommitmentOutputStatus = MinimumThroughputBillingCommitmentOutputStatus;
2674
- exports.ProvisionedThroughputExceededException = ProvisionedThroughputExceededException;
2088
+ exports.ProvisionedThroughputExceededException = ProvisionedThroughputExceededException$1;
2675
2089
  exports.PutRecordCommand = PutRecordCommand;
2676
2090
  exports.PutRecordsCommand = PutRecordsCommand;
2677
2091
  exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
2678
2092
  exports.RegisterStreamConsumerCommand = RegisterStreamConsumerCommand;
2679
2093
  exports.RemoveTagsFromStreamCommand = RemoveTagsFromStreamCommand;
2680
- exports.ResourceInUseException = ResourceInUseException;
2681
- exports.ResourceNotFoundException = ResourceNotFoundException;
2094
+ exports.ResourceInUseException = ResourceInUseException$1;
2095
+ exports.ResourceNotFoundException = ResourceNotFoundException$1;
2682
2096
  exports.ScalingType = ScalingType;
2683
2097
  exports.ShardFilterType = ShardFilterType;
2684
2098
  exports.ShardIteratorType = ShardIteratorType;
@@ -2688,8 +2102,6 @@ exports.StopStreamEncryptionCommand = StopStreamEncryptionCommand;
2688
2102
  exports.StreamMode = StreamMode;
2689
2103
  exports.StreamStatus = StreamStatus;
2690
2104
  exports.SubscribeToShardCommand = SubscribeToShardCommand;
2691
- exports.SubscribeToShardEventStreamFilterSensitiveLog = SubscribeToShardEventStreamFilterSensitiveLog;
2692
- exports.SubscribeToShardOutputFilterSensitiveLog = SubscribeToShardOutputFilterSensitiveLog;
2693
2105
  exports.TagResourceCommand = TagResourceCommand;
2694
2106
  exports.UntagResourceCommand = UntagResourceCommand;
2695
2107
  exports.UpdateAccountSettingsCommand = UpdateAccountSettingsCommand;
@@ -2697,7 +2109,7 @@ exports.UpdateMaxRecordSizeCommand = UpdateMaxRecordSizeCommand;
2697
2109
  exports.UpdateShardCountCommand = UpdateShardCountCommand;
2698
2110
  exports.UpdateStreamModeCommand = UpdateStreamModeCommand;
2699
2111
  exports.UpdateStreamWarmThroughputCommand = UpdateStreamWarmThroughputCommand;
2700
- exports.ValidationException = ValidationException;
2112
+ exports.ValidationException = ValidationException$1;
2701
2113
  exports.paginateListStreamConsumers = paginateListStreamConsumers;
2702
2114
  exports.paginateListStreams = paginateListStreams;
2703
2115
  exports.waitForStreamExists = waitForStreamExists;