| 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.Mobile.UpdateProject
Description
Update an existing project.
Synopsis
- data UpdateProject = UpdateProject' {
- contents :: Maybe ByteString
- projectId :: Text
- newUpdateProject :: Text -> UpdateProject
- updateProject_contents :: Lens' UpdateProject (Maybe ByteString)
- updateProject_projectId :: Lens' UpdateProject Text
- data UpdateProjectResponse = UpdateProjectResponse' {}
- newUpdateProjectResponse :: Int -> UpdateProjectResponse
- updateProjectResponse_details :: Lens' UpdateProjectResponse (Maybe ProjectDetails)
- updateProjectResponse_httpStatus :: Lens' UpdateProjectResponse Int
Creating a Request
data UpdateProject Source #
Request structure used for requests to update project configuration.
See: newUpdateProject smart constructor.
Constructors
| UpdateProject' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateProject |
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:
$sel:contents:UpdateProject', updateProject_contents - ZIP or YAML file which contains project configuration to be updated.
This should be the contents of the file downloaded from the URL provided
in an export project operation.
UpdateProject, updateProject_projectId - Unique project identifier.
Request Lenses
updateProject_contents :: Lens' UpdateProject (Maybe ByteString) Source #
ZIP or YAML file which contains project configuration to be updated. This should be the contents of the file downloaded from the URL provided in an export project operation.
updateProject_projectId :: Lens' UpdateProject Text Source #
Unique project identifier.
Destructuring the Response
data UpdateProjectResponse Source #
Result structure used for requests to updated project configuration.
See: newUpdateProjectResponse smart constructor.
Constructors
| UpdateProjectResponse' | |
Fields
| |
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:details:UpdateProjectResponse', updateProjectResponse_details - Detailed information about the updated AWS Mobile Hub project.
$sel:httpStatus:UpdateProjectResponse', updateProjectResponse_httpStatus - The response's http status code.
Response Lenses
updateProjectResponse_details :: Lens' UpdateProjectResponse (Maybe ProjectDetails) Source #
Detailed information about the updated AWS Mobile Hub project.
updateProjectResponse_httpStatus :: Lens' UpdateProjectResponse Int Source #
The response's http status code.