amazonka-rekognition-1.6.1: Amazon Rekognition SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Rekognition.CreateStreamProcessor

Contents

Description

Creates an Amazon Rekognition stream processor that you can use to detect and recognize faces in a streaming video.

Rekognition Video is a consumer of live video from Amazon Kinesis Video Streams. Rekognition Video sends analysis results to Amazon Kinesis Data Streams.

You provide as input a Kinesis video stream (Input ) and a Kinesis data stream (Output ) stream. You also specify the face recognition criteria in Settings . For example, the collection containing faces that you want to recognize. Use Name to assign an identifier for the stream processor. You use Name to manage the stream processor. For example, you can start processing the source video by calling with the Name field.

After you have finished analyzing a streaming video, use to stop processing. You can delete the stream processor by calling .

Synopsis

Creating a Request

createStreamProcessor Source #

Creates a value of CreateStreamProcessor with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • cspInput - Kinesis video stream stream that provides the source streaming video. If you are using the AWS CLI, the parameter name is StreamProcessorInput .
  • cspOutput - Kinesis data stream stream to which Rekognition Video puts the analysis results. If you are using the AWS CLI, the parameter name is StreamProcessorOutput .
  • cspName - An identifier you assign to the stream processor. You can use Name to manage the stream processor. For example, you can get the current status of the stream processor by calling . Name is idempotent.
  • cspSettings - Face recognition input parameters to be used by the stream processor. Includes the collection to use for face recognition and the face attributes to detect.
  • cspRoleARN - ARN of the IAM role that allows access to the stream processor.

data CreateStreamProcessor Source #

See: createStreamProcessor smart constructor.

Instances
Eq CreateStreamProcessor Source # 
Instance details

Defined in Network.AWS.Rekognition.CreateStreamProcessor

Data CreateStreamProcessor Source # 
Instance details

Defined in Network.AWS.Rekognition.CreateStreamProcessor

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateStreamProcessor -> c CreateStreamProcessor #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateStreamProcessor #

toConstr :: CreateStreamProcessor -> Constr #

dataTypeOf :: CreateStreamProcessor -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CreateStreamProcessor) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateStreamProcessor) #

gmapT :: (forall b. Data b => b -> b) -> CreateStreamProcessor -> CreateStreamProcessor #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateStreamProcessor -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateStreamProcessor -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateStreamProcessor -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateStreamProcessor -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateStreamProcessor -> m CreateStreamProcessor #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateStreamProcessor -> m CreateStreamProcessor #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateStreamProcessor -> m CreateStreamProcessor #

Read CreateStreamProcessor Source # 
Instance details

Defined in Network.AWS.Rekognition.CreateStreamProcessor

Show CreateStreamProcessor Source # 
Instance details

Defined in Network.AWS.Rekognition.CreateStreamProcessor

Generic CreateStreamProcessor Source # 
Instance details

Defined in Network.AWS.Rekognition.CreateStreamProcessor

Associated Types

type Rep CreateStreamProcessor :: Type -> Type #

Hashable CreateStreamProcessor Source # 
Instance details

Defined in Network.AWS.Rekognition.CreateStreamProcessor

ToJSON CreateStreamProcessor Source # 
Instance details

Defined in Network.AWS.Rekognition.CreateStreamProcessor

AWSRequest CreateStreamProcessor Source # 
Instance details

Defined in Network.AWS.Rekognition.CreateStreamProcessor

Associated Types

type Rs CreateStreamProcessor :: Type #

ToHeaders CreateStreamProcessor Source # 
Instance details

Defined in Network.AWS.Rekognition.CreateStreamProcessor

ToPath CreateStreamProcessor Source # 
Instance details

Defined in Network.AWS.Rekognition.CreateStreamProcessor

ToQuery CreateStreamProcessor Source # 
Instance details

Defined in Network.AWS.Rekognition.CreateStreamProcessor

NFData CreateStreamProcessor Source # 
Instance details

Defined in Network.AWS.Rekognition.CreateStreamProcessor

Methods

rnf :: CreateStreamProcessor -> () #

type Rep CreateStreamProcessor Source # 
Instance details

Defined in Network.AWS.Rekognition.CreateStreamProcessor

type Rep CreateStreamProcessor = D1 (MetaData "CreateStreamProcessor" "Network.AWS.Rekognition.CreateStreamProcessor" "amazonka-rekognition-1.6.1-ELwOF0LSGWFp8S3Ef6QMe" False) (C1 (MetaCons "CreateStreamProcessor'" PrefixI True) ((S1 (MetaSel (Just "_cspInput") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 StreamProcessorInput) :*: S1 (MetaSel (Just "_cspOutput") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 StreamProcessorOutput)) :*: (S1 (MetaSel (Just "_cspName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: (S1 (MetaSel (Just "_cspSettings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 StreamProcessorSettings) :*: S1 (MetaSel (Just "_cspRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))
type Rs CreateStreamProcessor Source # 
Instance details

Defined in Network.AWS.Rekognition.CreateStreamProcessor

Request Lenses

cspInput :: Lens' CreateStreamProcessor StreamProcessorInput Source #

Kinesis video stream stream that provides the source streaming video. If you are using the AWS CLI, the parameter name is StreamProcessorInput .

cspOutput :: Lens' CreateStreamProcessor StreamProcessorOutput Source #

Kinesis data stream stream to which Rekognition Video puts the analysis results. If you are using the AWS CLI, the parameter name is StreamProcessorOutput .

cspName :: Lens' CreateStreamProcessor Text Source #

An identifier you assign to the stream processor. You can use Name to manage the stream processor. For example, you can get the current status of the stream processor by calling . Name is idempotent.

cspSettings :: Lens' CreateStreamProcessor StreamProcessorSettings Source #

Face recognition input parameters to be used by the stream processor. Includes the collection to use for face recognition and the face attributes to detect.

cspRoleARN :: Lens' CreateStreamProcessor Text Source #

ARN of the IAM role that allows access to the stream processor.

Destructuring the Response

createStreamProcessorResponse Source #

Creates a value of CreateStreamProcessorResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

data CreateStreamProcessorResponse Source #

See: createStreamProcessorResponse smart constructor.

Instances
Eq CreateStreamProcessorResponse Source # 
Instance details

Defined in Network.AWS.Rekognition.CreateStreamProcessor

Data CreateStreamProcessorResponse Source # 
Instance details

Defined in Network.AWS.Rekognition.CreateStreamProcessor

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> CreateStreamProcessorResponse -> c CreateStreamProcessorResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c CreateStreamProcessorResponse #

toConstr :: CreateStreamProcessorResponse -> Constr #

dataTypeOf :: CreateStreamProcessorResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c CreateStreamProcessorResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c CreateStreamProcessorResponse) #

gmapT :: (forall b. Data b => b -> b) -> CreateStreamProcessorResponse -> CreateStreamProcessorResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> CreateStreamProcessorResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> CreateStreamProcessorResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> CreateStreamProcessorResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> CreateStreamProcessorResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> CreateStreamProcessorResponse -> m CreateStreamProcessorResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateStreamProcessorResponse -> m CreateStreamProcessorResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> CreateStreamProcessorResponse -> m CreateStreamProcessorResponse #

Read CreateStreamProcessorResponse Source # 
Instance details

Defined in Network.AWS.Rekognition.CreateStreamProcessor

Show CreateStreamProcessorResponse Source # 
Instance details

Defined in Network.AWS.Rekognition.CreateStreamProcessor

Generic CreateStreamProcessorResponse Source # 
Instance details

Defined in Network.AWS.Rekognition.CreateStreamProcessor

Associated Types

type Rep CreateStreamProcessorResponse :: Type -> Type #

NFData CreateStreamProcessorResponse Source # 
Instance details

Defined in Network.AWS.Rekognition.CreateStreamProcessor

type Rep CreateStreamProcessorResponse Source # 
Instance details

Defined in Network.AWS.Rekognition.CreateStreamProcessor

type Rep CreateStreamProcessorResponse = D1 (MetaData "CreateStreamProcessorResponse" "Network.AWS.Rekognition.CreateStreamProcessor" "amazonka-rekognition-1.6.1-ELwOF0LSGWFp8S3Ef6QMe" False) (C1 (MetaCons "CreateStreamProcessorResponse'" PrefixI True) (S1 (MetaSel (Just "_csprsStreamProcessorARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_csprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

csprsStreamProcessorARN :: Lens' CreateStreamProcessorResponse (Maybe Text) Source #

ARN for the newly create stream processor.