Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <[email protected]> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Network.AWS.Mobile.UpdateProject
Description
Update an existing project.
Synopsis
- 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.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.
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.
Instances
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.