mirror of
https://github.com/floci-io/floci.git
synced 2026-12-01 01:12:48 -05:00
Adds Amazon Kinesis Video Streams (kinesisvideo, REST JSON, 2017-09-30) with the stream lifecycle control plane: CreateStream, DescribeStream, ListStreams and DeleteStream, stored per account and Region. A stream's ARN ends with its creation time in milliseconds and is distinct for every stream, even one recreated within the same millisecond, and its KmsKeyId defaults to alias/aws/kinesisvideo. ListStreams pages by the last returned name, so deleting between pages skips nothing. Requests are checked against the constraints of the botocore model, vendored by tools/aws/regen_kinesisvideo_shapes.py, and refusals carry the codes and wording AWS sends. Under IAM enforcement every request is checked as its kinesisvideo: action on the stream it names, read through the stream's stored ARN and tags, and a tagged CreateStream also needs kinesisvideo:TagStream. The IAM data comes from the generators. A stream is ACTIVE as soon as CreateStream returns, and DeleteStream removes it at once, where AWS passes through CREATING and DELETING.