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.Types.ConnectedHomeSettings

Description

 
Synopsis

Documentation

data ConnectedHomeSettings Source #

Label detection settings to use on a streaming video. Defining the settings is required in the request parameter for CreateStreamProcessor. Including this setting in the CreateStreamProcessor request enables you to use the stream processor for label detection. You can then select what you want the stream processor to detect, such as people or pets. When the stream processor has started, one notification is sent for each object class specified. For example, if packages and pets are selected, one SNS notification is published the first time a package is detected and one SNS notification is published the first time a pet is detected, as well as an end-of-session summary.

See: newConnectedHomeSettings smart constructor.

Constructors

ConnectedHomeSettings' 

Fields

  • minConfidence :: Maybe Double

    The minimum confidence required to label an object in the video.

  • labels :: NonEmpty Text

    Specifies what you want to detect in the video, such as people, packages, or pets. The current valid labels you can include in this list are: "PERSON", "PET", "PACKAGE", and "ALL".

Instances

Instances details
FromJSON ConnectedHomeSettings Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ConnectedHomeSettings

ToJSON ConnectedHomeSettings Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ConnectedHomeSettings

Generic ConnectedHomeSettings Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ConnectedHomeSettings

Associated Types

type Rep ConnectedHomeSettings :: Type -> Type #

Read ConnectedHomeSettings Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ConnectedHomeSettings

Show ConnectedHomeSettings Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ConnectedHomeSettings

NFData ConnectedHomeSettings Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ConnectedHomeSettings

Methods

rnf :: ConnectedHomeSettings -> () #

Eq ConnectedHomeSettings Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ConnectedHomeSettings

Hashable ConnectedHomeSettings Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ConnectedHomeSettings

type Rep ConnectedHomeSettings Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ConnectedHomeSettings

type Rep ConnectedHomeSettings = D1 ('MetaData "ConnectedHomeSettings" "Amazonka.Rekognition.Types.ConnectedHomeSettings" "amazonka-rekognition-2.0-EaCrS9R3rWADqefEZvOx5B" 'False) (C1 ('MetaCons "ConnectedHomeSettings'" 'PrefixI 'True) (S1 ('MetaSel ('Just "minConfidence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "labels") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))

newConnectedHomeSettings Source #

Create a value of ConnectedHomeSettings 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:minConfidence:ConnectedHomeSettings', connectedHomeSettings_minConfidence - The minimum confidence required to label an object in the video.

$sel:labels:ConnectedHomeSettings', connectedHomeSettings_labels - Specifies what you want to detect in the video, such as people, packages, or pets. The current valid labels you can include in this list are: "PERSON", "PET", "PACKAGE", and "ALL".

connectedHomeSettings_minConfidence :: Lens' ConnectedHomeSettings (Maybe Double) Source #

The minimum confidence required to label an object in the video.

connectedHomeSettings_labels :: Lens' ConnectedHomeSettings (NonEmpty Text) Source #

Specifies what you want to detect in the video, such as people, packages, or pets. The current valid labels you can include in this list are: "PERSON", "PET", "PACKAGE", and "ALL".