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