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 |
Updates the description of an existing project.
To create a new project, use CreateProject.
Don't use this operation to update the data storage options of a project. Instead, use UpdateProjectDataDelivery.
Don't use this operation to update the tags of a project. Instead, use TagResource.
Synopsis
- data UpdateProject = UpdateProject' {}
- newUpdateProject :: Text -> UpdateProject
- updateProject_appConfigResource :: Lens' UpdateProject (Maybe ProjectAppConfigResourceConfig)
- updateProject_description :: Lens' UpdateProject (Maybe Text)
- updateProject_project :: Lens' UpdateProject Text
- data UpdateProjectResponse = UpdateProjectResponse' {
- httpStatus :: Int
- project :: Project
- newUpdateProjectResponse :: Int -> Project -> UpdateProjectResponse
- updateProjectResponse_httpStatus :: Lens' UpdateProjectResponse Int
- updateProjectResponse_project :: Lens' UpdateProjectResponse Project
Creating a Request
data UpdateProject Source #
See: newUpdateProject
smart constructor.
UpdateProject' | |
|
Instances
Create a value of UpdateProject
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:
UpdateProject
, updateProject_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. allows you to
This parameter is a structure that contains information about the AppConfig application that will be used for client-side evaluation.
UpdateProject
, updateProject_description
- An optional description of the project.
UpdateProject
, updateProject_project
- The name or ARN of the project to update.
Request Lenses
updateProject_appConfigResource :: Lens' UpdateProject (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. allows you to
This parameter is a structure that contains information about the AppConfig application that will be used for client-side evaluation.
updateProject_description :: Lens' UpdateProject (Maybe Text) Source #
An optional description of the project.
updateProject_project :: Lens' UpdateProject Text Source #
The name or ARN of the project to update.
Destructuring the Response
data UpdateProjectResponse Source #
See: newUpdateProjectResponse
smart constructor.
UpdateProjectResponse' | |
|
Instances
newUpdateProjectResponse Source #
Create a value of UpdateProjectResponse
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:UpdateProjectResponse'
, updateProjectResponse_httpStatus
- The response's http status code.
UpdateProject
, updateProjectResponse_project
- A structure containing information about the updated project.
Response Lenses
updateProjectResponse_httpStatus :: Lens' UpdateProjectResponse Int Source #
The response's http status code.
updateProjectResponse_project :: Lens' UpdateProjectResponse Project Source #
A structure containing information about the updated project.