pub struct UpdateStreamProcessor { /* private fields */ }Expand description
Fluent builder constructing a request to UpdateStreamProcessor.
Allows you to update a stream processor. You can change some settings and regions of interest and delete certain parameters.
Implementations
sourceimpl UpdateStreamProcessor
impl UpdateStreamProcessor
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<UpdateStreamProcessor, AwsResponseRetryClassifier>, SdkError<UpdateStreamProcessorError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<UpdateStreamProcessor, AwsResponseRetryClassifier>, SdkError<UpdateStreamProcessorError>>
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<UpdateStreamProcessorOutput, SdkError<UpdateStreamProcessorError>>
pub async fn send(
self
) -> Result<UpdateStreamProcessorOutput, SdkError<UpdateStreamProcessorError>>
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
Name of the stream processor that you want to update.
sourcepub fn set_name(self, input: Option<String>) -> Self
pub fn set_name(self, input: Option<String>) -> Self
Name of the stream processor that you want to update.
sourcepub fn settings_for_update(self, input: StreamProcessorSettingsForUpdate) -> Self
pub fn settings_for_update(self, input: StreamProcessorSettingsForUpdate) -> Self
The stream processor settings that you want to update. Label detection settings can be updated to detect different labels with a different minimum confidence.
sourcepub fn set_settings_for_update(
self,
input: Option<StreamProcessorSettingsForUpdate>
) -> Self
pub fn set_settings_for_update(
self,
input: Option<StreamProcessorSettingsForUpdate>
) -> Self
The stream processor settings that you want to update. Label detection settings can be updated to detect different labels with a different minimum confidence.
sourcepub fn regions_of_interest_for_update(self, input: RegionOfInterest) -> Self
pub fn regions_of_interest_for_update(self, input: RegionOfInterest) -> Self
Appends an item to RegionsOfInterestForUpdate.
To override the contents of this collection use set_regions_of_interest_for_update.
Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.
sourcepub fn set_regions_of_interest_for_update(
self,
input: Option<Vec<RegionOfInterest>>
) -> Self
pub fn set_regions_of_interest_for_update(
self,
input: Option<Vec<RegionOfInterest>>
) -> Self
Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.
sourcepub fn data_sharing_preference_for_update(
self,
input: StreamProcessorDataSharingPreference
) -> Self
pub fn data_sharing_preference_for_update(
self,
input: StreamProcessorDataSharingPreference
) -> Self
Shows whether you are sharing data with Rekognition to improve model performance. You can choose this option at the account level or on a per-stream basis. Note that if you opt out at the account level this setting is ignored on individual streams.
sourcepub fn set_data_sharing_preference_for_update(
self,
input: Option<StreamProcessorDataSharingPreference>
) -> Self
pub fn set_data_sharing_preference_for_update(
self,
input: Option<StreamProcessorDataSharingPreference>
) -> Self
Shows whether you are sharing data with Rekognition to improve model performance. You can choose this option at the account level or on a per-stream basis. Note that if you opt out at the account level this setting is ignored on individual streams.
sourcepub fn parameters_to_delete(
self,
input: StreamProcessorParameterToDelete
) -> Self
pub fn parameters_to_delete(
self,
input: StreamProcessorParameterToDelete
) -> Self
Appends an item to ParametersToDelete.
To override the contents of this collection use set_parameters_to_delete.
A list of parameters you want to delete from the stream processor.
sourcepub fn set_parameters_to_delete(
self,
input: Option<Vec<StreamProcessorParameterToDelete>>
) -> Self
pub fn set_parameters_to_delete(
self,
input: Option<Vec<StreamProcessorParameterToDelete>>
) -> Self
A list of parameters you want to delete from the stream processor.
Trait Implementations
sourceimpl Clone for UpdateStreamProcessor
impl Clone for UpdateStreamProcessor
sourcefn clone(&self) -> UpdateStreamProcessor
fn clone(&self) -> UpdateStreamProcessor
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more