pub struct CreateStreamProcessor<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }Expand description
Fluent builder constructing a request to CreateStreamProcessor.
Creates an Amazon Rekognition stream processor that you can use to detect and recognize faces in a streaming video.
Amazon Rekognition Video is a consumer of live video from Amazon Kinesis Video Streams. Amazon 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 StartStreamProcessor with the Name field.
After you have finished analyzing a streaming video, use StopStreamProcessor to stop processing. You can delete the stream processor by calling DeleteStreamProcessor.
This operation requires permissions to perform the rekognition:CreateStreamProcessor action. If you want to tag your stream processor, you also require permission to perform the rekognition:TagResource operation.
Implementations
impl<C, M, R> CreateStreamProcessor<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> CreateStreamProcessor<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<CreateStreamProcessorOutput, SdkError<CreateStreamProcessorError>> where
R::Policy: SmithyRetryPolicy<CreateStreamProcessorInputOperationOutputAlias, CreateStreamProcessorOutput, CreateStreamProcessorError, CreateStreamProcessorInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<CreateStreamProcessorOutput, SdkError<CreateStreamProcessorError>> where
R::Policy: SmithyRetryPolicy<CreateStreamProcessorInputOperationOutputAlias, CreateStreamProcessorOutput, CreateStreamProcessorError, CreateStreamProcessorInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
Kinesis video stream stream that provides the source streaming video. If you are using the AWS CLI, the parameter name is StreamProcessorInput.
Kinesis video stream stream that provides the source streaming video. If you are using the AWS CLI, the parameter name is StreamProcessorInput.
Kinesis data stream stream to which Amazon Rekognition Video puts the analysis results. If you are using the AWS CLI, the parameter name is StreamProcessorOutput.
Kinesis data stream stream to which Amazon Rekognition Video puts the analysis results. If you are using the AWS CLI, the parameter name is StreamProcessorOutput.
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 DescribeStreamProcessor. Name is idempotent.
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 DescribeStreamProcessor. Name is idempotent.
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.
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.
ARN of the IAM role that allows access to the stream processor.
ARN of the IAM role that allows access to the stream processor.
Adds a key-value pair to Tags.
To override the contents of this collection use set_tags.
A set of tags (key-value pairs) that you want to attach to the stream processor.
A set of tags (key-value pairs) that you want to attach to the stream processor.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for CreateStreamProcessor<C, M, R>
impl<C, M, R> Send for CreateStreamProcessor<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for CreateStreamProcessor<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for CreateStreamProcessor<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for CreateStreamProcessor<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more