Values.CreateCollectionResponseSourceCreates a collection in an AWS Region. You can add faces to the collection using the IndexFaces operation. For example, you might create collections, one for each of your application users. A user can then index faces using the IndexFaces operation and persist results in a specific collection. Then, a user can search the collection for faces in the user-specific container. When you create a collection, it is associated with the latest version of the face model version. Collection names are case-sensitive. This operation requires permissions to perform the rekognition:CreateCollection action. If you want to tag your collection, you also require permission to perform the rekognition:TagResource operation.
type nonrec t = {statusCode : UInteger.t option;HTTP status code indicating the result of the operation.
*)collectionArn : String_.t option;Amazon Resource Name (ARN) of the collection. You can use this to manage permissions on your resources.
*)faceModelVersion : String_.t option;Version number of the face detection model associated with the collection you are creating.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerError of InternalServerError.t| `InvalidParameterException of InvalidParameterException.t| `ProvisionedThroughputExceededException of
ProvisionedThroughputExceededException.t| `ResourceAlreadyExistsException of ResourceAlreadyExistsException.t| `ServiceQuotaExceededException of ServiceQuotaExceededException.t| `ThrottlingException of ThrottlingException.t| `Unknown_operation_error of string * string option ]val error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of unit
| `InternalServerError of unit
| `InvalidParameterException of unit
| `ProvisionedThroughputExceededException of unit
| `ResourceAlreadyExistsException of unit
| `ServiceQuotaExceededException of unit
| `ThrottlingException of unit
| `Unknown_operation_error of string * string option ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of unit
| `InternalServerError of unit
| `InvalidParameterException of unit
| `ProvisionedThroughputExceededException of unit
| `ResourceAlreadyExistsException of unit
| `ServiceQuotaExceededException of unit
| `ThrottlingException of unit
| `Unknown_operation_error of string * string option ]val to_value :
t ->
[> `Structure of
(string * [> `Integer of UInteger.t | `String of String_.t ]) list ]