Kinesis
Data streams, shards, records, enhanced-fanout consumers, and stream and consumer resource policies (a Lambda in another account can map a stream through its policy).
Quick start
import boto3
kin = boto3.client("kinesis", endpoint_url="http://localhost:4566",
region_name="us-east-1",
aws_access_key_id="test", aws_secret_access_key="test")
kin.create_stream(StreamName="s", ShardCount=1)
kin.put_record(StreamName="s", Data=b"hello", PartitionKey="k")
Supported operations
30 operations exposed by this service as of MiniStack 1.5.44. Extracted directly from the handler dispatch in the source module.
AddTagsToStream
CreateStream
DecreaseStreamRetentionPeriod
DeleteResourcePolicy
DeleteStream
DeregisterStreamConsumer
DescribeStream
DescribeStreamConsumer
DescribeStreamSummary
DisableEnhancedMonitoring
EnableEnhancedMonitoring
GetRecords
GetResourcePolicy
GetShardIterator
IncreaseStreamRetentionPeriod
ListShards
ListStreamConsumers
ListStreams
ListTagsForStream
MergeShards
PutRecord
PutRecords
PutResourcePolicy
RegisterStreamConsumer
RemoveTagsFromStream
SplitShard
StartStreamEncryption
StopStreamEncryption
SubscribeToShard
UpdateShardCount
CloudFormation
The CloudFormation engine provisions these resource types via this service:
AWS::Kinesis::Stream
See CloudFormation engine for intrinsic support and lifecycle details.
Known limitations
- Shard-level metrics and iterator ages are not tracked.
- Enhanced monitoring settings are stored but not applied.
- A resource policy naming an account that does not exist is accepted; AWS refuses it with "Invalid principal in policy document."
Source
ministack/services/kinesis.py
Read the source to verify the ops list above — dispatch tables and handler functions are the ground truth.