libZSservicesZSamazonka-rekognitionZSamazonka-rekognition
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Rekognition.Types.Smile

Description

 
Synopsis

Documentation

data Smile Source #

Indicates whether or not the face is smiling, and the confidence level in the determination.

See: newSmile smart constructor.

Constructors

Smile' 

Fields

Instances

Instances details
Eq Smile Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Smile

Methods

(==) :: Smile -> Smile -> Bool #

(/=) :: Smile -> Smile -> Bool #

Read Smile Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Smile

Show Smile Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Smile

Methods

showsPrec :: Int -> Smile -> ShowS #

show :: Smile -> String #

showList :: [Smile] -> ShowS #

Generic Smile Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Smile

Associated Types

type Rep Smile :: Type -> Type #

Methods

from :: Smile -> Rep Smile x #

to :: Rep Smile x -> Smile #

NFData Smile Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Smile

Methods

rnf :: Smile -> () #

Hashable Smile Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Smile

Methods

hashWithSalt :: Int -> Smile -> Int #

hash :: Smile -> Int #

FromJSON Smile Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Smile

type Rep Smile Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Smile

type Rep Smile = D1 ('MetaData "Smile" "Amazonka.Rekognition.Types.Smile" "libZSservicesZSamazonka-rekognitionZSamazonka-rekognition" 'False) (C1 ('MetaCons "Smile'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "confidence") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double))))

newSmile :: Smile Source #

Create a value of Smile 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:value:Smile', smile_value - Boolean value that indicates whether the face is smiling or not.

$sel:confidence:Smile', smile_confidence - Level of confidence in the determination.

smile_value :: Lens' Smile (Maybe Bool) Source #

Boolean value that indicates whether the face is smiling or not.

smile_confidence :: Lens' Smile (Maybe Double) Source #

Level of confidence in the determination.