Rekognition / Client / create_project

create_project#

Rekognition.Client.create_project(**kwargs)#

Creates a new Amazon Rekognition Custom Labels project. A project is a group of resources (datasets, model versions) that you use to create and manage Amazon Rekognition Custom Labels models.

This operation requires permissions to perform the rekognition:CreateProject action.

See also: AWS API Documentation

Request Syntax

response = client.create_project(
    ProjectName='string'
)
Parameters:

ProjectName (string) –

[REQUIRED]

The name of the project to create.

Return type:

dict

Returns:

Response Syntax

{
    'ProjectArn': 'string'
}

Response Structure

  • (dict) –

    • ProjectArn (string) –

      The Amazon Resource Name (ARN) of the new project. You can use the ARN to configure IAM access to the project.

Exceptions

  • Rekognition.Client.exceptions.ResourceInUseException

  • Rekognition.Client.exceptions.LimitExceededException

  • Rekognition.Client.exceptions.InvalidParameterException

  • Rekognition.Client.exceptions.AccessDeniedException

  • Rekognition.Client.exceptions.InternalServerError

  • Rekognition.Client.exceptions.ThrottlingException

  • Rekognition.Client.exceptions.ProvisionedThroughputExceededException