| 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.RetryBuild
Description
Restarts a build.
Synopsis
- data RetryBuild = RetryBuild' {}
- newRetryBuild :: RetryBuild
- retryBuild_id :: Lens' RetryBuild (Maybe Text)
- retryBuild_idempotencyToken :: Lens' RetryBuild (Maybe Text)
- data RetryBuildResponse = RetryBuildResponse' {
- build :: Maybe Build
- httpStatus :: Int
- newRetryBuildResponse :: Int -> RetryBuildResponse
- retryBuildResponse_build :: Lens' RetryBuildResponse (Maybe Build)
- retryBuildResponse_httpStatus :: Lens' RetryBuildResponse Int
Creating a Request
data RetryBuild Source #
See: newRetryBuild smart constructor.
Constructors
| RetryBuild' | |
Fields
| |
Instances
newRetryBuild :: RetryBuild Source #
Create a value of RetryBuild 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:
RetryBuild, retryBuild_id - Specifies the identifier of the build to restart.
$sel:idempotencyToken:RetryBuild', retryBuild_idempotencyToken - A unique, case sensitive identifier you provide to ensure the
idempotency of the RetryBuild request. The token is included in the
RetryBuild request and is valid for five minutes. If you repeat the
RetryBuild request with the same token, but change a parameter,
CodeBuild returns a parameter mismatch error.
Request Lenses
retryBuild_id :: Lens' RetryBuild (Maybe Text) Source #
Specifies the identifier of the build to restart.
retryBuild_idempotencyToken :: Lens' RetryBuild (Maybe Text) Source #
A unique, case sensitive identifier you provide to ensure the
idempotency of the RetryBuild request. The token is included in the
RetryBuild request and is valid for five minutes. If you repeat the
RetryBuild request with the same token, but change a parameter,
CodeBuild returns a parameter mismatch error.
Destructuring the Response
data RetryBuildResponse Source #
See: newRetryBuildResponse smart constructor.
Constructors
| RetryBuildResponse' | |
Fields
| |
Instances
newRetryBuildResponse Source #
Arguments
| :: Int | |
| -> RetryBuildResponse |
Create a value of RetryBuildResponse 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:RetryBuildResponse', retryBuildResponse_build - Undocumented member.
$sel:httpStatus:RetryBuildResponse', retryBuildResponse_httpStatus - The response's http status code.
Response Lenses
retryBuildResponse_build :: Lens' RetryBuildResponse (Maybe Build) Source #
Undocumented member.
retryBuildResponse_httpStatus :: Lens' RetryBuildResponse Int Source #
The response's http status code.