| Copyright | (c) 2013-2017 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.Mobile.UpdateProject
Description
Update an existing project.
- updateProject :: Text -> UpdateProject
- data UpdateProject
- upContents :: Lens' UpdateProject (Maybe ByteString)
- upProjectId :: Lens' UpdateProject Text
- updateProjectResponse :: Int -> UpdateProjectResponse
- data UpdateProjectResponse
- uprsDetails :: Lens' UpdateProjectResponse (Maybe ProjectDetails)
- uprsResponseStatus :: Lens' UpdateProjectResponse Int
Creating a Request
Arguments
| :: Text | |
| -> UpdateProject |
Creates a value of UpdateProject with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
upContents- 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. -- Note: ThisLensautomatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. ThisLensaccepts and returns only raw unencoded data.upProjectId- Unique project identifier.
data UpdateProject Source #
Request structure used for requests to update project configuration.
See: updateProject smart constructor.
Instances
Request Lenses
upContents :: 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. -- Note: This Lens automatically encodes and decodes Base64 data. The underlying isomorphism will encode to Base64 representation during serialisation, and decode from Base64 representation during deserialisation. This Lens accepts and returns only raw unencoded data.
upProjectId :: Lens' UpdateProject Text Source #
Unique project identifier.
Destructuring the Response
updateProjectResponse Source #
Arguments
| :: Int | |
| -> UpdateProjectResponse |
Creates a value of UpdateProjectResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
uprsDetails- Detailed information about the updated AWS Mobile Hub project.uprsResponseStatus- -- | The response status code.
data UpdateProjectResponse Source #
Result structure used for requests to updated project configuration.
See: updateProjectResponse smart constructor.
Response Lenses
uprsDetails :: Lens' UpdateProjectResponse (Maybe ProjectDetails) Source #
Detailed information about the updated AWS Mobile Hub project.
uprsResponseStatus :: Lens' UpdateProjectResponse Int Source #
- - | The response status code.