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

Description

 
Synopsis

Documentation

data ModerationLabel Source #

Provides information about a single type of inappropriate, unwanted, or offensive content found in an image or video. Each type of moderated content has a label within a hierarchical taxonomy. For more information, see Content moderation in the Amazon Rekognition Developer Guide.

See: newModerationLabel smart constructor.

Constructors

ModerationLabel' 

Fields

  • confidence :: Maybe Double

    Specifies the confidence that Amazon Rekognition has that the label has been correctly identified.

    If you don't specify the MinConfidence parameter in the call to DetectModerationLabels, the operation returns labels with a confidence value greater than or equal to 50 percent.

  • name :: Maybe Text

    The label name for the type of unsafe content detected in the image.

  • parentName :: Maybe Text

    The name for the parent label. Labels at the top level of the hierarchy have the parent label "".

Instances

Instances details
Eq ModerationLabel Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ModerationLabel

Read ModerationLabel Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ModerationLabel

Show ModerationLabel Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ModerationLabel

Generic ModerationLabel Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ModerationLabel

Associated Types

type Rep ModerationLabel :: Type -> Type #

NFData ModerationLabel Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ModerationLabel

Methods

rnf :: ModerationLabel -> () #

Hashable ModerationLabel Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ModerationLabel

FromJSON ModerationLabel Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ModerationLabel

type Rep ModerationLabel Source # 
Instance details

Defined in Amazonka.Rekognition.Types.ModerationLabel

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

newModerationLabel :: ModerationLabel Source #

Create a value of ModerationLabel 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:ModerationLabel', moderationLabel_confidence - Specifies the confidence that Amazon Rekognition has that the label has been correctly identified.

If you don't specify the MinConfidence parameter in the call to DetectModerationLabels, the operation returns labels with a confidence value greater than or equal to 50 percent.

$sel:name:ModerationLabel', moderationLabel_name - The label name for the type of unsafe content detected in the image.

$sel:parentName:ModerationLabel', moderationLabel_parentName - The name for the parent label. Labels at the top level of the hierarchy have the parent label "".

moderationLabel_confidence :: Lens' ModerationLabel (Maybe Double) Source #

Specifies the confidence that Amazon Rekognition has that the label has been correctly identified.

If you don't specify the MinConfidence parameter in the call to DetectModerationLabels, the operation returns labels with a confidence value greater than or equal to 50 percent.

moderationLabel_name :: Lens' ModerationLabel (Maybe Text) Source #

The label name for the type of unsafe content detected in the image.

moderationLabel_parentName :: Lens' ModerationLabel (Maybe Text) Source #

The name for the parent label. Labels at the top level of the hierarchy have the parent label "".