amazonka-rekognition-2.0: Amazon Rekognition SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Rekognition.StartStreamProcessor

Description

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.

Synopsis

Creating a Request

data StartStreamProcessor Source #

See: newStartStreamProcessor smart constructor.

Constructors

StartStreamProcessor' 

Fields

  • startSelector :: Maybe StreamProcessingStartSelector

    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.

  • stopSelector :: Maybe StreamProcessingStopSelector

    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.

  • name :: Text

    The name of the stream processor to start processing.

Instances

Instances details
ToJSON StartStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.StartStreamProcessor

ToHeaders StartStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.StartStreamProcessor

ToPath StartStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.StartStreamProcessor

ToQuery StartStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.StartStreamProcessor

AWSRequest StartStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.StartStreamProcessor

Associated Types

type AWSResponse StartStreamProcessor #

Generic StartStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.StartStreamProcessor

Associated Types

type Rep StartStreamProcessor :: Type -> Type #

Read StartStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.StartStreamProcessor

Show StartStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.StartStreamProcessor

NFData StartStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.StartStreamProcessor

Methods

rnf :: StartStreamProcessor -> () #

Eq StartStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.StartStreamProcessor

Hashable StartStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.StartStreamProcessor

type AWSResponse StartStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.StartStreamProcessor

type Rep StartStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.StartStreamProcessor

type Rep StartStreamProcessor = D1 ('MetaData "StartStreamProcessor" "Amazonka.Rekognition.StartStreamProcessor" "amazonka-rekognition-2.0-EaCrS9R3rWADqefEZvOx5B" 'False) (C1 ('MetaCons "StartStreamProcessor'" 'PrefixI 'True) (S1 ('MetaSel ('Just "startSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamProcessingStartSelector)) :*: (S1 ('MetaSel ('Just "stopSelector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamProcessingStopSelector)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newStartStreamProcessor Source #

Create a value of StartStreamProcessor with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:startSelector:StartStreamProcessor', startStreamProcessor_startSelector - 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.

$sel:stopSelector:StartStreamProcessor', startStreamProcessor_stopSelector - 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.

StartStreamProcessor, startStreamProcessor_name - The name of the stream processor to start processing.

Request Lenses

startStreamProcessor_startSelector :: Lens' StartStreamProcessor (Maybe StreamProcessingStartSelector) Source #

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.

startStreamProcessor_stopSelector :: Lens' StartStreamProcessor (Maybe StreamProcessingStopSelector) Source #

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.

startStreamProcessor_name :: Lens' StartStreamProcessor Text Source #

The name of the stream processor to start processing.

Destructuring the Response

data StartStreamProcessorResponse Source #

See: newStartStreamProcessorResponse smart constructor.

Constructors

StartStreamProcessorResponse' 

Fields

Instances

Instances details
Generic StartStreamProcessorResponse Source # 
Instance details

Defined in Amazonka.Rekognition.StartStreamProcessor

Associated Types

type Rep StartStreamProcessorResponse :: Type -> Type #

Read StartStreamProcessorResponse Source # 
Instance details

Defined in Amazonka.Rekognition.StartStreamProcessor

Show StartStreamProcessorResponse Source # 
Instance details

Defined in Amazonka.Rekognition.StartStreamProcessor

NFData StartStreamProcessorResponse Source # 
Instance details

Defined in Amazonka.Rekognition.StartStreamProcessor

Eq StartStreamProcessorResponse Source # 
Instance details

Defined in Amazonka.Rekognition.StartStreamProcessor

type Rep StartStreamProcessorResponse Source # 
Instance details

Defined in Amazonka.Rekognition.StartStreamProcessor

type Rep StartStreamProcessorResponse = D1 ('MetaData "StartStreamProcessorResponse" "Amazonka.Rekognition.StartStreamProcessor" "amazonka-rekognition-2.0-EaCrS9R3rWADqefEZvOx5B" 'False) (C1 ('MetaCons "StartStreamProcessorResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sessionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newStartStreamProcessorResponse Source #

Create a value of StartStreamProcessorResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:sessionId:StartStreamProcessorResponse', startStreamProcessorResponse_sessionId - A unique identifier for the stream processing session.

$sel:httpStatus:StartStreamProcessorResponse', startStreamProcessorResponse_httpStatus - The response's http status code.

Response Lenses

startStreamProcessorResponse_sessionId :: Lens' StartStreamProcessorResponse (Maybe Text) Source #

A unique identifier for the stream processing session.