luna_lambda_tools.public.clients.faces.Faces
- class luna_lambda_tools.public.clients.faces.Faces(facesClient, accountId)[source]
Luna-faces client
Methods
__init__
(facesClient, accountId)createAttribute
([basicAttributes, ...])Create new attributes.
createFace
([attributeId, basicAttributes, ...])Create new face in luna-faces
createList
([userData, listId, raiseError])Create list.
deleteAttribute
(attributeId[, raiseError])Delete attribute with specifeid id
deleteFace
(faceId[, raiseError])Delete face.
deleteFaceAttributes
(faceId[, raiseError])Delete face attributes.
deleteFaces
(faceIds[, ignore, raiseError])Delete faces.
deleteList
(listId[, withFaces, raiseError])Remove list.
deleteLists
(listIds[, withFaces, raiseError])Delete lists.
Get luna-faces address
getAttribute
(attributeId[, ...])Retrieve a attribute by id.
getAttributeIds
([listId, timeLt, timeGte, ...])Get ids of attributes from list by period.
getAttributeSamples
(attributeId[, raiseError])Retrieve a attribute by id.
getAttributes
(attributeIds[, ...])Get list of attributes
getAttributesFromList
(listId[, linkKeyLt, ...])Get all attributes from list by period.
getFace
(faceId[, targets, raiseError])Get face by id.
getFaceAttributeSamples
(faceId[, raiseError])Get face attribute samples.
getFaceAttributes
(faceId[, targets, ...])Get face attributes.
getFaces
([userData, eventId, listId, ...])Get faces by filters.
getFacesAttributes
(faceIds[, raiseError])Return attributeId of faces from faceIds list
getFacesCount
([userData, eventId, listId, ...])Count faces by filters.
getList
(listId[, page, pageSize, raiseError])Get list.
getLists
([userData, userDataEq, ...])Get lists.
getListsCount
([userData, userDataEq, ...])Get number of lists.
headAttribute
(attributeId[, raiseError])Check attributes with attribute id exists.
headFace
(faceId[, raiseError])Check face existence by id.
headList
(listId[, raiseError])Check list existence.
linkFacesToList
(listId, faceIds[, raiseError])Attach faces to list.
patchFace
(faceId[, eventId, userData, ...])Update face.
patchList
(listId, userData[, raiseError])Update user data of list.
putAttribute
(attributeId[, basicAttributes, ...])Put attribute by id.
putFace
(faceId[, externalId, attributeId, ...])Put face in luna-faces
putFaceAttributes
(faceId[, attributeId, ...])Put face attributes.
unlinkFacesFromList
(listId, faceIds[, ...])Detach faces to list.
updateFaceAttributes
(faceId[, attributeId, ...])Update face attributes.