Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Updates metadata in a build record, 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.
- updateBuild :: Text -> UpdateBuild
- data UpdateBuild
- ubName :: Lens' UpdateBuild (Maybe Text)
- ubVersion :: Lens' UpdateBuild (Maybe Text)
- ubBuildId :: Lens' UpdateBuild Text
- updateBuildResponse :: Int -> UpdateBuildResponse
- data UpdateBuildResponse
- ubrsBuild :: Lens' UpdateBuildResponse (Maybe Build)
- ubrsResponseStatus :: Lens' UpdateBuildResponse Int
Creating a Request
:: Text | |
-> UpdateBuild |
Creates a value of UpdateBuild
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateBuild Source #
Represents the input for a request action.
See: updateBuild
smart constructor.
Request Lenses
ubName :: Lens' UpdateBuild (Maybe Text) Source #
Descriptive label associated with this build. Build names do not need to be unique.
ubVersion :: Lens' UpdateBuild (Maybe Text) Source #
Version associated with this build. Version strings do not need to be unique to a build.
Destructuring the Response
Creates a value of UpdateBuildResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UpdateBuildResponse Source #
Represents the returned data in response to a request action.
See: updateBuildResponse
smart constructor.
Response Lenses
ubrsBuild :: Lens' UpdateBuildResponse (Maybe Build) Source #
Object containing the updated build record.
ubrsResponseStatus :: Lens' UpdateBuildResponse Int Source #
The response status code.