:doc:`GlueDataBrew <../../databrew>` / Client / create_project

**************
create_project
**************



.. py:method:: GlueDataBrew.Client.create_project(**kwargs)

  

  Creates a new DataBrew project.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/databrew-2017-07-25/CreateProject>`_  


  **Request Syntax**
  ::

    response = client.create_project(
        DatasetName='string',
        Name='string',
        RecipeName='string',
        Sample={
            'Size': 123,
            'Type': 'FIRST_N'|'LAST_N'|'RANDOM'
        },
        RoleArn='string',
        Tags={
            'string': 'string'
        }
    )
    
  :type DatasetName: string
  :param DatasetName: **[REQUIRED]** 

    The name of an existing dataset to associate this project with.

    

  
  :type Name: string
  :param Name: **[REQUIRED]** 

    A unique name for the new project. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.

    

  
  :type RecipeName: string
  :param RecipeName: **[REQUIRED]** 

    The name of an existing recipe to associate with the project.

    

  
  :type Sample: dict
  :param Sample: 

    Represents the sample size and sampling type for DataBrew to use for interactive data analysis.

    

  
    - **Size** *(integer) --* 

      The number of rows in the sample.

      

    
    - **Type** *(string) --* **[REQUIRED]** 

      The way in which DataBrew obtains rows from a dataset.

      

    
  
  :type RoleArn: string
  :param RoleArn: **[REQUIRED]** 

    The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed for this request.

    

  
  :type Tags: dict
  :param Tags: 

    Metadata tags to apply to this project.

    

  
    - *(string) --* 

    
      - *(string) --* 

      


  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'Name': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **Name** *(string) --* 

        The name of the project that you created.

        
  
  **Exceptions**
  
  *   :py:class:`GlueDataBrew.Client.exceptions.ConflictException`

  
  *   :py:class:`GlueDataBrew.Client.exceptions.InternalServerException`

  
  *   :py:class:`GlueDataBrew.Client.exceptions.ServiceQuotaExceededException`

  
  *   :py:class:`GlueDataBrew.Client.exceptions.ValidationException`

  