amazonka-rekognition-2.0: Amazon Rekognition SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Rekognition.UpdateStreamProcessor

Description

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

Synopsis

Creating a Request

data UpdateStreamProcessor Source #

See: newUpdateStreamProcessor smart constructor.

Constructors

UpdateStreamProcessor' 

Fields

Instances

Instances details
ToJSON UpdateStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.UpdateStreamProcessor

ToHeaders UpdateStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.UpdateStreamProcessor

ToPath UpdateStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.UpdateStreamProcessor

ToQuery UpdateStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.UpdateStreamProcessor

AWSRequest UpdateStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.UpdateStreamProcessor

Associated Types

type AWSResponse UpdateStreamProcessor #

Generic UpdateStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.UpdateStreamProcessor

Associated Types

type Rep UpdateStreamProcessor :: Type -> Type #

Read UpdateStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.UpdateStreamProcessor

Show UpdateStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.UpdateStreamProcessor

NFData UpdateStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.UpdateStreamProcessor

Methods

rnf :: UpdateStreamProcessor -> () #

Eq UpdateStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.UpdateStreamProcessor

Hashable UpdateStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.UpdateStreamProcessor

type AWSResponse UpdateStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.UpdateStreamProcessor

type Rep UpdateStreamProcessor Source # 
Instance details

Defined in Amazonka.Rekognition.UpdateStreamProcessor

type Rep UpdateStreamProcessor = D1 ('MetaData "UpdateStreamProcessor" "Amazonka.Rekognition.UpdateStreamProcessor" "amazonka-rekognition-2.0-EaCrS9R3rWADqefEZvOx5B" 'False) (C1 ('MetaCons "UpdateStreamProcessor'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dataSharingPreferenceForUpdate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamProcessorDataSharingPreference)) :*: S1 ('MetaSel ('Just "parametersToDelete") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [StreamProcessorParameterToDelete]))) :*: (S1 ('MetaSel ('Just "regionsOfInterestForUpdate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [RegionOfInterest])) :*: (S1 ('MetaSel ('Just "settingsForUpdate") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StreamProcessorSettingsForUpdate)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newUpdateStreamProcessor Source #

Create a value of UpdateStreamProcessor with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:dataSharingPreferenceForUpdate:UpdateStreamProcessor', updateStreamProcessor_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.

$sel:parametersToDelete:UpdateStreamProcessor', updateStreamProcessor_parametersToDelete - A list of parameters you want to delete from the stream processor.

$sel:regionsOfInterestForUpdate:UpdateStreamProcessor', updateStreamProcessor_regionsOfInterestForUpdate - Specifies locations in the frames where Amazon Rekognition checks for objects or people. This is an optional parameter for label detection stream processors.

$sel:settingsForUpdate:UpdateStreamProcessor', updateStreamProcessor_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.

UpdateStreamProcessor, updateStreamProcessor_name - Name of the stream processor that you want to update.

Request Lenses

updateStreamProcessor_dataSharingPreferenceForUpdate :: Lens' UpdateStreamProcessor (Maybe StreamProcessorDataSharingPreference) Source #

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.

updateStreamProcessor_parametersToDelete :: Lens' UpdateStreamProcessor (Maybe [StreamProcessorParameterToDelete]) Source #

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

updateStreamProcessor_regionsOfInterestForUpdate :: Lens' UpdateStreamProcessor (Maybe [RegionOfInterest]) Source #

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

updateStreamProcessor_settingsForUpdate :: Lens' UpdateStreamProcessor (Maybe StreamProcessorSettingsForUpdate) Source #

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

updateStreamProcessor_name :: Lens' UpdateStreamProcessor Text Source #

Name of the stream processor that you want to update.

Destructuring the Response

data UpdateStreamProcessorResponse Source #

See: newUpdateStreamProcessorResponse smart constructor.

Constructors

UpdateStreamProcessorResponse' 

Fields

Instances

Instances details
Generic UpdateStreamProcessorResponse Source # 
Instance details

Defined in Amazonka.Rekognition.UpdateStreamProcessor

Associated Types

type Rep UpdateStreamProcessorResponse :: Type -> Type #

Read UpdateStreamProcessorResponse Source # 
Instance details

Defined in Amazonka.Rekognition.UpdateStreamProcessor

Show UpdateStreamProcessorResponse Source # 
Instance details

Defined in Amazonka.Rekognition.UpdateStreamProcessor

NFData UpdateStreamProcessorResponse Source # 
Instance details

Defined in Amazonka.Rekognition.UpdateStreamProcessor

Eq UpdateStreamProcessorResponse Source # 
Instance details

Defined in Amazonka.Rekognition.UpdateStreamProcessor

type Rep UpdateStreamProcessorResponse Source # 
Instance details

Defined in Amazonka.Rekognition.UpdateStreamProcessor

type Rep UpdateStreamProcessorResponse = D1 ('MetaData "UpdateStreamProcessorResponse" "Amazonka.Rekognition.UpdateStreamProcessor" "amazonka-rekognition-2.0-EaCrS9R3rWADqefEZvOx5B" 'False) (C1 ('MetaCons "UpdateStreamProcessorResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newUpdateStreamProcessorResponse Source #

Create a value of UpdateStreamProcessorResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:UpdateStreamProcessorResponse', updateStreamProcessorResponse_httpStatus - The response's http status code.

Response Lenses