| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.DataBrew.CreateProject
Description
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.
Constructors
| CreateProject' | |
Fields
| |
Instances
Arguments
| :: 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:
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_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.
Constructors
| CreateProjectResponse' | |
Fields
| |
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.
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.