| 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.DeviceFarm.UpdateProject
Description
Modifies the specified project name, given the project ARN and a new name.
Synopsis
- data UpdateProject = UpdateProject' {}
- newUpdateProject :: Text -> UpdateProject
- updateProject_defaultJobTimeoutMinutes :: Lens' UpdateProject (Maybe Int)
- updateProject_name :: Lens' UpdateProject (Maybe Text)
- updateProject_vpcConfig :: Lens' UpdateProject (Maybe VpcConfig)
- updateProject_arn :: Lens' UpdateProject Text
- data UpdateProjectResponse = UpdateProjectResponse' {
- project :: Maybe Project
- httpStatus :: Int
- newUpdateProjectResponse :: Int -> UpdateProjectResponse
- updateProjectResponse_project :: Lens' UpdateProjectResponse (Maybe Project)
- updateProjectResponse_httpStatus :: Lens' UpdateProjectResponse Int
Creating a Request
data UpdateProject Source #
Represents a request to the update project operation.
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:
UpdateProject, updateProject_defaultJobTimeoutMinutes - The number of minutes a test run in the project executes before it times
out.
UpdateProject, updateProject_name - A string that represents the new name of the project that you are
updating.
UpdateProject, updateProject_vpcConfig - The VPC security groups and subnets that are attached to a project.
UpdateProject, updateProject_arn - The Amazon Resource Name (ARN) of the project whose name to update.
Request Lenses
updateProject_defaultJobTimeoutMinutes :: Lens' UpdateProject (Maybe Int) Source #
The number of minutes a test run in the project executes before it times out.
updateProject_name :: Lens' UpdateProject (Maybe Text) Source #
A string that represents the new name of the project that you are updating.
updateProject_vpcConfig :: Lens' UpdateProject (Maybe VpcConfig) Source #
The VPC security groups and subnets that are attached to a project.
updateProject_arn :: Lens' UpdateProject Text Source #
The Amazon Resource Name (ARN) of the project whose name to update.
Destructuring the Response
data UpdateProjectResponse Source #
Represents the result of an update project request.
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:project:UpdateProjectResponse', updateProjectResponse_project - The project to update.
$sel:httpStatus:UpdateProjectResponse', updateProjectResponse_httpStatus - The response's http status code.
Response Lenses
updateProjectResponse_project :: Lens' UpdateProjectResponse (Maybe Project) Source #
The project to update.
updateProjectResponse_httpStatus :: Lens' UpdateProjectResponse Int Source #
The response's http status code.