amazonka-rekognition-1.4.5: Amazon Rekognition SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.Rekognition.DeleteCollection

Contents

Description

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.

Synopsis

Creating a Request

deleteCollection Source #

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:

data DeleteCollection Source #

See: deleteCollection smart constructor.

Instances

Eq DeleteCollection Source # 
Data DeleteCollection Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteCollection -> c DeleteCollection #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteCollection #

toConstr :: DeleteCollection -> Constr #

dataTypeOf :: DeleteCollection -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteCollection) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteCollection) #

gmapT :: (forall b. Data b => b -> b) -> DeleteCollection -> DeleteCollection #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteCollection -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteCollection -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteCollection -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteCollection -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteCollection -> m DeleteCollection #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteCollection -> m DeleteCollection #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteCollection -> m DeleteCollection #

Read DeleteCollection Source # 
Show DeleteCollection Source # 
Generic DeleteCollection Source # 
Hashable DeleteCollection Source # 
ToJSON DeleteCollection Source # 
NFData DeleteCollection Source # 

Methods

rnf :: DeleteCollection -> () #

AWSRequest DeleteCollection Source # 
ToPath DeleteCollection Source # 
ToHeaders DeleteCollection Source # 
ToQuery DeleteCollection Source # 
type Rep DeleteCollection Source # 
type Rep DeleteCollection = D1 (MetaData "DeleteCollection" "Network.AWS.Rekognition.DeleteCollection" "amazonka-rekognition-1.4.5-JLr9ZFBNFwFGjCyEdV0gv" True) (C1 (MetaCons "DeleteCollection'" PrefixI True) (S1 (MetaSel (Just Symbol "_dcCollectionId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteCollection Source # 

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:

data DeleteCollectionResponse Source #

See: deleteCollectionResponse smart constructor.

Instances

Eq DeleteCollectionResponse Source # 
Data DeleteCollectionResponse Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DeleteCollectionResponse -> c DeleteCollectionResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DeleteCollectionResponse #

toConstr :: DeleteCollectionResponse -> Constr #

dataTypeOf :: DeleteCollectionResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DeleteCollectionResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DeleteCollectionResponse) #

gmapT :: (forall b. Data b => b -> b) -> DeleteCollectionResponse -> DeleteCollectionResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DeleteCollectionResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DeleteCollectionResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DeleteCollectionResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DeleteCollectionResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DeleteCollectionResponse -> m DeleteCollectionResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteCollectionResponse -> m DeleteCollectionResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DeleteCollectionResponse -> m DeleteCollectionResponse #

Read DeleteCollectionResponse Source # 
Show DeleteCollectionResponse Source # 
Generic DeleteCollectionResponse Source # 
NFData DeleteCollectionResponse Source # 
type Rep DeleteCollectionResponse Source # 
type Rep DeleteCollectionResponse = D1 (MetaData "DeleteCollectionResponse" "Network.AWS.Rekognition.DeleteCollection" "amazonka-rekognition-1.4.5-JLr9ZFBNFwFGjCyEdV0gv" False) (C1 (MetaCons "DeleteCollectionResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_dcrsStatusCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_dcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

dcrsStatusCode :: Lens' DeleteCollectionResponse (Maybe Natural) Source #

HTTP status code that indicates the result of the operation.