Skip to content

/AWS1/CL_IOT=>CREATESTREAM()

About CreateStream

Creates a stream for delivering one or more large files in chunks over MQTT. A stream transports data bytes in chunks or blocks packaged as MQTT messages from a source like S3. You can have one or more files associated with a stream.

Requires permission to access the CreateStream action.

Method Signature

IMPORTING

Required arguments:

IV_STREAMID TYPE /AWS1/IOTSTREAMID /AWS1/IOTSTREAMID

The stream ID.

IT_FILES TYPE /AWS1/CL_IOTSTREAMFILE=>TT_STREAMFILES TT_STREAMFILES

The files to stream.

IV_ROLEARN TYPE /AWS1/IOTROLEARN /AWS1/IOTROLEARN

An IAM role that allows the IoT service principal to access your S3 files.

Optional arguments:

IV_DESCRIPTION TYPE /AWS1/IOTSTREAMDESCRIPTION /AWS1/IOTSTREAMDESCRIPTION

A description of the stream.

IT_TAGS TYPE /AWS1/CL_IOTTAG=>TT_TAGLIST TT_TAGLIST

Metadata which can be used to manage streams.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_IOTCREATESTREAMRSP /AWS1/CL_IOTCREATESTREAMRSP