Paws::Rekognition::ListFaces - Arguments for method ListFaces on Paws::Rekognition


This class represents the parameters used for calling the method ListFaces on the Amazon Rekognition service. Use the attributes of this class as arguments to method ListFaces.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to ListFaces.


    my $rekognition = Paws->service('Rekognition');
    # To list the faces in a collection
    # This operation lists the faces in a Rekognition collection.
    my $ListFacesResponse = $rekognition->ListFaces(
      'CollectionId' => 'myphotos',
      'MaxResults'   => 20

    # Results:
    my $Faces = $ListFacesResponse->Faces;

    # Returns a L<Paws::Rekognition::ListFacesResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see


REQUIRED CollectionId => Str

ID of the collection from which to list the faces.

MaxResults => Int

Maximum number of faces to return.

NextToken => Str

If the previous response was incomplete (because there is more data to retrieve), Amazon Rekognition returns a pagination token in the response. You can use this pagination token to retrieve the next set of faces.


This class forms part of Paws, documenting arguments for method ListFaces in Paws::Rekognition


The source code is located here:

Please report bugs to: