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

**************
update_project
**************



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

  

  Modifies the definition of an existing DataBrew project.

  

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


  **Request Syntax**
  ::

    response = client.update_project(
        Sample={
            'Size': 123,
            'Type': 'FIRST_N'|'LAST_N'|'RANDOM'
        },
        RoleArn='string',
        Name='string'
    )
    
  :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 IAM role to be assumed for this request.

    

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

    The name of the project to be updated.

    

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

    
    ::

      {
          'LastModifiedDate': datetime(2015, 1, 1),
          'Name': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **LastModifiedDate** *(datetime) --* 

        The date and time that the project was last modified.

        
      

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

        The name of the project that you updated.

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

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

  