| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Rekognition.Types.ModerationLabel
Description
Synopsis
- data ModerationLabel = ModerationLabel' {
- confidence :: Maybe Double
- name :: Maybe Text
- parentName :: Maybe Text
- newModerationLabel :: ModerationLabel
- moderationLabel_confidence :: Lens' ModerationLabel (Maybe Double)
- moderationLabel_name :: Lens' ModerationLabel (Maybe Text)
- moderationLabel_parentName :: Lens' ModerationLabel (Maybe Text)
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
| |
Instances
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 "".