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.DeleteFaces

Description

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.

Synopsis

Creating a Request

data DeleteFaces Source #

See: newDeleteFaces smart constructor.

Constructors

DeleteFaces' 

Fields

Instances

Instances details
Eq DeleteFaces Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteFaces

Read DeleteFaces Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteFaces

Show DeleteFaces Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteFaces

Generic DeleteFaces Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteFaces

Associated Types

type Rep DeleteFaces :: Type -> Type #

NFData DeleteFaces Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteFaces

Methods

rnf :: DeleteFaces -> () #

Hashable DeleteFaces Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteFaces

ToJSON DeleteFaces Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteFaces

AWSRequest DeleteFaces Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteFaces

Associated Types

type AWSResponse DeleteFaces #

ToHeaders DeleteFaces Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteFaces

Methods

toHeaders :: DeleteFaces -> [Header] #

ToPath DeleteFaces Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteFaces

ToQuery DeleteFaces Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteFaces

type Rep DeleteFaces Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteFaces

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

Defined in Amazonka.Rekognition.DeleteFaces

newDeleteFaces Source #

Create a value of DeleteFaces 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:DeleteFaces', deleteFaces_collectionId - Collection from which to remove the specific faces.

$sel:faceIds:DeleteFaces', deleteFaces_faceIds - An array of face IDs to delete.

Request Lenses

deleteFaces_collectionId :: Lens' DeleteFaces Text Source #

Collection from which to remove the specific faces.

deleteFaces_faceIds :: Lens' DeleteFaces (NonEmpty Text) Source #

An array of face IDs to delete.

Destructuring the Response

data DeleteFacesResponse Source #

See: newDeleteFacesResponse smart constructor.

Constructors

DeleteFacesResponse' 

Fields

Instances

Instances details
Eq DeleteFacesResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteFaces

Read DeleteFacesResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteFaces

Show DeleteFacesResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteFaces

Generic DeleteFacesResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteFaces

Associated Types

type Rep DeleteFacesResponse :: Type -> Type #

NFData DeleteFacesResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteFaces

Methods

rnf :: DeleteFacesResponse -> () #

type Rep DeleteFacesResponse Source # 
Instance details

Defined in Amazonka.Rekognition.DeleteFaces

type Rep DeleteFacesResponse = D1 ('MetaData "DeleteFacesResponse" "Amazonka.Rekognition.DeleteFaces" "libZSservicesZSamazonka-rekognitionZSamazonka-rekognition" 'False) (C1 ('MetaCons "DeleteFacesResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "deletedFaces") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty Text))) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteFacesResponse Source #

Create a value of DeleteFacesResponse 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:deletedFaces:DeleteFacesResponse', deleteFacesResponse_deletedFaces - An array of strings (face IDs) of the faces that were deleted.

$sel:httpStatus:DeleteFacesResponse', deleteFacesResponse_httpStatus - The response's http status code.

Response Lenses

deleteFacesResponse_deletedFaces :: Lens' DeleteFacesResponse (Maybe (NonEmpty Text)) Source #

An array of strings (face IDs) of the faces that were deleted.