CmdID / aws / aws rekognition
aws rekognition create-collection
Creates a collection in an AWS Region. AWS CLI reference
1 example 2 options Its page in the AWS CLI reference
Examples
To create a collection
The following create-collection example creates a collection with the specified name.
aws rekognition create-collection --collection-id "MyCollection"Identify--collection-idID for the collection that you are creating.Its output
{
"CollectionArn": "aws:rekognition:us-west-2:123456789012:collection/MyCollection",
"FaceModelVersion": "4.0",
"StatusCode": 200
}For more information, see Creating a Collection in the Amazon Rekognition Developer Guide.
Options
--collection-idID for the collection that you are creating.--tagsA set of tags (key-value pairs) that you want to attach to the collection.