Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Allows you to update a stream processor. You can change some settings and regions of interest and delete certain parameters.
Synopsis
- data UpdateStreamProcessor = UpdateStreamProcessor' {}
- newUpdateStreamProcessor :: Text -> UpdateStreamProcessor
- updateStreamProcessor_dataSharingPreferenceForUpdate :: Lens' UpdateStreamProcessor (Maybe StreamProcessorDataSharingPreference)
- updateStreamProcessor_parametersToDelete :: Lens' UpdateStreamProcessor (Maybe [StreamProcessorParameterToDelete])
- updateStreamProcessor_regionsOfInterestForUpdate :: Lens' UpdateStreamProcessor (Maybe [RegionOfInterest])
- updateStreamProcessor_settingsForUpdate :: Lens' UpdateStreamProcessor (Maybe StreamProcessorSettingsForUpdate)
- updateStreamProcessor_name :: Lens' UpdateStreamProcessor Text
- data UpdateStreamProcessorResponse = UpdateStreamProcessorResponse' {
- httpStatus :: Int
- newUpdateStreamProcessorResponse :: Int -> UpdateStreamProcessorResponse
- updateStreamProcessorResponse_httpStatus :: Lens' UpdateStreamProcessorResponse Int
Creating a Request
data UpdateStreamProcessor Source #
See: newUpdateStreamProcessor
smart constructor.
UpdateStreamProcessor' | |
|
Instances
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.
UpdateStreamProcessorResponse' | |
|
Instances
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
updateStreamProcessorResponse_httpStatus :: Lens' UpdateStreamProcessorResponse Int Source #
The response's http status code.