Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes the specified collection. Note that this operation removes all faces in the collection. For an example, see example1
.
This operation requires permissions to perform the rekognition:DeleteCollection
action.
- deleteCollection :: Text -> DeleteCollection
- data DeleteCollection
- dcCollectionId :: Lens' DeleteCollection Text
- deleteCollectionResponse :: Int -> DeleteCollectionResponse
- data DeleteCollectionResponse
- dcrsStatusCode :: Lens' DeleteCollectionResponse (Maybe Natural)
- dcrsResponseStatus :: Lens' DeleteCollectionResponse Int
Creating a Request
Creates a value of DeleteCollection
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcCollectionId
- ID of the collection to delete.
data DeleteCollection Source #
See: deleteCollection
smart constructor.
Request Lenses
dcCollectionId :: Lens' DeleteCollection Text Source #
ID of the collection to delete.
Destructuring the Response
deleteCollectionResponse Source #
Creates a value of DeleteCollectionResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dcrsStatusCode
- HTTP status code that indicates the result of the operation.dcrsResponseStatus
- -- | The response status code.
data DeleteCollectionResponse Source #
See: deleteCollectionResponse
smart constructor.
Response Lenses
dcrsStatusCode :: Lens' DeleteCollectionResponse (Maybe Natural) Source #
HTTP status code that indicates the result of the operation.
dcrsResponseStatus :: Lens' DeleteCollectionResponse Int Source #
- - | The response status code.