| 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.CodeBuild.StopBuild
Description
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.
Constructors
| StopBuild' | |
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:
StopBuild, stopBuild_id - The ID of the build.
Request Lenses
Destructuring the Response
data StopBuildResponse Source #
See: newStopBuildResponse smart constructor.
Constructors
| StopBuildResponse' | |
Fields
| |
Instances
Arguments
| :: Int | |
| -> StopBuildResponse |
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.