Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- deleteFaces :: Text -> NonEmpty Text -> DeleteFaces
- data DeleteFaces
- dfCollectionId :: Lens' DeleteFaces Text
- dfFaceIds :: Lens' DeleteFaces (NonEmpty Text)
- deleteFacesResponse :: Int -> DeleteFacesResponse
- data DeleteFacesResponse
- dfsrsDeletedFaces :: Lens' DeleteFacesResponse (Maybe (NonEmpty Text))
- dfsrsResponseStatus :: Lens' DeleteFacesResponse Int
Creating a Request
Creates a value of DeleteFaces
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dfCollectionId
- Collection from which to remove the specific faces.dfFaceIds
- An array of face IDs to delete.
data DeleteFaces Source #
See: deleteFaces
smart constructor.
Request Lenses
dfCollectionId :: Lens' DeleteFaces Text Source #
Collection from which to remove the specific faces.
Destructuring the Response
Creates a value of DeleteFacesResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dfsrsDeletedFaces
- An array of strings (face IDs) of the faces that were deleted.dfsrsResponseStatus
- -- | The response status code.
data DeleteFacesResponse Source #
See: deleteFacesResponse
smart constructor.
Response Lenses
dfsrsDeletedFaces :: Lens' DeleteFacesResponse (Maybe (NonEmpty Text)) Source #
An array of strings (face IDs) of the faces that were deleted.
dfsrsResponseStatus :: Lens' DeleteFacesResponse Int Source #
- - | The response status code.