pub struct StartStreamProcessor { /* private fields */ }Expand description
Fluent builder constructing a request to 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.
Implementations
sourceimpl StartStreamProcessor
impl StartStreamProcessor
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<StartStreamProcessor, AwsResponseRetryClassifier>, SdkError<StartStreamProcessorError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<StartStreamProcessor, AwsResponseRetryClassifier>, SdkError<StartStreamProcessorError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<StartStreamProcessorOutput, SdkError<StartStreamProcessorError>>
pub async fn send(
self
) -> Result<StartStreamProcessorOutput, SdkError<StartStreamProcessorError>>
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.
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the stream processor to start processing.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
The name of the stream processor to start processing.
sourcepub fn start_selector(self, input: StreamProcessingStartSelector) -> Self
pub fn start_selector(self, input: StreamProcessingStartSelector) -> Self
Specifies the starting point in the Kinesis stream to start processing. You can use the producer timestamp or the fragment number. For more information, see Fragment.
This is a required parameter for label detection stream processors and should not be used to start a face search stream processor.
sourcepub fn set_start_selector(
self,
input: Option<StreamProcessingStartSelector>
) -> Self
pub fn set_start_selector(
self,
input: Option<StreamProcessingStartSelector>
) -> Self
Specifies the starting point in the Kinesis stream to start processing. You can use the producer timestamp or the fragment number. For more information, see Fragment.
This is a required parameter for label detection stream processors and should not be used to start a face search stream processor.
sourcepub fn stop_selector(self, input: StreamProcessingStopSelector) -> Self
pub fn stop_selector(self, input: StreamProcessingStopSelector) -> Self
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.
sourcepub fn set_stop_selector(
self,
input: Option<StreamProcessingStopSelector>
) -> Self
pub fn set_stop_selector(
self,
input: Option<StreamProcessingStopSelector>
) -> Self
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.
Trait Implementations
sourceimpl Clone for StartStreamProcessor
impl Clone for StartStreamProcessor
sourcefn clone(&self) -> StartStreamProcessor
fn clone(&self) -> StartStreamProcessor
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more