libZSservicesZSamazonka-databrewZSamazonka-databrew
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq CreateProject Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

Read CreateProject Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

Show CreateProject Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

Generic CreateProject Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

Associated Types

type Rep CreateProject :: Type -> Type #

NFData CreateProject Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

Methods

rnf :: CreateProject -> () #

Hashable CreateProject Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

ToJSON CreateProject Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

AWSRequest CreateProject Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

Associated Types

type AWSResponse 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

type Rep CreateProject Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

type AWSResponse 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:

$sel:sample:CreateProject', createProject_sample - Undocumented member.

$sel:tags:CreateProject', createProject_tags - Metadata tags to apply to this project.

$sel:datasetName:CreateProject', createProject_datasetName - The name of an existing dataset to associate this project with.

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

$sel:recipeName:CreateProject', createProject_recipeName - The name of an existing recipe to associate with the project.

$sel:roleArn: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
Eq CreateProjectResponse Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

Read CreateProjectResponse Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

Show CreateProjectResponse Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

Generic CreateProjectResponse Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

Associated Types

type Rep CreateProjectResponse :: Type -> Type #

NFData CreateProjectResponse Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

Methods

rnf :: CreateProjectResponse -> () #

type Rep CreateProjectResponse Source # 
Instance details

Defined in Amazonka.DataBrew.CreateProject

type Rep CreateProjectResponse = D1 ('MetaData "CreateProjectResponse" "Amazonka.DataBrew.CreateProject" "libZSservicesZSamazonka-databrewZSamazonka-databrew" '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.

$sel:name: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.