Module Values.DisassociateFacesResponseSource

Removes the association between a Face supplied in an array of FaceIds and the User. If the User is not present already, then a ResourceNotFound exception is thrown. If successful, an array of faces that are disassociated from the User is returned. If a given face is already disassociated from the given UserID, it will be ignored and not be returned in the response. If a given face is already associated with a different User or not found in the collection it will be returned as part of UnsuccessfulDisassociations. You can remove 1 - 100 face IDs from a user at one time.

Sourcetype nonrec t = {
  1. disassociatedFaces : DisassociatedFacesList.t option;
    (*

    An array of DissociatedFace objects containing FaceIds that are successfully disassociated with the UserID is returned. Returned if the DisassociatedFaces action is successful.

    *)
  2. unsuccessfulFaceDisassociations : UnsuccessfulFaceDisassociationList.t option;
    (*

    An array of UnsuccessfulDisassociation objects containing FaceIds that are not successfully associated, along with the reasons for the failure to associate. Returned if the DisassociateFaces action is successful.

    *)
  3. userStatus : UserStatus.t option;
    (*

    The status of an update made to a User. Reflects if the User has been updated for every requested change.

    *)
}
Sourcetype nonrec error = [
  1. | `AccessDeniedException of AccessDeniedException.t
  2. | `ConflictException of ConflictException.t
  3. | `IdempotentParameterMismatchException of IdempotentParameterMismatchException.t
  4. | `InternalServerError of InternalServerError.t
  5. | `InvalidParameterException of InvalidParameterException.t
  6. | `ProvisionedThroughputExceededException of ProvisionedThroughputExceededException.t
  7. | `ResourceNotFoundException of ResourceNotFoundException.t
  8. | `ThrottlingException of ThrottlingException.t
  9. | `Unknown_operation_error of string * string option
]
Sourceval make : ?disassociatedFaces:??? -> ?unsuccessfulFaceDisassociations:??? -> ?userStatus:??? -> unit -> t
Sourceval error_of_json : string -> Yojson.Safe.t -> [> `AccessDeniedException of unit | `ConflictException of unit | `IdempotentParameterMismatchException 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 | `ConflictException of unit | `IdempotentParameterMismatchException 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 * [> `Enum of string | `List of [> `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