update_stream_processor
async
¶
update_stream_processor(
name: StreamProcessorName,
*,
config_overrides: Optional[AsyncRekognitionClientConfig] = 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/async_rekognition.py
5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 | |