aws_sdk_rekognition/client/
update_stream_processor.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`UpdateStreamProcessor`](crate::operation::update_stream_processor::builders::UpdateStreamProcessorFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::update_stream_processor::builders::UpdateStreamProcessorFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::update_stream_processor::builders::UpdateStreamProcessorFluentBuilder::set_name):<br>required: **true**<br><p>Name of the stream processor that you want to update.</p><br>
7    ///   - [`settings_for_update(StreamProcessorSettingsForUpdate)`](crate::operation::update_stream_processor::builders::UpdateStreamProcessorFluentBuilder::settings_for_update) / [`set_settings_for_update(Option<StreamProcessorSettingsForUpdate>)`](crate::operation::update_stream_processor::builders::UpdateStreamProcessorFluentBuilder::set_settings_for_update):<br>required: **false**<br><p>The stream processor settings that you want to update. Label detection settings can be updated to detect different labels with a different minimum confidence.</p><br>
8    ///   - [`regions_of_interest_for_update(RegionOfInterest)`](crate::operation::update_stream_processor::builders::UpdateStreamProcessorFluentBuilder::regions_of_interest_for_update) / [`set_regions_of_interest_for_update(Option<Vec::<RegionOfInterest>>)`](crate::operation::update_stream_processor::builders::UpdateStreamProcessorFluentBuilder::set_regions_of_interest_for_update):<br>required: **false**<br><p>Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.</p><br>
9    ///   - [`data_sharing_preference_for_update(StreamProcessorDataSharingPreference)`](crate::operation::update_stream_processor::builders::UpdateStreamProcessorFluentBuilder::data_sharing_preference_for_update) / [`set_data_sharing_preference_for_update(Option<StreamProcessorDataSharingPreference>)`](crate::operation::update_stream_processor::builders::UpdateStreamProcessorFluentBuilder::set_data_sharing_preference_for_update):<br>required: **false**<br><p>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.</p><br>
10    ///   - [`parameters_to_delete(StreamProcessorParameterToDelete)`](crate::operation::update_stream_processor::builders::UpdateStreamProcessorFluentBuilder::parameters_to_delete) / [`set_parameters_to_delete(Option<Vec::<StreamProcessorParameterToDelete>>)`](crate::operation::update_stream_processor::builders::UpdateStreamProcessorFluentBuilder::set_parameters_to_delete):<br>required: **false**<br><p>A list of parameters you want to delete from the stream processor.</p><br>
11    /// - On success, responds with [`UpdateStreamProcessorOutput`](crate::operation::update_stream_processor::UpdateStreamProcessorOutput)
12    /// - On failure, responds with [`SdkError<UpdateStreamProcessorError>`](crate::operation::update_stream_processor::UpdateStreamProcessorError)
13    pub fn update_stream_processor(&self) -> crate::operation::update_stream_processor::builders::UpdateStreamProcessorFluentBuilder {
14        crate::operation::update_stream_processor::builders::UpdateStreamProcessorFluentBuilder::new(self.handle.clone())
15    }
16}