Skip to content

CreateUserRequest

Source code in docs_src/capo_rekognition/types/create_user_request.py
class CreateUserRequest(TypedDict, closed=True):
    collection_id: "capo_rekognition.types.collection_id.CollectionId"
    """<p>The ID of an existing collection to which the new UserID needs to be created.</p>"""
    user_id: "capo_rekognition.types.user_id.UserId"
    """<p>ID for the UserID to be created. This ID needs to be unique within the collection.</p>"""
    client_request_token: NotRequired[
        "capo_rekognition.types.client_request_token.ClientRequestToken"
    ]
    """<p>Idempotent token used to identify the request to <code>CreateUser</code>. If you use the same token with multiple <code>CreateUser</code> requests, the same response is returned. Use ClientRequestToken to prevent the same request from being processed more than once.</p>"""

client_request_token instance-attribute

client_request_token: NotRequired[ClientRequestToken]

Idempotent token used to identify the request to CreateUser. If you use the same token with multiple CreateUser requests, the same response is returned. Use ClientRequestToken to prevent the same request from being processed more than once.

collection_id instance-attribute

collection_id: CollectionId

The ID of an existing collection to which the new UserID needs to be created.

user_id instance-attribute

user_id: UserId

ID for the UserID to be created. This ID needs to be unique within the collection.