CreateStream
data class CreateStream(val streamId: StreamId, val files: List<StreamFile>, val roleArn: ARN, val description: String? = null) : IotAction<CreatedStream> (source)
Creates a stream of files (1 to 50) which devices pull over MQTT file delivery. roleArn is the role IoT assumes to read the S3 objects, and is required. A duplicate streamId is refused with ResourceAlreadyExistsException (409).
Devices read the blocks over MQTT ($aws/things/{thing}/streams/{streamId}/get/cbor), not over HTTP, so there is no data-plane client here - only this control plane, which publishes the bytes for a device to fetch.
tags is not supported.