Smaws_Client_Rekognition.ListFacesReturns metadata for faces in the specified collection. This metadata includes information such as the bounding box coordinates, the confidence (that the bounding box contains a face), and face ID. For an example, see Listing Faces in a Collection in the Amazon Rekognition Developer Guide.
This operation requires permissions to perform the rekognition:ListFaces action.
val error_to_string :
[ Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalServerError of Types.internal_server_error
| `InvalidPaginationTokenException of
Types.invalid_pagination_token_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ProvisionedThroughputExceededException of
Types.provisioned_throughput_exceeded_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ThrottlingException of Types.throttling_exception ] ->
stringval request :
'http_type Smaws_Lib.Context.t ->
Types.list_faces_request ->
(Types.list_faces_response,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalServerError of Types.internal_server_error
| `InvalidPaginationTokenException of
Types.invalid_pagination_token_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ProvisionedThroughputExceededException of
Types.provisioned_throughput_exceeded_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ThrottlingException of Types.throttling_exception ])
Stdlib.resultval request_with_metadata :
'http_type Smaws_Lib.Context.t ->
Types.list_faces_request ->
(Types.list_faces_response Smaws_Lib.Response.t,
[> Smaws_Lib.Protocols.AwsJson.error
| `AccessDeniedException of Types.access_denied_exception
| `InternalServerError of Types.internal_server_error
| `InvalidPaginationTokenException of
Types.invalid_pagination_token_exception
| `InvalidParameterException of Types.invalid_parameter_exception
| `ProvisionedThroughputExceededException of
Types.provisioned_throughput_exceeded_exception
| `ResourceNotFoundException of Types.resource_not_found_exception
| `ThrottlingException of Types.throttling_exception ]
* Smaws_Lib.Response.metadata)
Stdlib.result