Module Values.ModerationLabelSource

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.

Sourcetype nonrec t = {
  1. confidence : Percent.t option;
    (*

    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.

    *)
  2. name : String_.t option;
    (*

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

    *)
  3. parentName : String_.t option;
    (*

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

    *)
  4. taxonomyLevel : UInteger.t option;
    (*

    The level of the moderation label with regard to its taxonomy, from 1 to 3.

    *)
}
Sourceval make : ?confidence:??? -> ?name:??? -> ?parentName:??? -> ?taxonomyLevel:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Float of Percent.t | `Integer of UInteger.t | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t