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 |
Restarts a failed batch build. Only batch builds that have failed can be retried.
Synopsis
- data RetryBuildBatch = RetryBuildBatch' {}
- newRetryBuildBatch :: RetryBuildBatch
- retryBuildBatch_id :: Lens' RetryBuildBatch (Maybe Text)
- retryBuildBatch_idempotencyToken :: Lens' RetryBuildBatch (Maybe Text)
- retryBuildBatch_retryType :: Lens' RetryBuildBatch (Maybe RetryBuildBatchType)
- data RetryBuildBatchResponse = RetryBuildBatchResponse' {}
- newRetryBuildBatchResponse :: Int -> RetryBuildBatchResponse
- retryBuildBatchResponse_buildBatch :: Lens' RetryBuildBatchResponse (Maybe BuildBatch)
- retryBuildBatchResponse_httpStatus :: Lens' RetryBuildBatchResponse Int
Creating a Request
data RetryBuildBatch Source #
See: newRetryBuildBatch
smart constructor.
RetryBuildBatch' | |
|
Instances
newRetryBuildBatch :: RetryBuildBatch Source #
Create a value of RetryBuildBatch
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:
RetryBuildBatch
, retryBuildBatch_id
- Specifies the identifier of the batch build to restart.
$sel:idempotencyToken:RetryBuildBatch'
, retryBuildBatch_idempotencyToken
- A unique, case sensitive identifier you provide to ensure the
idempotency of the RetryBuildBatch
request. The token is included in
the RetryBuildBatch
request and is valid for five minutes. If you
repeat the RetryBuildBatch
request with the same token, but change a
parameter, CodeBuild returns a parameter mismatch error.
$sel:retryType:RetryBuildBatch'
, retryBuildBatch_retryType
- Specifies the type of retry to perform.
Request Lenses
retryBuildBatch_id :: Lens' RetryBuildBatch (Maybe Text) Source #
Specifies the identifier of the batch build to restart.
retryBuildBatch_idempotencyToken :: Lens' RetryBuildBatch (Maybe Text) Source #
A unique, case sensitive identifier you provide to ensure the
idempotency of the RetryBuildBatch
request. The token is included in
the RetryBuildBatch
request and is valid for five minutes. If you
repeat the RetryBuildBatch
request with the same token, but change a
parameter, CodeBuild returns a parameter mismatch error.
retryBuildBatch_retryType :: Lens' RetryBuildBatch (Maybe RetryBuildBatchType) Source #
Specifies the type of retry to perform.
Destructuring the Response
data RetryBuildBatchResponse Source #
See: newRetryBuildBatchResponse
smart constructor.
RetryBuildBatchResponse' | |
|
Instances
newRetryBuildBatchResponse Source #
Create a value of RetryBuildBatchResponse
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:buildBatch:RetryBuildBatchResponse'
, retryBuildBatchResponse_buildBatch
- Undocumented member.
$sel:httpStatus:RetryBuildBatchResponse'
, retryBuildBatchResponse_httpStatus
- The response's http status code.
Response Lenses
retryBuildBatchResponse_buildBatch :: Lens' RetryBuildBatchResponse (Maybe BuildBatch) Source #
Undocumented member.
retryBuildBatchResponse_httpStatus :: Lens' RetryBuildBatchResponse Int Source #
The response's http status code.