@aws-sdk/client-kinesis 3.454.0 → 3.458.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/README.md +53 -29
- package/dist-cjs/Kinesis.js +6 -0
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +53 -0
- package/dist-cjs/commands/GetResourcePolicyCommand.js +53 -0
- package/dist-cjs/commands/PutResourcePolicyCommand.js +53 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/protocols/Aws_json1_1.js +149 -2
- package/dist-es/Kinesis.js +6 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +49 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +49 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +49 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/protocols/Aws_json1_1.js +141 -0
- package/dist-types/Kinesis.d.ts +21 -0
- package/dist-types/KinesisClient.d.ts +5 -2
- package/dist-types/commands/AddTagsToStreamCommand.d.ts +3 -2
- package/dist-types/commands/DecreaseStreamRetentionPeriodCommand.d.ts +3 -2
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +101 -0
- package/dist-types/commands/DeleteStreamCommand.d.ts +3 -2
- package/dist-types/commands/DescribeStreamCommand.d.ts +3 -2
- package/dist-types/commands/DescribeStreamConsumerCommand.d.ts +3 -0
- package/dist-types/commands/DescribeStreamSummaryCommand.d.ts +3 -2
- package/dist-types/commands/DisableEnhancedMonitoringCommand.d.ts +3 -2
- package/dist-types/commands/EnableEnhancedMonitoringCommand.d.ts +3 -2
- package/dist-types/commands/GetRecordsCommand.d.ts +3 -2
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +99 -0
- package/dist-types/commands/GetShardIteratorCommand.d.ts +3 -2
- package/dist-types/commands/IncreaseStreamRetentionPeriodCommand.d.ts +3 -2
- package/dist-types/commands/ListShardsCommand.d.ts +3 -2
- package/dist-types/commands/ListTagsForStreamCommand.d.ts +3 -2
- package/dist-types/commands/MergeShardsCommand.d.ts +3 -2
- package/dist-types/commands/PutRecordCommand.d.ts +3 -2
- package/dist-types/commands/PutRecordsCommand.d.ts +3 -2
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +109 -0
- package/dist-types/commands/RemoveTagsFromStreamCommand.d.ts +3 -2
- package/dist-types/commands/SplitShardCommand.d.ts +3 -2
- package/dist-types/commands/StartStreamEncryptionCommand.d.ts +5 -4
- package/dist-types/commands/StopStreamEncryptionCommand.d.ts +3 -2
- package/dist-types/commands/UpdateShardCountCommand.d.ts +6 -2
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +45 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/ts3.4/Kinesis.d.ts +51 -0
- package/dist-types/ts3.4/KinesisClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +37 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +33 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +13 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -211,7 +211,7 @@ see LICENSE for more information.
|
|
|
211
211
|
AddTagsToStream
|
|
212
212
|
</summary>
|
|
213
213
|
|
|
214
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
214
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/AddTagsToStreamCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/AddTagsToStreamCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/AddTagsToStreamCommandOutput/)
|
|
215
215
|
|
|
216
216
|
</details>
|
|
217
217
|
<details>
|
|
@@ -219,7 +219,7 @@ AddTagsToStream
|
|
|
219
219
|
CreateStream
|
|
220
220
|
</summary>
|
|
221
221
|
|
|
222
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
222
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/CreateStreamCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/CreateStreamCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/CreateStreamCommandOutput/)
|
|
223
223
|
|
|
224
224
|
</details>
|
|
225
225
|
<details>
|
|
@@ -227,7 +227,15 @@ CreateStream
|
|
|
227
227
|
DecreaseStreamRetentionPeriod
|
|
228
228
|
</summary>
|
|
229
229
|
|
|
230
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
230
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/DecreaseStreamRetentionPeriodCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/DecreaseStreamRetentionPeriodCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/DecreaseStreamRetentionPeriodCommandOutput/)
|
|
231
|
+
|
|
232
|
+
</details>
|
|
233
|
+
<details>
|
|
234
|
+
<summary>
|
|
235
|
+
DeleteResourcePolicy
|
|
236
|
+
</summary>
|
|
237
|
+
|
|
238
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/DeleteResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/DeleteResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/DeleteResourcePolicyCommandOutput/)
|
|
231
239
|
|
|
232
240
|
</details>
|
|
233
241
|
<details>
|
|
@@ -235,7 +243,7 @@ DecreaseStreamRetentionPeriod
|
|
|
235
243
|
DeleteStream
|
|
236
244
|
</summary>
|
|
237
245
|
|
|
238
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
246
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/DeleteStreamCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/DeleteStreamCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/DeleteStreamCommandOutput/)
|
|
239
247
|
|
|
240
248
|
</details>
|
|
241
249
|
<details>
|
|
@@ -243,7 +251,7 @@ DeleteStream
|
|
|
243
251
|
DeregisterStreamConsumer
|
|
244
252
|
</summary>
|
|
245
253
|
|
|
246
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
254
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/DeregisterStreamConsumerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/DeregisterStreamConsumerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/DeregisterStreamConsumerCommandOutput/)
|
|
247
255
|
|
|
248
256
|
</details>
|
|
249
257
|
<details>
|
|
@@ -251,7 +259,7 @@ DeregisterStreamConsumer
|
|
|
251
259
|
DescribeLimits
|
|
252
260
|
</summary>
|
|
253
261
|
|
|
254
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
262
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/DescribeLimitsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/DescribeLimitsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/DescribeLimitsCommandOutput/)
|
|
255
263
|
|
|
256
264
|
</details>
|
|
257
265
|
<details>
|
|
@@ -259,7 +267,7 @@ DescribeLimits
|
|
|
259
267
|
DescribeStream
|
|
260
268
|
</summary>
|
|
261
269
|
|
|
262
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
270
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/DescribeStreamCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/DescribeStreamCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/DescribeStreamCommandOutput/)
|
|
263
271
|
|
|
264
272
|
</details>
|
|
265
273
|
<details>
|
|
@@ -267,7 +275,7 @@ DescribeStream
|
|
|
267
275
|
DescribeStreamConsumer
|
|
268
276
|
</summary>
|
|
269
277
|
|
|
270
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
278
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/DescribeStreamConsumerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/DescribeStreamConsumerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/DescribeStreamConsumerCommandOutput/)
|
|
271
279
|
|
|
272
280
|
</details>
|
|
273
281
|
<details>
|
|
@@ -275,7 +283,7 @@ DescribeStreamConsumer
|
|
|
275
283
|
DescribeStreamSummary
|
|
276
284
|
</summary>
|
|
277
285
|
|
|
278
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
286
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/DescribeStreamSummaryCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/DescribeStreamSummaryCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/DescribeStreamSummaryCommandOutput/)
|
|
279
287
|
|
|
280
288
|
</details>
|
|
281
289
|
<details>
|
|
@@ -283,7 +291,7 @@ DescribeStreamSummary
|
|
|
283
291
|
DisableEnhancedMonitoring
|
|
284
292
|
</summary>
|
|
285
293
|
|
|
286
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
294
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/DisableEnhancedMonitoringCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/DisableEnhancedMonitoringCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/DisableEnhancedMonitoringCommandOutput/)
|
|
287
295
|
|
|
288
296
|
</details>
|
|
289
297
|
<details>
|
|
@@ -291,7 +299,7 @@ DisableEnhancedMonitoring
|
|
|
291
299
|
EnableEnhancedMonitoring
|
|
292
300
|
</summary>
|
|
293
301
|
|
|
294
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
302
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/EnableEnhancedMonitoringCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/EnableEnhancedMonitoringCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/EnableEnhancedMonitoringCommandOutput/)
|
|
295
303
|
|
|
296
304
|
</details>
|
|
297
305
|
<details>
|
|
@@ -299,7 +307,15 @@ EnableEnhancedMonitoring
|
|
|
299
307
|
GetRecords
|
|
300
308
|
</summary>
|
|
301
309
|
|
|
302
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
310
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/GetRecordsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/GetRecordsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/GetRecordsCommandOutput/)
|
|
311
|
+
|
|
312
|
+
</details>
|
|
313
|
+
<details>
|
|
314
|
+
<summary>
|
|
315
|
+
GetResourcePolicy
|
|
316
|
+
</summary>
|
|
317
|
+
|
|
318
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/GetResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/GetResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/GetResourcePolicyCommandOutput/)
|
|
303
319
|
|
|
304
320
|
</details>
|
|
305
321
|
<details>
|
|
@@ -307,7 +323,7 @@ GetRecords
|
|
|
307
323
|
GetShardIterator
|
|
308
324
|
</summary>
|
|
309
325
|
|
|
310
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
326
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/GetShardIteratorCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/GetShardIteratorCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/GetShardIteratorCommandOutput/)
|
|
311
327
|
|
|
312
328
|
</details>
|
|
313
329
|
<details>
|
|
@@ -315,7 +331,7 @@ GetShardIterator
|
|
|
315
331
|
IncreaseStreamRetentionPeriod
|
|
316
332
|
</summary>
|
|
317
333
|
|
|
318
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
334
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/IncreaseStreamRetentionPeriodCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/IncreaseStreamRetentionPeriodCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/IncreaseStreamRetentionPeriodCommandOutput/)
|
|
319
335
|
|
|
320
336
|
</details>
|
|
321
337
|
<details>
|
|
@@ -323,7 +339,7 @@ IncreaseStreamRetentionPeriod
|
|
|
323
339
|
ListShards
|
|
324
340
|
</summary>
|
|
325
341
|
|
|
326
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
342
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/ListShardsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/ListShardsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/ListShardsCommandOutput/)
|
|
327
343
|
|
|
328
344
|
</details>
|
|
329
345
|
<details>
|
|
@@ -331,7 +347,7 @@ ListShards
|
|
|
331
347
|
ListStreamConsumers
|
|
332
348
|
</summary>
|
|
333
349
|
|
|
334
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
350
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/ListStreamConsumersCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/ListStreamConsumersCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/ListStreamConsumersCommandOutput/)
|
|
335
351
|
|
|
336
352
|
</details>
|
|
337
353
|
<details>
|
|
@@ -339,7 +355,7 @@ ListStreamConsumers
|
|
|
339
355
|
ListStreams
|
|
340
356
|
</summary>
|
|
341
357
|
|
|
342
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
358
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/ListStreamsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/ListStreamsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/ListStreamsCommandOutput/)
|
|
343
359
|
|
|
344
360
|
</details>
|
|
345
361
|
<details>
|
|
@@ -347,7 +363,7 @@ ListStreams
|
|
|
347
363
|
ListTagsForStream
|
|
348
364
|
</summary>
|
|
349
365
|
|
|
350
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
366
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/ListTagsForStreamCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/ListTagsForStreamCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/ListTagsForStreamCommandOutput/)
|
|
351
367
|
|
|
352
368
|
</details>
|
|
353
369
|
<details>
|
|
@@ -355,7 +371,7 @@ ListTagsForStream
|
|
|
355
371
|
MergeShards
|
|
356
372
|
</summary>
|
|
357
373
|
|
|
358
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
374
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/MergeShardsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/MergeShardsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/MergeShardsCommandOutput/)
|
|
359
375
|
|
|
360
376
|
</details>
|
|
361
377
|
<details>
|
|
@@ -363,7 +379,7 @@ MergeShards
|
|
|
363
379
|
PutRecord
|
|
364
380
|
</summary>
|
|
365
381
|
|
|
366
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
382
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/PutRecordCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/PutRecordCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/PutRecordCommandOutput/)
|
|
367
383
|
|
|
368
384
|
</details>
|
|
369
385
|
<details>
|
|
@@ -371,7 +387,15 @@ PutRecord
|
|
|
371
387
|
PutRecords
|
|
372
388
|
</summary>
|
|
373
389
|
|
|
374
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
390
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/PutRecordsCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/PutRecordsCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/PutRecordsCommandOutput/)
|
|
391
|
+
|
|
392
|
+
</details>
|
|
393
|
+
<details>
|
|
394
|
+
<summary>
|
|
395
|
+
PutResourcePolicy
|
|
396
|
+
</summary>
|
|
397
|
+
|
|
398
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/PutResourcePolicyCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/PutResourcePolicyCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/PutResourcePolicyCommandOutput/)
|
|
375
399
|
|
|
376
400
|
</details>
|
|
377
401
|
<details>
|
|
@@ -379,7 +403,7 @@ PutRecords
|
|
|
379
403
|
RegisterStreamConsumer
|
|
380
404
|
</summary>
|
|
381
405
|
|
|
382
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
406
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/RegisterStreamConsumerCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/RegisterStreamConsumerCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/RegisterStreamConsumerCommandOutput/)
|
|
383
407
|
|
|
384
408
|
</details>
|
|
385
409
|
<details>
|
|
@@ -387,7 +411,7 @@ RegisterStreamConsumer
|
|
|
387
411
|
RemoveTagsFromStream
|
|
388
412
|
</summary>
|
|
389
413
|
|
|
390
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
414
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/RemoveTagsFromStreamCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/RemoveTagsFromStreamCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/RemoveTagsFromStreamCommandOutput/)
|
|
391
415
|
|
|
392
416
|
</details>
|
|
393
417
|
<details>
|
|
@@ -395,7 +419,7 @@ RemoveTagsFromStream
|
|
|
395
419
|
SplitShard
|
|
396
420
|
</summary>
|
|
397
421
|
|
|
398
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
422
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/SplitShardCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/SplitShardCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/SplitShardCommandOutput/)
|
|
399
423
|
|
|
400
424
|
</details>
|
|
401
425
|
<details>
|
|
@@ -403,7 +427,7 @@ SplitShard
|
|
|
403
427
|
StartStreamEncryption
|
|
404
428
|
</summary>
|
|
405
429
|
|
|
406
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
430
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/StartStreamEncryptionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/StartStreamEncryptionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/StartStreamEncryptionCommandOutput/)
|
|
407
431
|
|
|
408
432
|
</details>
|
|
409
433
|
<details>
|
|
@@ -411,7 +435,7 @@ StartStreamEncryption
|
|
|
411
435
|
StopStreamEncryption
|
|
412
436
|
</summary>
|
|
413
437
|
|
|
414
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
438
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/StopStreamEncryptionCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/StopStreamEncryptionCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/StopStreamEncryptionCommandOutput/)
|
|
415
439
|
|
|
416
440
|
</details>
|
|
417
441
|
<details>
|
|
@@ -419,7 +443,7 @@ StopStreamEncryption
|
|
|
419
443
|
SubscribeToShard
|
|
420
444
|
</summary>
|
|
421
445
|
|
|
422
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
446
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/SubscribeToShardCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/SubscribeToShardCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/SubscribeToShardCommandOutput/)
|
|
423
447
|
|
|
424
448
|
</details>
|
|
425
449
|
<details>
|
|
@@ -427,7 +451,7 @@ SubscribeToShard
|
|
|
427
451
|
UpdateShardCount
|
|
428
452
|
</summary>
|
|
429
453
|
|
|
430
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
454
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/UpdateShardCountCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/UpdateShardCountCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/UpdateShardCountCommandOutput/)
|
|
431
455
|
|
|
432
456
|
</details>
|
|
433
457
|
<details>
|
|
@@ -435,6 +459,6 @@ UpdateShardCount
|
|
|
435
459
|
UpdateStreamMode
|
|
436
460
|
</summary>
|
|
437
461
|
|
|
438
|
-
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/
|
|
462
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/kinesis/command/UpdateStreamModeCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/UpdateStreamModeCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-kinesis/Interface/UpdateStreamModeCommandOutput/)
|
|
439
463
|
|
|
440
464
|
</details>
|
package/dist-cjs/Kinesis.js
CHANGED
|
@@ -5,6 +5,7 @@ const smithy_client_1 = require("@smithy/smithy-client");
|
|
|
5
5
|
const AddTagsToStreamCommand_1 = require("./commands/AddTagsToStreamCommand");
|
|
6
6
|
const CreateStreamCommand_1 = require("./commands/CreateStreamCommand");
|
|
7
7
|
const DecreaseStreamRetentionPeriodCommand_1 = require("./commands/DecreaseStreamRetentionPeriodCommand");
|
|
8
|
+
const DeleteResourcePolicyCommand_1 = require("./commands/DeleteResourcePolicyCommand");
|
|
8
9
|
const DeleteStreamCommand_1 = require("./commands/DeleteStreamCommand");
|
|
9
10
|
const DeregisterStreamConsumerCommand_1 = require("./commands/DeregisterStreamConsumerCommand");
|
|
10
11
|
const DescribeLimitsCommand_1 = require("./commands/DescribeLimitsCommand");
|
|
@@ -14,6 +15,7 @@ const DescribeStreamSummaryCommand_1 = require("./commands/DescribeStreamSummary
|
|
|
14
15
|
const DisableEnhancedMonitoringCommand_1 = require("./commands/DisableEnhancedMonitoringCommand");
|
|
15
16
|
const EnableEnhancedMonitoringCommand_1 = require("./commands/EnableEnhancedMonitoringCommand");
|
|
16
17
|
const GetRecordsCommand_1 = require("./commands/GetRecordsCommand");
|
|
18
|
+
const GetResourcePolicyCommand_1 = require("./commands/GetResourcePolicyCommand");
|
|
17
19
|
const GetShardIteratorCommand_1 = require("./commands/GetShardIteratorCommand");
|
|
18
20
|
const IncreaseStreamRetentionPeriodCommand_1 = require("./commands/IncreaseStreamRetentionPeriodCommand");
|
|
19
21
|
const ListShardsCommand_1 = require("./commands/ListShardsCommand");
|
|
@@ -23,6 +25,7 @@ const ListTagsForStreamCommand_1 = require("./commands/ListTagsForStreamCommand"
|
|
|
23
25
|
const MergeShardsCommand_1 = require("./commands/MergeShardsCommand");
|
|
24
26
|
const PutRecordCommand_1 = require("./commands/PutRecordCommand");
|
|
25
27
|
const PutRecordsCommand_1 = require("./commands/PutRecordsCommand");
|
|
28
|
+
const PutResourcePolicyCommand_1 = require("./commands/PutResourcePolicyCommand");
|
|
26
29
|
const RegisterStreamConsumerCommand_1 = require("./commands/RegisterStreamConsumerCommand");
|
|
27
30
|
const RemoveTagsFromStreamCommand_1 = require("./commands/RemoveTagsFromStreamCommand");
|
|
28
31
|
const SplitShardCommand_1 = require("./commands/SplitShardCommand");
|
|
@@ -36,6 +39,7 @@ const commands = {
|
|
|
36
39
|
AddTagsToStreamCommand: AddTagsToStreamCommand_1.AddTagsToStreamCommand,
|
|
37
40
|
CreateStreamCommand: CreateStreamCommand_1.CreateStreamCommand,
|
|
38
41
|
DecreaseStreamRetentionPeriodCommand: DecreaseStreamRetentionPeriodCommand_1.DecreaseStreamRetentionPeriodCommand,
|
|
42
|
+
DeleteResourcePolicyCommand: DeleteResourcePolicyCommand_1.DeleteResourcePolicyCommand,
|
|
39
43
|
DeleteStreamCommand: DeleteStreamCommand_1.DeleteStreamCommand,
|
|
40
44
|
DeregisterStreamConsumerCommand: DeregisterStreamConsumerCommand_1.DeregisterStreamConsumerCommand,
|
|
41
45
|
DescribeLimitsCommand: DescribeLimitsCommand_1.DescribeLimitsCommand,
|
|
@@ -45,6 +49,7 @@ const commands = {
|
|
|
45
49
|
DisableEnhancedMonitoringCommand: DisableEnhancedMonitoringCommand_1.DisableEnhancedMonitoringCommand,
|
|
46
50
|
EnableEnhancedMonitoringCommand: EnableEnhancedMonitoringCommand_1.EnableEnhancedMonitoringCommand,
|
|
47
51
|
GetRecordsCommand: GetRecordsCommand_1.GetRecordsCommand,
|
|
52
|
+
GetResourcePolicyCommand: GetResourcePolicyCommand_1.GetResourcePolicyCommand,
|
|
48
53
|
GetShardIteratorCommand: GetShardIteratorCommand_1.GetShardIteratorCommand,
|
|
49
54
|
IncreaseStreamRetentionPeriodCommand: IncreaseStreamRetentionPeriodCommand_1.IncreaseStreamRetentionPeriodCommand,
|
|
50
55
|
ListShardsCommand: ListShardsCommand_1.ListShardsCommand,
|
|
@@ -54,6 +59,7 @@ const commands = {
|
|
|
54
59
|
MergeShardsCommand: MergeShardsCommand_1.MergeShardsCommand,
|
|
55
60
|
PutRecordCommand: PutRecordCommand_1.PutRecordCommand,
|
|
56
61
|
PutRecordsCommand: PutRecordsCommand_1.PutRecordsCommand,
|
|
62
|
+
PutResourcePolicyCommand: PutResourcePolicyCommand_1.PutResourcePolicyCommand,
|
|
57
63
|
RegisterStreamConsumerCommand: RegisterStreamConsumerCommand_1.RegisterStreamConsumerCommand,
|
|
58
64
|
RemoveTagsFromStreamCommand: RemoveTagsFromStreamCommand_1.RemoveTagsFromStreamCommand,
|
|
59
65
|
SplitShardCommand: SplitShardCommand_1.SplitShardCommand,
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DeleteResourcePolicyCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
+
class DeleteResourcePolicyCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
OperationType: { type: "staticContextParams", value: `control` },
|
|
14
|
+
ResourceARN: { type: "contextParams", name: "ResourceARN" },
|
|
15
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
16
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
17
|
+
Region: { type: "builtInParams", name: "region" },
|
|
18
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
constructor(input) {
|
|
22
|
+
super();
|
|
23
|
+
this.input = input;
|
|
24
|
+
}
|
|
25
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
26
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
27
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, DeleteResourcePolicyCommand.getEndpointParameterInstructions()));
|
|
28
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
29
|
+
const { logger } = configuration;
|
|
30
|
+
const clientName = "KinesisClient";
|
|
31
|
+
const commandName = "DeleteResourcePolicyCommand";
|
|
32
|
+
const handlerExecutionContext = {
|
|
33
|
+
logger,
|
|
34
|
+
clientName,
|
|
35
|
+
commandName,
|
|
36
|
+
inputFilterSensitiveLog: (_) => _,
|
|
37
|
+
outputFilterSensitiveLog: (_) => _,
|
|
38
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
39
|
+
service: "Kinesis_20131202",
|
|
40
|
+
operation: "DeleteResourcePolicy",
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
const { requestHandler } = configuration;
|
|
44
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
45
|
+
}
|
|
46
|
+
serialize(input, context) {
|
|
47
|
+
return (0, Aws_json1_1_1.se_DeleteResourcePolicyCommand)(input, context);
|
|
48
|
+
}
|
|
49
|
+
deserialize(output, context) {
|
|
50
|
+
return (0, Aws_json1_1_1.de_DeleteResourcePolicyCommand)(output, context);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.DeleteResourcePolicyCommand = DeleteResourcePolicyCommand;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetResourcePolicyCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
+
class GetResourcePolicyCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
OperationType: { type: "staticContextParams", value: `control` },
|
|
14
|
+
ResourceARN: { type: "contextParams", name: "ResourceARN" },
|
|
15
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
16
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
17
|
+
Region: { type: "builtInParams", name: "region" },
|
|
18
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
constructor(input) {
|
|
22
|
+
super();
|
|
23
|
+
this.input = input;
|
|
24
|
+
}
|
|
25
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
26
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
27
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, GetResourcePolicyCommand.getEndpointParameterInstructions()));
|
|
28
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
29
|
+
const { logger } = configuration;
|
|
30
|
+
const clientName = "KinesisClient";
|
|
31
|
+
const commandName = "GetResourcePolicyCommand";
|
|
32
|
+
const handlerExecutionContext = {
|
|
33
|
+
logger,
|
|
34
|
+
clientName,
|
|
35
|
+
commandName,
|
|
36
|
+
inputFilterSensitiveLog: (_) => _,
|
|
37
|
+
outputFilterSensitiveLog: (_) => _,
|
|
38
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
39
|
+
service: "Kinesis_20131202",
|
|
40
|
+
operation: "GetResourcePolicy",
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
const { requestHandler } = configuration;
|
|
44
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
45
|
+
}
|
|
46
|
+
serialize(input, context) {
|
|
47
|
+
return (0, Aws_json1_1_1.se_GetResourcePolicyCommand)(input, context);
|
|
48
|
+
}
|
|
49
|
+
deserialize(output, context) {
|
|
50
|
+
return (0, Aws_json1_1_1.de_GetResourcePolicyCommand)(output, context);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.GetResourcePolicyCommand = GetResourcePolicyCommand;
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PutResourcePolicyCommand = exports.$Command = void 0;
|
|
4
|
+
const middleware_endpoint_1 = require("@smithy/middleware-endpoint");
|
|
5
|
+
const middleware_serde_1 = require("@smithy/middleware-serde");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
Object.defineProperty(exports, "$Command", { enumerable: true, get: function () { return smithy_client_1.Command; } });
|
|
8
|
+
const types_1 = require("@smithy/types");
|
|
9
|
+
const Aws_json1_1_1 = require("../protocols/Aws_json1_1");
|
|
10
|
+
class PutResourcePolicyCommand extends smithy_client_1.Command {
|
|
11
|
+
static getEndpointParameterInstructions() {
|
|
12
|
+
return {
|
|
13
|
+
OperationType: { type: "staticContextParams", value: `control` },
|
|
14
|
+
ResourceARN: { type: "contextParams", name: "ResourceARN" },
|
|
15
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
16
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
17
|
+
Region: { type: "builtInParams", name: "region" },
|
|
18
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
19
|
+
};
|
|
20
|
+
}
|
|
21
|
+
constructor(input) {
|
|
22
|
+
super();
|
|
23
|
+
this.input = input;
|
|
24
|
+
}
|
|
25
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
26
|
+
this.middlewareStack.use((0, middleware_serde_1.getSerdePlugin)(configuration, this.serialize, this.deserialize));
|
|
27
|
+
this.middlewareStack.use((0, middleware_endpoint_1.getEndpointPlugin)(configuration, PutResourcePolicyCommand.getEndpointParameterInstructions()));
|
|
28
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
29
|
+
const { logger } = configuration;
|
|
30
|
+
const clientName = "KinesisClient";
|
|
31
|
+
const commandName = "PutResourcePolicyCommand";
|
|
32
|
+
const handlerExecutionContext = {
|
|
33
|
+
logger,
|
|
34
|
+
clientName,
|
|
35
|
+
commandName,
|
|
36
|
+
inputFilterSensitiveLog: (_) => _,
|
|
37
|
+
outputFilterSensitiveLog: (_) => _,
|
|
38
|
+
[types_1.SMITHY_CONTEXT_KEY]: {
|
|
39
|
+
service: "Kinesis_20131202",
|
|
40
|
+
operation: "PutResourcePolicy",
|
|
41
|
+
},
|
|
42
|
+
};
|
|
43
|
+
const { requestHandler } = configuration;
|
|
44
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
45
|
+
}
|
|
46
|
+
serialize(input, context) {
|
|
47
|
+
return (0, Aws_json1_1_1.se_PutResourcePolicyCommand)(input, context);
|
|
48
|
+
}
|
|
49
|
+
deserialize(output, context) {
|
|
50
|
+
return (0, Aws_json1_1_1.de_PutResourcePolicyCommand)(output, context);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
exports.PutResourcePolicyCommand = PutResourcePolicyCommand;
|
|
@@ -4,6 +4,7 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
tslib_1.__exportStar(require("./AddTagsToStreamCommand"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./CreateStreamCommand"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./DecreaseStreamRetentionPeriodCommand"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./DeleteResourcePolicyCommand"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./DeleteStreamCommand"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./DeregisterStreamConsumerCommand"), exports);
|
|
9
10
|
tslib_1.__exportStar(require("./DescribeLimitsCommand"), exports);
|
|
@@ -13,6 +14,7 @@ tslib_1.__exportStar(require("./DescribeStreamSummaryCommand"), exports);
|
|
|
13
14
|
tslib_1.__exportStar(require("./DisableEnhancedMonitoringCommand"), exports);
|
|
14
15
|
tslib_1.__exportStar(require("./EnableEnhancedMonitoringCommand"), exports);
|
|
15
16
|
tslib_1.__exportStar(require("./GetRecordsCommand"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./GetResourcePolicyCommand"), exports);
|
|
16
18
|
tslib_1.__exportStar(require("./GetShardIteratorCommand"), exports);
|
|
17
19
|
tslib_1.__exportStar(require("./IncreaseStreamRetentionPeriodCommand"), exports);
|
|
18
20
|
tslib_1.__exportStar(require("./ListShardsCommand"), exports);
|
|
@@ -22,6 +24,7 @@ tslib_1.__exportStar(require("./ListTagsForStreamCommand"), exports);
|
|
|
22
24
|
tslib_1.__exportStar(require("./MergeShardsCommand"), exports);
|
|
23
25
|
tslib_1.__exportStar(require("./PutRecordCommand"), exports);
|
|
24
26
|
tslib_1.__exportStar(require("./PutRecordsCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./PutResourcePolicyCommand"), exports);
|
|
25
28
|
tslib_1.__exportStar(require("./RegisterStreamConsumerCommand"), exports);
|
|
26
29
|
tslib_1.__exportStar(require("./RemoveTagsFromStreamCommand"), exports);
|
|
27
30
|
tslib_1.__exportStar(require("./SplitShardCommand"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ruleSet = void 0;
|
|
4
|
-
const
|
|
5
|
-
const a = true, b = "isSet", c = "stringEquals", d = "aws.parseArn", e = "arn", f = "booleanEquals", g = "endpoint", h = "tree", i = "error", j = { [
|
|
6
|
-
const _data = { version: "1.0", parameters: { Region: j, UseDualStack: k, UseFIPS: k, Endpoint: j, StreamARN: j, OperationType: j, ConsumerARN: j }, [
|
|
4
|
+
const H = "required", I = "type", J = "rules", K = "conditions", L = "fn", M = "argv", N = "ref", O = "assign", P = "url", Q = "properties", R = "headers";
|
|
5
|
+
const a = true, b = "isSet", c = "stringEquals", d = "aws.parseArn", e = "arn", f = "booleanEquals", g = "endpoint", h = "tree", i = "error", j = { [H]: false, [I]: "String" }, k = { [H]: true, "default": false, [I]: "Boolean" }, l = { [L]: "not", [M]: [{ [L]: b, [M]: [{ [N]: "Endpoint" }] }] }, m = { [N]: "Endpoint" }, n = { [L]: b, [M]: [{ [N]: "Region" }] }, o = { [L]: "aws.partition", [M]: [{ [N]: "Region" }], [O]: "PartitionResult" }, p = { [L]: "not", [M]: [{ [L]: c, [M]: [{ [L]: "getAttr", [M]: [{ [N]: "PartitionResult" }, "name"] }, "aws-iso"] }] }, q = { [L]: "getAttr", [M]: [{ [N]: "PartitionResult" }, "name"] }, r = { [L]: "not", [M]: [{ [L]: c, [M]: [q, "aws-iso-b"] }] }, s = { [L]: "getAttr", [M]: [{ [N]: "PartitionResult" }, "supportsFIPS"] }, t = {}, u = { [i]: "FIPS is enabled but this partition does not support FIPS", [I]: i }, v = { [i]: "DualStack is enabled but this partition does not support DualStack", [I]: i }, w = { [i]: "Invalid ARN: Failed to parse ARN.", [I]: i }, x = { [L]: f, [M]: [true, { [L]: "getAttr", [M]: [{ [N]: "PartitionResult" }, "supportsDualStack"] }] }, y = [{ [N]: "StreamARN" }], z = [{ [L]: b, [M]: [m] }], A = [{ [K]: [{ [L]: "isValidHostLabel", [M]: [{ [L]: "getAttr", [M]: [{ [N]: e }, "accountId"] }, false] }], [J]: [{ [K]: [{ [L]: "isValidHostLabel", [M]: [{ [L]: "getAttr", [M]: [{ [N]: e }, "region"] }, false] }], [J]: [{ [K]: [{ [L]: c, [M]: [{ [L]: "getAttr", [M]: [{ [N]: e }, "service"] }, "kinesis"] }], [J]: [{ [K]: [{ [L]: "getAttr", [M]: [{ [N]: e }, "resourceId[0]"], [O]: "arnType" }, { [L]: "not", [M]: [{ [L]: c, [M]: [{ [N]: "arnType" }, ""] }] }], [J]: [{ [K]: [{ [L]: c, [M]: [{ [N]: "arnType" }, "stream"] }], [J]: [{ [K]: [{ [L]: c, [M]: [q, "{arn#partition}"] }], [J]: [{ [K]: [{ [L]: b, [M]: [{ [N]: "OperationType" }] }], [J]: [{ [K]: [{ [L]: f, [M]: [{ [N]: "UseFIPS" }, true] }, { [L]: f, [M]: [{ [N]: "UseDualStack" }, true] }], [J]: [{ [K]: [{ [L]: f, [M]: [s, true] }], [J]: [{ [K]: [{ [L]: f, [M]: [{ [L]: "getAttr", [M]: [{ [N]: "PartitionResult" }, "supportsDualStack"] }, true] }], [J]: [{ [g]: { [P]: "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [Q]: {}, [R]: {} }, [I]: g }], [I]: h }, { [i]: "DualStack is enabled, but this partition does not support DualStack.", [I]: i }], [I]: h }, { [i]: "FIPS is enabled, but this partition does not support FIPS.", [I]: i }], [I]: h }, { [K]: [{ [L]: f, [M]: [{ [N]: "UseFIPS" }, true] }], [J]: [{ [K]: [{ [L]: f, [M]: [s, true] }], [J]: [{ [g]: { [P]: "https://{arn#accountId}.{OperationType}-kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", [Q]: {}, [R]: {} }, [I]: g }], [I]: h }, u], [I]: h }, { [K]: [{ [L]: f, [M]: [{ [N]: "UseDualStack" }, true] }], [J]: [{ [K]: [{ [L]: f, [M]: [{ [L]: "getAttr", [M]: [{ [N]: "PartitionResult" }, "supportsDualStack"] }, true] }], [J]: [{ [g]: { [P]: "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", [Q]: {}, [R]: {} }, [I]: g }], [I]: h }, v], [I]: h }, { [g]: { [P]: "https://{arn#accountId}.{OperationType}-kinesis.{Region}.{PartitionResult#dnsSuffix}", [Q]: {}, [R]: {} }, [I]: g }], [I]: h }, { [i]: "Operation Type is not set. Please contact service team for resolution.", [I]: i }], [I]: h }, { [i]: "Partition: {arn#partition} from ARN doesn't match with partition name: {PartitionResult#name}.", [I]: i }], [I]: h }, { [i]: "Invalid ARN: Kinesis ARNs don't support `{arnType}` arn types.", [I]: i }], [I]: h }, { [i]: "Invalid ARN: No ARN type specified", [I]: i }], [I]: h }, { [i]: "Invalid ARN: The ARN was not for the Kinesis service, found: {arn#service}.", [I]: i }], [I]: h }, { [i]: "Invalid ARN: Invalid region.", [I]: i }], [I]: h }, { [i]: "Invalid ARN: Invalid account id.", [I]: i }], B = [{ [L]: f, [M]: [{ [N]: "UseFIPS" }, true] }, { [L]: f, [M]: [{ [N]: "UseDualStack" }, true] }], C = [{ [L]: f, [M]: [s, true] }], D = [{ [L]: f, [M]: [{ [N]: "UseFIPS" }, true] }], E = [{ [L]: f, [M]: [{ [N]: "UseDualStack" }, true] }], F = [{ [N]: "ConsumerARN" }], G = [{ [N]: "ResourceARN" }];
|
|
6
|
+
const _data = { version: "1.0", parameters: { Region: j, UseDualStack: k, UseFIPS: k, Endpoint: j, StreamARN: j, OperationType: j, ConsumerARN: j, ResourceARN: j }, [J]: [{ [K]: [{ [L]: b, [M]: y }, l, n, o, p, r], [J]: [{ [K]: [{ [L]: d, [M]: y, [O]: e }], [J]: A, [I]: h }, w], [I]: h }, { [K]: [{ [L]: b, [M]: F }, l, n, o, p, r], [J]: [{ [K]: [{ [L]: d, [M]: F, [O]: e }], [J]: A, [I]: h }, w], [I]: h }, { [K]: [{ [L]: b, [M]: G }, l, n, o, p, r], [J]: [{ [K]: [{ [L]: d, [M]: G, [O]: e }], [J]: A, [I]: h }, w], [I]: h }, { [K]: z, [J]: [{ [K]: D, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [I]: i }, { [K]: E, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [I]: i }, { endpoint: { [P]: m, [Q]: t, [R]: t }, [I]: g }], [I]: h }, { [K]: [n], [J]: [{ [K]: [o], [J]: [{ [K]: B, [J]: [{ [K]: [{ [L]: f, [M]: [a, s] }, x], [J]: [{ endpoint: { [P]: "https://kinesis-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [Q]: t, [R]: t }, [I]: g }], [I]: h }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", [I]: i }], [I]: h }, { [K]: D, [J]: [{ [K]: C, [J]: [{ [K]: [{ [L]: c, [M]: [q, "aws-us-gov"] }], endpoint: { [P]: "https://kinesis.{Region}.amazonaws.com", [Q]: t, [R]: t }, [I]: g }, { endpoint: { [P]: "https://kinesis-fips.{Region}.{PartitionResult#dnsSuffix}", [Q]: t, [R]: t }, [I]: g }], [I]: h }, u], [I]: h }, { [K]: E, [J]: [{ [K]: [x], [J]: [{ endpoint: { [P]: "https://kinesis.{Region}.{PartitionResult#dualStackDnsSuffix}", [Q]: t, [R]: t }, [I]: g }], [I]: h }, v], [I]: h }, { endpoint: { [P]: "https://kinesis.{Region}.{PartitionResult#dnsSuffix}", [Q]: t, [R]: t }, [I]: g }], [I]: h }], [I]: h }, { error: "Invalid Configuration: Missing Region", [I]: i }] };
|
|
7
7
|
exports.ruleSet = _data;
|