Copyright | (c) 2013-2021 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 |
Attempts to stop running a build.
Synopsis
- data StopBuild = StopBuild' {}
- newStopBuild :: Text -> StopBuild
- stopBuild_id :: Lens' StopBuild Text
- data StopBuildResponse = StopBuildResponse' {
- build :: Maybe Build
- httpStatus :: Int
- newStopBuildResponse :: Int -> StopBuildResponse
- stopBuildResponse_build :: Lens' StopBuildResponse (Maybe Build)
- stopBuildResponse_httpStatus :: Lens' StopBuildResponse Int
Creating a Request
See: newStopBuild
smart constructor.
Instances
Create a value of StopBuild
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:id:StopBuild'
, stopBuild_id
- The ID of the build.
Request Lenses
Destructuring the Response
data StopBuildResponse Source #
See: newStopBuildResponse
smart constructor.
StopBuildResponse' | |
|
Instances
Create a value of StopBuildResponse
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:StopBuildResponse'
, stopBuildResponse_build
- Information about the build.
$sel:httpStatus:StopBuildResponse'
, stopBuildResponse_httpStatus
- The response's http status code.
Response Lenses
stopBuildResponse_build :: Lens' StopBuildResponse (Maybe Build) Source #
Information about the build.
stopBuildResponse_httpStatus :: Lens' StopBuildResponse Int Source #
The response's http status code.