Module Values.CreateFaceLivenessSessionRequestSettingsSource

A session settings object. It contains settings for the operation to be performed. It accepts arguments for OutputConfig and AuditImagesLimit.

Sourcetype nonrec t = {
  1. outputConfig : LivenessOutputConfig.t option;
    (*

    Can specify the location of an Amazon S3 bucket, where reference and audit images will be stored. Note that the Amazon S3 bucket must be located in the caller's AWS account and in the same region as the Face Liveness end-point. Additionally, the Amazon S3 object keys are auto-generated by the Face Liveness system. Requires that the caller has the s3:PutObject permission on the Amazon S3 bucket.

    *)
  2. auditImagesLimit : AuditImagesLimit.t option;
    (*

    Number of audit images to be returned back. Takes an integer between 0-4. Any integer less than 0 will return 0, any integer above 4 will return 4 images in the response. By default, it is set to 0. The limit is best effort and is based on the actual duration of the selfie-video.

    *)
  3. challengePreferences : ChallengePreferences.t option;
    (*

    Indicates preferred challenge types and versions for the Face Liveness session to be created.

    *)
}
Sourceval make : ?outputConfig:??? -> ?auditImagesLimit:??? -> ?challengePreferences:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of AuditImagesLimit.t | `List of [> `Structure of (string * [> `Enum of string | `Structure of (string * [> `String of Version.t ]) list ]) list ] list | `Structure of (string * [> `String of S3Bucket.t ]) list ]) 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