create_project

create_project(**kwargs)

Creates a new DataBrew project.

See also: AWS API Documentation

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'
    }
)
Parameters
  • DatasetName (string) --

    [REQUIRED]

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

  • Name (string) --

    [REQUIRED]

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

  • RecipeName (string) --

    [REQUIRED]

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

  • 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 Identity and Access Management (IAM) role to be assumed for this request.

  • Tags (dict) --

    Metadata tags to apply to this project.

    • (string) --
      • (string) --
Return type

dict

Returns

Response Syntax

{
    'Name': 'string'
}

Response Structure

  • (dict) --

    • Name (string) --

      The name of the project that you created.

Exceptions

  • GlueDataBrew.Client.exceptions.ConflictException
  • GlueDataBrew.Client.exceptions.InternalServerException
  • GlueDataBrew.Client.exceptions.ServiceQuotaExceededException
  • GlueDataBrew.Client.exceptions.ValidationException