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.CoversBodyPart

Description

 
Synopsis

Documentation

data CoversBodyPart Source #

Information about an item of Personal Protective Equipment covering a corresponding body part. For more information, see DetectProtectiveEquipment.

See: newCoversBodyPart smart constructor.

Constructors

CoversBodyPart' 

Fields

  • confidence :: Maybe Double

    The confidence that Amazon Rekognition has in the value of Value.

  • value :: Maybe Bool

    True if the PPE covers the corresponding body part, otherwise false.

Instances

Instances details
FromJSON CoversBodyPart Source # 
Instance details

Defined in Amazonka.Rekognition.Types.CoversBodyPart

Generic CoversBodyPart Source # 
Instance details

Defined in Amazonka.Rekognition.Types.CoversBodyPart

Associated Types

type Rep CoversBodyPart :: Type -> Type #

Read CoversBodyPart Source # 
Instance details

Defined in Amazonka.Rekognition.Types.CoversBodyPart

Show CoversBodyPart Source # 
Instance details

Defined in Amazonka.Rekognition.Types.CoversBodyPart

NFData CoversBodyPart Source # 
Instance details

Defined in Amazonka.Rekognition.Types.CoversBodyPart

Methods

rnf :: CoversBodyPart -> () #

Eq CoversBodyPart Source # 
Instance details

Defined in Amazonka.Rekognition.Types.CoversBodyPart

Hashable CoversBodyPart Source # 
Instance details

Defined in Amazonka.Rekognition.Types.CoversBodyPart

type Rep CoversBodyPart Source # 
Instance details

Defined in Amazonka.Rekognition.Types.CoversBodyPart

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

newCoversBodyPart :: CoversBodyPart Source #

Create a value of CoversBodyPart 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:confidence:CoversBodyPart', coversBodyPart_confidence - The confidence that Amazon Rekognition has in the value of Value.

$sel:value:CoversBodyPart', coversBodyPart_value - True if the PPE covers the corresponding body part, otherwise false.

coversBodyPart_confidence :: Lens' CoversBodyPart (Maybe Double) Source #

The confidence that Amazon Rekognition has in the value of Value.

coversBodyPart_value :: Lens' CoversBodyPart (Maybe Bool) Source #

True if the PPE covers the corresponding body part, otherwise false.