amazonka-databrew-2.0: Amazon Glue DataBrew SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.DataBrew.CreateProject

Description

Creates a new DataBrew project.

Synopsis

Creating a Request

data CreateProject Source #

See: newCreateProject smart constructor.

Constructors

CreateProject' 

Fields

  • sample :: Maybe Sample
     
  • tags :: Maybe (HashMap Text Text)

    Metadata tags to apply to this project.

  • datasetName :: Text

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

  • name :: Text

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

  • recipeName :: Text

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

  • roleArn :: Text

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

Instances

Instances details
ToJSON CreateProject Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

ToHeaders CreateProject Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

ToPath CreateProject Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

ToQuery CreateProject Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

AWSRequest CreateProject Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

Associated Types

type AWSResponse CreateProject #

Generic CreateProject Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

Associated Types

type Rep CreateProject :: Type -> Type #

Read CreateProject Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

Show CreateProject Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

NFData CreateProject Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

Methods

rnf :: CreateProject -> () #

Eq CreateProject Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

Hashable CreateProject Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

type AWSResponse CreateProject Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

type Rep CreateProject Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

newCreateProject Source #

Create a value of CreateProject with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

CreateProject, createProject_sample - Undocumented member.

CreateProject, createProject_tags - Metadata tags to apply to this project.

CreateProject, createProject_datasetName - The name of an existing dataset to associate this project with.

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

CreateProject, createProject_recipeName - The name of an existing recipe to associate with the project.

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

Request Lenses

createProject_tags :: Lens' CreateProject (Maybe (HashMap Text Text)) Source #

Metadata tags to apply to this project.

createProject_datasetName :: Lens' CreateProject Text Source #

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

createProject_name :: Lens' CreateProject Text Source #

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

createProject_recipeName :: Lens' CreateProject Text Source #

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

createProject_roleArn :: Lens' CreateProject Text Source #

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

Destructuring the Response

data CreateProjectResponse Source #

See: newCreateProjectResponse smart constructor.

Constructors

CreateProjectResponse' 

Fields

Instances

Instances details
Generic CreateProjectResponse Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

Associated Types

type Rep CreateProjectResponse :: Type -> Type #

Read CreateProjectResponse Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

Show CreateProjectResponse Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

NFData CreateProjectResponse Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

Methods

rnf :: CreateProjectResponse -> () #

Eq CreateProjectResponse Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

type Rep CreateProjectResponse Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

type Rep CreateProjectResponse = D1 ('MetaData "CreateProjectResponse" "Amazonka.DataBrew.CreateProject" "amazonka-databrew-2.0-GJMXoRzRb387Yq6XNY29RM" 'False) (C1 ('MetaCons "CreateProjectResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newCreateProjectResponse Source #

Create a value of CreateProjectResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:httpStatus:CreateProjectResponse', createProjectResponse_httpStatus - The response's http status code.

CreateProject, createProjectResponse_name - The name of the project that you created.

Response Lenses

createProjectResponse_name :: Lens' CreateProjectResponse Text Source #

The name of the project that you created.