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 |
Restarts a build.
Synopsis
- data RetryBuild = RetryBuild' {}
- newRetryBuild :: RetryBuild
- retryBuild_idempotencyToken :: Lens' RetryBuild (Maybe Text)
- retryBuild_id :: 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.
RetryBuild' | |
|
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:
$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.
$sel:id:RetryBuild'
, retryBuild_id
- Specifies the identifier of the build to restart.
Request Lenses
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.
retryBuild_id :: Lens' RetryBuild (Maybe Text) Source #
Specifies the identifier of the build to restart.
Destructuring the Response
data RetryBuildResponse Source #
See: newRetryBuildResponse
smart constructor.
RetryBuildResponse' | |
|
Instances
newRetryBuildResponse Source #
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.