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

Description

 
Synopsis

Documentation

data Parent Source #

A parent label for a label. A label can have 0, 1, or more parents.

See: newParent smart constructor.

Constructors

Parent' 

Fields

Instances

Instances details
Eq Parent Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Parent

Methods

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

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

Read Parent Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Parent

Show Parent Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Parent

Generic Parent Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Parent

Associated Types

type Rep Parent :: Type -> Type #

Methods

from :: Parent -> Rep Parent x #

to :: Rep Parent x -> Parent #

NFData Parent Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Parent

Methods

rnf :: Parent -> () #

Hashable Parent Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Parent

Methods

hashWithSalt :: Int -> Parent -> Int #

hash :: Parent -> Int #

FromJSON Parent Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Parent

type Rep Parent Source # 
Instance details

Defined in Amazonka.Rekognition.Types.Parent

type Rep Parent = D1 ('MetaData "Parent" "Amazonka.Rekognition.Types.Parent" "libZSservicesZSamazonka-rekognitionZSamazonka-rekognition" 'False) (C1 ('MetaCons "Parent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newParent :: Parent Source #

Create a value of Parent 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:name:Parent', parent_name - The name of the parent label.

parent_name :: Lens' Parent (Maybe Text) Source #

The name of the parent label.