amazonka-rekognition-1.6.1: Amazon Rekognition SDK.

Copyright(c) 2013-2018 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 'delete-collection-procedure' .

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 # 
Instance details

Defined in Network.AWS.Rekognition.DeleteCollection

Data DeleteCollection Source # 
Instance details

Defined in Network.AWS.Rekognition.DeleteCollection

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 # 
Instance details

Defined in Network.AWS.Rekognition.DeleteCollection

Show DeleteCollection Source # 
Instance details

Defined in Network.AWS.Rekognition.DeleteCollection

Generic DeleteCollection Source # 
Instance details

Defined in Network.AWS.Rekognition.DeleteCollection

Associated Types

type Rep DeleteCollection :: Type -> Type #

Hashable DeleteCollection Source # 
Instance details

Defined in Network.AWS.Rekognition.DeleteCollection

ToJSON DeleteCollection Source # 
Instance details

Defined in Network.AWS.Rekognition.DeleteCollection

AWSRequest DeleteCollection Source # 
Instance details

Defined in Network.AWS.Rekognition.DeleteCollection

Associated Types

type Rs DeleteCollection :: Type #

ToHeaders DeleteCollection Source # 
Instance details

Defined in Network.AWS.Rekognition.DeleteCollection

ToPath DeleteCollection Source # 
Instance details

Defined in Network.AWS.Rekognition.DeleteCollection

ToQuery DeleteCollection Source # 
Instance details

Defined in Network.AWS.Rekognition.DeleteCollection

NFData DeleteCollection Source # 
Instance details

Defined in Network.AWS.Rekognition.DeleteCollection

Methods

rnf :: DeleteCollection -> () #

type Rep DeleteCollection Source # 
Instance details

Defined in Network.AWS.Rekognition.DeleteCollection

type Rep DeleteCollection = D1 (MetaData "DeleteCollection" "Network.AWS.Rekognition.DeleteCollection" "amazonka-rekognition-1.6.1-ELwOF0LSGWFp8S3Ef6QMe" True) (C1 (MetaCons "DeleteCollection'" PrefixI True) (S1 (MetaSel (Just "_dcCollectionId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteCollection Source # 
Instance details

Defined in Network.AWS.Rekognition.DeleteCollection

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 # 
Instance details

Defined in Network.AWS.Rekognition.DeleteCollection

Data DeleteCollectionResponse Source # 
Instance details

Defined in Network.AWS.Rekognition.DeleteCollection

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 # 
Instance details

Defined in Network.AWS.Rekognition.DeleteCollection

Show DeleteCollectionResponse Source # 
Instance details

Defined in Network.AWS.Rekognition.DeleteCollection

Generic DeleteCollectionResponse Source # 
Instance details

Defined in Network.AWS.Rekognition.DeleteCollection

Associated Types

type Rep DeleteCollectionResponse :: Type -> Type #

NFData DeleteCollectionResponse Source # 
Instance details

Defined in Network.AWS.Rekognition.DeleteCollection

type Rep DeleteCollectionResponse Source # 
Instance details

Defined in Network.AWS.Rekognition.DeleteCollection

type Rep DeleteCollectionResponse = D1 (MetaData "DeleteCollectionResponse" "Network.AWS.Rekognition.DeleteCollection" "amazonka-rekognition-1.6.1-ELwOF0LSGWFp8S3Ef6QMe" False) (C1 (MetaCons "DeleteCollectionResponse'" PrefixI True) (S1 (MetaSel (Just "_dcrsStatusCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)) :*: S1 (MetaSel (Just "_dcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

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

HTTP status code that indicates the result of the operation.