#[non_exhaustive]pub struct UpdateStreamProcessorInput {
pub name: Option<String>,
pub settings_for_update: Option<StreamProcessorSettingsForUpdate>,
pub regions_of_interest_for_update: Option<Vec<RegionOfInterest>>,
pub data_sharing_preference_for_update: Option<StreamProcessorDataSharingPreference>,
pub parameters_to_delete: Option<Vec<StreamProcessorParameterToDelete>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>Name of the stream processor that you want to update.
settings_for_update: Option<StreamProcessorSettingsForUpdate>The stream processor settings that you want to update. Label detection settings can be updated to detect different labels with a different minimum confidence.
regions_of_interest_for_update: Option<Vec<RegionOfInterest>>Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.
data_sharing_preference_for_update: Option<StreamProcessorDataSharingPreference>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.
parameters_to_delete: Option<Vec<StreamProcessorParameterToDelete>>A list of parameters you want to delete from the stream processor.
Implementations§
source§impl UpdateStreamProcessorInput
impl UpdateStreamProcessorInput
sourcepub fn settings_for_update(&self) -> Option<&StreamProcessorSettingsForUpdate>
pub fn settings_for_update(&self) -> Option<&StreamProcessorSettingsForUpdate>
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) -> &[RegionOfInterest]
pub fn regions_of_interest_for_update(&self) -> &[RegionOfInterest]
Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .regions_of_interest_for_update.is_none().
sourcepub fn data_sharing_preference_for_update(
&self
) -> Option<&StreamProcessorDataSharingPreference>
pub fn data_sharing_preference_for_update( &self ) -> Option<&StreamProcessorDataSharingPreference>
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) -> &[StreamProcessorParameterToDelete]
pub fn parameters_to_delete(&self) -> &[StreamProcessorParameterToDelete]
A list of parameters you want to delete from the stream processor.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .parameters_to_delete.is_none().
source§impl UpdateStreamProcessorInput
impl UpdateStreamProcessorInput
sourcepub fn builder() -> UpdateStreamProcessorInputBuilder
pub fn builder() -> UpdateStreamProcessorInputBuilder
Creates a new builder-style object to manufacture UpdateStreamProcessorInput.
Trait Implementations§
source§impl Clone for UpdateStreamProcessorInput
impl Clone for UpdateStreamProcessorInput
source§fn clone(&self) -> UpdateStreamProcessorInput
fn clone(&self) -> UpdateStreamProcessorInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateStreamProcessorInput
impl Debug for UpdateStreamProcessorInput
source§impl PartialEq for UpdateStreamProcessorInput
impl PartialEq for UpdateStreamProcessorInput
source§fn eq(&self, other: &UpdateStreamProcessorInput) -> bool
fn eq(&self, other: &UpdateStreamProcessorInput) -> bool
self and other values to be equal, and is used
by ==.