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

Amazonka.Rekognition.DeleteCollection

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

data DeleteCollection Source #

See: newDeleteCollection smart constructor.

Constructors

DeleteCollection' 

Fields

Instances

Instances details
Eq DeleteCollection Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteCollection

Read DeleteCollection Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteCollection

Show DeleteCollection Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteCollection

Generic DeleteCollection Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteCollection

Associated Types

type Rep DeleteCollection :: Type -> Type #

NFData DeleteCollection Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteCollection

Methods

rnf :: DeleteCollection -> () #

Hashable DeleteCollection Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteCollection

ToJSON DeleteCollection Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteCollection

AWSRequest DeleteCollection Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteCollection

Associated Types

type AWSResponse DeleteCollection #

ToHeaders DeleteCollection Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteCollection

ToPath DeleteCollection Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteCollection

ToQuery DeleteCollection Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteCollection

type Rep DeleteCollection Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteCollection

type Rep DeleteCollection = D1 ('MetaData "DeleteCollection" "Amazonka.Rekognition.DeleteCollection" "libZSservicesZSamazonka-rekognitionZSamazonka-rekognition" 'False) (C1 ('MetaCons "DeleteCollection'" 'PrefixI 'True) (S1 ('MetaSel ('Just "collectionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse DeleteCollection Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteCollection

newDeleteCollection Source #

Create a value of DeleteCollection with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:collectionId:DeleteCollection', deleteCollection_collectionId - ID of the collection to delete.

Request Lenses

Destructuring the Response

data DeleteCollectionResponse Source #

See: newDeleteCollectionResponse smart constructor.

Constructors

DeleteCollectionResponse' 

Fields

Instances

Instances details
Eq DeleteCollectionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteCollection

Read DeleteCollectionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteCollection

Show DeleteCollectionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteCollection

Generic DeleteCollectionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteCollection

Associated Types

type Rep DeleteCollectionResponse :: Type -> Type #

NFData DeleteCollectionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteCollection

type Rep DeleteCollectionResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteCollection

type Rep DeleteCollectionResponse = D1 ('MetaData "DeleteCollectionResponse" "Amazonka.Rekognition.DeleteCollection" "libZSservicesZSamazonka-rekognitionZSamazonka-rekognition" 'False) (C1 ('MetaCons "DeleteCollectionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "statusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteCollectionResponse Source #

Create a value of DeleteCollectionResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:statusCode:DeleteCollectionResponse', deleteCollectionResponse_statusCode - HTTP status code that indicates the result of the operation.

$sel:httpStatus:DeleteCollectionResponse', deleteCollectionResponse_httpStatus - The response's http status code.

Response Lenses

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

HTTP status code that indicates the result of the operation.