Skip to content

Update Stream Processor

rekognition_update_stream_processor R Documentation

Allows you to update a stream processor

Description

Allows you to update a stream processor. You can change some settings and regions of interest and delete certain parameters.

Usage

rekognition_update_stream_processor(Name, SettingsForUpdate,
  RegionsOfInterestForUpdate, DataSharingPreferenceForUpdate,
  ParametersToDelete)

Arguments

Name

[required] Name of the stream processor that you want to update.

SettingsForUpdate

The stream processor settings that you want to update. Label detection settings can be updated to detect different labels with a different minimum confidence.

RegionsOfInterestForUpdate

Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.

DataSharingPreferenceForUpdate

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.

ParametersToDelete

A list of parameters you want to delete from the stream processor.

Value

An empty list.

Request syntax

svc$update_stream_processor(
  Name = "string",
  SettingsForUpdate = list(
    ConnectedHomeForUpdate = list(
      Labels = list(
        "string"
      ),
      MinConfidence = 123.0
    )
  ),
  RegionsOfInterestForUpdate = list(
    list(
      BoundingBox = list(
        Width = 123.0,
        Height = 123.0,
        Left = 123.0,
        Top = 123.0
      ),
      Polygon = list(
        list(
          X = 123.0,
          Y = 123.0
        )
      )
    )
  ),
  DataSharingPreferenceForUpdate = list(
    OptIn = TRUE|FALSE
  ),
  ParametersToDelete = list(
    "ConnectedHomeMinConfidence"|"RegionsOfInterest"
  )
)