Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Creates a new DataBrew project.
Synopsis
- data CreateProject = CreateProject' {}
- newCreateProject :: Text -> Text -> Text -> Text -> CreateProject
- createProject_sample :: Lens' CreateProject (Maybe Sample)
- createProject_tags :: Lens' CreateProject (Maybe (HashMap Text Text))
- createProject_datasetName :: Lens' CreateProject Text
- createProject_name :: Lens' CreateProject Text
- createProject_recipeName :: Lens' CreateProject Text
- createProject_roleArn :: Lens' CreateProject Text
- data CreateProjectResponse = CreateProjectResponse' {
- httpStatus :: Int
- name :: Text
- newCreateProjectResponse :: Int -> Text -> CreateProjectResponse
- createProjectResponse_httpStatus :: Lens' CreateProjectResponse Int
- createProjectResponse_name :: Lens' CreateProjectResponse Text
Creating a Request
data CreateProject Source #
See: newCreateProject
smart constructor.
CreateProject' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> Text | |
-> CreateProject |
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_sample :: Lens' CreateProject (Maybe Sample) Source #
Undocumented member.
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.
CreateProjectResponse' | |
|
Instances
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_httpStatus :: Lens' CreateProjectResponse Int Source #
The response's http status code.
createProjectResponse_name :: Lens' CreateProjectResponse Text Source #
The name of the project that you created.