| Copyright | (c) 2013-2018 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.DeviceFarm.UpdateProject
Description
Modifies the specified project name, given the project ARN and a new name.
Synopsis
- updateProject :: Text -> UpdateProject
- data UpdateProject
- upName :: Lens' UpdateProject (Maybe Text)
- upDefaultJobTimeoutMinutes :: Lens' UpdateProject (Maybe Int)
- upArn :: Lens' UpdateProject Text
- updateProjectResponse :: Int -> UpdateProjectResponse
- data UpdateProjectResponse
- uprsProject :: Lens' UpdateProjectResponse (Maybe Project)
- 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:
upName- A string representing the new name of the project that you are updating.upDefaultJobTimeoutMinutes- The number of minutes a test run in the project will execute before it times out.upArn- The Amazon Resource Name (ARN) of the project whose name you wish to update.
data UpdateProject Source #
Represents a request to the update project operation.
See: updateProject smart constructor.
Instances
Request Lenses
upName :: Lens' UpdateProject (Maybe Text) Source #
A string representing the new name of the project that you are updating.
upDefaultJobTimeoutMinutes :: Lens' UpdateProject (Maybe Int) Source #
The number of minutes a test run in the project will execute before it times out.
upArn :: Lens' UpdateProject Text Source #
The Amazon Resource Name (ARN) of the project whose name you wish to update.
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:
uprsProject- The project you wish to update.uprsResponseStatus- -- | The response status code.
data UpdateProjectResponse Source #
Represents the result of an update project request.
See: updateProjectResponse smart constructor.
Instances
Response Lenses
uprsProject :: Lens' UpdateProjectResponse (Maybe Project) Source #
The project you wish to update.
uprsResponseStatus :: Lens' UpdateProjectResponse Int Source #
- - | The response status code.