Skip to content

/AWS1/CL_REK=>STARTSTREAMPROCESSOR()

About StartStreamProcessor

Starts processing a stream processor. You create a stream processor by calling CreateStreamProcessor. To tell StartStreamProcessor which stream processor to start, use the value of the Name field specified in the call to CreateStreamProcessor.

If you are using a label detection stream processor to detect labels, you need to provide a Start selector and a Stop selector to determine the length of the stream processing time.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/REKSTREAMPROCESSORNAME /AWS1/REKSTREAMPROCESSORNAME

The name of the stream processor to start processing.

Optional arguments:

IO_STARTSELECTOR TYPE REF TO /AWS1/CL_REKSTRMPROCINGSTRTS00 /AWS1/CL_REKSTRMPROCINGSTRTS00

Specifies the starting point in the Kinesis stream to start processing. You can use the producer timestamp or the fragment number. If you use the producer timestamp, you must put the time in milliseconds. For more information about fragment numbers, see Fragment.

This is a required parameter for label detection stream processors and should not be used to start a face search stream processor.

IO_STOPSELECTOR TYPE REF TO /AWS1/CL_REKSTRMPROCINGSTOPS00 /AWS1/CL_REKSTRMPROCINGSTOPS00

Specifies when to stop processing the stream. You can specify a maximum amount of time to process the video.

This is a required parameter for label detection stream processors and should not be used to start a face search stream processor.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_REKSTARTSTRMPROCORRSP /AWS1/CL_REKSTARTSTRMPROCORRSP