@aws-sdk/client-kinesis 3.1045.0 → 3.1046.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 (160) hide show
  1. package/dist-cjs/auth/httpAuthSchemeProvider.js +4 -4
  2. package/dist-cjs/endpoint/bdd.js +2 -2
  3. package/dist-cjs/endpoint/endpointResolver.js +4 -4
  4. package/dist-cjs/index.js +110 -112
  5. package/dist-cjs/models/KinesisServiceException.js +3 -3
  6. package/dist-cjs/runtimeConfig.browser.js +14 -16
  7. package/dist-cjs/runtimeConfig.js +20 -24
  8. package/dist-cjs/runtimeConfig.shared.js +9 -10
  9. package/dist-es/Kinesis.js +1 -1
  10. package/dist-es/KinesisClient.js +6 -6
  11. package/dist-es/auth/httpAuthSchemeProvider.js +1 -1
  12. package/dist-es/commands/AddTagsToStreamCommand.js +2 -2
  13. package/dist-es/commands/CreateStreamCommand.js +2 -2
  14. package/dist-es/commands/DecreaseStreamRetentionPeriodCommand.js +2 -2
  15. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -2
  16. package/dist-es/commands/DeleteStreamCommand.js +2 -2
  17. package/dist-es/commands/DeregisterStreamConsumerCommand.js +2 -2
  18. package/dist-es/commands/DescribeAccountSettingsCommand.js +2 -2
  19. package/dist-es/commands/DescribeLimitsCommand.js +2 -2
  20. package/dist-es/commands/DescribeStreamCommand.js +2 -2
  21. package/dist-es/commands/DescribeStreamConsumerCommand.js +2 -2
  22. package/dist-es/commands/DescribeStreamSummaryCommand.js +2 -2
  23. package/dist-es/commands/DisableEnhancedMonitoringCommand.js +2 -2
  24. package/dist-es/commands/EnableEnhancedMonitoringCommand.js +2 -2
  25. package/dist-es/commands/GetRecordsCommand.js +2 -2
  26. package/dist-es/commands/GetResourcePolicyCommand.js +2 -2
  27. package/dist-es/commands/GetShardIteratorCommand.js +2 -2
  28. package/dist-es/commands/IncreaseStreamRetentionPeriodCommand.js +2 -2
  29. package/dist-es/commands/ListShardsCommand.js +2 -2
  30. package/dist-es/commands/ListStreamConsumersCommand.js +2 -2
  31. package/dist-es/commands/ListStreamsCommand.js +2 -2
  32. package/dist-es/commands/ListTagsForResourceCommand.js +2 -2
  33. package/dist-es/commands/ListTagsForStreamCommand.js +2 -2
  34. package/dist-es/commands/MergeShardsCommand.js +2 -2
  35. package/dist-es/commands/PutRecordCommand.js +2 -2
  36. package/dist-es/commands/PutRecordsCommand.js +2 -2
  37. package/dist-es/commands/PutResourcePolicyCommand.js +2 -2
  38. package/dist-es/commands/RegisterStreamConsumerCommand.js +2 -2
  39. package/dist-es/commands/RemoveTagsFromStreamCommand.js +2 -2
  40. package/dist-es/commands/SplitShardCommand.js +2 -2
  41. package/dist-es/commands/StartStreamEncryptionCommand.js +2 -2
  42. package/dist-es/commands/StopStreamEncryptionCommand.js +2 -2
  43. package/dist-es/commands/SubscribeToShardCommand.js +2 -2
  44. package/dist-es/commands/TagResourceCommand.js +2 -2
  45. package/dist-es/commands/UntagResourceCommand.js +2 -2
  46. package/dist-es/commands/UpdateAccountSettingsCommand.js +2 -2
  47. package/dist-es/commands/UpdateMaxRecordSizeCommand.js +2 -2
  48. package/dist-es/commands/UpdateShardCountCommand.js +2 -2
  49. package/dist-es/commands/UpdateStreamModeCommand.js +2 -2
  50. package/dist-es/commands/UpdateStreamWarmThroughputCommand.js +2 -2
  51. package/dist-es/endpoint/bdd.js +1 -1
  52. package/dist-es/endpoint/endpointResolver.js +1 -1
  53. package/dist-es/models/KinesisServiceException.js +1 -1
  54. package/dist-es/runtimeConfig.browser.js +5 -7
  55. package/dist-es/runtimeConfig.js +5 -9
  56. package/dist-es/runtimeConfig.shared.js +3 -4
  57. package/dist-es/runtimeExtensions.js +2 -2
  58. package/dist-es/waiters/waitForStreamExists.js +1 -1
  59. package/dist-es/waiters/waitForStreamNotExists.js +1 -1
  60. package/dist-types/Kinesis.d.ts +1 -1
  61. package/dist-types/KinesisClient.d.ts +6 -6
  62. package/dist-types/commands/AddTagsToStreamCommand.d.ts +6 -4
  63. package/dist-types/commands/CreateStreamCommand.d.ts +6 -4
  64. package/dist-types/commands/DecreaseStreamRetentionPeriodCommand.d.ts +6 -4
  65. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +6 -4
  66. package/dist-types/commands/DeleteStreamCommand.d.ts +6 -4
  67. package/dist-types/commands/DeregisterStreamConsumerCommand.d.ts +6 -4
  68. package/dist-types/commands/DescribeAccountSettingsCommand.d.ts +6 -4
  69. package/dist-types/commands/DescribeLimitsCommand.d.ts +6 -4
  70. package/dist-types/commands/DescribeStreamCommand.d.ts +6 -4
  71. package/dist-types/commands/DescribeStreamConsumerCommand.d.ts +6 -4
  72. package/dist-types/commands/DescribeStreamSummaryCommand.d.ts +6 -4
  73. package/dist-types/commands/DisableEnhancedMonitoringCommand.d.ts +6 -4
  74. package/dist-types/commands/EnableEnhancedMonitoringCommand.d.ts +6 -4
  75. package/dist-types/commands/GetRecordsCommand.d.ts +6 -4
  76. package/dist-types/commands/GetResourcePolicyCommand.d.ts +6 -4
  77. package/dist-types/commands/GetShardIteratorCommand.d.ts +6 -4
  78. package/dist-types/commands/IncreaseStreamRetentionPeriodCommand.d.ts +6 -4
  79. package/dist-types/commands/ListShardsCommand.d.ts +6 -4
  80. package/dist-types/commands/ListStreamConsumersCommand.d.ts +6 -4
  81. package/dist-types/commands/ListStreamsCommand.d.ts +6 -4
  82. package/dist-types/commands/ListTagsForResourceCommand.d.ts +6 -4
  83. package/dist-types/commands/ListTagsForStreamCommand.d.ts +6 -4
  84. package/dist-types/commands/MergeShardsCommand.d.ts +6 -4
  85. package/dist-types/commands/PutRecordCommand.d.ts +6 -4
  86. package/dist-types/commands/PutRecordsCommand.d.ts +6 -4
  87. package/dist-types/commands/PutResourcePolicyCommand.d.ts +6 -4
  88. package/dist-types/commands/RegisterStreamConsumerCommand.d.ts +6 -4
  89. package/dist-types/commands/RemoveTagsFromStreamCommand.d.ts +6 -4
  90. package/dist-types/commands/SplitShardCommand.d.ts +6 -4
  91. package/dist-types/commands/StartStreamEncryptionCommand.d.ts +6 -4
  92. package/dist-types/commands/StopStreamEncryptionCommand.d.ts +6 -4
  93. package/dist-types/commands/SubscribeToShardCommand.d.ts +6 -4
  94. package/dist-types/commands/TagResourceCommand.d.ts +6 -4
  95. package/dist-types/commands/UntagResourceCommand.d.ts +6 -4
  96. package/dist-types/commands/UpdateAccountSettingsCommand.d.ts +6 -4
  97. package/dist-types/commands/UpdateMaxRecordSizeCommand.d.ts +6 -4
  98. package/dist-types/commands/UpdateShardCountCommand.d.ts +6 -4
  99. package/dist-types/commands/UpdateStreamModeCommand.d.ts +6 -4
  100. package/dist-types/commands/UpdateStreamWarmThroughputCommand.d.ts +6 -4
  101. package/dist-types/endpoint/bdd.d.ts +1 -1
  102. package/dist-types/extensionConfiguration.d.ts +1 -1
  103. package/dist-types/models/KinesisServiceException.d.ts +1 -1
  104. package/dist-types/models/errors.d.ts +1 -1
  105. package/dist-types/runtimeConfig.browser.d.ts +2 -2
  106. package/dist-types/runtimeConfig.d.ts +2 -2
  107. package/dist-types/runtimeConfig.native.d.ts +2 -2
  108. package/dist-types/ts3.4/Kinesis.d.ts +1 -1
  109. package/dist-types/ts3.4/KinesisClient.d.ts +12 -18
  110. package/dist-types/ts3.4/commands/AddTagsToStreamCommand.d.ts +6 -4
  111. package/dist-types/ts3.4/commands/CreateStreamCommand.d.ts +6 -4
  112. package/dist-types/ts3.4/commands/DecreaseStreamRetentionPeriodCommand.d.ts +6 -4
  113. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +6 -4
  114. package/dist-types/ts3.4/commands/DeleteStreamCommand.d.ts +6 -4
  115. package/dist-types/ts3.4/commands/DeregisterStreamConsumerCommand.d.ts +6 -4
  116. package/dist-types/ts3.4/commands/DescribeAccountSettingsCommand.d.ts +6 -4
  117. package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +6 -4
  118. package/dist-types/ts3.4/commands/DescribeStreamCommand.d.ts +6 -4
  119. package/dist-types/ts3.4/commands/DescribeStreamConsumerCommand.d.ts +6 -4
  120. package/dist-types/ts3.4/commands/DescribeStreamSummaryCommand.d.ts +6 -4
  121. package/dist-types/ts3.4/commands/DisableEnhancedMonitoringCommand.d.ts +6 -4
  122. package/dist-types/ts3.4/commands/EnableEnhancedMonitoringCommand.d.ts +6 -4
  123. package/dist-types/ts3.4/commands/GetRecordsCommand.d.ts +6 -4
  124. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +6 -4
  125. package/dist-types/ts3.4/commands/GetShardIteratorCommand.d.ts +6 -4
  126. package/dist-types/ts3.4/commands/IncreaseStreamRetentionPeriodCommand.d.ts +6 -4
  127. package/dist-types/ts3.4/commands/ListShardsCommand.d.ts +6 -4
  128. package/dist-types/ts3.4/commands/ListStreamConsumersCommand.d.ts +6 -4
  129. package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +6 -4
  130. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +6 -4
  131. package/dist-types/ts3.4/commands/ListTagsForStreamCommand.d.ts +6 -4
  132. package/dist-types/ts3.4/commands/MergeShardsCommand.d.ts +6 -4
  133. package/dist-types/ts3.4/commands/PutRecordCommand.d.ts +6 -8
  134. package/dist-types/ts3.4/commands/PutRecordsCommand.d.ts +6 -4
  135. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +6 -4
  136. package/dist-types/ts3.4/commands/RegisterStreamConsumerCommand.d.ts +6 -4
  137. package/dist-types/ts3.4/commands/RemoveTagsFromStreamCommand.d.ts +6 -4
  138. package/dist-types/ts3.4/commands/SplitShardCommand.d.ts +6 -4
  139. package/dist-types/ts3.4/commands/StartStreamEncryptionCommand.d.ts +6 -4
  140. package/dist-types/ts3.4/commands/StopStreamEncryptionCommand.d.ts +6 -4
  141. package/dist-types/ts3.4/commands/SubscribeToShardCommand.d.ts +6 -4
  142. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +6 -4
  143. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +6 -4
  144. package/dist-types/ts3.4/commands/UpdateAccountSettingsCommand.d.ts +6 -4
  145. package/dist-types/ts3.4/commands/UpdateMaxRecordSizeCommand.d.ts +6 -4
  146. package/dist-types/ts3.4/commands/UpdateShardCountCommand.d.ts +6 -4
  147. package/dist-types/ts3.4/commands/UpdateStreamModeCommand.d.ts +6 -4
  148. package/dist-types/ts3.4/commands/UpdateStreamWarmThroughputCommand.d.ts +6 -4
  149. package/dist-types/ts3.4/endpoint/bdd.d.ts +1 -1
  150. package/dist-types/ts3.4/extensionConfiguration.d.ts +1 -1
  151. package/dist-types/ts3.4/models/KinesisServiceException.d.ts +1 -1
  152. package/dist-types/ts3.4/models/errors.d.ts +1 -1
  153. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -2
  154. package/dist-types/ts3.4/runtimeConfig.d.ts +2 -2
  155. package/dist-types/ts3.4/runtimeConfig.native.d.ts +3 -3
  156. package/dist-types/ts3.4/waiters/waitForStreamExists.d.ts +1 -1
  157. package/dist-types/ts3.4/waiters/waitForStreamNotExists.d.ts +1 -1
  158. package/dist-types/waiters/waitForStreamExists.d.ts +1 -1
  159. package/dist-types/waiters/waitForStreamNotExists.d.ts +1 -1
  160. package/package.json +14 -39
package/dist-cjs/index.js CHANGED
@@ -4,20 +4,18 @@ var middlewareHostHeader = require('@aws-sdk/middleware-host-header');
4
4
  var middlewareLogger = require('@aws-sdk/middleware-logger');
5
5
  var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detection');
6
6
  var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
7
- var configResolver = require('@smithy/config-resolver');
8
7
  var core = require('@smithy/core');
8
+ var client = require('@smithy/core/client');
9
+ var config = require('@smithy/core/config');
10
+ var endpoints = require('@smithy/core/endpoints');
11
+ var eventStreams = require('@smithy/core/event-streams');
12
+ var protocols = require('@smithy/core/protocols');
13
+ var retry = require('@smithy/core/retry');
9
14
  var schema = require('@smithy/core/schema');
10
- var eventstreamSerdeConfigResolver = require('@smithy/eventstream-serde-config-resolver');
11
- var middlewareContentLength = require('@smithy/middleware-content-length');
12
- var middlewareEndpoint = require('@smithy/middleware-endpoint');
13
- var middlewareRetry = require('@smithy/middleware-retry');
14
- var smithyClient = require('@smithy/smithy-client');
15
15
  var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
16
16
  var runtimeConfig = require('./runtimeConfig');
17
17
  var regionConfigResolver = require('@aws-sdk/region-config-resolver');
18
- var protocolHttp = require('@smithy/protocol-http');
19
18
  var schemas_0 = require('./schemas/schemas_0');
20
- var utilWaiter = require('@smithy/util-waiter');
21
19
  var errors = require('./models/errors');
22
20
  var KinesisServiceException = require('./models/KinesisServiceException');
23
21
 
@@ -75,12 +73,12 @@ const resolveHttpAuthRuntimeConfig = (config) => {
75
73
  };
76
74
 
77
75
  const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
78
- const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), smithyClient.getDefaultExtensionConfiguration(runtimeConfig), protocolHttp.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
76
+ const extensionConfiguration = Object.assign(regionConfigResolver.getAwsRegionExtensionConfiguration(runtimeConfig), client.getDefaultExtensionConfiguration(runtimeConfig), protocols.getHttpHandlerExtensionConfiguration(runtimeConfig), getHttpAuthExtensionConfiguration(runtimeConfig));
79
77
  extensions.forEach((extension) => extension.configure(extensionConfiguration));
80
- return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), smithyClient.resolveDefaultRuntimeConfig(extensionConfiguration), protocolHttp.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
78
+ return Object.assign(runtimeConfig, regionConfigResolver.resolveAwsRegionExtensionConfiguration(extensionConfiguration), client.resolveDefaultRuntimeConfig(extensionConfiguration), protocols.resolveHttpHandlerRuntimeConfig(extensionConfiguration), resolveHttpAuthRuntimeConfig(extensionConfiguration));
81
79
  };
82
80
 
83
- class KinesisClient extends smithyClient.Client {
81
+ class KinesisClient extends client.Client {
84
82
  config;
85
83
  constructor(...[configuration]) {
86
84
  const _config_0 = runtimeConfig.getRuntimeConfig(configuration || {});
@@ -88,18 +86,18 @@ class KinesisClient extends smithyClient.Client {
88
86
  this.initConfig = _config_0;
89
87
  const _config_1 = resolveClientEndpointParameters(_config_0);
90
88
  const _config_2 = middlewareUserAgent.resolveUserAgentConfig(_config_1);
91
- const _config_3 = middlewareRetry.resolveRetryConfig(_config_2);
92
- const _config_4 = configResolver.resolveRegionConfig(_config_3);
89
+ const _config_3 = retry.resolveRetryConfig(_config_2);
90
+ const _config_4 = config.resolveRegionConfig(_config_3);
93
91
  const _config_5 = middlewareHostHeader.resolveHostHeaderConfig(_config_4);
94
- const _config_6 = middlewareEndpoint.resolveEndpointConfig(_config_5);
95
- const _config_7 = eventstreamSerdeConfigResolver.resolveEventStreamSerdeConfig(_config_6);
92
+ const _config_6 = endpoints.resolveEndpointConfig(_config_5);
93
+ const _config_7 = eventStreams.resolveEventStreamSerdeConfig(_config_6);
96
94
  const _config_8 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_7);
97
95
  const _config_9 = resolveRuntimeExtensions(_config_8, configuration?.extensions || []);
98
96
  this.config = _config_9;
99
97
  this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
100
98
  this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
101
- this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
102
- this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
99
+ this.middlewareStack.use(retry.getRetryPlugin(this.config));
100
+ this.middlewareStack.use(protocols.getContentLengthPlugin(this.config));
103
101
  this.middlewareStack.use(middlewareHostHeader.getHostHeaderPlugin(this.config));
104
102
  this.middlewareStack.use(middlewareLogger.getLoggerPlugin(this.config));
105
103
  this.middlewareStack.use(middlewareRecursionDetection.getRecursionDetectionPlugin(this.config));
@@ -116,7 +114,7 @@ class KinesisClient extends smithyClient.Client {
116
114
  }
117
115
  }
118
116
 
119
- class AddTagsToStreamCommand extends smithyClient.Command
117
+ class AddTagsToStreamCommand extends client.Command
120
118
  .classBuilder()
121
119
  .ep({
122
120
  ...commonParams,
@@ -125,7 +123,7 @@ class AddTagsToStreamCommand extends smithyClient.Command
125
123
  StreamARN: { type: "contextParams", name: "StreamARN" },
126
124
  })
127
125
  .m(function (Command, cs, config, o) {
128
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
126
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
129
127
  })
130
128
  .s("Kinesis_20131202", "AddTagsToStream", {})
131
129
  .n("KinesisClient", "AddTagsToStreamCommand")
@@ -133,11 +131,11 @@ class AddTagsToStreamCommand extends smithyClient.Command
133
131
  .build() {
134
132
  }
135
133
 
136
- class CreateStreamCommand extends smithyClient.Command
134
+ class CreateStreamCommand extends client.Command
137
135
  .classBuilder()
138
136
  .ep(commonParams)
139
137
  .m(function (Command, cs, config, o) {
140
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
138
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
141
139
  })
142
140
  .s("Kinesis_20131202", "CreateStream", {})
143
141
  .n("KinesisClient", "CreateStreamCommand")
@@ -145,7 +143,7 @@ class CreateStreamCommand extends smithyClient.Command
145
143
  .build() {
146
144
  }
147
145
 
148
- class DecreaseStreamRetentionPeriodCommand extends smithyClient.Command
146
+ class DecreaseStreamRetentionPeriodCommand extends client.Command
149
147
  .classBuilder()
150
148
  .ep({
151
149
  ...commonParams,
@@ -154,7 +152,7 @@ class DecreaseStreamRetentionPeriodCommand extends smithyClient.Command
154
152
  StreamARN: { type: "contextParams", name: "StreamARN" },
155
153
  })
156
154
  .m(function (Command, cs, config, o) {
157
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
155
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
158
156
  })
159
157
  .s("Kinesis_20131202", "DecreaseStreamRetentionPeriod", {})
160
158
  .n("KinesisClient", "DecreaseStreamRetentionPeriodCommand")
@@ -162,7 +160,7 @@ class DecreaseStreamRetentionPeriodCommand extends smithyClient.Command
162
160
  .build() {
163
161
  }
164
162
 
165
- class DeleteResourcePolicyCommand extends smithyClient.Command
163
+ class DeleteResourcePolicyCommand extends client.Command
166
164
  .classBuilder()
167
165
  .ep({
168
166
  ...commonParams,
@@ -171,7 +169,7 @@ class DeleteResourcePolicyCommand extends smithyClient.Command
171
169
  StreamId: { type: "contextParams", name: "StreamId" },
172
170
  })
173
171
  .m(function (Command, cs, config, o) {
174
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
172
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
175
173
  })
176
174
  .s("Kinesis_20131202", "DeleteResourcePolicy", {})
177
175
  .n("KinesisClient", "DeleteResourcePolicyCommand")
@@ -179,7 +177,7 @@ class DeleteResourcePolicyCommand extends smithyClient.Command
179
177
  .build() {
180
178
  }
181
179
 
182
- class DeleteStreamCommand extends smithyClient.Command
180
+ class DeleteStreamCommand extends client.Command
183
181
  .classBuilder()
184
182
  .ep({
185
183
  ...commonParams,
@@ -188,7 +186,7 @@ class DeleteStreamCommand extends smithyClient.Command
188
186
  StreamARN: { type: "contextParams", name: "StreamARN" },
189
187
  })
190
188
  .m(function (Command, cs, config, o) {
191
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
189
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
192
190
  })
193
191
  .s("Kinesis_20131202", "DeleteStream", {})
194
192
  .n("KinesisClient", "DeleteStreamCommand")
@@ -196,7 +194,7 @@ class DeleteStreamCommand extends smithyClient.Command
196
194
  .build() {
197
195
  }
198
196
 
199
- class DeregisterStreamConsumerCommand extends smithyClient.Command
197
+ class DeregisterStreamConsumerCommand extends client.Command
200
198
  .classBuilder()
201
199
  .ep({
202
200
  ...commonParams,
@@ -206,7 +204,7 @@ class DeregisterStreamConsumerCommand extends smithyClient.Command
206
204
  StreamARN: { type: "contextParams", name: "StreamARN" },
207
205
  })
208
206
  .m(function (Command, cs, config, o) {
209
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
207
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
210
208
  })
211
209
  .s("Kinesis_20131202", "DeregisterStreamConsumer", {})
212
210
  .n("KinesisClient", "DeregisterStreamConsumerCommand")
@@ -214,11 +212,11 @@ class DeregisterStreamConsumerCommand extends smithyClient.Command
214
212
  .build() {
215
213
  }
216
214
 
217
- class DescribeAccountSettingsCommand extends smithyClient.Command
215
+ class DescribeAccountSettingsCommand extends client.Command
218
216
  .classBuilder()
219
217
  .ep(commonParams)
220
218
  .m(function (Command, cs, config, o) {
221
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
219
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
222
220
  })
223
221
  .s("Kinesis_20131202", "DescribeAccountSettings", {})
224
222
  .n("KinesisClient", "DescribeAccountSettingsCommand")
@@ -226,11 +224,11 @@ class DescribeAccountSettingsCommand extends smithyClient.Command
226
224
  .build() {
227
225
  }
228
226
 
229
- class DescribeLimitsCommand extends smithyClient.Command
227
+ class DescribeLimitsCommand extends client.Command
230
228
  .classBuilder()
231
229
  .ep(commonParams)
232
230
  .m(function (Command, cs, config, o) {
233
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
231
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
234
232
  })
235
233
  .s("Kinesis_20131202", "DescribeLimits", {})
236
234
  .n("KinesisClient", "DescribeLimitsCommand")
@@ -238,7 +236,7 @@ class DescribeLimitsCommand extends smithyClient.Command
238
236
  .build() {
239
237
  }
240
238
 
241
- class DescribeStreamCommand extends smithyClient.Command
239
+ class DescribeStreamCommand extends client.Command
242
240
  .classBuilder()
243
241
  .ep({
244
242
  ...commonParams,
@@ -247,7 +245,7 @@ class DescribeStreamCommand extends smithyClient.Command
247
245
  StreamARN: { type: "contextParams", name: "StreamARN" },
248
246
  })
249
247
  .m(function (Command, cs, config, o) {
250
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
248
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
251
249
  })
252
250
  .s("Kinesis_20131202", "DescribeStream", {})
253
251
  .n("KinesisClient", "DescribeStreamCommand")
@@ -255,7 +253,7 @@ class DescribeStreamCommand extends smithyClient.Command
255
253
  .build() {
256
254
  }
257
255
 
258
- class DescribeStreamConsumerCommand extends smithyClient.Command
256
+ class DescribeStreamConsumerCommand extends client.Command
259
257
  .classBuilder()
260
258
  .ep({
261
259
  ...commonParams,
@@ -265,7 +263,7 @@ class DescribeStreamConsumerCommand extends smithyClient.Command
265
263
  StreamARN: { type: "contextParams", name: "StreamARN" },
266
264
  })
267
265
  .m(function (Command, cs, config, o) {
268
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
266
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
269
267
  })
270
268
  .s("Kinesis_20131202", "DescribeStreamConsumer", {})
271
269
  .n("KinesisClient", "DescribeStreamConsumerCommand")
@@ -273,7 +271,7 @@ class DescribeStreamConsumerCommand extends smithyClient.Command
273
271
  .build() {
274
272
  }
275
273
 
276
- class DescribeStreamSummaryCommand extends smithyClient.Command
274
+ class DescribeStreamSummaryCommand extends client.Command
277
275
  .classBuilder()
278
276
  .ep({
279
277
  ...commonParams,
@@ -282,7 +280,7 @@ class DescribeStreamSummaryCommand extends smithyClient.Command
282
280
  StreamARN: { type: "contextParams", name: "StreamARN" },
283
281
  })
284
282
  .m(function (Command, cs, config, o) {
285
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
283
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
286
284
  })
287
285
  .s("Kinesis_20131202", "DescribeStreamSummary", {})
288
286
  .n("KinesisClient", "DescribeStreamSummaryCommand")
@@ -290,7 +288,7 @@ class DescribeStreamSummaryCommand extends smithyClient.Command
290
288
  .build() {
291
289
  }
292
290
 
293
- class DisableEnhancedMonitoringCommand extends smithyClient.Command
291
+ class DisableEnhancedMonitoringCommand extends client.Command
294
292
  .classBuilder()
295
293
  .ep({
296
294
  ...commonParams,
@@ -299,7 +297,7 @@ class DisableEnhancedMonitoringCommand extends smithyClient.Command
299
297
  StreamARN: { type: "contextParams", name: "StreamARN" },
300
298
  })
301
299
  .m(function (Command, cs, config, o) {
302
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
300
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
303
301
  })
304
302
  .s("Kinesis_20131202", "DisableEnhancedMonitoring", {})
305
303
  .n("KinesisClient", "DisableEnhancedMonitoringCommand")
@@ -307,7 +305,7 @@ class DisableEnhancedMonitoringCommand extends smithyClient.Command
307
305
  .build() {
308
306
  }
309
307
 
310
- class EnableEnhancedMonitoringCommand extends smithyClient.Command
308
+ class EnableEnhancedMonitoringCommand extends client.Command
311
309
  .classBuilder()
312
310
  .ep({
313
311
  ...commonParams,
@@ -316,7 +314,7 @@ class EnableEnhancedMonitoringCommand extends smithyClient.Command
316
314
  StreamARN: { type: "contextParams", name: "StreamARN" },
317
315
  })
318
316
  .m(function (Command, cs, config, o) {
319
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
317
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
320
318
  })
321
319
  .s("Kinesis_20131202", "EnableEnhancedMonitoring", {})
322
320
  .n("KinesisClient", "EnableEnhancedMonitoringCommand")
@@ -324,7 +322,7 @@ class EnableEnhancedMonitoringCommand extends smithyClient.Command
324
322
  .build() {
325
323
  }
326
324
 
327
- class GetRecordsCommand extends smithyClient.Command
325
+ class GetRecordsCommand extends client.Command
328
326
  .classBuilder()
329
327
  .ep({
330
328
  ...commonParams,
@@ -333,7 +331,7 @@ class GetRecordsCommand extends smithyClient.Command
333
331
  StreamARN: { type: "contextParams", name: "StreamARN" },
334
332
  })
335
333
  .m(function (Command, cs, config, o) {
336
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
334
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
337
335
  })
338
336
  .s("Kinesis_20131202", "GetRecords", {})
339
337
  .n("KinesisClient", "GetRecordsCommand")
@@ -341,7 +339,7 @@ class GetRecordsCommand extends smithyClient.Command
341
339
  .build() {
342
340
  }
343
341
 
344
- class GetResourcePolicyCommand extends smithyClient.Command
342
+ class GetResourcePolicyCommand extends client.Command
345
343
  .classBuilder()
346
344
  .ep({
347
345
  ...commonParams,
@@ -350,7 +348,7 @@ class GetResourcePolicyCommand extends smithyClient.Command
350
348
  StreamId: { type: "contextParams", name: "StreamId" },
351
349
  })
352
350
  .m(function (Command, cs, config, o) {
353
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
351
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
354
352
  })
355
353
  .s("Kinesis_20131202", "GetResourcePolicy", {})
356
354
  .n("KinesisClient", "GetResourcePolicyCommand")
@@ -358,7 +356,7 @@ class GetResourcePolicyCommand extends smithyClient.Command
358
356
  .build() {
359
357
  }
360
358
 
361
- class GetShardIteratorCommand extends smithyClient.Command
359
+ class GetShardIteratorCommand extends client.Command
362
360
  .classBuilder()
363
361
  .ep({
364
362
  ...commonParams,
@@ -367,7 +365,7 @@ class GetShardIteratorCommand extends smithyClient.Command
367
365
  StreamARN: { type: "contextParams", name: "StreamARN" },
368
366
  })
369
367
  .m(function (Command, cs, config, o) {
370
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
368
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
371
369
  })
372
370
  .s("Kinesis_20131202", "GetShardIterator", {})
373
371
  .n("KinesisClient", "GetShardIteratorCommand")
@@ -375,7 +373,7 @@ class GetShardIteratorCommand extends smithyClient.Command
375
373
  .build() {
376
374
  }
377
375
 
378
- class IncreaseStreamRetentionPeriodCommand extends smithyClient.Command
376
+ class IncreaseStreamRetentionPeriodCommand extends client.Command
379
377
  .classBuilder()
380
378
  .ep({
381
379
  ...commonParams,
@@ -384,7 +382,7 @@ class IncreaseStreamRetentionPeriodCommand extends smithyClient.Command
384
382
  StreamARN: { type: "contextParams", name: "StreamARN" },
385
383
  })
386
384
  .m(function (Command, cs, config, o) {
387
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
385
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
388
386
  })
389
387
  .s("Kinesis_20131202", "IncreaseStreamRetentionPeriod", {})
390
388
  .n("KinesisClient", "IncreaseStreamRetentionPeriodCommand")
@@ -392,7 +390,7 @@ class IncreaseStreamRetentionPeriodCommand extends smithyClient.Command
392
390
  .build() {
393
391
  }
394
392
 
395
- class ListShardsCommand extends smithyClient.Command
393
+ class ListShardsCommand extends client.Command
396
394
  .classBuilder()
397
395
  .ep({
398
396
  ...commonParams,
@@ -401,7 +399,7 @@ class ListShardsCommand extends smithyClient.Command
401
399
  StreamARN: { type: "contextParams", name: "StreamARN" },
402
400
  })
403
401
  .m(function (Command, cs, config, o) {
404
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
402
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
405
403
  })
406
404
  .s("Kinesis_20131202", "ListShards", {})
407
405
  .n("KinesisClient", "ListShardsCommand")
@@ -409,7 +407,7 @@ class ListShardsCommand extends smithyClient.Command
409
407
  .build() {
410
408
  }
411
409
 
412
- class ListStreamConsumersCommand extends smithyClient.Command
410
+ class ListStreamConsumersCommand extends client.Command
413
411
  .classBuilder()
414
412
  .ep({
415
413
  ...commonParams,
@@ -418,7 +416,7 @@ class ListStreamConsumersCommand extends smithyClient.Command
418
416
  StreamARN: { type: "contextParams", name: "StreamARN" },
419
417
  })
420
418
  .m(function (Command, cs, config, o) {
421
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
419
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
422
420
  })
423
421
  .s("Kinesis_20131202", "ListStreamConsumers", {})
424
422
  .n("KinesisClient", "ListStreamConsumersCommand")
@@ -426,11 +424,11 @@ class ListStreamConsumersCommand extends smithyClient.Command
426
424
  .build() {
427
425
  }
428
426
 
429
- class ListStreamsCommand extends smithyClient.Command
427
+ class ListStreamsCommand extends client.Command
430
428
  .classBuilder()
431
429
  .ep(commonParams)
432
430
  .m(function (Command, cs, config, o) {
433
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
431
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
434
432
  })
435
433
  .s("Kinesis_20131202", "ListStreams", {})
436
434
  .n("KinesisClient", "ListStreamsCommand")
@@ -438,7 +436,7 @@ class ListStreamsCommand extends smithyClient.Command
438
436
  .build() {
439
437
  }
440
438
 
441
- class ListTagsForResourceCommand extends smithyClient.Command
439
+ class ListTagsForResourceCommand extends client.Command
442
440
  .classBuilder()
443
441
  .ep({
444
442
  ...commonParams,
@@ -447,7 +445,7 @@ class ListTagsForResourceCommand extends smithyClient.Command
447
445
  StreamId: { type: "contextParams", name: "StreamId" },
448
446
  })
449
447
  .m(function (Command, cs, config, o) {
450
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
448
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
451
449
  })
452
450
  .s("Kinesis_20131202", "ListTagsForResource", {})
453
451
  .n("KinesisClient", "ListTagsForResourceCommand")
@@ -455,7 +453,7 @@ class ListTagsForResourceCommand extends smithyClient.Command
455
453
  .build() {
456
454
  }
457
455
 
458
- class ListTagsForStreamCommand extends smithyClient.Command
456
+ class ListTagsForStreamCommand extends client.Command
459
457
  .classBuilder()
460
458
  .ep({
461
459
  ...commonParams,
@@ -464,7 +462,7 @@ class ListTagsForStreamCommand extends smithyClient.Command
464
462
  StreamARN: { type: "contextParams", name: "StreamARN" },
465
463
  })
466
464
  .m(function (Command, cs, config, o) {
467
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
465
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
468
466
  })
469
467
  .s("Kinesis_20131202", "ListTagsForStream", {})
470
468
  .n("KinesisClient", "ListTagsForStreamCommand")
@@ -472,7 +470,7 @@ class ListTagsForStreamCommand extends smithyClient.Command
472
470
  .build() {
473
471
  }
474
472
 
475
- class MergeShardsCommand extends smithyClient.Command
473
+ class MergeShardsCommand extends client.Command
476
474
  .classBuilder()
477
475
  .ep({
478
476
  ...commonParams,
@@ -481,7 +479,7 @@ class MergeShardsCommand extends smithyClient.Command
481
479
  StreamARN: { type: "contextParams", name: "StreamARN" },
482
480
  })
483
481
  .m(function (Command, cs, config, o) {
484
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
482
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
485
483
  })
486
484
  .s("Kinesis_20131202", "MergeShards", {})
487
485
  .n("KinesisClient", "MergeShardsCommand")
@@ -489,7 +487,7 @@ class MergeShardsCommand extends smithyClient.Command
489
487
  .build() {
490
488
  }
491
489
 
492
- class PutRecordCommand extends smithyClient.Command
490
+ class PutRecordCommand extends client.Command
493
491
  .classBuilder()
494
492
  .ep({
495
493
  ...commonParams,
@@ -498,7 +496,7 @@ class PutRecordCommand extends smithyClient.Command
498
496
  StreamARN: { type: "contextParams", name: "StreamARN" },
499
497
  })
500
498
  .m(function (Command, cs, config, o) {
501
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
499
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
502
500
  })
503
501
  .s("Kinesis_20131202", "PutRecord", {})
504
502
  .n("KinesisClient", "PutRecordCommand")
@@ -506,7 +504,7 @@ class PutRecordCommand extends smithyClient.Command
506
504
  .build() {
507
505
  }
508
506
 
509
- class PutRecordsCommand extends smithyClient.Command
507
+ class PutRecordsCommand extends client.Command
510
508
  .classBuilder()
511
509
  .ep({
512
510
  ...commonParams,
@@ -515,7 +513,7 @@ class PutRecordsCommand extends smithyClient.Command
515
513
  StreamARN: { type: "contextParams", name: "StreamARN" },
516
514
  })
517
515
  .m(function (Command, cs, config, o) {
518
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
516
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
519
517
  })
520
518
  .s("Kinesis_20131202", "PutRecords", {})
521
519
  .n("KinesisClient", "PutRecordsCommand")
@@ -523,7 +521,7 @@ class PutRecordsCommand extends smithyClient.Command
523
521
  .build() {
524
522
  }
525
523
 
526
- class PutResourcePolicyCommand extends smithyClient.Command
524
+ class PutResourcePolicyCommand extends client.Command
527
525
  .classBuilder()
528
526
  .ep({
529
527
  ...commonParams,
@@ -532,7 +530,7 @@ class PutResourcePolicyCommand extends smithyClient.Command
532
530
  StreamId: { type: "contextParams", name: "StreamId" },
533
531
  })
534
532
  .m(function (Command, cs, config, o) {
535
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
533
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
536
534
  })
537
535
  .s("Kinesis_20131202", "PutResourcePolicy", {})
538
536
  .n("KinesisClient", "PutResourcePolicyCommand")
@@ -540,7 +538,7 @@ class PutResourcePolicyCommand extends smithyClient.Command
540
538
  .build() {
541
539
  }
542
540
 
543
- class RegisterStreamConsumerCommand extends smithyClient.Command
541
+ class RegisterStreamConsumerCommand extends client.Command
544
542
  .classBuilder()
545
543
  .ep({
546
544
  ...commonParams,
@@ -549,7 +547,7 @@ class RegisterStreamConsumerCommand extends smithyClient.Command
549
547
  StreamARN: { type: "contextParams", name: "StreamARN" },
550
548
  })
551
549
  .m(function (Command, cs, config, o) {
552
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
550
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
553
551
  })
554
552
  .s("Kinesis_20131202", "RegisterStreamConsumer", {})
555
553
  .n("KinesisClient", "RegisterStreamConsumerCommand")
@@ -557,7 +555,7 @@ class RegisterStreamConsumerCommand extends smithyClient.Command
557
555
  .build() {
558
556
  }
559
557
 
560
- class RemoveTagsFromStreamCommand extends smithyClient.Command
558
+ class RemoveTagsFromStreamCommand extends client.Command
561
559
  .classBuilder()
562
560
  .ep({
563
561
  ...commonParams,
@@ -566,7 +564,7 @@ class RemoveTagsFromStreamCommand extends smithyClient.Command
566
564
  StreamARN: { type: "contextParams", name: "StreamARN" },
567
565
  })
568
566
  .m(function (Command, cs, config, o) {
569
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
567
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
570
568
  })
571
569
  .s("Kinesis_20131202", "RemoveTagsFromStream", {})
572
570
  .n("KinesisClient", "RemoveTagsFromStreamCommand")
@@ -574,7 +572,7 @@ class RemoveTagsFromStreamCommand extends smithyClient.Command
574
572
  .build() {
575
573
  }
576
574
 
577
- class SplitShardCommand extends smithyClient.Command
575
+ class SplitShardCommand extends client.Command
578
576
  .classBuilder()
579
577
  .ep({
580
578
  ...commonParams,
@@ -583,7 +581,7 @@ class SplitShardCommand extends smithyClient.Command
583
581
  StreamARN: { type: "contextParams", name: "StreamARN" },
584
582
  })
585
583
  .m(function (Command, cs, config, o) {
586
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
584
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
587
585
  })
588
586
  .s("Kinesis_20131202", "SplitShard", {})
589
587
  .n("KinesisClient", "SplitShardCommand")
@@ -591,7 +589,7 @@ class SplitShardCommand extends smithyClient.Command
591
589
  .build() {
592
590
  }
593
591
 
594
- class StartStreamEncryptionCommand extends smithyClient.Command
592
+ class StartStreamEncryptionCommand extends client.Command
595
593
  .classBuilder()
596
594
  .ep({
597
595
  ...commonParams,
@@ -600,7 +598,7 @@ class StartStreamEncryptionCommand extends smithyClient.Command
600
598
  StreamARN: { type: "contextParams", name: "StreamARN" },
601
599
  })
602
600
  .m(function (Command, cs, config, o) {
603
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
601
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
604
602
  })
605
603
  .s("Kinesis_20131202", "StartStreamEncryption", {})
606
604
  .n("KinesisClient", "StartStreamEncryptionCommand")
@@ -608,7 +606,7 @@ class StartStreamEncryptionCommand extends smithyClient.Command
608
606
  .build() {
609
607
  }
610
608
 
611
- class StopStreamEncryptionCommand extends smithyClient.Command
609
+ class StopStreamEncryptionCommand extends client.Command
612
610
  .classBuilder()
613
611
  .ep({
614
612
  ...commonParams,
@@ -617,7 +615,7 @@ class StopStreamEncryptionCommand extends smithyClient.Command
617
615
  StreamARN: { type: "contextParams", name: "StreamARN" },
618
616
  })
619
617
  .m(function (Command, cs, config, o) {
620
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
618
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
621
619
  })
622
620
  .s("Kinesis_20131202", "StopStreamEncryption", {})
623
621
  .n("KinesisClient", "StopStreamEncryptionCommand")
@@ -625,7 +623,7 @@ class StopStreamEncryptionCommand extends smithyClient.Command
625
623
  .build() {
626
624
  }
627
625
 
628
- class SubscribeToShardCommand extends smithyClient.Command
626
+ class SubscribeToShardCommand extends client.Command
629
627
  .classBuilder()
630
628
  .ep({
631
629
  ...commonParams,
@@ -634,7 +632,7 @@ class SubscribeToShardCommand extends smithyClient.Command
634
632
  ConsumerARN: { type: "contextParams", name: "ConsumerARN" },
635
633
  })
636
634
  .m(function (Command, cs, config, o) {
637
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
635
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
638
636
  })
639
637
  .s("Kinesis_20131202", "SubscribeToShard", {
640
638
  eventStream: {
@@ -646,7 +644,7 @@ class SubscribeToShardCommand extends smithyClient.Command
646
644
  .build() {
647
645
  }
648
646
 
649
- class TagResourceCommand extends smithyClient.Command
647
+ class TagResourceCommand extends client.Command
650
648
  .classBuilder()
651
649
  .ep({
652
650
  ...commonParams,
@@ -655,7 +653,7 @@ class TagResourceCommand extends smithyClient.Command
655
653
  StreamId: { type: "contextParams", name: "StreamId" },
656
654
  })
657
655
  .m(function (Command, cs, config, o) {
658
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
656
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
659
657
  })
660
658
  .s("Kinesis_20131202", "TagResource", {})
661
659
  .n("KinesisClient", "TagResourceCommand")
@@ -663,7 +661,7 @@ class TagResourceCommand extends smithyClient.Command
663
661
  .build() {
664
662
  }
665
663
 
666
- class UntagResourceCommand extends smithyClient.Command
664
+ class UntagResourceCommand extends client.Command
667
665
  .classBuilder()
668
666
  .ep({
669
667
  ...commonParams,
@@ -672,7 +670,7 @@ class UntagResourceCommand extends smithyClient.Command
672
670
  StreamId: { type: "contextParams", name: "StreamId" },
673
671
  })
674
672
  .m(function (Command, cs, config, o) {
675
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
673
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
676
674
  })
677
675
  .s("Kinesis_20131202", "UntagResource", {})
678
676
  .n("KinesisClient", "UntagResourceCommand")
@@ -680,11 +678,11 @@ class UntagResourceCommand extends smithyClient.Command
680
678
  .build() {
681
679
  }
682
680
 
683
- class UpdateAccountSettingsCommand extends smithyClient.Command
681
+ class UpdateAccountSettingsCommand extends client.Command
684
682
  .classBuilder()
685
683
  .ep(commonParams)
686
684
  .m(function (Command, cs, config, o) {
687
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
685
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
688
686
  })
689
687
  .s("Kinesis_20131202", "UpdateAccountSettings", {})
690
688
  .n("KinesisClient", "UpdateAccountSettingsCommand")
@@ -692,7 +690,7 @@ class UpdateAccountSettingsCommand extends smithyClient.Command
692
690
  .build() {
693
691
  }
694
692
 
695
- class UpdateMaxRecordSizeCommand extends smithyClient.Command
693
+ class UpdateMaxRecordSizeCommand extends client.Command
696
694
  .classBuilder()
697
695
  .ep({
698
696
  ...commonParams,
@@ -701,7 +699,7 @@ class UpdateMaxRecordSizeCommand extends smithyClient.Command
701
699
  StreamARN: { type: "contextParams", name: "StreamARN" },
702
700
  })
703
701
  .m(function (Command, cs, config, o) {
704
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
702
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
705
703
  })
706
704
  .s("Kinesis_20131202", "UpdateMaxRecordSize", {})
707
705
  .n("KinesisClient", "UpdateMaxRecordSizeCommand")
@@ -709,7 +707,7 @@ class UpdateMaxRecordSizeCommand extends smithyClient.Command
709
707
  .build() {
710
708
  }
711
709
 
712
- class UpdateShardCountCommand extends smithyClient.Command
710
+ class UpdateShardCountCommand extends client.Command
713
711
  .classBuilder()
714
712
  .ep({
715
713
  ...commonParams,
@@ -718,7 +716,7 @@ class UpdateShardCountCommand extends smithyClient.Command
718
716
  StreamARN: { type: "contextParams", name: "StreamARN" },
719
717
  })
720
718
  .m(function (Command, cs, config, o) {
721
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
719
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
722
720
  })
723
721
  .s("Kinesis_20131202", "UpdateShardCount", {})
724
722
  .n("KinesisClient", "UpdateShardCountCommand")
@@ -726,7 +724,7 @@ class UpdateShardCountCommand extends smithyClient.Command
726
724
  .build() {
727
725
  }
728
726
 
729
- class UpdateStreamModeCommand extends smithyClient.Command
727
+ class UpdateStreamModeCommand extends client.Command
730
728
  .classBuilder()
731
729
  .ep({
732
730
  ...commonParams,
@@ -735,7 +733,7 @@ class UpdateStreamModeCommand extends smithyClient.Command
735
733
  StreamARN: { type: "contextParams", name: "StreamARN" },
736
734
  })
737
735
  .m(function (Command, cs, config, o) {
738
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
736
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
739
737
  })
740
738
  .s("Kinesis_20131202", "UpdateStreamMode", {})
741
739
  .n("KinesisClient", "UpdateStreamModeCommand")
@@ -743,7 +741,7 @@ class UpdateStreamModeCommand extends smithyClient.Command
743
741
  .build() {
744
742
  }
745
743
 
746
- class UpdateStreamWarmThroughputCommand extends smithyClient.Command
744
+ class UpdateStreamWarmThroughputCommand extends client.Command
747
745
  .classBuilder()
748
746
  .ep({
749
747
  ...commonParams,
@@ -752,7 +750,7 @@ class UpdateStreamWarmThroughputCommand extends smithyClient.Command
752
750
  StreamARN: { type: "contextParams", name: "StreamARN" },
753
751
  })
754
752
  .m(function (Command, cs, config, o) {
755
- return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
753
+ return [endpoints.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
756
754
  })
757
755
  .s("Kinesis_20131202", "UpdateStreamWarmThroughput", {})
758
756
  .n("KinesisClient", "UpdateStreamWarmThroughputCommand")
@@ -764,17 +762,17 @@ const paginateListStreamConsumers = core.createPaginator(KinesisClient, ListStre
764
762
 
765
763
  const paginateListStreams = core.createPaginator(KinesisClient, ListStreamsCommand, "NextToken", "NextToken", "Limit");
766
764
 
767
- const checkState$1 = async (client, input) => {
765
+ const checkState$1 = async (client$1, input) => {
768
766
  let reason;
769
767
  try {
770
- let result = await client.send(new DescribeStreamCommand(input));
768
+ let result = await client$1.send(new DescribeStreamCommand(input));
771
769
  reason = result;
772
770
  try {
773
771
  const returnComparator = () => {
774
772
  return result.StreamDescription.StreamStatus;
775
773
  };
776
774
  if (returnComparator() === "ACTIVE") {
777
- return { state: utilWaiter.WaiterState.SUCCESS, reason };
775
+ return { state: client.WaiterState.SUCCESS, reason };
778
776
  }
779
777
  }
780
778
  catch (e) { }
@@ -782,40 +780,40 @@ const checkState$1 = async (client, input) => {
782
780
  catch (exception) {
783
781
  reason = exception;
784
782
  }
785
- return { state: utilWaiter.WaiterState.RETRY, reason };
783
+ return { state: client.WaiterState.RETRY, reason };
786
784
  };
787
785
  const waitForStreamExists = async (params, input) => {
788
786
  const serviceDefaults = { minDelay: 10, maxDelay: 120 };
789
- return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
787
+ return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
790
788
  };
791
789
  const waitUntilStreamExists = async (params, input) => {
792
790
  const serviceDefaults = { minDelay: 10, maxDelay: 120 };
793
- const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
794
- return utilWaiter.checkExceptions(result);
791
+ const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState$1);
792
+ return client.checkExceptions(result);
795
793
  };
796
794
 
797
- const checkState = async (client, input) => {
795
+ const checkState = async (client$1, input) => {
798
796
  let reason;
799
797
  try {
800
- let result = await client.send(new DescribeStreamCommand(input));
798
+ let result = await client$1.send(new DescribeStreamCommand(input));
801
799
  reason = result;
802
800
  }
803
801
  catch (exception) {
804
802
  reason = exception;
805
803
  if (exception.name === "ResourceNotFoundException") {
806
- return { state: utilWaiter.WaiterState.SUCCESS, reason };
804
+ return { state: client.WaiterState.SUCCESS, reason };
807
805
  }
808
806
  }
809
- return { state: utilWaiter.WaiterState.RETRY, reason };
807
+ return { state: client.WaiterState.RETRY, reason };
810
808
  };
811
809
  const waitForStreamNotExists = async (params, input) => {
812
810
  const serviceDefaults = { minDelay: 10, maxDelay: 120 };
813
- return utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
811
+ return client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
814
812
  };
815
813
  const waitUntilStreamNotExists = async (params, input) => {
816
814
  const serviceDefaults = { minDelay: 10, maxDelay: 120 };
817
- const result = await utilWaiter.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
818
- return utilWaiter.checkExceptions(result);
815
+ const result = await client.createWaiter({ ...serviceDefaults, ...params }, input, checkState);
816
+ return client.checkExceptions(result);
819
817
  };
820
818
 
821
819
  const commands = {
@@ -869,7 +867,7 @@ const waiters = {
869
867
  };
870
868
  class Kinesis extends KinesisClient {
871
869
  }
872
- smithyClient.createAggregatedClient(commands, Kinesis, { paginators, waiters });
870
+ client.createAggregatedClient(commands, Kinesis, { paginators, waiters });
873
871
 
874
872
  const ConsumerStatus = {
875
873
  ACTIVE: "ACTIVE",
@@ -928,8 +926,8 @@ const ScalingType = {
928
926
  UNIFORM_SCALING: "UNIFORM_SCALING",
929
927
  };
930
928
 
931
- exports.$Command = smithyClient.Command;
932
- exports.__Client = smithyClient.Client;
929
+ exports.$Command = client.Command;
930
+ exports.__Client = client.Client;
933
931
  exports.KinesisServiceException = KinesisServiceException.KinesisServiceException;
934
932
  exports.AddTagsToStreamCommand = AddTagsToStreamCommand;
935
933
  exports.ConsumerStatus = ConsumerStatus;