| 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.Rekognition.CreateProject
Description
Creates a new Amazon Rekognition Custom Labels project. A project is a group of resources (datasets, model versions) that you use to create and manage Amazon Rekognition Custom Labels models.
This operation requires permissions to perform the
rekognition:CreateProject action.
Synopsis
- data CreateProject = CreateProject' {
- projectName :: Text
- newCreateProject :: Text -> CreateProject
- createProject_projectName :: Lens' CreateProject Text
- data CreateProjectResponse = CreateProjectResponse' {
- projectArn :: Maybe Text
- httpStatus :: Int
- newCreateProjectResponse :: Int -> CreateProjectResponse
- createProjectResponse_projectArn :: Lens' CreateProjectResponse (Maybe Text)
- createProjectResponse_httpStatus :: Lens' CreateProjectResponse Int
Creating a Request
data CreateProject Source #
See: newCreateProject smart constructor.
Constructors
| CreateProject' | |
Fields
| |
Instances
Arguments
| :: 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:projectName:CreateProject', createProject_projectName - The name of the project to create.
Request Lenses
createProject_projectName :: Lens' CreateProject Text Source #
The name of the project to create.
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:
CreateProjectResponse, createProjectResponse_projectArn - The Amazon Resource Name (ARN) of the new project. You can use the ARN
to configure IAM access to the project.
$sel:httpStatus:CreateProjectResponse', createProjectResponse_httpStatus - The response's http status code.
Response Lenses
createProjectResponse_projectArn :: Lens' CreateProjectResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the new project. You can use the ARN to configure IAM access to the project.
createProjectResponse_httpStatus :: Lens' CreateProjectResponse Int Source #
The response's http status code.