@aws-sdk/client-kinesis 3.1087.0 → 3.1089.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 (61) hide show
  1. package/dist-cjs/index.js +1 -1
  2. package/dist-types/ts3.4/Kinesis.d.ts +129 -159
  3. package/dist-types/ts3.4/KinesisClient.d.ts +24 -58
  4. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +5 -12
  5. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +11 -15
  6. package/dist-types/ts3.4/commandBuilder.d.ts +7 -13
  7. package/dist-types/ts3.4/commands/AddTagsToStreamCommand.d.ts +2 -2
  8. package/dist-types/ts3.4/commands/CreateStreamCommand.d.ts +2 -2
  9. package/dist-types/ts3.4/commands/DecreaseStreamRetentionPeriodCommand.d.ts +4 -6
  10. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +3 -4
  11. package/dist-types/ts3.4/commands/DeleteStreamCommand.d.ts +1 -1
  12. package/dist-types/ts3.4/commands/DeregisterStreamConsumerCommand.d.ts +3 -5
  13. package/dist-types/ts3.4/commands/DescribeAccountSettingsCommand.d.ts +4 -9
  14. package/dist-types/ts3.4/commands/DescribeLimitsCommand.d.ts +2 -4
  15. package/dist-types/ts3.4/commands/DescribeStreamCommand.d.ts +2 -4
  16. package/dist-types/ts3.4/commands/DescribeStreamConsumerCommand.d.ts +4 -9
  17. package/dist-types/ts3.4/commands/DescribeStreamSummaryCommand.d.ts +4 -9
  18. package/dist-types/ts3.4/commands/DisableEnhancedMonitoringCommand.d.ts +5 -10
  19. package/dist-types/ts3.4/commands/EnableEnhancedMonitoringCommand.d.ts +5 -10
  20. package/dist-types/ts3.4/commands/GetRecordsCommand.d.ts +3 -5
  21. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +4 -9
  22. package/dist-types/ts3.4/commands/GetShardIteratorCommand.d.ts +4 -9
  23. package/dist-types/ts3.4/commands/IncreaseStreamRetentionPeriodCommand.d.ts +4 -6
  24. package/dist-types/ts3.4/commands/ListShardsCommand.d.ts +2 -4
  25. package/dist-types/ts3.4/commands/ListStreamConsumersCommand.d.ts +5 -10
  26. package/dist-types/ts3.4/commands/ListStreamsCommand.d.ts +2 -4
  27. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +5 -10
  28. package/dist-types/ts3.4/commands/ListTagsForStreamCommand.d.ts +3 -8
  29. package/dist-types/ts3.4/commands/MergeShardsCommand.d.ts +2 -2
  30. package/dist-types/ts3.4/commands/PutRecordCommand.d.ts +7 -5
  31. package/dist-types/ts3.4/commands/PutRecordsCommand.d.ts +3 -5
  32. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +2 -2
  33. package/dist-types/ts3.4/commands/RegisterStreamConsumerCommand.d.ts +5 -10
  34. package/dist-types/ts3.4/commands/RemoveTagsFromStreamCommand.d.ts +3 -4
  35. package/dist-types/ts3.4/commands/SplitShardCommand.d.ts +2 -2
  36. package/dist-types/ts3.4/commands/StartStreamEncryptionCommand.d.ts +3 -4
  37. package/dist-types/ts3.4/commands/StopStreamEncryptionCommand.d.ts +3 -4
  38. package/dist-types/ts3.4/commands/SubscribeToShardCommand.d.ts +4 -9
  39. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +2 -2
  40. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +2 -2
  41. package/dist-types/ts3.4/commands/UpdateAccountSettingsCommand.d.ts +5 -10
  42. package/dist-types/ts3.4/commands/UpdateMaxRecordSizeCommand.d.ts +3 -4
  43. package/dist-types/ts3.4/commands/UpdateShardCountCommand.d.ts +4 -9
  44. package/dist-types/ts3.4/commands/UpdateStreamModeCommand.d.ts +2 -2
  45. package/dist-types/ts3.4/commands/UpdateStreamWarmThroughputCommand.d.ts +4 -6
  46. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
  47. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +1 -1
  48. package/dist-types/ts3.4/extensionConfiguration.d.ts +2 -1
  49. package/dist-types/ts3.4/models/enums.d.ts +4 -8
  50. package/dist-types/ts3.4/models/errors.d.ts +15 -48
  51. package/dist-types/ts3.4/models/models_0.d.ts +3 -9
  52. package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
  53. package/dist-types/ts3.4/pagination/ListStreamsPaginator.d.ts +1 -4
  54. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +9 -22
  55. package/dist-types/ts3.4/runtimeConfig.d.ts +8 -16
  56. package/dist-types/ts3.4/runtimeConfig.native.d.ts +9 -22
  57. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -1
  58. package/dist-types/ts3.4/runtimeExtensions.d.ts +1 -1
  59. package/dist-types/ts3.4/waiters/waitForStreamExists.d.ts +3 -5
  60. package/dist-types/ts3.4/waiters/waitForStreamNotExists.d.ts +3 -5
  61. package/package.json +39 -39
@@ -57,10 +57,7 @@ import {
57
57
  EnableEnhancedMonitoringCommandInput,
58
58
  EnableEnhancedMonitoringCommandOutput,
59
59
  } from "./commands/EnableEnhancedMonitoringCommand";
60
- import {
61
- GetRecordsCommandInput,
62
- GetRecordsCommandOutput,
63
- } from "./commands/GetRecordsCommand";
60
+ import { GetRecordsCommandInput, GetRecordsCommandOutput } from "./commands/GetRecordsCommand";
64
61
  import {
65
62
  GetResourcePolicyCommandInput,
66
63
  GetResourcePolicyCommandOutput,
@@ -73,18 +70,12 @@ import {
73
70
  IncreaseStreamRetentionPeriodCommandInput,
74
71
  IncreaseStreamRetentionPeriodCommandOutput,
75
72
  } from "./commands/IncreaseStreamRetentionPeriodCommand";
76
- import {
77
- ListShardsCommandInput,
78
- ListShardsCommandOutput,
79
- } from "./commands/ListShardsCommand";
73
+ import { ListShardsCommandInput, ListShardsCommandOutput } from "./commands/ListShardsCommand";
80
74
  import {
81
75
  ListStreamConsumersCommandInput,
82
76
  ListStreamConsumersCommandOutput,
83
77
  } from "./commands/ListStreamConsumersCommand";
84
- import {
85
- ListStreamsCommandInput,
86
- ListStreamsCommandOutput,
87
- } from "./commands/ListStreamsCommand";
78
+ import { ListStreamsCommandInput, ListStreamsCommandOutput } from "./commands/ListStreamsCommand";
88
79
  import {
89
80
  ListTagsForResourceCommandInput,
90
81
  ListTagsForResourceCommandOutput,
@@ -93,18 +84,9 @@ import {
93
84
  ListTagsForStreamCommandInput,
94
85
  ListTagsForStreamCommandOutput,
95
86
  } from "./commands/ListTagsForStreamCommand";
96
- import {
97
- MergeShardsCommandInput,
98
- MergeShardsCommandOutput,
99
- } from "./commands/MergeShardsCommand";
100
- import {
101
- PutRecordCommandInput,
102
- PutRecordCommandOutput,
103
- } from "./commands/PutRecordCommand";
104
- import {
105
- PutRecordsCommandInput,
106
- PutRecordsCommandOutput,
107
- } from "./commands/PutRecordsCommand";
87
+ import { MergeShardsCommandInput, MergeShardsCommandOutput } from "./commands/MergeShardsCommand";
88
+ import { PutRecordCommandInput, PutRecordCommandOutput } from "./commands/PutRecordCommand";
89
+ import { PutRecordsCommandInput, PutRecordsCommandOutput } from "./commands/PutRecordsCommand";
108
90
  import {
109
91
  PutResourcePolicyCommandInput,
110
92
  PutResourcePolicyCommandOutput,
@@ -117,10 +99,7 @@ import {
117
99
  RemoveTagsFromStreamCommandInput,
118
100
  RemoveTagsFromStreamCommandOutput,
119
101
  } from "./commands/RemoveTagsFromStreamCommand";
120
- import {
121
- SplitShardCommandInput,
122
- SplitShardCommandOutput,
123
- } from "./commands/SplitShardCommand";
102
+ import { SplitShardCommandInput, SplitShardCommandOutput } from "./commands/SplitShardCommand";
124
103
  import {
125
104
  StartStreamEncryptionCommandInput,
126
105
  StartStreamEncryptionCommandOutput,
@@ -133,10 +112,7 @@ import {
133
112
  SubscribeToShardCommandInput,
134
113
  SubscribeToShardCommandOutput,
135
114
  } from "./commands/SubscribeToShardCommand";
136
- import {
137
- TagResourceCommandInput,
138
- TagResourceCommandOutput,
139
- } from "./commands/TagResourceCommand";
115
+ import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
140
116
  import {
141
117
  UntagResourceCommandInput,
142
118
  UntagResourceCommandOutput,
@@ -166,552 +142,546 @@ import { ResourceNotFoundException } from "./models/errors";
166
142
  export interface Kinesis {
167
143
  addTagsToStream(
168
144
  args: AddTagsToStreamCommandInput,
169
- options?: __HttpHandlerOptions
145
+ options?: __HttpHandlerOptions,
170
146
  ): Promise<AddTagsToStreamCommandOutput>;
171
147
  addTagsToStream(
172
148
  args: AddTagsToStreamCommandInput,
173
- cb: (err: any, data?: AddTagsToStreamCommandOutput) => void
149
+ cb: (err: any, data?: AddTagsToStreamCommandOutput) => void,
174
150
  ): void;
175
151
  addTagsToStream(
176
152
  args: AddTagsToStreamCommandInput,
177
153
  options: __HttpHandlerOptions,
178
- cb: (err: any, data?: AddTagsToStreamCommandOutput) => void
154
+ cb: (err: any, data?: AddTagsToStreamCommandOutput) => void,
179
155
  ): void;
180
156
  createStream(
181
157
  args: CreateStreamCommandInput,
182
- options?: __HttpHandlerOptions
158
+ options?: __HttpHandlerOptions,
183
159
  ): Promise<CreateStreamCommandOutput>;
184
160
  createStream(
185
161
  args: CreateStreamCommandInput,
186
- cb: (err: any, data?: CreateStreamCommandOutput) => void
162
+ cb: (err: any, data?: CreateStreamCommandOutput) => void,
187
163
  ): void;
188
164
  createStream(
189
165
  args: CreateStreamCommandInput,
190
166
  options: __HttpHandlerOptions,
191
- cb: (err: any, data?: CreateStreamCommandOutput) => void
167
+ cb: (err: any, data?: CreateStreamCommandOutput) => void,
192
168
  ): void;
193
169
  decreaseStreamRetentionPeriod(
194
170
  args: DecreaseStreamRetentionPeriodCommandInput,
195
- options?: __HttpHandlerOptions
171
+ options?: __HttpHandlerOptions,
196
172
  ): Promise<DecreaseStreamRetentionPeriodCommandOutput>;
197
173
  decreaseStreamRetentionPeriod(
198
174
  args: DecreaseStreamRetentionPeriodCommandInput,
199
- cb: (err: any, data?: DecreaseStreamRetentionPeriodCommandOutput) => void
175
+ cb: (err: any, data?: DecreaseStreamRetentionPeriodCommandOutput) => void,
200
176
  ): void;
201
177
  decreaseStreamRetentionPeriod(
202
178
  args: DecreaseStreamRetentionPeriodCommandInput,
203
179
  options: __HttpHandlerOptions,
204
- cb: (err: any, data?: DecreaseStreamRetentionPeriodCommandOutput) => void
180
+ cb: (err: any, data?: DecreaseStreamRetentionPeriodCommandOutput) => void,
205
181
  ): void;
206
182
  deleteResourcePolicy(
207
183
  args: DeleteResourcePolicyCommandInput,
208
- options?: __HttpHandlerOptions
184
+ options?: __HttpHandlerOptions,
209
185
  ): Promise<DeleteResourcePolicyCommandOutput>;
210
186
  deleteResourcePolicy(
211
187
  args: DeleteResourcePolicyCommandInput,
212
- cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
188
+ cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void,
213
189
  ): void;
214
190
  deleteResourcePolicy(
215
191
  args: DeleteResourcePolicyCommandInput,
216
192
  options: __HttpHandlerOptions,
217
- cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
193
+ cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void,
218
194
  ): void;
219
195
  deleteStream(): Promise<DeleteStreamCommandOutput>;
220
196
  deleteStream(
221
197
  args: DeleteStreamCommandInput,
222
- options?: __HttpHandlerOptions
198
+ options?: __HttpHandlerOptions,
223
199
  ): Promise<DeleteStreamCommandOutput>;
224
200
  deleteStream(
225
201
  args: DeleteStreamCommandInput,
226
- cb: (err: any, data?: DeleteStreamCommandOutput) => void
202
+ cb: (err: any, data?: DeleteStreamCommandOutput) => void,
227
203
  ): void;
228
204
  deleteStream(
229
205
  args: DeleteStreamCommandInput,
230
206
  options: __HttpHandlerOptions,
231
- cb: (err: any, data?: DeleteStreamCommandOutput) => void
207
+ cb: (err: any, data?: DeleteStreamCommandOutput) => void,
232
208
  ): void;
233
209
  deregisterStreamConsumer(): Promise<DeregisterStreamConsumerCommandOutput>;
234
210
  deregisterStreamConsumer(
235
211
  args: DeregisterStreamConsumerCommandInput,
236
- options?: __HttpHandlerOptions
212
+ options?: __HttpHandlerOptions,
237
213
  ): Promise<DeregisterStreamConsumerCommandOutput>;
238
214
  deregisterStreamConsumer(
239
215
  args: DeregisterStreamConsumerCommandInput,
240
- cb: (err: any, data?: DeregisterStreamConsumerCommandOutput) => void
216
+ cb: (err: any, data?: DeregisterStreamConsumerCommandOutput) => void,
241
217
  ): void;
242
218
  deregisterStreamConsumer(
243
219
  args: DeregisterStreamConsumerCommandInput,
244
220
  options: __HttpHandlerOptions,
245
- cb: (err: any, data?: DeregisterStreamConsumerCommandOutput) => void
221
+ cb: (err: any, data?: DeregisterStreamConsumerCommandOutput) => void,
246
222
  ): void;
247
223
  describeAccountSettings(): Promise<DescribeAccountSettingsCommandOutput>;
248
224
  describeAccountSettings(
249
225
  args: DescribeAccountSettingsCommandInput,
250
- options?: __HttpHandlerOptions
226
+ options?: __HttpHandlerOptions,
251
227
  ): Promise<DescribeAccountSettingsCommandOutput>;
252
228
  describeAccountSettings(
253
229
  args: DescribeAccountSettingsCommandInput,
254
- cb: (err: any, data?: DescribeAccountSettingsCommandOutput) => void
230
+ cb: (err: any, data?: DescribeAccountSettingsCommandOutput) => void,
255
231
  ): void;
256
232
  describeAccountSettings(
257
233
  args: DescribeAccountSettingsCommandInput,
258
234
  options: __HttpHandlerOptions,
259
- cb: (err: any, data?: DescribeAccountSettingsCommandOutput) => void
235
+ cb: (err: any, data?: DescribeAccountSettingsCommandOutput) => void,
260
236
  ): void;
261
237
  describeLimits(): Promise<DescribeLimitsCommandOutput>;
262
238
  describeLimits(
263
239
  args: DescribeLimitsCommandInput,
264
- options?: __HttpHandlerOptions
240
+ options?: __HttpHandlerOptions,
265
241
  ): Promise<DescribeLimitsCommandOutput>;
266
242
  describeLimits(
267
243
  args: DescribeLimitsCommandInput,
268
- cb: (err: any, data?: DescribeLimitsCommandOutput) => void
244
+ cb: (err: any, data?: DescribeLimitsCommandOutput) => void,
269
245
  ): void;
270
246
  describeLimits(
271
247
  args: DescribeLimitsCommandInput,
272
248
  options: __HttpHandlerOptions,
273
- cb: (err: any, data?: DescribeLimitsCommandOutput) => void
249
+ cb: (err: any, data?: DescribeLimitsCommandOutput) => void,
274
250
  ): void;
275
251
  describeStream(): Promise<DescribeStreamCommandOutput>;
276
252
  describeStream(
277
253
  args: DescribeStreamCommandInput,
278
- options?: __HttpHandlerOptions
254
+ options?: __HttpHandlerOptions,
279
255
  ): Promise<DescribeStreamCommandOutput>;
280
256
  describeStream(
281
257
  args: DescribeStreamCommandInput,
282
- cb: (err: any, data?: DescribeStreamCommandOutput) => void
258
+ cb: (err: any, data?: DescribeStreamCommandOutput) => void,
283
259
  ): void;
284
260
  describeStream(
285
261
  args: DescribeStreamCommandInput,
286
262
  options: __HttpHandlerOptions,
287
- cb: (err: any, data?: DescribeStreamCommandOutput) => void
263
+ cb: (err: any, data?: DescribeStreamCommandOutput) => void,
288
264
  ): void;
289
265
  describeStreamConsumer(): Promise<DescribeStreamConsumerCommandOutput>;
290
266
  describeStreamConsumer(
291
267
  args: DescribeStreamConsumerCommandInput,
292
- options?: __HttpHandlerOptions
268
+ options?: __HttpHandlerOptions,
293
269
  ): Promise<DescribeStreamConsumerCommandOutput>;
294
270
  describeStreamConsumer(
295
271
  args: DescribeStreamConsumerCommandInput,
296
- cb: (err: any, data?: DescribeStreamConsumerCommandOutput) => void
272
+ cb: (err: any, data?: DescribeStreamConsumerCommandOutput) => void,
297
273
  ): void;
298
274
  describeStreamConsumer(
299
275
  args: DescribeStreamConsumerCommandInput,
300
276
  options: __HttpHandlerOptions,
301
- cb: (err: any, data?: DescribeStreamConsumerCommandOutput) => void
277
+ cb: (err: any, data?: DescribeStreamConsumerCommandOutput) => void,
302
278
  ): void;
303
279
  describeStreamSummary(): Promise<DescribeStreamSummaryCommandOutput>;
304
280
  describeStreamSummary(
305
281
  args: DescribeStreamSummaryCommandInput,
306
- options?: __HttpHandlerOptions
282
+ options?: __HttpHandlerOptions,
307
283
  ): Promise<DescribeStreamSummaryCommandOutput>;
308
284
  describeStreamSummary(
309
285
  args: DescribeStreamSummaryCommandInput,
310
- cb: (err: any, data?: DescribeStreamSummaryCommandOutput) => void
286
+ cb: (err: any, data?: DescribeStreamSummaryCommandOutput) => void,
311
287
  ): void;
312
288
  describeStreamSummary(
313
289
  args: DescribeStreamSummaryCommandInput,
314
290
  options: __HttpHandlerOptions,
315
- cb: (err: any, data?: DescribeStreamSummaryCommandOutput) => void
291
+ cb: (err: any, data?: DescribeStreamSummaryCommandOutput) => void,
316
292
  ): void;
317
293
  disableEnhancedMonitoring(
318
294
  args: DisableEnhancedMonitoringCommandInput,
319
- options?: __HttpHandlerOptions
295
+ options?: __HttpHandlerOptions,
320
296
  ): Promise<DisableEnhancedMonitoringCommandOutput>;
321
297
  disableEnhancedMonitoring(
322
298
  args: DisableEnhancedMonitoringCommandInput,
323
- cb: (err: any, data?: DisableEnhancedMonitoringCommandOutput) => void
299
+ cb: (err: any, data?: DisableEnhancedMonitoringCommandOutput) => void,
324
300
  ): void;
325
301
  disableEnhancedMonitoring(
326
302
  args: DisableEnhancedMonitoringCommandInput,
327
303
  options: __HttpHandlerOptions,
328
- cb: (err: any, data?: DisableEnhancedMonitoringCommandOutput) => void
304
+ cb: (err: any, data?: DisableEnhancedMonitoringCommandOutput) => void,
329
305
  ): void;
330
306
  enableEnhancedMonitoring(
331
307
  args: EnableEnhancedMonitoringCommandInput,
332
- options?: __HttpHandlerOptions
308
+ options?: __HttpHandlerOptions,
333
309
  ): Promise<EnableEnhancedMonitoringCommandOutput>;
334
310
  enableEnhancedMonitoring(
335
311
  args: EnableEnhancedMonitoringCommandInput,
336
- cb: (err: any, data?: EnableEnhancedMonitoringCommandOutput) => void
312
+ cb: (err: any, data?: EnableEnhancedMonitoringCommandOutput) => void,
337
313
  ): void;
338
314
  enableEnhancedMonitoring(
339
315
  args: EnableEnhancedMonitoringCommandInput,
340
316
  options: __HttpHandlerOptions,
341
- cb: (err: any, data?: EnableEnhancedMonitoringCommandOutput) => void
317
+ cb: (err: any, data?: EnableEnhancedMonitoringCommandOutput) => void,
342
318
  ): void;
343
319
  getRecords(
344
320
  args: GetRecordsCommandInput,
345
- options?: __HttpHandlerOptions
321
+ options?: __HttpHandlerOptions,
346
322
  ): Promise<GetRecordsCommandOutput>;
347
323
  getRecords(
348
324
  args: GetRecordsCommandInput,
349
- cb: (err: any, data?: GetRecordsCommandOutput) => void
325
+ cb: (err: any, data?: GetRecordsCommandOutput) => void,
350
326
  ): void;
351
327
  getRecords(
352
328
  args: GetRecordsCommandInput,
353
329
  options: __HttpHandlerOptions,
354
- cb: (err: any, data?: GetRecordsCommandOutput) => void
330
+ cb: (err: any, data?: GetRecordsCommandOutput) => void,
355
331
  ): void;
356
332
  getResourcePolicy(
357
333
  args: GetResourcePolicyCommandInput,
358
- options?: __HttpHandlerOptions
334
+ options?: __HttpHandlerOptions,
359
335
  ): Promise<GetResourcePolicyCommandOutput>;
360
336
  getResourcePolicy(
361
337
  args: GetResourcePolicyCommandInput,
362
- cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
338
+ cb: (err: any, data?: GetResourcePolicyCommandOutput) => void,
363
339
  ): void;
364
340
  getResourcePolicy(
365
341
  args: GetResourcePolicyCommandInput,
366
342
  options: __HttpHandlerOptions,
367
- cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
343
+ cb: (err: any, data?: GetResourcePolicyCommandOutput) => void,
368
344
  ): void;
369
345
  getShardIterator(
370
346
  args: GetShardIteratorCommandInput,
371
- options?: __HttpHandlerOptions
347
+ options?: __HttpHandlerOptions,
372
348
  ): Promise<GetShardIteratorCommandOutput>;
373
349
  getShardIterator(
374
350
  args: GetShardIteratorCommandInput,
375
- cb: (err: any, data?: GetShardIteratorCommandOutput) => void
351
+ cb: (err: any, data?: GetShardIteratorCommandOutput) => void,
376
352
  ): void;
377
353
  getShardIterator(
378
354
  args: GetShardIteratorCommandInput,
379
355
  options: __HttpHandlerOptions,
380
- cb: (err: any, data?: GetShardIteratorCommandOutput) => void
356
+ cb: (err: any, data?: GetShardIteratorCommandOutput) => void,
381
357
  ): void;
382
358
  increaseStreamRetentionPeriod(
383
359
  args: IncreaseStreamRetentionPeriodCommandInput,
384
- options?: __HttpHandlerOptions
360
+ options?: __HttpHandlerOptions,
385
361
  ): Promise<IncreaseStreamRetentionPeriodCommandOutput>;
386
362
  increaseStreamRetentionPeriod(
387
363
  args: IncreaseStreamRetentionPeriodCommandInput,
388
- cb: (err: any, data?: IncreaseStreamRetentionPeriodCommandOutput) => void
364
+ cb: (err: any, data?: IncreaseStreamRetentionPeriodCommandOutput) => void,
389
365
  ): void;
390
366
  increaseStreamRetentionPeriod(
391
367
  args: IncreaseStreamRetentionPeriodCommandInput,
392
368
  options: __HttpHandlerOptions,
393
- cb: (err: any, data?: IncreaseStreamRetentionPeriodCommandOutput) => void
369
+ cb: (err: any, data?: IncreaseStreamRetentionPeriodCommandOutput) => void,
394
370
  ): void;
395
371
  listShards(): Promise<ListShardsCommandOutput>;
396
372
  listShards(
397
373
  args: ListShardsCommandInput,
398
- options?: __HttpHandlerOptions
374
+ options?: __HttpHandlerOptions,
399
375
  ): Promise<ListShardsCommandOutput>;
400
376
  listShards(
401
377
  args: ListShardsCommandInput,
402
- cb: (err: any, data?: ListShardsCommandOutput) => void
378
+ cb: (err: any, data?: ListShardsCommandOutput) => void,
403
379
  ): void;
404
380
  listShards(
405
381
  args: ListShardsCommandInput,
406
382
  options: __HttpHandlerOptions,
407
- cb: (err: any, data?: ListShardsCommandOutput) => void
383
+ cb: (err: any, data?: ListShardsCommandOutput) => void,
408
384
  ): void;
409
385
  listStreamConsumers(
410
386
  args: ListStreamConsumersCommandInput,
411
- options?: __HttpHandlerOptions
387
+ options?: __HttpHandlerOptions,
412
388
  ): Promise<ListStreamConsumersCommandOutput>;
413
389
  listStreamConsumers(
414
390
  args: ListStreamConsumersCommandInput,
415
- cb: (err: any, data?: ListStreamConsumersCommandOutput) => void
391
+ cb: (err: any, data?: ListStreamConsumersCommandOutput) => void,
416
392
  ): void;
417
393
  listStreamConsumers(
418
394
  args: ListStreamConsumersCommandInput,
419
395
  options: __HttpHandlerOptions,
420
- cb: (err: any, data?: ListStreamConsumersCommandOutput) => void
396
+ cb: (err: any, data?: ListStreamConsumersCommandOutput) => void,
421
397
  ): void;
422
398
  listStreams(): Promise<ListStreamsCommandOutput>;
423
399
  listStreams(
424
400
  args: ListStreamsCommandInput,
425
- options?: __HttpHandlerOptions
401
+ options?: __HttpHandlerOptions,
426
402
  ): Promise<ListStreamsCommandOutput>;
427
403
  listStreams(
428
404
  args: ListStreamsCommandInput,
429
- cb: (err: any, data?: ListStreamsCommandOutput) => void
405
+ cb: (err: any, data?: ListStreamsCommandOutput) => void,
430
406
  ): void;
431
407
  listStreams(
432
408
  args: ListStreamsCommandInput,
433
409
  options: __HttpHandlerOptions,
434
- cb: (err: any, data?: ListStreamsCommandOutput) => void
410
+ cb: (err: any, data?: ListStreamsCommandOutput) => void,
435
411
  ): void;
436
412
  listTagsForResource(
437
413
  args: ListTagsForResourceCommandInput,
438
- options?: __HttpHandlerOptions
414
+ options?: __HttpHandlerOptions,
439
415
  ): Promise<ListTagsForResourceCommandOutput>;
440
416
  listTagsForResource(
441
417
  args: ListTagsForResourceCommandInput,
442
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
418
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
443
419
  ): void;
444
420
  listTagsForResource(
445
421
  args: ListTagsForResourceCommandInput,
446
422
  options: __HttpHandlerOptions,
447
- cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
423
+ cb: (err: any, data?: ListTagsForResourceCommandOutput) => void,
448
424
  ): void;
449
425
  listTagsForStream(): Promise<ListTagsForStreamCommandOutput>;
450
426
  listTagsForStream(
451
427
  args: ListTagsForStreamCommandInput,
452
- options?: __HttpHandlerOptions
428
+ options?: __HttpHandlerOptions,
453
429
  ): Promise<ListTagsForStreamCommandOutput>;
454
430
  listTagsForStream(
455
431
  args: ListTagsForStreamCommandInput,
456
- cb: (err: any, data?: ListTagsForStreamCommandOutput) => void
432
+ cb: (err: any, data?: ListTagsForStreamCommandOutput) => void,
457
433
  ): void;
458
434
  listTagsForStream(
459
435
  args: ListTagsForStreamCommandInput,
460
436
  options: __HttpHandlerOptions,
461
- cb: (err: any, data?: ListTagsForStreamCommandOutput) => void
437
+ cb: (err: any, data?: ListTagsForStreamCommandOutput) => void,
462
438
  ): void;
463
439
  mergeShards(
464
440
  args: MergeShardsCommandInput,
465
- options?: __HttpHandlerOptions
441
+ options?: __HttpHandlerOptions,
466
442
  ): Promise<MergeShardsCommandOutput>;
467
443
  mergeShards(
468
444
  args: MergeShardsCommandInput,
469
- cb: (err: any, data?: MergeShardsCommandOutput) => void
445
+ cb: (err: any, data?: MergeShardsCommandOutput) => void,
470
446
  ): void;
471
447
  mergeShards(
472
448
  args: MergeShardsCommandInput,
473
449
  options: __HttpHandlerOptions,
474
- cb: (err: any, data?: MergeShardsCommandOutput) => void
450
+ cb: (err: any, data?: MergeShardsCommandOutput) => void,
475
451
  ): void;
476
452
  putRecord(
477
453
  args: PutRecordCommandInput,
478
- options?: __HttpHandlerOptions
454
+ options?: __HttpHandlerOptions,
479
455
  ): Promise<PutRecordCommandOutput>;
480
456
  putRecord(
481
457
  args: PutRecordCommandInput,
482
- cb: (err: any, data?: PutRecordCommandOutput) => void
458
+ cb: (err: any, data?: PutRecordCommandOutput) => void,
483
459
  ): void;
484
460
  putRecord(
485
461
  args: PutRecordCommandInput,
486
462
  options: __HttpHandlerOptions,
487
- cb: (err: any, data?: PutRecordCommandOutput) => void
463
+ cb: (err: any, data?: PutRecordCommandOutput) => void,
488
464
  ): void;
489
465
  putRecords(
490
466
  args: PutRecordsCommandInput,
491
- options?: __HttpHandlerOptions
467
+ options?: __HttpHandlerOptions,
492
468
  ): Promise<PutRecordsCommandOutput>;
493
469
  putRecords(
494
470
  args: PutRecordsCommandInput,
495
- cb: (err: any, data?: PutRecordsCommandOutput) => void
471
+ cb: (err: any, data?: PutRecordsCommandOutput) => void,
496
472
  ): void;
497
473
  putRecords(
498
474
  args: PutRecordsCommandInput,
499
475
  options: __HttpHandlerOptions,
500
- cb: (err: any, data?: PutRecordsCommandOutput) => void
476
+ cb: (err: any, data?: PutRecordsCommandOutput) => void,
501
477
  ): void;
502
478
  putResourcePolicy(
503
479
  args: PutResourcePolicyCommandInput,
504
- options?: __HttpHandlerOptions
480
+ options?: __HttpHandlerOptions,
505
481
  ): Promise<PutResourcePolicyCommandOutput>;
506
482
  putResourcePolicy(
507
483
  args: PutResourcePolicyCommandInput,
508
- cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
484
+ cb: (err: any, data?: PutResourcePolicyCommandOutput) => void,
509
485
  ): void;
510
486
  putResourcePolicy(
511
487
  args: PutResourcePolicyCommandInput,
512
488
  options: __HttpHandlerOptions,
513
- cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
489
+ cb: (err: any, data?: PutResourcePolicyCommandOutput) => void,
514
490
  ): void;
515
491
  registerStreamConsumer(
516
492
  args: RegisterStreamConsumerCommandInput,
517
- options?: __HttpHandlerOptions
493
+ options?: __HttpHandlerOptions,
518
494
  ): Promise<RegisterStreamConsumerCommandOutput>;
519
495
  registerStreamConsumer(
520
496
  args: RegisterStreamConsumerCommandInput,
521
- cb: (err: any, data?: RegisterStreamConsumerCommandOutput) => void
497
+ cb: (err: any, data?: RegisterStreamConsumerCommandOutput) => void,
522
498
  ): void;
523
499
  registerStreamConsumer(
524
500
  args: RegisterStreamConsumerCommandInput,
525
501
  options: __HttpHandlerOptions,
526
- cb: (err: any, data?: RegisterStreamConsumerCommandOutput) => void
502
+ cb: (err: any, data?: RegisterStreamConsumerCommandOutput) => void,
527
503
  ): void;
528
504
  removeTagsFromStream(
529
505
  args: RemoveTagsFromStreamCommandInput,
530
- options?: __HttpHandlerOptions
506
+ options?: __HttpHandlerOptions,
531
507
  ): Promise<RemoveTagsFromStreamCommandOutput>;
532
508
  removeTagsFromStream(
533
509
  args: RemoveTagsFromStreamCommandInput,
534
- cb: (err: any, data?: RemoveTagsFromStreamCommandOutput) => void
510
+ cb: (err: any, data?: RemoveTagsFromStreamCommandOutput) => void,
535
511
  ): void;
536
512
  removeTagsFromStream(
537
513
  args: RemoveTagsFromStreamCommandInput,
538
514
  options: __HttpHandlerOptions,
539
- cb: (err: any, data?: RemoveTagsFromStreamCommandOutput) => void
515
+ cb: (err: any, data?: RemoveTagsFromStreamCommandOutput) => void,
540
516
  ): void;
541
517
  splitShard(
542
518
  args: SplitShardCommandInput,
543
- options?: __HttpHandlerOptions
519
+ options?: __HttpHandlerOptions,
544
520
  ): Promise<SplitShardCommandOutput>;
545
521
  splitShard(
546
522
  args: SplitShardCommandInput,
547
- cb: (err: any, data?: SplitShardCommandOutput) => void
523
+ cb: (err: any, data?: SplitShardCommandOutput) => void,
548
524
  ): void;
549
525
  splitShard(
550
526
  args: SplitShardCommandInput,
551
527
  options: __HttpHandlerOptions,
552
- cb: (err: any, data?: SplitShardCommandOutput) => void
528
+ cb: (err: any, data?: SplitShardCommandOutput) => void,
553
529
  ): void;
554
530
  startStreamEncryption(
555
531
  args: StartStreamEncryptionCommandInput,
556
- options?: __HttpHandlerOptions
532
+ options?: __HttpHandlerOptions,
557
533
  ): Promise<StartStreamEncryptionCommandOutput>;
558
534
  startStreamEncryption(
559
535
  args: StartStreamEncryptionCommandInput,
560
- cb: (err: any, data?: StartStreamEncryptionCommandOutput) => void
536
+ cb: (err: any, data?: StartStreamEncryptionCommandOutput) => void,
561
537
  ): void;
562
538
  startStreamEncryption(
563
539
  args: StartStreamEncryptionCommandInput,
564
540
  options: __HttpHandlerOptions,
565
- cb: (err: any, data?: StartStreamEncryptionCommandOutput) => void
541
+ cb: (err: any, data?: StartStreamEncryptionCommandOutput) => void,
566
542
  ): void;
567
543
  stopStreamEncryption(
568
544
  args: StopStreamEncryptionCommandInput,
569
- options?: __HttpHandlerOptions
545
+ options?: __HttpHandlerOptions,
570
546
  ): Promise<StopStreamEncryptionCommandOutput>;
571
547
  stopStreamEncryption(
572
548
  args: StopStreamEncryptionCommandInput,
573
- cb: (err: any, data?: StopStreamEncryptionCommandOutput) => void
549
+ cb: (err: any, data?: StopStreamEncryptionCommandOutput) => void,
574
550
  ): void;
575
551
  stopStreamEncryption(
576
552
  args: StopStreamEncryptionCommandInput,
577
553
  options: __HttpHandlerOptions,
578
- cb: (err: any, data?: StopStreamEncryptionCommandOutput) => void
554
+ cb: (err: any, data?: StopStreamEncryptionCommandOutput) => void,
579
555
  ): void;
580
556
  subscribeToShard(
581
557
  args: SubscribeToShardCommandInput,
582
- options?: __HttpHandlerOptions
558
+ options?: __HttpHandlerOptions,
583
559
  ): Promise<SubscribeToShardCommandOutput>;
584
560
  subscribeToShard(
585
561
  args: SubscribeToShardCommandInput,
586
- cb: (err: any, data?: SubscribeToShardCommandOutput) => void
562
+ cb: (err: any, data?: SubscribeToShardCommandOutput) => void,
587
563
  ): void;
588
564
  subscribeToShard(
589
565
  args: SubscribeToShardCommandInput,
590
566
  options: __HttpHandlerOptions,
591
- cb: (err: any, data?: SubscribeToShardCommandOutput) => void
567
+ cb: (err: any, data?: SubscribeToShardCommandOutput) => void,
592
568
  ): void;
593
569
  tagResource(
594
570
  args: TagResourceCommandInput,
595
- options?: __HttpHandlerOptions
571
+ options?: __HttpHandlerOptions,
596
572
  ): Promise<TagResourceCommandOutput>;
597
573
  tagResource(
598
574
  args: TagResourceCommandInput,
599
- cb: (err: any, data?: TagResourceCommandOutput) => void
575
+ cb: (err: any, data?: TagResourceCommandOutput) => void,
600
576
  ): void;
601
577
  tagResource(
602
578
  args: TagResourceCommandInput,
603
579
  options: __HttpHandlerOptions,
604
- cb: (err: any, data?: TagResourceCommandOutput) => void
580
+ cb: (err: any, data?: TagResourceCommandOutput) => void,
605
581
  ): void;
606
582
  untagResource(
607
583
  args: UntagResourceCommandInput,
608
- options?: __HttpHandlerOptions
584
+ options?: __HttpHandlerOptions,
609
585
  ): Promise<UntagResourceCommandOutput>;
610
586
  untagResource(
611
587
  args: UntagResourceCommandInput,
612
- cb: (err: any, data?: UntagResourceCommandOutput) => void
588
+ cb: (err: any, data?: UntagResourceCommandOutput) => void,
613
589
  ): void;
614
590
  untagResource(
615
591
  args: UntagResourceCommandInput,
616
592
  options: __HttpHandlerOptions,
617
- cb: (err: any, data?: UntagResourceCommandOutput) => void
593
+ cb: (err: any, data?: UntagResourceCommandOutput) => void,
618
594
  ): void;
619
595
  updateAccountSettings(
620
596
  args: UpdateAccountSettingsCommandInput,
621
- options?: __HttpHandlerOptions
597
+ options?: __HttpHandlerOptions,
622
598
  ): Promise<UpdateAccountSettingsCommandOutput>;
623
599
  updateAccountSettings(
624
600
  args: UpdateAccountSettingsCommandInput,
625
- cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void
601
+ cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void,
626
602
  ): void;
627
603
  updateAccountSettings(
628
604
  args: UpdateAccountSettingsCommandInput,
629
605
  options: __HttpHandlerOptions,
630
- cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void
606
+ cb: (err: any, data?: UpdateAccountSettingsCommandOutput) => void,
631
607
  ): void;
632
608
  updateMaxRecordSize(
633
609
  args: UpdateMaxRecordSizeCommandInput,
634
- options?: __HttpHandlerOptions
610
+ options?: __HttpHandlerOptions,
635
611
  ): Promise<UpdateMaxRecordSizeCommandOutput>;
636
612
  updateMaxRecordSize(
637
613
  args: UpdateMaxRecordSizeCommandInput,
638
- cb: (err: any, data?: UpdateMaxRecordSizeCommandOutput) => void
614
+ cb: (err: any, data?: UpdateMaxRecordSizeCommandOutput) => void,
639
615
  ): void;
640
616
  updateMaxRecordSize(
641
617
  args: UpdateMaxRecordSizeCommandInput,
642
618
  options: __HttpHandlerOptions,
643
- cb: (err: any, data?: UpdateMaxRecordSizeCommandOutput) => void
619
+ cb: (err: any, data?: UpdateMaxRecordSizeCommandOutput) => void,
644
620
  ): void;
645
621
  updateShardCount(
646
622
  args: UpdateShardCountCommandInput,
647
- options?: __HttpHandlerOptions
623
+ options?: __HttpHandlerOptions,
648
624
  ): Promise<UpdateShardCountCommandOutput>;
649
625
  updateShardCount(
650
626
  args: UpdateShardCountCommandInput,
651
- cb: (err: any, data?: UpdateShardCountCommandOutput) => void
627
+ cb: (err: any, data?: UpdateShardCountCommandOutput) => void,
652
628
  ): void;
653
629
  updateShardCount(
654
630
  args: UpdateShardCountCommandInput,
655
631
  options: __HttpHandlerOptions,
656
- cb: (err: any, data?: UpdateShardCountCommandOutput) => void
632
+ cb: (err: any, data?: UpdateShardCountCommandOutput) => void,
657
633
  ): void;
658
634
  updateStreamMode(
659
635
  args: UpdateStreamModeCommandInput,
660
- options?: __HttpHandlerOptions
636
+ options?: __HttpHandlerOptions,
661
637
  ): Promise<UpdateStreamModeCommandOutput>;
662
638
  updateStreamMode(
663
639
  args: UpdateStreamModeCommandInput,
664
- cb: (err: any, data?: UpdateStreamModeCommandOutput) => void
640
+ cb: (err: any, data?: UpdateStreamModeCommandOutput) => void,
665
641
  ): void;
666
642
  updateStreamMode(
667
643
  args: UpdateStreamModeCommandInput,
668
644
  options: __HttpHandlerOptions,
669
- cb: (err: any, data?: UpdateStreamModeCommandOutput) => void
645
+ cb: (err: any, data?: UpdateStreamModeCommandOutput) => void,
670
646
  ): void;
671
647
  updateStreamWarmThroughput(
672
648
  args: UpdateStreamWarmThroughputCommandInput,
673
- options?: __HttpHandlerOptions
649
+ options?: __HttpHandlerOptions,
674
650
  ): Promise<UpdateStreamWarmThroughputCommandOutput>;
675
651
  updateStreamWarmThroughput(
676
652
  args: UpdateStreamWarmThroughputCommandInput,
677
- cb: (err: any, data?: UpdateStreamWarmThroughputCommandOutput) => void
653
+ cb: (err: any, data?: UpdateStreamWarmThroughputCommandOutput) => void,
678
654
  ): void;
679
655
  updateStreamWarmThroughput(
680
656
  args: UpdateStreamWarmThroughputCommandInput,
681
657
  options: __HttpHandlerOptions,
682
- cb: (err: any, data?: UpdateStreamWarmThroughputCommandOutput) => void
658
+ cb: (err: any, data?: UpdateStreamWarmThroughputCommandOutput) => void,
683
659
  ): void;
684
660
  paginateListStreamConsumers(
685
661
  args: ListStreamConsumersCommandInput,
686
662
  paginationConfig?: Pick<
687
663
  PaginationConfiguration,
688
664
  Exclude<keyof PaginationConfiguration, "client">
689
- >
665
+ >,
690
666
  ): Paginator<ListStreamConsumersCommandOutput>;
691
667
  paginateListStreams(
692
668
  args?: ListStreamsCommandInput,
693
669
  paginationConfig?: Pick<
694
670
  PaginationConfiguration,
695
671
  Exclude<keyof PaginationConfiguration, "client">
696
- >
672
+ >,
697
673
  ): Paginator<ListStreamsCommandOutput>;
698
674
  waitUntilStreamExists(
699
675
  args: DescribeStreamCommandInput,
700
676
  waiterConfig:
701
677
  | number
702
- | Pick<
703
- WaiterConfiguration<Kinesis>,
704
- Exclude<keyof WaiterConfiguration<Kinesis>, "client">
705
- >
678
+ | Pick<WaiterConfiguration<Kinesis>, Exclude<keyof WaiterConfiguration<Kinesis>, "client">>,
706
679
  ): Promise<WaiterResult<DescribeStreamCommandOutput>>;
707
680
  waitUntilStreamNotExists(
708
681
  args: DescribeStreamCommandInput,
709
682
  waiterConfig:
710
683
  | number
711
- | Pick<
712
- WaiterConfiguration<Kinesis>,
713
- Exclude<keyof WaiterConfiguration<Kinesis>, "client">
714
- >
684
+ | Pick<WaiterConfiguration<Kinesis>, Exclude<keyof WaiterConfiguration<Kinesis>, "client">>,
715
685
  ): Promise<WaiterResult<ResourceNotFoundException>>;
716
686
  }
717
687
  export declare class Kinesis extends KinesisClient implements Kinesis {}