update_stream_processor
¶
update_stream_processor(
name: StreamProcessorName,
*,
config_overrides: Optional[RekognitionClientConfig] = None,
settings_for_update: Optional[StreamProcessorSettingsForUpdate] = None,
regions_of_interest_for_update: Optional[RegionsOfInterest] = None,
data_sharing_preference_for_update: Optional[
StreamProcessorDataSharingPreference
] = None,
parameters_to_delete: Optional[StreamProcessorParametersToDelete] = None,
) -> UpdateStreamProcessorResponse
Service availability notice: Streaming Video and Bulk Image Analysis is no longer available to new customers. For more information, see Rekognition feature availability changes. This change does not impact the availability of other Amazon Rekognition features.
Allows you to update a stream processor. You can change some settings and regions of interest and delete certain parameters.
Parameters:
-
name(StreamProcessorName) –Name of the stream processor that you want to update.
-
settings_for_update(Optional[StreamProcessorSettingsForUpdate], default:None) –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(Optional[RegionsOfInterest], default:None) –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(Optional[StreamProcessorDataSharingPreference], default:None) –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(Optional[StreamProcessorParametersToDelete], default:None) –A list of parameters you want to delete from the stream processor.
Raises:
-
AccessDeniedException–You are not authorized to perform the action.
-
InternalServerError–Amazon Rekognition experienced a service issue. Try your call again.
-
InvalidParameterException–Input parameter violated a constraint. Validate your parameter before calling the API operation again.
-
ProvisionedThroughputExceededException–The number of requests exceeded your throughput limit. If you want to increase this limit, contact Amazon Rekognition.
-
ResourceInUseException–The specified resource is already being used.
-
ResourceNotFoundException–The resource specified in the request cannot be found.
-
ThrottlingException–Amazon Rekognition is temporarily unable to process the request. Try your call again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_rekognition/_services/rekognition.py
5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 | |