amazonka-rekognition-1.6.0: 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 # 
Data CreateStreamProcessor Source # 

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 # 
Show CreateStreamProcessor Source # 
Generic CreateStreamProcessor Source # 
Hashable CreateStreamProcessor Source # 
ToJSON CreateStreamProcessor Source # 
NFData CreateStreamProcessor Source # 

Methods

rnf :: CreateStreamProcessor -> () #

AWSRequest CreateStreamProcessor Source # 
ToHeaders CreateStreamProcessor Source # 
ToPath CreateStreamProcessor Source # 
ToQuery CreateStreamProcessor Source # 
type Rep CreateStreamProcessor Source # 
type Rep CreateStreamProcessor = D1 * (MetaData "CreateStreamProcessor" "Network.AWS.Rekognition.CreateStreamProcessor" "amazonka-rekognition-1.6.0-3jgXZy5HWud2mYhTRx5OTT" False) (C1 * (MetaCons "CreateStreamProcessor'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_cspInput") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * StreamProcessorInput)) (S1 * (MetaSel (Just Symbol "_cspOutput") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * StreamProcessorOutput))) ((:*:) * (S1 * (MetaSel (Just Symbol "_cspName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text)) ((:*:) * (S1 * (MetaSel (Just Symbol "_cspSettings") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * StreamProcessorSettings)) (S1 * (MetaSel (Just Symbol "_cspRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Text))))))
type Rs CreateStreamProcessor Source # 

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 # 
Data CreateStreamProcessorResponse Source # 

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 # 
Show CreateStreamProcessorResponse Source # 
Generic CreateStreamProcessorResponse Source # 
NFData CreateStreamProcessorResponse Source # 
type Rep CreateStreamProcessorResponse Source # 
type Rep CreateStreamProcessorResponse = D1 * (MetaData "CreateStreamProcessorResponse" "Network.AWS.Rekognition.CreateStreamProcessor" "amazonka-rekognition-1.6.0-3jgXZy5HWud2mYhTRx5OTT" False) (C1 * (MetaCons "CreateStreamProcessorResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_csprsStreamProcessorARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_csprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int))))

Response Lenses

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

ARN for the newly create stream processor.