Module Values.DeleteFacesResponseSource

Deletes faces from a collection. You specify a collection ID and an array of face IDs to remove from the collection. This operation requires permissions to perform the rekognition:DeleteFaces action.

Sourcetype nonrec t = {
  1. deletedFaces : FaceIdList.t option;
    (*

    An array of strings (face IDs) of the faces that were deleted.

    *)
  2. unsuccessfulFaceDeletions : UnsuccessfulFaceDeletionsList.t option;
    (*

    An array of any faces that weren't deleted.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `InternalServerError of InternalServerError.t
  3. | `InvalidParameterException of InvalidParameterException.t
  4. | `ProvisionedThroughputExceededException of ProvisionedThroughputExceededException.t
  5. | `ResourceNotFoundException of ResourceNotFoundException.t
  6. | `ThrottlingException of ThrottlingException.t
  7. | `Unknown_operation_error of string * string option
]
Sourceval make : ?deletedFaces:??? -> ?unsuccessfulFaceDeletions:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of unit | `InternalServerError of unit | `InvalidParameterException of unit | `ProvisionedThroughputExceededException of unit | `ResourceNotFoundException of unit | `ThrottlingException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_of_xml : string -> Awso.Xml.t -> [> `AccessDeniedException of unit | `InternalServerError of unit | `InvalidParameterException of unit | `ProvisionedThroughputExceededException of unit | `ResourceNotFoundException of unit | `ThrottlingException of unit | `Unknown_operation_error of string * string option ]
Sourceval error_to_json : error -> Yojson.Safe.t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of FaceId.t | `Structure of (string * [> `List of [> `Enum of string ] list | `String of FaceId.t ]) list ] 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