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 |
Creates a project, which is the logical object in Evidently that can contain features, launches, and experiments. Use projects to group similar features together.
To update an existing project, use UpdateProject.
Synopsis
- data CreateProject = CreateProject' {}
- newCreateProject :: Text -> CreateProject
- createProject_appConfigResource :: Lens' CreateProject (Maybe ProjectAppConfigResourceConfig)
- createProject_dataDelivery :: Lens' CreateProject (Maybe ProjectDataDeliveryConfig)
- createProject_description :: Lens' CreateProject (Maybe Text)
- createProject_tags :: Lens' CreateProject (Maybe (HashMap Text Text))
- createProject_name :: Lens' CreateProject Text
- data CreateProjectResponse = CreateProjectResponse' {
- httpStatus :: Int
- project :: Project
- newCreateProjectResponse :: Int -> Project -> CreateProjectResponse
- createProjectResponse_httpStatus :: Lens' CreateProjectResponse Int
- createProjectResponse_project :: Lens' CreateProjectResponse Project
Creating a Request
data CreateProject Source #
See: newCreateProject
smart constructor.
CreateProject' | |
|
Instances
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_appConfigResource
- Use this parameter if the project will use /client-side evaluation
powered by AppConfig/. Client-side evaluation allows your application to
assign variations to user sessions locally instead of by calling the
EvaluateFeature
operation. This mitigates the latency and availability risks that come
with an API call. For more information, see
Client-side evaluation - powered by AppConfig.
This parameter is a structure that contains information about the AppConfig application and environment that will be used as for client-side evaluation.
To create a project that uses client-side evaluation, you must have the
evidently:ExportProjectAsConfiguration
permission.
CreateProject
, createProject_dataDelivery
- A structure that contains information about where Evidently is to store
evaluation events for longer term storage, if you choose to do so. If
you choose not to store these events, Evidently deletes them after using
them to produce metrics and other experiment results that you can view.
CreateProject
, createProject_description
- An optional description of the project.
CreateProject
, createProject_tags
- Assigns one or more tags (key-value pairs) to the project.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
<p>You can associate as many as 50 tags with a project.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>
CreateProject
, createProject_name
- The name for the project.
Request Lenses
createProject_appConfigResource :: Lens' CreateProject (Maybe ProjectAppConfigResourceConfig) Source #
Use this parameter if the project will use /client-side evaluation powered by AppConfig/. Client-side evaluation allows your application to assign variations to user sessions locally instead of by calling the EvaluateFeature operation. This mitigates the latency and availability risks that come with an API call. For more information, see Client-side evaluation - powered by AppConfig.
This parameter is a structure that contains information about the AppConfig application and environment that will be used as for client-side evaluation.
To create a project that uses client-side evaluation, you must have the
evidently:ExportProjectAsConfiguration
permission.
createProject_dataDelivery :: Lens' CreateProject (Maybe ProjectDataDeliveryConfig) Source #
A structure that contains information about where Evidently is to store evaluation events for longer term storage, if you choose to do so. If you choose not to store these events, Evidently deletes them after using them to produce metrics and other experiment results that you can view.
createProject_description :: Lens' CreateProject (Maybe Text) Source #
An optional description of the project.
createProject_tags :: Lens' CreateProject (Maybe (HashMap Text Text)) Source #
Assigns one or more tags (key-value pairs) to the project.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
<p>You can associate as many as 50 tags with a project.</p> <p>For more information, see <a href="https://docs.aws.amazon.com/general/latest/gr/aws_tagging.html">Tagging Amazon Web Services resources</a>.</p>
createProject_name :: Lens' CreateProject Text Source #
The name for the project.
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.
CreateProjectResponse
, createProjectResponse_project
- A structure that contains information about the created project.
Response Lenses
createProjectResponse_httpStatus :: Lens' CreateProjectResponse Int Source #
The response's http status code.
createProjectResponse_project :: Lens' CreateProjectResponse Project Source #
A structure that contains information about the created project.