| 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.GameLift.UpdateBuild
Description
Updates metadata in a build resource, including the build name and version. To update the metadata, specify the build ID to update and provide the new values. If successful, a build object containing the updated metadata is returned.
Learn more
Synopsis
- data UpdateBuild = UpdateBuild' {}
- newUpdateBuild :: Text -> UpdateBuild
- updateBuild_name :: Lens' UpdateBuild (Maybe Text)
- updateBuild_version :: Lens' UpdateBuild (Maybe Text)
- updateBuild_buildId :: Lens' UpdateBuild Text
- data UpdateBuildResponse = UpdateBuildResponse' {
- build :: Maybe Build
- httpStatus :: Int
- newUpdateBuildResponse :: Int -> UpdateBuildResponse
- updateBuildResponse_build :: Lens' UpdateBuildResponse (Maybe Build)
- updateBuildResponse_httpStatus :: Lens' UpdateBuildResponse Int
Creating a Request
data UpdateBuild Source #
See: newUpdateBuild smart constructor.
Constructors
| UpdateBuild' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> UpdateBuild |
Create a value of UpdateBuild 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:
UpdateBuild, updateBuild_name - A descriptive label associated with a build. Build names do not need to
be unique.
UpdateBuild, updateBuild_version - Version information associated with a build or script. Version strings
do not need to be unique.
UpdateBuild, updateBuild_buildId - A unique identifier for the build to update. You can use either the
build ID or ARN value.
Request Lenses
updateBuild_name :: Lens' UpdateBuild (Maybe Text) Source #
A descriptive label associated with a build. Build names do not need to be unique.
updateBuild_version :: Lens' UpdateBuild (Maybe Text) Source #
Version information associated with a build or script. Version strings do not need to be unique.
updateBuild_buildId :: Lens' UpdateBuild Text Source #
A unique identifier for the build to update. You can use either the build ID or ARN value.
Destructuring the Response
data UpdateBuildResponse Source #
See: newUpdateBuildResponse smart constructor.
Constructors
| UpdateBuildResponse' | |
Fields
| |
Instances
newUpdateBuildResponse Source #
Arguments
| :: Int | |
| -> UpdateBuildResponse |
Create a value of UpdateBuildResponse 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:build:UpdateBuildResponse', updateBuildResponse_build - The updated build resource.
$sel:httpStatus:UpdateBuildResponse', updateBuildResponse_httpStatus - The response's http status code.
Response Lenses
updateBuildResponse_build :: Lens' UpdateBuildResponse (Maybe Build) Source #
The updated build resource.
updateBuildResponse_httpStatus :: Lens' UpdateBuildResponse Int Source #
The response's http status code.