GlueDataBrew / Client / update_project

update_project#

GlueDataBrew.Client.update_project(**kwargs)#

Modifies the definition of an existing DataBrew project.

See also: AWS API Documentation

Request Syntax

response = client.update_project(
    Sample={
        'Size': 123,
        'Type': 'FIRST_N'|'LAST_N'|'RANDOM'
    },
    RoleArn='string',
    Name='string'
)
Parameters:
  • Sample (dict) –

    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.

  • RoleArn (string) –

    [REQUIRED]

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

  • Name (string) –

    [REQUIRED]

    The name of the project to be updated.

Return type:

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

  • GlueDataBrew.Client.exceptions.ResourceNotFoundException

  • GlueDataBrew.Client.exceptions.ValidationException